Make WordPress Core

Changeset 26483


Ignore:
Timestamp:
11/30/2013 04:35:12 PM (12 years ago)
Author:
ocean90
Message:

Themes: Prepare wp-admin.css for a merge with theme.css.

  • Remove styles for #current-theme and .theme-options. Markup removed in [26141].
  • Move "Tabbed Admin Screen Interface" section out of "Themes" section. See [26466].

see #25966.

File:
1 edited

Legend:

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

    r26477 r26483  
    333315.0 - Comments Screen
    343416.0 - Themes
    35     16.1 - Custom Header
    36     16.2 - Custom Background
    37     16.3 - Tabbed Admin Screen Interface
     35    16.1 - Manage Themes
     36    16.2 - Install Themes
     37    16.3 - Custom Header
     38    16.4 - Custom Background
    383917.0 - Plugins
    394018.0 - Users
     
    444523.0 - Full Overlay w/ Sidebar
    454624.0 - Customize Loader
    46 25.0 - Misc
     4725.0 - Tabbed Admin Screen Interface
     4826.0 - Misc
    4749
    4850------------------------------------------------------------------------*/
     
    958960    -webkit-font-smoothing: antialiased;
    959961    -moz-osx-font-smoothing: grayscale;
    960     -moz-transition: all .1s ease-in-out;
    961962    -webkit-transition: all .1s ease-in-out;
    962963    -moz-transition:    all .1s ease-in-out;
     
    62786279}
    62796280
     6281
    62806282/*------------------------------------------------------------------------------
    62816283  16.0 - Themes
    62826284------------------------------------------------------------------------------*/
    62836285
     6286
     6287/*------------------------------------------------------------------------------
     6288  16.1 - Manage Themes
     6289------------------------------------------------------------------------------*/
     6290
     6291.broken-themes {
     6292    clear: both;
     6293}
     6294
     6295.broken-themes table {
     6296    text-align: left;
     6297    width: 50%;
     6298    border-spacing: 3px;
     6299    padding: 3px;
     6300}
     6301
     6302
     6303/*------------------------------------------------------------------------------
     6304  16.2 - Install Themes
     6305------------------------------------------------------------------------------*/
     6306
     6307.theme-install-php h4 {
     6308    margin: 2.5em 0 8px;
     6309}
     6310
    62846311.theme-install-php .tablenav {
    62856312    height: auto;
     
    62886315.theme-install-php .spinner {
    62896316    margin-top: 9px;
    6290 }
    6291 
    6292 h3.available-themes {
    6293     margin: 0.3em 0 1em;
    6294     float: left;
    62956317}
    62966318
     
    63356357}
    63366358
    6337 #current-theme .theme-info li,
    6338 .theme-options li,
    63396359.available-theme .action-links li {
    63406360    float: left;
     
    63546374}
    63556375
    6356 #current-theme .theme-info li:last-child,
    6357 .theme-options li:last-child,
    63586376.available-theme .action-links li:last-child {
    63596377    padding-right: 0;
     
    63816399.available-theme .action-links p {
    63826400    float: left;
    6383 }
    6384 
    6385 #current-theme {
    6386     margin: 20px 0 10px;
    6387     padding: 0 0 20px;
    6388     border-bottom-width: 1px;
    6389     border-bottom-style: solid;
    6390     overflow: hidden;
    6391 }
    6392 
    6393 #current-theme.has-screenshot {
    6394     padding-left: 330px;
    6395 }
    6396 
    6397 #current-theme h3 {
    6398     margin: 0;
    6399     font-size: 12px;
    6400     font-weight: normal;
    6401     color: #999;
    6402 }
    6403 
    6404 #current-theme h4 {
    6405     margin: 3px 0 16px;
    6406     font-size: 20px;
    6407 }
    6408 
    6409 #current-theme h4 span {
    6410     margin-left: 20px;
    6411     font-size: 12px;
    6412     font-weight: normal;
    6413 }
    6414 
    6415 #current-theme a {
    6416     border-bottom: none;
    6417 }
    6418 
    6419 #current-theme .theme-info {
    6420     margin: 1em 0;
    6421     overflow: hidden;
    6422 }
    6423 
    6424 #current-theme .theme-description {
    6425     margin-top: 5px;
    6426     max-width: 600px;
    6427     line-height: 1.6em;
    6428 }
    6429 
    6430 #current-theme img {
    6431     float: left;
    6432     width: 300px;
    6433     margin-left: -330px;
    6434 
    6435     border-width: 1px;
    6436     border-style: solid;
    6437 }
    6438 
    6439 .theme-options {
    6440     overflow: hidden;
    6441     font-size: 14px;
    6442     padding-bottom: 10px;
    6443 }
    6444 
    6445 .theme-options .load-customize {
    6446     margin-right: 30px;
    6447     float: left;
    6448 }
    6449 
    6450 .theme-options span {
    6451     float: left;
    6452     margin-right: 10px;
    6453     text-transform: uppercase;
    6454     font-size: 11px;
    6455     line-height: 22px;
    6456     color: #999;
    6457 }
    6458 
    6459 .theme-options ul {
    6460     float: left;
    6461     margin: 0;
    64626401}
    64636402
     
    64726411        height: 225px;
    64736412    }
    6474 
    6475     .folded #current-theme img {
    6476         width: 300px;
    6477     }
    6478 
    6479     .folded #current-theme.has-screenshot {
    6480         padding-left: 330px;
    6481     }
    6482 
    6483     .folded #current-theme img {
    6484         margin-left: -330px;
    6485     }
    64866413}
    64876414
     
    64966423        height: 203px;
    64976424    }
    6498 
    6499     .folded #current-theme img {
    6500         width: 270px;
    6501     }
    6502 
    6503     .folded #current-theme.has-screenshot {
    6504         padding-left: 300px;
    6505     }
    6506 
    6507     .folded #current-theme img {
    6508         margin-left: -300px;
    6509     }
    65106425}
    65116426
     
    65136428@media only screen and (max-width: 1200px) {
    65146429    .available-theme,
    6515     .available-theme .screenshot,
    6516     #current-theme img {
     6430    .available-theme .screenshot {
    65176431        width: 240px;
    65186432    }
     
    65246438    .available-theme img {
    65256439        width: 100%;
    6526     }
    6527 
    6528     #current-theme.has-screenshot {
    6529         padding-left: 270px;
    6530     }
    6531 
    6532     #current-theme img {
    6533         margin-left: -270px;
    65346440    }
    65356441}
     
    65476453}
    65486454
    6549 .broken-themes {
    6550     clear: both;
    6551 }
    6552 
    6553 .broken-themes table {
    6554     text-align: left;
    6555     width: 50%;
    6556     border-spacing: 3px;
    6557     padding: 3px;
    6558 }
    6559 
    6560 .theme-install-php h4 {
    6561     margin: 2.5em 0 8px;
    6562 }
    6563 
    65646455
    65656456/*------------------------------------------------------------------------------
    6566   16.1 - Custom Header Screen
     6457  16.3 - Custom Header Screen
    65676458------------------------------------------------------------------------------*/
    65686459
     
    65996490
    66006491/*------------------------------------------------------------------------------
    6601   16.2 - Custom Background Screen
     6492  16.4 - Custom Background Screen
    66026493------------------------------------------------------------------------------*/
    66036494
     
    66106501    max-width: 400px;
    66116502    max-height: 300px;
    6612 }
    6613 
    6614 
    6615 /*------------------------------------------------------------------------------
    6616   16.3 - Tabbed Admin Screen Interface (Experimental)
    6617 ------------------------------------------------------------------------------*/
    6618 
    6619 .nav-tab {
    6620     border-style: solid;
    6621     border-width: 1px 1px 0;
    6622     font-size: 12px;
    6623     line-height: 16px;
    6624     display: inline-block;
    6625     padding: 4px 14px 6px;
    6626     text-decoration: none;
    6627     margin: -4px 4px -1px 0;
    6628 }
    6629 
    6630 .nav-tab-active {
    6631     border-width: 1px;
    6632 }
    6633 
    6634 .nav-tab-active,
    6635 .nav-tab-active:hover {
    6636     border-bottom-width: 1px;
    6637     border-bottom-style: solid;
    6638 }
    6639 
    6640 h2.nav-tab-wrapper,
    6641 h3.nav-tab-wrapper {
    6642     border-bottom-width: 1px;
    6643     border-bottom-style: solid;
    6644     padding-bottom: 0;
    6645     padding-left: 10px;
    6646 }
    6647 
    6648 h2 .nav-tab {
    6649     padding: 6px 10px;
    6650     font-weight: bold;
    6651     font-size: 15px;
    6652     line-height: 24px;
    6653 
    66546503}
    66556504
     
    77787627}
    77797628
     7629
    77807630/*------------------------------------------------------------------------------
    7781   25.0 - Misc
     7631  25.0 - Tabbed Admin Screen Interface (Experimental)
     7632------------------------------------------------------------------------------*/
     7633
     7634.nav-tab {
     7635    border-style: solid;
     7636    border-width: 1px 1px 0;
     7637    font-size: 12px;
     7638    line-height: 16px;
     7639    display: inline-block;
     7640    padding: 4px 14px 6px;
     7641    text-decoration: none;
     7642    margin: -4px 4px -1px 0;
     7643}
     7644
     7645.nav-tab-active {
     7646    border-width: 1px;
     7647}
     7648
     7649.nav-tab-active,
     7650.nav-tab-active:hover {
     7651    border-bottom-width: 1px;
     7652    border-bottom-style: solid;
     7653}
     7654
     7655h2.nav-tab-wrapper,
     7656h3.nav-tab-wrapper {
     7657    border-bottom-width: 1px;
     7658    border-bottom-style: solid;
     7659    padding-bottom: 0;
     7660    padding-left: 10px;
     7661}
     7662
     7663h2 .nav-tab {
     7664    padding: 6px 10px;
     7665    font-weight: bold;
     7666    font-size: 15px;
     7667    line-height: 24px;
     7668}
     7669
     7670
     7671/*------------------------------------------------------------------------------
     7672  26.0 - Misc
    77827673------------------------------------------------------------------------------*/
    77837674
     
    100169907}
    100179908
    10018 #filter-box {
    10019     clear: both;
    10020 }
    10021 
    100229909.feature-filter {
    100239910    padding: 8px 12px 0;
     
    1185011737        float: none;
    1185111738        width: 100%;
    11852         margin-bottom: 15px; 
     11739        margin-bottom: 15px;
    1185311740    }
    1185411741
     
    1185711744        width: auto;
    1185811745        margin-left: 0;
    11859         margin-bottom: 15px;
    11860     }
    11861 
    11862     /* Theme Management Page */
    11863     #current-theme.has-screenshot {
    11864         padding: 0;
    11865         clear: both;
    11866     }
    11867 
    11868     #current-theme img {
    11869         float: none;
    11870         margin-left: 0;
    1187111746        margin-bottom: 15px;
    11872     }
    11873 
    11874     #current-theme.has-screenshot img.hide-if-no-customize {
    11875         display: block;
    1187611747    }
    1187711748
Note: See TracChangeset for help on using the changeset viewer.