]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/common.css
WordPress 4.7
[autoinstalls/wordpress.git] / wp-admin / css / common.css
index 42c4c7be46e45ede577baf66cdf3d9616e453aa1..9b127c5195235979d04fd0a5fd90f43aac09a267 100644 (file)
@@ -572,10 +572,20 @@ code {
        font-size: 23px;
        font-weight: 400;
        margin: 0;
-       padding: 9px 15px 4px 0;
+       padding: 9px 0 4px 0;
        line-height: 29px;
 }
 
+.wrap h1.wp-heading-inline {
+       display: inline-block;
+       margin-right: 5px;
+}
+
+.wp-header-end {
+       visibility: hidden;
+       margin: -2px 0 0;
+}
+
 .subtitle {
        margin: 0;
        padding-left: 25px;
@@ -608,6 +618,10 @@ code {
        outline: 0;
 }
 
+.wrap .wp-heading-inline + .page-title-action {
+       margin-left: 0;
+}
+
 .wrap .add-new-h2:hover, /* deprecated */
 .wrap .page-title-action:hover {
        border-color: #008EC2;
@@ -680,7 +694,7 @@ ul.striped > :nth-child(odd),
 }
 
 .wp-ui-highlight {
-       color: white;
+       color: #fff;
        background-color: #1e8cbe;
 }
 .wp-ui-text-highlight {
@@ -759,7 +773,7 @@ img.emoji {
 
 /* @todo can we combine these into a class or use an existing dashicon one? */
 .welcome-panel .welcome-panel-close:before,
-.tagchecklist span a:before,
+.tagchecklist .ntdelbutton .remove-tag-icon:before,
 #bulk-titles div a:before,
 .notice-dismiss:before {
        background: none;
@@ -779,18 +793,41 @@ img.emoji {
        margin: 0;
 }
 
-.tagchecklist span a:before,
 #bulk-titles div a:before {
        margin: 1px 0;
 }
 
+.tagchecklist .ntdelbutton .remove-tag-icon:before {
+       margin-left: 2px;
+       -webkit-border-radius: 50%;
+       border-radius: 50%;
+       color: #0073aa;
+       /* vertically center the icon cross browsers */
+       line-height: 1.28;
+}
+
+.tagchecklist .ntdelbutton:focus {
+       outline: 0;
+}
+
 .welcome-panel .welcome-panel-close:hover:before,
 .welcome-panel .welcome-panel-close:focus:before,
-.tagchecklist span a:hover:before,
-#bulk-titles div a:hover:before {
+.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
+.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
+#bulk-titles div a:hover:before,
+#bulk-titles div a:focus:before {
        color: #c00;
 }
 
+.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
+       -webkit-box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+       box-shadow:
+               0 0 0 1px #5b9dd9,
+               0 0 2px 1px rgba(30, 140, 190, .8);
+}
+
 .key-labels label {
        line-height: 24px;
 }
@@ -826,6 +863,8 @@ hr {
        border-bottom: 1px solid #fafafa;
 }
 
+.widget-control-remove,
+.widget-control-remove:focus,
 .row-actions span.delete a,
 .row-actions span.trash a,
 .row-actions span.spam a,
@@ -842,7 +881,6 @@ hr {
 abbr.required,
 span.required,
 .file-error,
-.widget-control-remove:hover,
 .row-actions .delete a:hover,
 .row-actions .trash a:hover,
 .row-actions .spam a:hover,
@@ -854,10 +892,13 @@ span.required,
 #media-items a.delete-permanently:hover,
 #nav-menu-footer .menu-delete:hover {
        color: #f00;
-       text-decoration: none;
        border: none;
 }
 
+.widget-control-remove:hover {
+       color: #f00;
+}
+
 /*------------------------------------------------------------------------------
   3.0 - Actions
 ------------------------------------------------------------------------------*/
@@ -870,10 +911,8 @@ span.required,
 }
 
 #delete-action {
