]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/css/dashboard.css
WordPress 4.5
[autoinstalls/wordpress.git] / wp-admin / css / dashboard.css
index 43e9b3eb1e0ac9b555f989b1ac179cb9e6b11b8c..3968a979f94fbe46479d5b8ba2f0cc87e0fb7b97 100644 (file)
        min-height: 0;
 }
 
-/*------------------------------------------------------------------------------
-  9.0 - Dashboard
-------------------------------------------------------------------------------*/
-
 #dashboard-widgets-wrap {
        overflow: hidden;
        margin: 0 -8px;
 }
 
 .welcome-panel p {
-       color: #777;
+       color: #72777c;
 }
 
 .welcome-panel a {
 
 .welcome-panel-column p {
        margin-top: 7px;
-       color: #464646;
+       color: #444;
+}
+
+.welcome-panel .welcome-widgets-menus {
+       line-height: 16px;
+}
+
+.welcome-panel .welcome-panel-column ul {
+       margin: 0.8em 1em 1em 0;
+}
+
+.welcome-panel .welcome-panel-column li {
+       line-height: 16px;
+       list-style-type: none;
+       padding: 0 0 8px;
 }
 
 .welcome-panel .welcome-icon {
        background: transparent !important;
 }
 
-.welcome-panel .welcome-icon:before {
+/* Welcome Panel and Right Now common Icons style */
+
+.welcome-panel .welcome-icon:before,
+#dashboard_right_now li a:before,
+#dashboard_right_now li span:before {
        color: #82878c;
        font: normal 20px/1 dashicons;
        speak: none;
        display: inline-block;
        padding: 0 10px 0 0;
-       top: -1px;
        position: relative;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        vertical-align: top;
 }
 
+/* Welcome Panel specific Icons styles */
+
 .welcome-panel .welcome-write-blog:before,
 .welcome-panel .welcome-edit-page:before {
        content: "\f119";
 
 .welcome-panel .welcome-add-page:before {
        content: "\f132";
+       top: -1px;
 }
 
 .welcome-panel .welcome-view-site:before {
        top: -1px;
 }
 
-.welcome-panel .welcome-widgets-menus {
-       line-height: 16px;
+/* Right Now specific Icons styles */
+
+#dashboard_right_now li a:before,
+#dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */
+       content: "\f159"; /* generic icon for items added by CPTs ? */
+       padding: 0 5px 0 0;
 }
 
-.welcome-panel .welcome-panel-column ul {
-       margin: 0.8em 1em 1em 0;
+#dashboard_right_now .page-count a:before,
+#dashboard_right_now .page-count span:before {
+       content: "\f105";
 }
 
-.welcome-panel .welcome-panel-column li {
-       line-height: 16px;
-       list-style-type: none;
-       padding: 0 0 8px;
+#dashboard_right_now .post-count a:before,
+#dashboard_right_now .post-count span:before {
+       content: "\f109";
+}
+
+#dashboard_right_now .comment-count a:before {
+       content: "\f101";
+}
+
+#dashboard_right_now .comment-mod-count a:before {
+       content: "\f125";
+}
+
+#dashboard_right_now .storage-count a:before {
+       content: "\f104";
+}
+
+#dashboard_right_now .storage-count.warning a:before {
+       content: "\f153";
 }
 
 /* Dashboard WordPress news */
@@ -290,7 +326,7 @@ body #dashboard-widgets .postbox form .submit {
 }
 
 .rssSummary {
-       color: #777;
+       color: #72777c;
        margin-top: 4px;
 }
 
@@ -311,7 +347,7 @@ body #dashboard-widgets .postbox form .submit {
 
 #dashboard_primary .rss-widget span,
 #dashboard_primary .rss-widget span.rss-date {
-       color: #777;
+       color: #72777c;
 }
 
 #dashboard_primary .rss-widget span.rss-date {
@@ -369,13 +405,8 @@ body #dashboard-widgets .postbox form .submit {
 
 /* Dashboard right now - Colors */
 
-#dashboard_right_now li a:before,
-#dashboard_right_now li span:before {
-       color: #82878c;
-}
-
 #dashboard_right_now .sub {
-       color: #777;
+       color: #555d66;
        background: #f5f5f5;
        border-top: 1px solid #eee;
        padding: 10px 12px 6px 12px;
@@ -394,49 +425,6 @@ body #dashboard-widgets .postbox form .submit {
        color: #d54e21;
 }
 
-/* Dashboard right now - Icons */
-#dashboard_right_now li a:before,
-#dashboard_right_now li span:before {
-       content: "\f159";
-       font: normal 20px/1 dashicons;
-       speak: none;
-       display: block;
-       float: left;
-       margin: 0 5px 0 0;
-       padding: 0;
-       text-indent: 0;
-       text-align: center;
-       position: relative;
-       -webkit-font-smoothing: antialiased;
-       text-decoration: none !important;
-}
-
-#dashboard_right_now .page-count a:before,
-#dashboard_right_now .page-count span:before {
-       content: "\f105";
-}
-
-#dashboard_right_now .post-count a:before,
-#dashboard_right_now .post-count span:before {
-       content: "\f109";
-}
-
-#dashboard_right_now .comment-count a:before {
-       content: "\f101";
-}
-
-#dashboard_right_now .comment-mod-count a:before {
-       content: "\f125";
-}
-
-#dashboard_right_now .storage-count a:before {
-       content: "\f104";
-}
-
-#dashboard_right_now .storage-count.warning a:before {
-       content: "\f153";
-}
-
 /* Dashboard Quick Draft */
 
 #dashboard_quick_press .inside {
