Make WordPress Core

Changeset 26495


Ignore:
Timestamp:
12/01/2013 05:11:44 AM (12 years ago)
Author:
dd32
Message:

Prefix the new Theme classes. Fixes #25966

File:
1 edited

Legend:

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

    r26494 r26495  
    63436343 * (has flexible margins)
    63446344 */
    6345 .theme {
     6345.theme-browser .theme {
    63466346    cursor: pointer;
    63476347    float: left;
     
    63576357}
    63586358
    6359 .theme:nth-child(3n) {
     6359.theme-browser .theme:nth-child(3n) {
    63606360    margin-right: 0;
    63616361}
    63626362
    6363 .theme:hover,
    6364 .theme:focus {
     6363.theme-browser .theme:hover,
     6364.theme-browser .theme:focus {
    63656365    cursor: pointer;
    63666366}
    63676367
    6368 .theme .theme-name {
     6368.theme-browser .theme .theme-name {
    63696369    font-size: 15px;
    63706370    font-weight: 600;
     
    63766376    white-space: nowrap;
    63776377    text-overflow: ellipsis;
    6378 }
    6379 
    6380 .theme-name {
    63816378    background: #fff;
    63826379    background: rgba(255,255,255,0.65);
     
    63846381
    63856382/* Activate and Customize buttons, shown on hover */
    6386 .theme .theme-actions {
     6383.theme-browser .theme .theme-actions {
    63876384    opacity: 0;
    63886385    -webkit-transition: opacity 0.1s ease-in-out;
     
    63976394}
    63986395
    6399 .theme:hover .theme-actions {
     6396.theme-browser .theme:hover .theme-actions {
    64006397    opacity: 1;
    64016398}
    64026399
    6403 .theme .theme-actions .button-primary {
     6400.theme-browser .theme .theme-actions .button-primary {
    64046401    margin-right: 3px;
    64056402}
    64066403
    6407 .theme .theme-actions .button-secondary {
     6404.theme-browser .theme .theme-actions .button-secondary {
    64086405    float: none;
    64096406    margin-left: 3px;
     
    64166413 * It is also responsive.
    64176414 */
    6418 .theme .theme-screenshot {
     6415.theme-browser .theme .theme-screenshot {
    64196416    display: block;
    64206417    overflow: hidden;
     
    64246421}
    64256422
    6426 .theme .theme-screenshot:after {
     6423.theme-browser .theme .theme-screenshot:after {
    64276424    content: '';
    64286425    display: block;
     
    64306427}
    64316428
    6432 .theme .theme-screenshot img {
     6429.theme-browser .theme .theme-screenshot img {
    64336430    height: auto;
    64346431    position: absolute;
     
    64416438}
    64426439
    6443 .theme:after {
     6440.theme-browser .theme:after {
    64446441    display: block;
    64456442    opacity: 0;
     
    64606457}
    64616458
    6462 .theme:hover:after {
     6459.theme-browser .theme:hover:after {
    64636460    opacity: 0.6;
    64646461}
    64656462
    6466 .theme:hover .theme-screenshot {
     6463.theme-browser .theme:hover .theme-screenshot {
    64676464    background: #fff;
    64686465}
    64696466
    6470 .theme:hover .theme-screenshot img {
     6467.theme-browser .theme:hover .theme-screenshot img {
    64716468    opacity: 0.4;
    64726469}
     
    64766473 * when an update is available.
    64776474 */
    6478 .theme .theme-update {
     6475.theme-browser .theme .theme-update {
    64796476    background: #d54e21;
    64806477    background: rgba(213, 78, 33, 0.95);
     
    64946491}
    64956492
    6496 .theme .theme-update:before {
     6493.theme-browser .theme .theme-update:before {
    64976494    content: '\f113';
    64986495    display: inline-block;
     
    65106507 * The currently active theme
    65116508 */
    6512 .theme.active {
    6513 }
    6514 
    6515 .theme.active .theme-screenshot {
    6516 }
    6517 
    6518 .theme.active .theme-name {
     6509.theme-browser .theme.active .theme-name {
    65196510    background: #0074a2;
    65206511    color: #fff;
     
    65236514}
    65246515
    6525 .theme.active .theme-actions {
     6516.theme-browser .theme.active .theme-actions {
    65266517    top: 0;
    65276518    left: 0;
     
    65346525}
    65356526
    6536 .theme.active .theme-actions .button {
     6527.theme-browser .theme.active .theme-actions .button {
    65376528    float: right;
    65386529    margin-top: 10px;
    65396530}
    65406531
    6541 .theme.active .current-label {
     6532.theme-browser .theme.active .current-label {
    65426533    font-size: 13px;
    65436534    font-weight: 400;
     
    65466537}
    65476538
    6548 .theme.active .theme-update {
     6539.theme-browser .theme.active .theme-update {
    65496540    top: 48px;
    65506541}
    65516542
    6552 .theme .theme-author {
     6543.theme-browser .theme .theme-author {
    65536544    background: #222;
    65546545    color: #eee;
     
    65616552}
    65626553
    6563 .theme.display-author .theme-author {
     6554.theme-browser .theme.display-author .theme-author {
    65646555    display: block;
    65656556}
    65666557
    6567 .theme.display-author .theme-author a {
     6558.theme-browser .theme.display-author .theme-author a {
    65686559    color: inherit;
    65696560    text-decoration: none;
     
    65736564 * Add new theme
    65746565 */
    6575 .theme-browser .add-new-theme {
     6566.theme-browser .theme.add-new-theme {
    65766567    border: none;
    65776568    box-shadow: none;
    65786569}
    65796570
    6580 .theme-browser .add-new-theme a {
     6571.theme-browser .theme.add-new-theme a {
    65816572    color: #999;
    65826573    text-decoration: none;
     
    65866577}
    65876578
    6588 .theme-browser .add-new-theme:after {
     6579.theme-browser .theme.add-new-theme:after {
    65896580    display: block;
    65906581    content: '';
     
    66066597}
    66076598
    6608 .theme-browser .add-new-theme span:after {
     6599.theme-browser .theme.add-new-theme span:after {
    66096600    background: rgba(153, 153, 153, 0.1);
    66106601    border-radius: 50%;
     
    66286619}
    66296620
    6630 .theme-browser .add-new-theme:hover .theme-screenshot {
     6621.theme-browser .theme.add-new-theme:hover .theme-screenshot {
    66316622    background: none;
    66326623}
    66336624
    6634 .theme-browser .add-new-theme:hover span:after {
     6625.theme-browser .theme.add-new-theme:hover span:after {
    66356626    background: #fff;
    66366627    color: #0074a2;
    66376628}
    66386629
    6639 .theme-browser .add-new-theme:hover:after {
     6630.theme-browser .theme.add-new-theme:hover:after {
    66406631    border-color: transparent;
    66416632    color: #fff;
     
    66436634}
    66446635
    6645 .theme-browser .add-new-theme .theme-name {
     6636.theme-browser .theme.add-new-theme .theme-name {
    66466637    background: none;
    66476638    text-align: center;
     
    66526643}
    66536644
    6654 .theme-browser .add-new-theme:hover .theme-name {
     6645.theme-browser .theme.add-new-theme:hover .theme-name {
    66556646    color: #fff;
    66566647    z-index: 2;
     
    67686759}
    67696760
    6770 
    67716761.theme-overlay .theme-wrap {
    67726762    clear: both;
     
    68046794}
    68056795
    6806 .theme-overlay.active .theme-actions {
    6807 }
    6808 
    68096796.theme-overlay .theme-actions a {
    68106797    margin-right: 5px;
     
    69166903
    69176904/* No screenshot placeholder */
    6918 .theme .theme-screenshot.blank,
     6905.theme-browser .theme .theme-screenshot.blank,
    69196906.theme-overlay .screenshot.blank {
    69206907    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
     
    70006987}
    70016988
    7002 .theme-overlay .theme-actions {
    7003 }
    7004 
    70056989/* Theme Updates info */
    70066990.theme-overlay .theme-update-message {
     
    70417025
    70427026@media only screen and (min-width: 1700px) {
    7043     .theme {
     7027    .theme-browser .theme {
    70447028        width: 22.7%;
    70457029        margin: 0 3% 3% 0;
    70467030    }
    70477031
    7048     .theme:nth-child(3n) {
     7032    .theme-browser .theme:nth-child(3n) {
    70497033        margin-right: 3%;
    70507034    }
    70517035
    7052     .theme:nth-child(4n) {
     7036    .theme-browser .theme:nth-child(4n) {
    70537037        margin-right: 0;
    70547038    }
     
    70627046
    70637047@media only screen and (max-width: 1200px) {
    7064     .theme {
     7048    .theme-browser .theme {
    70657049        width: 47.5%;
    70667050        margin-right: 0;
    70677051    }
    70687052
    7069     .theme:nth-child(even) {
     7053    .theme-browser .theme:nth-child(even) {
    70707054        margin-right: 0;
    70717055    }
    70727056
    7073     .theme:nth-child(odd) {
     7057    .theme-browser .theme:nth-child(odd) {
    70747058        margin-right: 5%;
    70757059    }
     
    70857069
    70867070@media only screen and (max-width: 780px) {
    7087     .theme.active .theme-actions .button {
     7071    .theme-browser .theme.active .theme-actions .button {
    70887072        margin-top: 6px;
    70897073        margin-right: -3px
     
    71207104
    71217105@media only screen and (max-width: 650px) {
    7122     .theme {
     7106    .theme-browser .theme {
    71237107        width: 100%;
    71247108        margin-right: 0;
    71257109    }
    71267110
    7127     .theme:hover .theme-actions {
     7111    .theme-browser .theme:hover .theme-actions {
    71287112        display: none;
    71297113    }
    71307114
    7131     .theme:nth-child(2n),
    7132     .theme:nth-child(3n) {
     7115    .theme-browser .theme:nth-child(2n),
     7116    .theme-browser .theme:nth-child(3n) {
    71337117        margin-right: 0;
    71347118    }
Note: See TracChangeset for help on using the changeset viewer.