-       line-height: 28px;
-       vertical-align: middle;
-       text-align: left;
        float: left;
+       line-height: 28px;
 }
 
 #publishing-action {
@@ -1043,39 +1082,53 @@ th.action-links {
        display: inline-block;
 }
 
-.wp-filter .drawer-toggle {
-       display: inline-block;
-       margin: 0 10px;
-       padding: 4px 6px;
+.wp-filter .button.drawer-toggle {
+       margin: 10px 9px 0;
+       padding: 0 10px 0 6px;
+       border-color: transparent;
+       background-color: transparent;
        color: #666;
-       cursor: pointer;
+       vertical-align: baseline;
+       -webkit-box-shadow: none;
+       box-shadow: none;
 }
 
 .wp-filter .drawer-toggle:before {
-       display: inline-block;
-       vertical-align: top;
        content: "\f111";
        margin: 0 5px 0 0;
-       width: 16px;
-       height: 16px;
        color: #72777c;
-       -webkit-transition: color .1s ease-in 0;
-       transition: color .1s ease-in 0;
-       font-family: dashicons;
-       font-size: 16px;
-       line-height: 1;
-       text-align: center;
-       text-decoration: inherit;
-       font-weight: 400;
-       font-style: normal;
+       font: normal 16px/1 dashicons;
+       vertical-align: text-bottom;
        -webkit-font-smoothing: antialiased;
+       -moz-osx-font-smoothing: grayscale;
 }
 
-.wp-filter .drawer-toggle:hover,
-.wp-filter .drawer-toggle:hover:before {
+.wp-filter .button.drawer-toggle:hover,
+.wp-filter .drawer-toggle:hover:before,
+.wp-filter .button.drawer-toggle:focus,
+.wp-filter .drawer-toggle:focus:before {
+       background-color: transparent;
        color: #00a0d2;
 }
 
+.wp-filter .button.drawer-toggle:hover,
+.wp-filter .button.drawer-toggle:focus:active {
+       border-color: transparent;
+}
+
+.wp-filter .button.drawer-toggle:focus {
+       border-color: #5b9dd9;
+}
+
+.wp-filter .button.drawer-toggle:active {
+       background: transparent;
+       -webkit-box-shadow: none;
+       box-shadow: none;
+       -webkit-transform: none;
+       -ms-transform: none;
+       transform: none;
+}
+
 .wp-filter .drawer-toggle.current:before {
        color: #fff;
 }
@@ -1090,7 +1143,7 @@ th.action-links {
        width: 100%;
 }
 
-.show-favorites-form .wp-filter .favorites-form {
+.show-favorites-form .favorites-form {
        display: block;
 }
 
@@ -1108,23 +1161,22 @@ th.action-links {
        width: 100%;
 }
 
-.show-filters .wp-filter .drawer-toggle:hover,
-.show-filters .wp-filter .drawer-toggle:focus {
-       background: rgb(46, 162, 204);
-}
-
 .show-filters .filter-links a.current {
        border-bottom: none;
 }
 
-.show-filters .wp-filter .drawer-toggle {
+.show-filters .wp-filter .button.drawer-toggle {
        -webkit-border-radius: 2px;
        border-radius: 2px;
-       border: none;
        background: #72777c;
        color: #fff;
 }
 
+.show-filters .wp-filter .drawer-toggle:hover,
+.show-filters .wp-filter .drawer-toggle:focus {
+       background: rgb(46, 162, 204);
+}
+
 .show-filters .wp-filter .drawer-toggle:before {
        color: #fff;
 }
@@ -1168,9 +1220,15 @@ th.action-links {
 }
 
 .filter-drawer .buttons {
+       clear: both;
        margin-bottom: 20px;
 }
 
+.filter-drawer .filter-group + .buttons {
+       margin-bottom: 0;
+       padding-top: 20px;
+}
+
 .filter-drawer .buttons .button span {
        display: inline-block;
        opacity: 0.8;
@@ -1183,6 +1241,21 @@ th.action-links {
        margin-left: 10px;
 }
 
+.wp-filter .button-link.edit-filters {
+       color: #0073aa;
+       text-decoration: underline;
+       padding: 0 5px;
+       line-height: 28px;
+}
+
+.wp-filter .button-link.edit-filters:hover {
+       color: #00a0d2;
+}
+
+.wp-filter .button-link.edit-filters:focus {
+       color: #124964;
+}
+
 .filtered-by {
        display: none;
        margin: 0;
@@ -1224,6 +1297,7 @@ th.action-links {
        padding: 20px;
 }
 
+.show-filters .favorites-form,
 .show-filters .content-filterable,
 .show-filters.filters-applied.loading-content .content-filterable,
 .loading-content .content-filterable,
@@ -2098,14 +2172,6 @@ html.wp-toolbar {
        font-style: italic;
 }
 
-#wpfooter a {
-       text-decoration: none;
-}
-
-#wpfooter a:hover {
-       text-decoration: underline;
-}
-
 /*------------------------------------------------------------------------------
   25.0 - Tabbed Admin Screen Interface (Experimental)
 ------------------------------------------------------------------------------*/
@@ -2160,7 +2226,7 @@ h3 .nav-tab, /* Back-compat for pre-4.4 */
 
 h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
 .wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
-h3.nav-tab-wrapper {
+.nav-tab-wrapper {
        border-bottom: 1px solid #ccc;
        margin: 0;
        padding-top: 9px;
@@ -2823,6 +2889,11 @@ div.action-links {
        font-size: 13px;
 }
 
+/* For non-js plugin installation screen ticket #36430. */
+.update-php .button.button-primary {
+       margin-right: 1em;
+}
+
 @media screen and ( max-width: 771px ) {
        #plugin-information-title.with-banner {
                height: 100px;
@@ -2865,7 +2936,7 @@ div.action-links {
        #section-holder {
                position: static;
                margin: 0;
-               padding-bottom: 70px; /* reset from the two column height fix, plus accomodate footer */
+               padding-bottom: 70px; /* reset from the two column height fix, plus accommodate footer */
        }
 
        #plugin-information .fyi h3,
@@ -3333,7 +3404,8 @@ img {
        display: none;
 }
 
-.control-section .accordion-section-title {
+.control-section .accordion-section-title,
+.customize-pane-child .accordion-section-title {
        border-left: none;
        border-right: none;
        padding: 10px 10px 11px 14px;
@@ -3341,7 +3413,8 @@ img {
        background: #fff;
 }
 
-.control-section .accordion-section-title:after {
+.control-section .accordion-section-title:after,
+.customize-pane-child .accordion-section-title:after {
        top: 11px;
 }
 
@@ -3535,9 +3608,7 @@ img {
        .sidebar-name-arrow,
        .sidebar-name:hover .sidebar-name-arrow,
        .meta-box-sortables .postbox:hover .handlediv,
-       .tagchecklist span a,
        #bulk-titles div a,
-       .tagchecklist span a:hover,
        #bulk-titles div a:hover {
                background: none !important;
        }
@@ -3597,6 +3668,10 @@ img {
                display: none !important;
        }
 
+       .wrap h1.wp-heading-inline {
+               margin-bottom: 0.5em;
+       }
+
        .wrap .add-new-h2, /* deprecated */
        .wrap .add-new-h2:active, /* deprecated */
        .wrap .page-title-action,
@@ -3722,6 +3797,12 @@ img {
        .filter-drawer .filter-group-feature label {
                line-height: 25px;
        }
+
+       .wp-filter .button.drawer-toggle {
+               font-size: 13px;
+               line-height: 26px;
+               height: 28px;
+       }
 }
 
 /* Smartphone */
@@ -3747,7 +3828,7 @@ img {
 
        h1.nav-tab-wrapper,
        .wrap h2.nav-tab-wrapper,
-       h3.nav-tab-wrapper {
+       .nav-tab-wrapper {
                border-bottom: 0;
        }