Make WordPress Core

Changeset 41882


Ignore:
Timestamp:
10/16/2017 09:35:15 PM (9 years ago)
Author:
helen
Message:

Code Editors: Minor style improvements.

props melchoyce.
see #42214.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r41865 r41882  
    22162216
    22172217#template > div {
    2218         margin-right: 190px;
     2218        margin-right: 16em;
    22192219}
    22202220#template .notice {
    … …  
    30343034#template textarea,
    30353035#template .CodeMirror {
    3036         width: 97%;
    3037         height: calc( 100vh - 280px );
     3036        width: 100%;
     3037        min-height: 60vh;
     3038        height: calc( 100vh - 295px );
     3039        border: 1px solid #ddd;
    30383040}
    30393041
    30403042#templateside > h2 {
    30413043        padding-top: 6px;
    3042         padding-bottom: 6px;
     3044        padding-bottom: 7px;
    30433045        margin: 0;
    3044         border-bottom: solid 1px #ccc;
    30453046}
    30463047
    30473048#templateside ol,
    30483049#templateside ul {
    3049         margin: .5em 0;
     3050        margin: 0;
    30503051        padding: 0;
    30513052}
    30523053#templateside > ul {
     3054        box-sizing: border-box;
    30533055        margin-top: 0;
    30543056        overflow: auto;
    3055         padding: 2px;
    3056         height: calc(100vh - 280px);
     3057        padding: 0;
     3058        min-height: calc(60vh + 2px);
     3059        height: calc(100vh - 293px);
     3060        background-color: #f7f7f7;
     3061        border: 1px solid #ddd;
     3062        border-left: none;
    30573063}
    30583064#templateside ul ul {
    … …  
    31023108[role="treeitem"].hover,
    31033109[role="treeitem"] .folder-label.hover {
    3104         background-color: #DDDDDD;
     3110        background-color: #eaeaea;
    31053111}
    31063112
    … …  
    31513157        left: 4px;
    31523158        height: 15px;
    3153         width: 6px;
     3159        width: 0px;
    31543160        border-left: none;
    31553161        top: 3px;
    … …  
    32143220#templateside {
    32153221        float: right;
    3216         width: 190px;
     3222        width: 16em;
    32173223        word-wrap: break-word;
    32183224}
    … …  
    32333239.theme-editor-php .highlight {
    32343240        display: block;
    3235         padding: 3px 3px 3px 12px;
     3241        padding: 3px 0 3px 12px;
    32363242        text-decoration: none;
     3243}
     3244
     3245#templateside li > a:first-of-type {
     3246        padding-top: 0;
    32373247}
    32383248
    … …  
    37113721
    37123722        .wp-responsive-open #wpbody {
    3713                 right: -190px;
     3723                right: -16em;
    37143724        }
    37153725
Note: See TracChangeset for help on using the changeset viewer.