<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[26495] trunk/src/wp-admin/css/wp-admin.css: Prefix the new Theme classes.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/26495">26495</a></dd>
<dt>Author</dt> <dd>dd32</dd>
<dt>Date</dt> <dd>2013-12-01 05:11:44 +0000 (Sun, 01 Dec 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Prefix the new Theme classes. Fixes <a href="http://core.trac.wordpress.org/ticket/25966">#25966</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmincsswpadmincss">trunk/src/wp-admin/css/wp-admin.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmincsswpadmincss"></a>
<div class="modfile"><h4>Modified: trunk/src/wp-admin/css/wp-admin.css (26494 => 26495)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/src/wp-admin/css/wp-admin.css      2013-12-01 04:55:38 UTC (rev 26494)
+++ trunk/src/wp-admin/css/wp-admin.css 2013-12-01 05:11:44 UTC (rev 26495)
</span><span class="lines">@@ -6342,7 +6342,7 @@
</span><span class="cx">  * Main theme element
</span><span class="cx">  * (has flexible margins)
</span><span class="cx">  */
</span><del>-.theme {
</del><ins>+.theme-browser .theme {
</ins><span class="cx">   cursor: pointer;
</span><span class="cx">  float: left;
</span><span class="cx">  margin: 0 5% 4% 0;
</span><span class="lines">@@ -6356,16 +6356,16 @@
</span><span class="cx">  box-sizing:         border-box;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme:nth-child(3n) {
</del><ins>+.theme-browser .theme:nth-child(3n) {
</ins><span class="cx">   margin-right: 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme:hover,
-.theme:focus {
</del><ins>+.theme-browser .theme:hover,
+.theme-browser .theme:focus {
</ins><span class="cx">   cursor: pointer;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme .theme-name {
</del><ins>+.theme-browser .theme .theme-name {
</ins><span class="cx">   font-size: 15px;
</span><span class="cx">  font-weight: 600;
</span><span class="cx">  margin: 0;
</span><span class="lines">@@ -6375,15 +6375,12 @@
</span><span class="cx">  overflow: hidden;
</span><span class="cx">  white-space: nowrap;
</span><span class="cx">  text-overflow: ellipsis;
</span><del>-}
-
-.theme-name {
</del><span class="cx">   background: #fff;
</span><span class="cx">  background: rgba(255,255,255,0.65);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /* Activate and Customize buttons, shown on hover */
</span><del>-.theme .theme-actions {
</del><ins>+.theme-browser .theme .theme-actions {
</ins><span class="cx">   opacity: 0;
</span><span class="cx">  -webkit-transition: opacity 0.1s ease-in-out;
</span><span class="cx">  transition:         opacity 0.1s ease-in-out;
</span><span class="lines">@@ -6396,15 +6393,15 @@
</span><span class="cx">  border-left: 1px solid rgba(0,0,0,0.05);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme:hover .theme-actions {
</del><ins>+.theme-browser .theme:hover .theme-actions {
</ins><span class="cx">   opacity: 1;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme .theme-actions .button-primary {
</del><ins>+.theme-browser .theme .theme-actions .button-primary {
</ins><span class="cx">   margin-right: 3px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme .theme-actions .button-secondary {
</del><ins>+.theme-browser .theme .theme-actions .button-secondary {
</ins><span class="cx">   float: none;
</span><span class="cx">  margin-left: 3px;
</span><span class="cx"> }
</span><span class="lines">@@ -6415,7 +6412,7 @@
</span><span class="cx">  * Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size
</span><span class="cx">  * It is also responsive.
</span><span class="cx">  */
</span><del>-.theme .theme-screenshot {
</del><ins>+.theme-browser .theme .theme-screenshot {
</ins><span class="cx">   display: block;
</span><span class="cx">  overflow: hidden;
</span><span class="cx">  position: relative;
</span><span class="lines">@@ -6423,13 +6420,13 @@
</span><span class="cx">  transition:         opacity 0.2s ease-in-out;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme .theme-screenshot:after {
</del><ins>+.theme-browser .theme .theme-screenshot:after {
</ins><span class="cx">   content: '';
</span><span class="cx">  display: block;
</span><span class="cx">  padding-top: 66%; /* using a 3/2 aspect ratio */
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme .theme-screenshot img {
</del><ins>+.theme-browser .theme .theme-screenshot img {
</ins><span class="cx">   height: auto;
</span><span class="cx">  position: absolute;
</span><span class="cx">  left: 0;
</span><span class="lines">@@ -6440,7 +6437,7 @@
</span><span class="cx">  transition:         opacity 0.2s ease-in-out;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme:after {
</del><ins>+.theme-browser .theme:after {
</ins><span class="cx">   display: block;
</span><span class="cx">  opacity: 0;
</span><span class="cx">  content: '\f348';
</span><span class="lines">@@ -6459,15 +6456,15 @@
</span><span class="cx">  transition:         opacity 0.2s ease-in-out;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme:hover:after {
</del><ins>+.theme-browser .theme:hover:after {
</ins><span class="cx">   opacity: 0.6;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme:hover .theme-screenshot {
</del><ins>+.theme-browser .theme:hover .theme-screenshot {
</ins><span class="cx">   background: #fff;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme:hover .theme-screenshot img {
</del><ins>+.theme-browser .theme:hover .theme-screenshot img {
</ins><span class="cx">   opacity: 0.4;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -6475,7 +6472,7 @@
</span><span class="cx">  * Displays a theme update notice
</span><span class="cx">  * when an update is available.
</span><span class="cx">  */
</span><del>-.theme .theme-update {
</del><ins>+.theme-browser .theme .theme-update {
</ins><span class="cx">   background: #d54e21;
</span><span class="cx">  background: rgba(213, 78, 33, 0.95);
</span><span class="cx">  color: #fff;
</span><span class="lines">@@ -6493,7 +6490,7 @@
</span><span class="cx">  overflow: hidden;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme .theme-update:before {
</del><ins>+.theme-browser .theme .theme-update:before {
</ins><span class="cx">   content: '\f113';
</span><span class="cx">  display: inline-block;
</span><span class="cx">  font: normal 20px/1 'dashicons';
</span><span class="lines">@@ -6509,20 +6506,14 @@
</span><span class="cx"> /**
</span><span class="cx">  * The currently active theme
</span><span class="cx">  */
</span><del>-.theme.active {
-}
-
-.theme.active .theme-screenshot {
-}
-
-.theme.active .theme-name {
</del><ins>+.theme-browser .theme.active .theme-name {
</ins><span class="cx">   background: #0074a2;
</span><span class="cx">  color: #fff;
</span><span class="cx">  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
</span><span class="cx">  box-shadow:         inset 0 1px 1px rgba(0,0,0,0.5);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme.active .theme-actions {
</del><ins>+.theme-browser .theme.active .theme-actions {
</ins><span class="cx">   top: 0;
</span><span class="cx">  left: 0;
</span><span class="cx">  background: #2f2f2f;
</span><span class="lines">@@ -6533,23 +6524,23 @@
</span><span class="cx">  z-index: 1;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme.active .theme-actions .button {
</del><ins>+.theme-browser .theme.active .theme-actions .button {
</ins><span class="cx">   float: right;
</span><span class="cx">  margin-top: 10px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme.active .current-label {
</del><ins>+.theme-browser .theme.active .current-label {
</ins><span class="cx">   font-size: 13px;
</span><span class="cx">  font-weight: 400;
</span><span class="cx">  color: #ccc;
</span><span class="cx">  margin-left: 5px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme.active .theme-update {
</del><ins>+.theme-browser .theme.active .theme-update {
</ins><span class="cx">   top: 48px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme .theme-author {
</del><ins>+.theme-browser .theme .theme-author {
</ins><span class="cx">   background: #222;
</span><span class="cx">  color: #eee;
</span><span class="cx">  display: none;
</span><span class="lines">@@ -6560,11 +6551,11 @@
</span><span class="cx">  bottom: 56px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme.display-author .theme-author {
</del><ins>+.theme-browser .theme.display-author .theme-author {
</ins><span class="cx">   display: block;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme.display-author .theme-author a {
</del><ins>+.theme-browser .theme.display-author .theme-author a {
</ins><span class="cx">   color: inherit;
</span><span class="cx">  text-decoration: none;
</span><span class="cx"> }
</span><span class="lines">@@ -6572,12 +6563,12 @@
</span><span class="cx"> /**
</span><span class="cx">  * Add new theme
</span><span class="cx">  */
</span><del>-.theme-browser .add-new-theme {
</del><ins>+.theme-browser .theme.add-new-theme {
</ins><span class="cx">   border: none;
</span><span class="cx">  box-shadow: none;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-browser .add-new-theme a {
</del><ins>+.theme-browser .theme.add-new-theme a {
</ins><span class="cx">   color: #999;
</span><span class="cx">  text-decoration: none;
</span><span class="cx">  display: block;
</span><span class="lines">@@ -6585,7 +6576,7 @@
</span><span class="cx">  z-index: 1;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-browser .add-new-theme:after {
</del><ins>+.theme-browser .theme.add-new-theme:after {
</ins><span class="cx">   display: block;
</span><span class="cx">  content: '';
</span><span class="cx">  opacity: 1;
</span><span class="lines">@@ -6605,7 +6596,7 @@
</span><span class="cx">  box-sizing:         border-box;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-browser .add-new-theme span:after {
</del><ins>+.theme-browser .theme.add-new-theme span:after {
</ins><span class="cx">   background: rgba(153, 153, 153, 0.1);
</span><span class="cx">  border-radius: 50%;
</span><span class="cx">  display: inline-block;
</span><span class="lines">@@ -6627,22 +6618,22 @@
</span><span class="cx">  z-index:4;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-browser .add-new-theme:hover .theme-screenshot {
</del><ins>+.theme-browser .theme.add-new-theme:hover .theme-screenshot {
</ins><span class="cx">   background: none;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-browser .add-new-theme:hover span:after {
</del><ins>+.theme-browser .theme.add-new-theme:hover span:after {
</ins><span class="cx">   background: #fff;
</span><span class="cx">  color: #0074a2;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-browser .add-new-theme:hover:after {
</del><ins>+.theme-browser .theme.add-new-theme:hover:after {
</ins><span class="cx">   border-color: transparent;
</span><span class="cx">  color: #fff;
</span><span class="cx">  background: #0074a2;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-browser .add-new-theme .theme-name {
</del><ins>+.theme-browser .theme.add-new-theme .theme-name {
</ins><span class="cx">   background: none;
</span><span class="cx">  text-align: center;
</span><span class="cx">  box-shadow: none;
</span><span class="lines">@@ -6651,7 +6642,7 @@
</span><span class="cx">  top: -50px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-browser .add-new-theme:hover .theme-name {
</del><ins>+.theme-browser .theme.add-new-theme:hover .theme-name {
</ins><span class="cx">   color: #fff;
</span><span class="cx">  z-index: 2;
</span><span class="cx"> }
</span><span class="lines">@@ -6767,7 +6758,6 @@
</span><span class="cx">  content: '\f341';
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-
</del><span class="cx"> .theme-overlay .theme-wrap {
</span><span class="cx">  clear: both;
</span><span class="cx">  position: fixed;
</span><span class="lines">@@ -6803,9 +6793,6 @@
</span><span class="cx">  z-index: 30;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-overlay.active .theme-actions {
-}
-
</del><span class="cx"> .theme-overlay .theme-actions a {
</span><span class="cx">  margin-right: 5px;
</span><span class="cx">  margin-bottom: 0;
</span><span class="lines">@@ -6915,7 +6902,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> /* No screenshot placeholder */
</span><del>-.theme .theme-screenshot.blank,
</del><ins>+.theme-browser .theme .theme-screenshot.blank,
</ins><span class="cx"> .theme-overlay .screenshot.blank {
</span><span class="cx">  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
</span><span class="cx"> }
</span><span class="lines">@@ -6999,9 +6986,6 @@
</span><span class="cx">  margin-right: 5px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.theme-overlay .theme-actions {
-}
-
</del><span class="cx"> /* Theme Updates info */
</span><span class="cx"> .theme-overlay .theme-update-message {
</span><span class="cx">  background: #fefaf7;
</span><span class="lines">@@ -7040,16 +7024,16 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> @media only screen and (min-width: 1700px) {
</span><del>-       .theme {
</del><ins>+        .theme-browser .theme {
</ins><span class="cx">           width: 22.7%;
</span><span class="cx">          margin: 0 3% 3% 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .theme:nth-child(3n) {
</del><ins>+        .theme-browser .theme:nth-child(3n) {
</ins><span class="cx">           margin-right: 3%;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .theme:nth-child(4n) {
</del><ins>+        .theme-browser .theme:nth-child(4n) {
</ins><span class="cx">           margin-right: 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span><span class="lines">@@ -7061,16 +7045,16 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media only screen and (max-width: 1200px) {
</span><del>-       .theme {
</del><ins>+        .theme-browser .theme {
</ins><span class="cx">           width: 47.5%;
</span><span class="cx">          margin-right: 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .theme:nth-child(even) {
</del><ins>+        .theme-browser .theme:nth-child(even) {
</ins><span class="cx">           margin-right: 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .theme:nth-child(odd) {
</del><ins>+        .theme-browser .theme:nth-child(odd) {
</ins><span class="cx">           margin-right: 5%;
</span><span class="cx">  }
</span><span class="cx"> }
</span><span class="lines">@@ -7084,7 +7068,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media only screen and (max-width: 780px) {
</span><del>-       .theme.active .theme-actions .button {
</del><ins>+        .theme-browser .theme.active .theme-actions .button {
</ins><span class="cx">           margin-top: 6px;
</span><span class="cx">          margin-right: -3px
</span><span class="cx">  }
</span><span class="lines">@@ -7119,17 +7103,17 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @media only screen and (max-width: 650px) {
</span><del>-       .theme {
</del><ins>+        .theme-browser .theme {
</ins><span class="cx">           width: 100%;
</span><span class="cx">          margin-right: 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .theme:hover .theme-actions {
</del><ins>+        .theme-browser .theme:hover .theme-actions {
</ins><span class="cx">           display: none;
</span><span class="cx">  }
</span><span class="cx"> 
</span><del>-       .theme:nth-child(2n),
-       .theme:nth-child(3n) {
</del><ins>+        .theme-browser .theme:nth-child(2n),
+       .theme-browser .theme:nth-child(3n) {
</ins><span class="cx">           margin-right: 0;
</span><span class="cx">  }
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>