@@ -496,7 +484,7 @@ form.initial-form.quickpress-open input#title {
 
 #title-wrap #title-prompt-text,
 .textarea-wrap #content-prompt-text {
-       color: #777;
+       color: #72777c;
 }
 
 #title-wrap #title-prompt-text {
@@ -557,7 +545,7 @@ form.initial-form.quickpress-open input#title {
        margin-bottom: 1em;
 }
 #dashboard_quick_press .drafts li time {
-       color: #777;
+       color: #72777c;
 }
 
 #dashboard_quick_press .drafts p {
@@ -601,7 +589,7 @@ form.initial-form.quickpress-open input#title {
 #dashboard_activity .comment-meta span.approve:before {
        content: "\f227";
        font: 20px/.5 dashicons;
-       margin-left: 12px;
+       margin-left: 5px;
        vertical-align: middle;
        position: relative;
        top: -1px;
@@ -620,7 +608,7 @@ form.initial-form.quickpress-open input#title {
 }
 
 #dashboard_activity .no-activity p {
-       color: #999;
+       color: #72777c;
        font-size: 16px;
 }
 
@@ -649,6 +637,11 @@ form.initial-form.quickpress-open input#title {
        padding: 8px 12px 4px;
 }
 
+#dashboard_activity .subsubsub a .count,
+#dashboard_activity .subsubsub a.current .count {
+       color: #72777c; /* white background on the dashboard but #f1f1f1 on list tables */
+}
+
 #future-posts ul,
 #published-posts ul {
        clear: both;
@@ -665,7 +658,7 @@ form.initial-form.quickpress-open input#title {
        display: inline-block;
        margin-right: 5px;
        min-width: 150px;
-       color: #777;
+       color: #72777c;
 }
 
 .activity-block {
@@ -700,7 +693,7 @@ form.initial-form.quickpress-open input#title {
 
 #activity-widget #the-comment-list .avatar {
        position: absolute;
-       top: 13px;
+       top: 12px;
 }
 
 #activity-widget #the-comment-list .dashboard-comment-wrap {
@@ -746,12 +739,17 @@ form.initial-form.quickpress-open input#title {
        margin: 10px;
 }
 
-.edit-box {
+.postbox .button-link .edit-box {
        display: none;
 }
 
-h3:hover .edit-box {
-       display: inline;
+.edit-box {
+       opacity: 0;
+}
+
+.hndle:hover .edit-box,
+.edit-box:focus {
+       opacity: 1;
 }
 
 #dashboard-widgets form .input-text-wrap input {
@@ -777,19 +775,13 @@ h3:hover .edit-box {
        text-decoration: none;
 }
 
-#dashboard-widgets h3 a {
+#dashboard-widgets h2 a {
        text-decoration: underline;
 }
 
-#dashboard-widgets h3 .postbox-title-action {
-       position: absolute;
-       right: 10px;
-       padding: 0;
-       top: 5px;
-}
-
-.js #dashboard-widgets h3 .postbox-title-action {
-       right: 33px;
+#dashboard-widgets .hndle .postbox-title-action {
+       float: right;
+       line-height: 1.2;
 }
 
 #dashboard_plugins h5 {
@@ -814,7 +806,11 @@ h3:hover .edit-box {
 }
 
 #activity-widget #latest-comments #the-comment-list .comment-item {
-       padding: 1em 12px;
+       /* the row-actions paragraph is output only for users with 'edit_comment' capabilities,
+          for other users this needs a min height equal to the gravatar image */
+       min-height: 50px;
+       margin: 0;
+       padding: 12px;
 }
 
 #latest-comments #the-comment-list .pingback {
@@ -886,7 +882,7 @@ a.rsswidget {
 }
 
 .rss-widget span.rss-date {
-       color: #999;
+       color: #72777c;
        font-size: 13px;
        margin-left: 3px;
 }
@@ -1004,6 +1000,11 @@ a.rsswidget {
                min-height: 0;
        }
 
+       #dashboard-widgets #postbox-container-3 .empty-container:after,
+       #dashboard-widgets #postbox-container-4 .empty-container:after {
+               display: none;
+       }
+
        #wpbody #wpbody-content #dashboard-widgets.columns-1 .postbox-container {
                width: 100%;
        }
@@ -1024,6 +1025,10 @@ a.rsswidget {
        .columns-prefs .columns-prefs-4 {
                display: none;
        }
+
+       .metabox-holder .postbox-container .empty-container:after {
+               display: block;
+       }
 }
 
 /* three columns on the dash */
@@ -1046,6 +1051,14 @@ a.rsswidget {
                height: 0;
                min-height: 0;
        }
+
+       #dashboard-widgets #postbox-container-4 .empty-container:after {
+               display: none;
+       }
+
+       .metabox-holder .postbox-container .empty-container:after {
+               display: block;
+       }
 }
 
 @media screen and (max-width: 870px) {