Changeset 26293
- Timestamp:
- 11/20/2013 10:47:25 PM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/colors-fresh.css
r26289 r26293 162 162 .form-table .pre, 163 163 .ui-autocomplete li a { 164 color: # 555;164 color: #444; 165 165 } 166 166 … … 274 274 .titlewrap input, 275 275 select { 276 border-color: #d edede;276 border-color: #ddd; 277 277 } 278 278 … … 298 298 input[type="checkbox"]:focus, 299 299 input[type="radio"]:focus, 300 select:focus { 300 select:focus, 301 #widgets-left .widget-in-question .widget-top, 302 #available-widgets .widget-top:hover, 303 #widgets-right .widget-top:hover, 304 #widgets-left .widget-top:hover, 305 .menu-item-bar .menu-item-handle:hover { 301 306 border-color: #999; 302 307 } … … 370 375 } 371 376 372 .form-table th {373 border-bottom: 1px solid #dfdfdf;374 }375 376 .form-table td {377 border-bottom: 1px solid #dfdfdf;378 }379 377 .form-table.editcomment td { 380 378 border-bottom: none; … … 412 410 } 413 411 414 .wrap h2 { 415 color: #000; 412 h2, 413 h3 { 414 color: #222; 416 415 } 417 416 … … 971 970 } 972 971 973 .widget ,974 #available-widgets .widget-top,972 .widget-top, 973 .menu-item-handle, 975 974 .menu-item-settings, 975 .widget-inside, 976 976 .postbox, 977 977 #menu-settings-column .accordion-container, … … 987 987 .popular-tags, 988 988 .feature-filter { 989 border: 1px solid #d edede;990 -webkit-box-shadow: 0 px 1px 1px -1px rgba(0,0,0,0.1);991 box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);989 border: 1px solid #ddd; 990 -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05); 991 box-shadow: 0 1px 2px rgba(0,0,0,0.05); 992 992 } 993 993 994 994 .wp-editor-container { 995 995 border-bottom: none; 996 }997 998 #available-widgets .widget,999 .widget.ui-sortable-helper {1000 -webkit-box-shadow: none;1001 box-shadow: none;1002 996 } 1003 997 … … 1022 1016 #namediv h3, 1023 1017 #submitdiv h3 { 1024 color: #555;1025 1018 border-bottom: 1px solid #eeeeee; 1026 1019 } … … 1028 1021 .widget .widget-top, 1029 1022 .menu-item-handle { 1030 background: #e9e9e9; 1031 color: #333; 1032 } 1033 1034 .js .sidebar-name:hover h3, 1035 .js .postbox h3:hover { 1036 color: #000; 1023 background: #fafafa; 1024 color: #222; 1037 1025 } 1038 1026 … … 1070 1058 #screen-meta { 1071 1059 background-color: #fff; 1072 border: 1px solid #d edede;1060 border: 1px solid #ddd; 1073 1061 border-top: none; 1074 1062 -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.025); … … 1106 1094 #screen-options-link-wrap, 1107 1095 #contextual-help-link-wrap { 1108 border: 1px solid #d edede;1096 border: 1px solid #ddd; 1109 1097 border-top: none; 1110 1098 background: #fff; … … 1182 1170 .widget-inside, 1183 1171 .menu-item-settings { 1184 background: #eee; 1172 background: #fff; 1173 } 1174 1175 .menu-item-settings { 1176 border-top: none; 1185 1177 } 1186 1178 … … 1501 1493 } 1502 1494 1503 .js .meta-box-sortables .postbox:hover .handlediv:before {1504 color: #888;1505 }1506 1507 1495 .tablenav .tablenav-pages { 1508 1496 color: #555; … … 1568 1556 .sortable-placeholder { 1569 1557 border-color: #bbb; 1570 background-color: #f5f5f5;1571 1558 } 1572 1559 … … 1597 1584 1598 1585 #widgets-left #available-widgets { 1599 background: #fff; 1600 } 1601 1602 #available-widgets .widget-description { 1603 color: #555; 1586 background: transparent; 1587 } 1588 1589 #widgets-left .widgets-holder-wrap { 1590 border: none; 1591 -webkit-box-shadow: none; 1592 box-shadow: none; 1604 1593 } 1605 1594 1606 1595 .sidebar-name { 1607 color: #464646;1608 1596 border-bottom-color: #e1e1e1; 1609 1597 } 1610 1598 1611 .js .sidebar-name:hover,1612 1599 .js #removing-widget { 1613 1600 color: #2ea2cc; … … 1620 1607 .in-widget-title, 1621 1608 #widgets-right .widget-top a.widget-control-edit, 1622 #wp_inactive_widgets .in-widget-title { 1623 color: #777; 1609 #wp_inactive_widgets .in-widget-title, 1610 #available-widgets .widget-description { 1611 color: #666; 1624 1612 } 1625 1613 … … 1716 1704 } 1717 1705 1718 .widget-top a.widget-action:hover { 1719 color: #0074a2; 1720 } 1721 1722 .widget-top a.widget-action:after { 1723 color: #333; 1724 } 1725 1726 #wp_inactive_widgets .widget .widget-top a.widget-action { 1727 color: #ddd; 1728 } 1729 1730 .nav-menus-php .item-edit:before, 1731 #wp_inactive_widgets .widget .widget-top a.widget-action:after { 1732 color: #888; 1733 } 1734 1735 .control-section .accordion-section-title::after, 1736 .accordion-section-title::after { 1737 color: #888; 1706 .widget-action, 1707 .handlediv, 1708 .item-edit, 1709 .sidebar-name-arrow, 1710 .accordion-section-title:after { 1711 color: #aaa; 1712 } 1713 1714 .widget-action:hover, 1715 .handlediv:hover, 1716 .item-edit:hover, 1717 .sidebar-name:hover .sidebar-name-arrow, 1718 .accordion-section-title:hover:after { 1719 color: #777; 1738 1720 } 1739 1721 -
trunk/src/wp-admin/css/customize-controls.css
r26165 r26293 21 21 #customize-header-actions .button-primary { 22 22 float: right; 23 margin-top: 10px;23 margin-top: 9px; 24 24 } 25 25 -
trunk/src/wp-admin/css/wp-admin.css
r26291 r26293 251 251 -ms-box-sizing: border-box; /* ie8 only */ 252 252 box-sizing: border-box; 253 -webkit-border-radius: 0;254 border-radius: 0;255 253 } 256 254 … … 290 288 } 291 289 292 input[type="checkbox"] {293 border-radius: 0;294 }295 296 290 input[type=radio] { 297 291 border-radius: 50%; … … 493 487 font-size: 1.5em; 494 488 margin: .83em 0; 489 font-weight: 400; 495 490 } 496 491 … … 885 880 input[type="checkbox"]:focus, 886 881 input[type="radio"]:focus, 887 select:focus { 882 select:focus, 883 #widgets-chooser ul, 884 #widgets-left .widget-in-question .widget-top, 885 #available-widgets .widget-top:hover, 886 div#widgets-right .widget-top:hover { 888 887 -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1); 889 888 box-shadow: 0 1px 2px rgba(0,0,0,0.1); … … 1089 1088 line-height: 28px; 1090 1089 height: 28px; 1091 color: # 555;1090 color: #333; 1092 1091 vertical-align: top; 1093 1092 } … … 1322 1321 padding: 10px; 1323 1322 clear: both; 1324 border-top: 1px solid #d edede;1323 border-top: 1px solid #ddd; 1325 1324 background: #f5f5f5; 1326 1325 } … … 2361 2360 2362 2361 .metabox-holder .postbox-container .empty-container { 2363 border: 3px dashed # CCCCCC;2362 border: 3px dashed #bbb; 2364 2363 height: 250px; 2365 2364 } … … 5789 5788 5790 5789 .drag-drop #drag-drop-area { 5791 border: 4px dashed # DDDDDD;5790 border: 4px dashed #bbb; 5792 5791 height: 200px; 5793 5792 } … … 6082 6081 .form-table td { 6083 6082 margin-bottom: 9px; 6084 padding: 1 8px 10px;6083 padding: 15px 10px; 6085 6084 line-height: 1.3; 6086 6085 font-size: 14px; … … 6788 6787 .picker-dropdown { 6789 6788 background: #fcfcfc; 6790 border: 1px solid #d edede;6789 border: 1px solid #ddd; 6791 6790 margin-right: 12%; 6792 6791 max-width: 270px; … … 6834 6833 top: -11px; 6835 6834 z-index: 1; 6836 border-bottom-color: #d edede;6835 border-bottom-color: #ddd; 6837 6836 } 6838 6837 … … 6846 6845 background: white; 6847 6846 text-align: center; 6848 border: 1px solid #d edede;6847 border: 1px solid #ddd; 6849 6848 border-left-width: 0; 6850 6849 cursor: pointer; … … 6863 6862 display: block; 6864 6863 padding: 20px; 6865 border-top: 1px solid #d edede;6864 border-top: 1px solid #ddd; 6866 6865 } 6867 6866 … … 7505 7504 right: 0; 7506 7505 height: 45px; 7507 padding: 0 20px;7506 padding: 0 15px; 7508 7507 line-height: 45px; 7509 7508 z-index: 10; … … 7515 7514 7516 7515 .wp-full-overlay-sidebar .wp-full-overlay-header a.back { 7517 margin-top: 10px;7516 margin-top: 9px; 7518 7517 } 7519 7518 … … 9075 9074 border: 1px solid #dfdfdf; 9076 9075 position: relative; 9077 padding-left: 10px; 9078 padding-right: 2px; 9076 padding: 10px 15px; 9079 9077 height: auto; 9080 width: 400px;9078 width: 382px; 9081 9079 line-height: 30px; 9082 9080 overflow: hidden; … … 9093 9091 } 9094 9092 9095 .menu-item-edit-active .menu-item-handle {9096 -webkit-border-bottom-right-radius: 0;9097 -webkit-border-bottom-left-radius: 0;9098 border-bottom-right-radius: 0;9099 border-bottom-left-radius: 0;9100 border-bottom: none;9101 }9102 9103 9093 .no-js .menu-item-edit-active .item-edit { 9104 9094 display: none; … … 9116 9106 font-size: 13px; 9117 9107 font-weight: 600; 9118 padding: 5px 0;9119 9108 line-height: 20px; 9120 9109 display: block; … … 9180 9169 .item-type { 9181 9170 font-size: 12px; 9182 padding: 7px 10px;9171 padding: 12px 10px; 9183 9172 line-height: 18px; 9184 9173 display: block; … … 9210 9199 display: block; 9211 9200 width: 30px; 9212 height: 36px;9201 height: 40px; 9213 9202 margin-right: 0 !important; 9214 9203 text-indent: 100%; … … 9226 9215 width: 402px; 9227 9216 padding: 10px 0 10px 10px; 9217 position: relative; 9218 z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */ 9228 9219 } 9229 9220 … … 9235 9226 .menu-item-edit-active .menu-item-settings { 9236 9227 display: block; 9237 border-top: none;9238 9228 } 9239 9229 9240 9230 .menu-item-edit-inactive .menu-item-settings { 9241 9231 display: none; 9242 border-top: none;9243 9232 } 9244 9233 … … 9683 9672 } 9684 9673 9685 /* Make the tiny arrow visible on the widgets page at all times */ 9686 .js .widgets-holder-wrap .sidebar-name .sidebar-name-arrow:before { 9687 color: rgba(136,136,136,.4); 9688 } 9689 .js .widgets-holder-wrap .sidebar-name .sidebar-name-arrow:before { 9674 /* Show the arrow only on hover */ 9675 .js .sidebar-name .sidebar-name-arrow:before, 9676 .js .meta-box-sortables .postbox .handlediv:before { 9690 9677 content: '\f142'; 9691 9678 } 9692 .js .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow:before { 9693 content: '\f140'; 9694 } 9695 9696 /* Show the arrow only on hover */ 9697 .js .sidebar-name:hover .sidebar-name-arrow:before, 9698 .js .meta-box-sortables .postbox:hover .handlediv:before { 9699 content: '\f142'; 9700 color: #888; 9701 } 9702 9703 .js .widgets-holder-wrap.closed:hover .sidebar-name-arrow:before, 9704 .js .meta-box-sortables .postbox.closed:hover .handlediv:before { 9679 9680 .js .widgets-holder-wrap.closed .sidebar-name-arrow:before, 9681 .js .meta-box-sortables .postbox.closed .handlediv:before { 9705 9682 content: '\f140'; 9706 9683 } … … 10003 9980 /* min-width: 50%; Not sure if this is needed */ 10004 9981 position: relative; 10005 border: none !important; /* ln 991 in colors-fresh.css */10006 9982 box-sizing: border-box; 10007 9983 -moz-box-sizing:border-box; … … 10010 9986 10011 9987 .widget-top { 10012 font-size: 1 2px;9988 font-size: 13px; 10013 9989 font-weight: 600; 10014 9990 background: #f7f7f7; … … 10022 9998 .widget-title h4 { 10023 9999 margin: 0; 10024 padding: 1 8px 15px;10000 padding: 15px; 10025 10001 line-height: 1; 10026 10002 overflow: hidden; … … 10029 10005 } 10030 10006 10031 .widget -inside {10032 b ackground: #fff !important; /* ln 1204 in colors.fresh.css */10007 .widgets-holder-wrap .widget-inside { 10008 border-top: none; 10033 10009 padding: 1px 15px 15px 15px; 10034 10010 line-height: 16px; … … 10043 10019 10044 10020 .widget.ui-sortable-helper { 10045 border: 1px solid #DEDEDE;10046 border-radius: 3px;10047 box-shadow: 0 1px 3px rgba(0,0,0,0.2);10048 10021 opacity: 0.8; 10049 10022 z-index: 2000; … … 10051 10024 10052 10025 .widget-placeholder { 10053 border: 1px solid #dedede;10054 margin: auto auto -1px;10026 border: 1px dashed #bbb; 10027 margin: 10px 0; 10055 10028 height: 50px; 10056 10029 width: 100%; 10057 background: #eee;10058 box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);10059 10030 -webkit-box-sizing: border-box; 10060 10031 -moz-box-sizing: border-box; … … 10073 10044 .sidebar-name-arrow { 10074 10045 position: absolute; 10075 10076 10077 10046 top: 0; 10047 right: 0; 10048 bottom: 0; 10078 10049 } 10079 10050 … … 10083 10054 10084 10055 .sidebar-name h3 { 10085 font-weight: normal;10086 font-size: 15px;10087 10056 margin: 0; 10088 10057 padding: 8px 10px; … … 10095 10064 margin: 0; 10096 10065 font-style: normal; 10097 font-size: 12px;10098 10066 color: #777; 10067 } 10068 10069 #available-widgets.widgets-holder-wrap .description { 10070 padding-bottom: 10px; 10099 10071 } 10100 10072 … … 10104 10076 width: 38%; 10105 10077 float: left; 10106 border-right: 2px solid #ccc;10107 10078 } 10108 10079 … … 10115 10086 10116 10087 div#widgets-left { 10117 margin: 0; 10118 padding: 12px 5% 0 0; 10088 padding-top: 12px; 10119 10089 } 10120 10090 … … 10127 10097 padding: 10px 0; 10128 10098 margin: 0 10px 0 0; 10129 }10130 10131 div#widgets-left .sidebar-name:hover h3 {10132 color: #464646;10133 10099 } 10134 10100 … … 10137 10103 top: 4px; 10138 10104 padding: 4px 6px 4px 4px; 10139 border-radius: 20px;10140 }10141 10142 div#widgets-left .sidebar-name:hover .sidebar-name-arrow:before {10143 background: #ccc;10144 }10145 10146 div#widgets-left .closed .sidebar-name .sidebar-name-arrow:before {10147 background: #999;10148 color: #fff;10149 10105 } 10150 10106 … … 10154 10110 } 10155 10111 10156 #available-widgets {10157 background: transparent !important; /* ln 1620 colors-fresh.css */10158 margin: 0;10159 border-radius: none;10160 box-shadow: none;10161 border: none;10162 }10163 10164 10112 #available-widgets .widget-title-action { 10165 10113 display: none; … … 10167 10115 10168 10116 #available-widgets .widget { 10169 margin: 10px 0 0 0; 10170 background: #ddd; 10171 border-radius: 3px; 10172 } 10117 margin: 0; 10118 } 10119 10173 10120 #available-widgets .widget:nth-child(odd) { 10174 10121 clear: both; 10175 10122 } 10176 10123 10177 #available-widgets .widget-top {10178 border-radius: 3px;10179 background: #ffffff; /* ln 1047 in colors-fresh.css */10180 border: 1px solid #bbb !important; /* ln 991 in colors-fresh.css */10181 }10182 10183 #available-widgets .widget-top:hover {10184 border-color: #999 !important; /* ln 991 in colors-fresh.css */10185 box-shadow: 0 1px 3px rgba(0,0,0,0.2);10186 }10187 10188 10124 #available-widgets .widget .widget-description { 10189 10125 display: block; 10190 padding: 10px 1 6px;10126 padding: 10px 15px; 10191 10127 font-size: 12px; 10192 10128 } … … 10207 10143 } 10208 10144 10209 #widgets-left .inactive-sidebar .widget {10210 margin: 10px 0 0 0;10211 }10212 10213 #widgets-left .inactive-sidebar .widget-inside {10214 -webkit-border-bottom-right-radius: 3px;10215 -webkit-border-bottom-left-radius: 3px;10216 -moz-border-radius-bottomright: 3px;10217 -moz-border-radius-bottomleft: 3px;10218 border-bottom-right-radius: 3px;10219 border-bottom-left-radius: 3px;10220 background: #dfdfdf;10221 }10222 10223 #widgets-left .inactive-sidebar .widget-top {10224 background: #fff !important; /* ln 991 in colors-fresh.css */10225 border: 1px solid #bbb !important; /* ln 991 in colors-fresh.css */10226 border-radius: 3px;10227 }10228 10229 #widgets-left .inactive-sidebar .widget-top:hover {10230 border-color: #999 !important; /* ln 991 in colors-fresh.css */10231 box-shadow: 0 1px 3px rgba(0,0,0,0.2);10232 }10233 10234 10145 /* Not sure what this is for... */ 10235 10146 div#widgets-left .inactive-sidebar .widget.expanded { … … 10237 10148 } 10238 10149 10239 #widgets-left .inactive-sidebar.widget-title-action {10150 .widget-title-action { 10240 10151 float: right; 10241 10152 position: relative; 10242 top: 1 3px;10153 top: 11px; 10243 10154 right: 10px; 10244 10155 } 10245 10156 10157 div#widgets-right a.widget-action:after, 10246 10158 div#widgets-left .inactive-sidebar .widget-action:after { 10247 content: '\f111'; 10248 color: #888; 10159 content: '\f140'; 10249 10160 } 10250 10161 … … 10257 10168 } 10258 10169 10259 div#widgets-left .inactive-sidebar .widget-placeholder {10260 border: 1px solid #ccc;10261 margin: 10px 0 0;10262 height: 50px;10263 width: 100%;10264 border-radius: 3px;10265 background: #e7e7e7;10266 box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);10267 -webkit-box-sizing: border-box;10268 -moz-box-sizing: border-box;10269 box-sizing: border-box;10270 }10271 10272 10170 /* Widgets Right */ 10273 10171 … … 10286 10184 div#widgets-right .widget { 10287 10185 margin: 0 auto; 10288 border: 1px solid #dedede !important; /* ln 991 in colors-fresh.css */ 10289 margin-bottom: -1px; 10186 margin-bottom: 10px; 10290 10187 } 10291 10188 10292 10189 div#widgets-right .sidebar-description { 10293 10190 border-top: 1px solid #eeeeee; 10294 padding: 10px 15px 15px 15px;10191 padding: 10px 15px; 10295 10192 } 10296 10193 … … 10310 10207 div#widgets-right .widget-top { 10311 10208 padding: 0; 10312 background: #f7f7f7;10313 }10314 10315 div#widgets-right .widget-title-action {10316 float: right;10317 position: relative;10318 top: 14px;10319 right: 10px;10320 }10321 10322 div#widgets-right a.widget-action:after {10323 content: '\f111';10324 color: #888;10325 }10326 10327 div#widgets-right .widget-inside {10328 border-top: 1px solid #dedede;10329 10209 } 10330 10210 … … 10336 10216 } 10337 10217 10338 div#widgets-right .widgets-sortables:before {10339 display: block;10340 content: "";10341 text-align: center;10342 position: absolute;10343 left: 8px;10344 right: 8px;10345 bottom: 0;10346 height: 47px;10347 border: 1px dashed #dedede;10348 line-height: 40px;10349 font-weight: 600;10350 color: #aaa;10351 }10352 10353 10218 .sidebar-name .spinner { 10354 10219 margin: -5px 5px; … … 10363 10228 display: block; 10364 10229 position: absolute; 10365 10366 10367 10368 10230 top: 0; 10231 right: 50px; 10232 bottom: 0; 10233 left: 0; 10369 10234 z-index: 40; 10370 10235 text-align: center; … … 10413 10278 .accordion-section-title:after { 10414 10279 right: 0; 10415 content: '\f14 1';10280 content: '\f140'; 10416 10281 border: none; 10417 10282 background: none; … … 10428 10293 } 10429 10294 .nav-menus-php .item-edit:before { 10430 line-height: 1.5;10295 line-height: 2.1; 10431 10296 } 10432 10297 .control-section .accordion-section-title:after, … … 10439 10304 #customize-info.open .accordion-section-title:after, 10440 10305 .nav-menus-php .menu-item-edit-active .item-edit:before { 10441 content: '\f14 0';10306 content: '\f142'; 10442 10307 } 10443 10308 … … 10514 10379 } 10515 10380 10516 .widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question .widget-top {10517 background: #fff;10518 border: 1px solid #bbb;10519 box-shadow: 0 1px 3px rgba(0,0,0,0.2);10520 }10521 10522 #widgets-chooser {10523 clear: both;10524 display: none;10525 max-width: 400px;10526 }10527 10528 #widgets-chooser h3 {10529 font-size: 12px;10530 padding: 15px 0 12px 35px;10531 margin: 0;10532 border-top: 1px solid #ccc;10533 background: rgba(0,0,0,0.6);10534 color: #fff;10535 }10536 10537 10381 #widgets-chooser ul.widgets-chooser-sidebars { 10538 10382 margin: 0; … … 10542 10386 } 10543 10387 10388 #widgets-chooser { 10389 display: none; 10390 } 10391 10392 #widgets-chooser ul { 10393 border: 1px solid #ccc; 10394 } 10395 10544 10396 #widgets-chooser li { 10545 10397 padding: 10px 15px 10px 35px; 10398 border-bottom: 1px solid #ccc; 10546 10399 background: #fff; 10547 border-bottom: 1px solid #ccc;10548 10400 margin: 0; 10549 10401 cursor: pointer; … … 10569 10421 } 10570 10422 10423 #widgets-chooser li:last-child { 10424 border: none; 10425 } 10426 10571 10427 #widgets-chooser li.widgets-chooser-selected { 10572 background: # 1075a0;10428 background: #2ea2cc; 10573 10429 color: #fff; 10574 10430 } … … 10633 10489 .accordion-section-title { 10634 10490 margin: 0; 10635 padding: 1 5px 20px;10491 padding: 12px 15px 15px; 10636 10492 position: relative; 10637 10493 border-left: 1px solid #dfdfdf; … … 10687 10543 .js .control-section.open .accordion-section-title, 10688 10544 .js .control-section .accordion-section-title:focus { 10689 color: # 555;10545 color: #222; 10690 10546 background: #f5f5f5; 10691 10547 } -
trunk/src/wp-admin/widgets.php
r26286 r26293 430 430 431 431 <div id="widgets-chooser"> 432 <h3><?php _e( 'Choose a sidebar:' ); ?></h3>433 432 <ul class="widgets-chooser-sidebars"></ul> 434 433 <div class="widgets-chooser-actions">
Note: See TracChangeset
for help on using the changeset viewer.