2014-03-05 15:41:14 -05:00
|
|
|
.wp-full-overlay-sidebar {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Hide all sidebar sections by default, only show them (via JS) once the
|
|
|
|
* preview loads and we know whether the sidebars are used in the template.
|
|
|
|
*/
|
|
|
|
|
2014-12-02 17:16:23 -05:00
|
|
|
.control-section.control-section-sidebar,
|
2014-03-05 15:41:14 -05:00
|
|
|
.customize-control-sidebar_widgets label,
|
|
|
|
.customize-control-sidebar_widgets .hide-if-js {
|
|
|
|
/* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */
|
2014-12-02 17:16:23 -05:00
|
|
|
display: none;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
2015-05-29 09:57:26 -04:00
|
|
|
.control-section.control-section-sidebar .accordion-section-content.ui-sortable {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
2017-05-03 18:39:44 -04:00
|
|
|
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
|
2014-03-05 15:41:14 -05:00
|
|
|
.customize-control-widget_form .widget-top {
|
2016-03-10 16:44:26 -05:00
|
|
|
background: #fff;
|
2014-03-05 15:41:14 -05:00
|
|
|
transition: opacity 0.5s;
|
|
|
|
}
|
|
|
|
|
2016-03-10 16:44:26 -05:00
|
|
|
.customize-control .widget-action {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
color: #787c82;
|
2016-03-10 16:44:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control .widget-top:hover .widget-action,
|
|
|
|
.customize-control .widget-action:focus {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
color: #1d2327;
|
2016-03-10 16:44:26 -05:00
|
|
|
}
|
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
.customize-control-widget_form:not(.widget-rendered) .widget-top {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2015-04-04 11:42:28 -04:00
|
|
|
.customize-control-widget_form .widget-control-save {
|
2014-03-05 15:41:14 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-04-04 11:42:28 -04:00
|
|
|
.customize-control-widget_form .spinner {
|
|
|
|
visibility: hidden;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
.customize-control-widget_form.previewer-loading .spinner {
|
2015-04-04 11:42:28 -04:00
|
|
|
visibility: visible;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
2014-04-02 15:20:15 -04:00
|
|
|
|
2014-04-02 14:20:16 -04:00
|
|
|
.customize-control-widget_form.widget-form-disabled .widget-content {
|
|
|
|
opacity: 0.7;
|
|
|
|
pointer-events: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2014-03-05 15:41:14 -05:00
|
|
|
|
|
|
|
.customize-control-widget_form .widget {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-widget_form.wide-widget-control .widget-inside {
|
|
|
|
position: fixed;
|
|
|
|
left: 299px;
|
|
|
|
top: 25%;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
border: 1px solid #dcdcde;
|
2014-03-27 19:13:14 -04:00
|
|
|
overflow: auto;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
2014-03-27 19:13:14 -04:00
|
|
|
.customize-control-widget_form.wide-widget-control .widget-inside > .form {
|
|
|
|
padding: 20px;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-widget_form.wide-widget-control .widget-top {
|
|
|
|
transition: background-color 0.4s;
|
|
|
|
}
|
|
|
|
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
|
|
|
|
.customize-control-widget_form.wide-widget-control.expanded:not(.collapsing) .widget-top {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
background-color: #dcdcde;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.widget-inside {
|
|
|
|
padding: 1px 10px 10px 10px;
|
|
|
|
border-top: none;
|
2019-05-29 12:01:53 -04:00
|
|
|
line-height: 1.23076923;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
2017-04-19 17:14:44 -04:00
|
|
|
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
|
2014-03-05 15:41:14 -05:00
|
|
|
content: "\f142";
|
|
|
|
}
|
|
|
|
|
2017-04-19 17:14:44 -04:00
|
|
|
.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
|
2014-03-05 15:41:14 -05:00
|
|
|
content: "\f139";
|
|
|
|
}
|
|
|
|
|
2017-04-19 17:14:44 -04:00
|
|
|
.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
|
2014-03-05 15:41:14 -05:00
|
|
|
content: "\f141";
|
|
|
|
}
|
|
|
|
|
|
|
|
.widget-title-action {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2016-01-13 17:36:26 -05:00
|
|
|
.widget-top,
|
2014-03-05 15:41:14 -05:00
|
|
|
.customize-control-widget_form .widget .customize-control-title {
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
2014-04-07 12:32:15 -04:00
|
|
|
.control-section.accordion-section.highlighted > .accordion-section-title,
|
|
|
|
.customize-control-widget_form.highlighted {
|
2014-03-05 15:41:14 -05:00
|
|
|
outline: none;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
box-shadow: 0 0 2px rgba(79, 148, 212, 0.8);
|
2014-03-25 07:48:14 -04:00
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#widget-customizer-control-templates {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2015-10-20 16:15:26 -04:00
|
|
|
* Widget reordering styles
|
|
|
|
*/
|
2014-03-05 15:41:14 -05:00
|
|
|
|
|
|
|
#customize-theme-controls .widget-reorder-nav {
|
|
|
|
display: none;
|
|
|
|
float: right;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
background-color: #f6f7f7;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.move-widget:before {
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f504";
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
2015-10-20 16:15:26 -04:00
|
|
|
#customize-theme-controls .move-widget-area {
|
2014-03-05 15:41:14 -05:00
|
|
|
display: none;
|
|
|
|
background: #fff;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
border: 1px solid #dcdcde;
|
2014-03-05 15:41:14 -05:00
|
|
|
border-top: none;
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .reordering .move-widget-area.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .move-widget-area .description {
|
|
|
|
margin: 0;
|
|
|
|
padding: 15px 20px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .widget-area-select {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .widget-area-select li {
|
|
|
|
position: relative;
|
|
|
|
margin: 0;
|
|
|
|
padding: 13px 15px 15px 42px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
color: #50575e;
|
|
|
|
border-top: 1px solid #f0f0f1;
|
2014-03-05 15:41:14 -05:00
|
|
|
cursor: pointer;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .widget-area-select li:before {
|
|
|
|
display: none;
|
2015-09-10 16:22:25 -04:00
|
|
|
content: "\f147";
|
2014-03-05 15:41:14 -05:00
|
|
|
position: absolute;
|
2014-04-07 16:50:15 -04:00
|
|
|
top: 12px;
|
2014-03-05 15:41:14 -05:00
|
|
|
left: 10px;
|
2015-09-05 15:57:25 -04:00
|
|
|
font: normal 20px/1 dashicons;
|
2014-04-07 16:50:15 -04:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .widget-area-select li:last-child {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
border-bottom: 1px solid #f0f0f1;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .widget-area-select .selected {
|
|
|
|
color: #fff;
|
2019-03-04 17:02:52 -05:00
|
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
background: #72aee6;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .widget-area-select .selected:before {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .move-widget-actions {
|
|
|
|
text-align: right;
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .reordering .widget-title-action {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .reordering .widget-reorder-nav {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-05-11 14:55:43 -04:00
|
|
|
/* Text Widget */
|
|
|
|
.wp-customizer div.mce-inline-toolbar-grp,
|
|
|
|
.wp-customizer div.mce-tooltip {
|
|
|
|
z-index: 500100 !important;
|
|
|
|
}
|
|
|
|
.wp-customizer .ui-autocomplete.wplink-autocomplete {
|
|
|
|
z-index: 500110; /* originally 100110, but z-index of .wp-full-overlay is 500000 */
|
|
|
|
}
|
|
|
|
.wp-customizer #wp-link-backdrop {
|
|
|
|
z-index: 500100; /* originally 100100, but z-index of .wp-full-overlay is 500000 */
|
|
|
|
}
|
|
|
|
.wp-customizer #wp-link-wrap {
|
|
|
|
z-index: 500105; /* originally 100105, but z-index of .wp-full-overlay is 500000 */
|
|
|
|
}
|
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
/**
|
|
|
|
* Styles for new widget addition panel
|
|
|
|
*/
|
2015-10-20 16:15:26 -04:00
|
|
|
|
2016-01-18 04:59:26 -05:00
|
|
|
/* override widgets admin page rules in wp-admin/css/widgets.css */
|
2014-03-05 15:41:14 -05:00
|
|
|
#widgets-left #available-widgets .widget {
|
|
|
|
float: none !important;
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
|
2018-05-11 13:35:23 -04:00
|
|
|
/* Keep rule that is no longer necessary on widgets.php. */
|
|
|
|
#available-widgets .widget-action {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-05-29 09:57:26 -04:00
|
|
|
.ios #available-widgets {
|
|
|
|
transition: left 0s;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#available-widgets .widget-tpl:hover,
|
|
|
|
#available-widgets .widget-tpl.selected {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
background: #f6f7f7;
|
|
|
|
border-bottom-color: #c3c4c7;
|
|
|
|
color: #2271b1;
|
|
|
|
border-left: 4px solid #2271b1;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
2015-10-10 12:34:25 -04:00
|
|
|
#customize-controls .widget-title h3 {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-widgets .widget-title h3 {
|
2014-03-05 15:41:14 -05:00
|
|
|
padding: 0 0 5px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-widgets .widget .widget-description {
|
|
|
|
padding: 0;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
color: #787c82;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#customize-preview {
|
|
|
|
transition: all 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.adding-widget #available-widgets {
|
|
|
|
left: 0;
|
2015-07-08 17:21:25 -04:00
|
|
|
visibility: visible;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
body.adding-widget .wp-full-overlay-main {
|
|
|
|
left: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.adding-widget #customize-preview {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-04-07 16:50:15 -04:00
|
|
|
/**
|
|
|
|
* Widget Icon styling
|
|
|
|
* No plurals in naming.
|
|
|
|
* Ordered from lowest to highest specificity.
|
2015-10-20 16:15:26 -04:00
|
|
|
*/
|
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets .widget-title {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-widgets .widget-title:before {
|
2014-04-07 16:50:15 -04:00
|
|
|
content: "\f132";
|
2014-03-05 15:41:14 -05:00
|
|
|
position: absolute;
|
|
|
|
top: -3px;
|
|
|
|
right: 100%;
|
|
|
|
margin-right: 20px;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
color: #2c3338;
|
2015-09-05 15:57:25 -04:00
|
|
|
font: normal 20px/1 dashicons;
|
2014-03-05 15:41:14 -05:00
|
|
|
text-align: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2014-04-07 16:50:15 -04:00
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-smiley */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="easy"] .widget-title:before { content: "\f328"; top: -4px; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-star-filled */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="super"] .widget-title:before,
|
|
|
|
#available-widgets [class*="like"] .widget-title:before { content: "\f155"; top: -4px; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-wordpress */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="meta"] .widget-title:before { content: "\f120"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-archive */
|
2014-03-07 22:38:16 -05:00
|
|
|
#available-widgets [class*="archives"] .widget-title:before { content: "\f480"; top: -4px; }
|
2014-03-05 15:41:14 -05:00
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-category */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="categor"] .widget-title:before { content: "\f318"; top: -4px; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-admin-comments */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="comment"] .widget-title:before,
|
|
|
|
#available-widgets [class*="testimonial"] .widget-title:before,
|
|
|
|
#available-widgets [class*="chat"] .widget-title:before { content: "\f101"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-admin-post */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="post"] .widget-title:before { content: "\f109"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-admin-page */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="page"] .widget-title:before { content: "\f105"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-text */
|
2014-03-07 22:38:16 -05:00
|
|
|
#available-widgets [class*="text"] .widget-title:before { content: "\f478"; }
|
2014-03-05 15:41:14 -05:00
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-admin-links */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="link"] .widget-title:before { content: "\f103"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-search */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="search"] .widget-title:before { content: "\f179"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-menu */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="menu"] .widget-title:before,
|
|
|
|
#available-widgets [class*="nav"] .widget-title:before { content: "\f333"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-tagcloud */
|
2014-03-07 22:38:16 -05:00
|
|
|
#available-widgets [class*="tag"] .widget-title:before { content: "\f479"; }
|
2014-03-05 15:41:14 -05:00
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-rss */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="rss"] .widget-title:before { content: "\f303"; top: -6px; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-calendar */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="event"] .widget-title:before,
|
|
|
|
#available-widgets [class*="calendar"] .widget-title:before { content: "\f145"; top: -4px;}
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-format-image */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="image"] .widget-title:before,
|
|
|
|
#available-widgets [class*="photo"] .widget-title:before,
|
|
|
|
#available-widgets [class*="slide"] .widget-title:before,
|
|
|
|
#available-widgets [class*="instagram"] .widget-title:before { content: "\f128"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-format-gallery */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="album"] .widget-title:before,
|
|
|
|
#available-widgets [class*="galler"] .widget-title:before { content: "\f161"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-format-video */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="video"] .widget-title:before,
|
|
|
|
#available-widgets [class*="tube"] .widget-title:before { content: "\f126"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-format-audio */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="music"] .widget-title:before,
|
|
|
|
#available-widgets [class*="radio"] .widget-title:before,
|
|
|
|
#available-widgets [class*="audio"] .widget-title:before { content: "\f127"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-admin-users */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="login"] .widget-title:before,
|
|
|
|
#available-widgets [class*="user"] .widget-title:before,
|
|
|
|
#available-widgets [class*="member"] .widget-title:before,
|
|
|
|
#available-widgets [class*="avatar"] .widget-title:before,
|
|
|
|
#available-widgets [class*="subscriber"] .widget-title:before,
|
|
|
|
#available-widgets [class*="profile"] .widget-title:before,
|
|
|
|
#available-widgets [class*="grofile"] .widget-title:before { content: "\f110"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-cart */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="commerce"] .widget-title:before,
|
|
|
|
#available-widgets [class*="shop"] .widget-title:before,
|
|
|
|
#available-widgets [class*="cart"] .widget-title:before { content: "\f174"; top: -4px; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-shield */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="secur"] .widget-title:before,
|
|
|
|
#available-widgets [class*="firewall"] .widget-title:before { content: "\f332"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-chart-bar */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="analytic"] .widget-title:before,
|
|
|
|
#available-widgets [class*="stat"] .widget-title:before,
|
|
|
|
#available-widgets [class*="poll"] .widget-title:before { content: "\f185"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-feedback */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="form"] .widget-title:before { content: "\f175"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-email-alt */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="subscribe"] .widget-title:before,
|
|
|
|
#available-widgets [class*="news"] .widget-title:before,
|
|
|
|
#available-widgets [class*="contact"] .widget-title:before,
|
|
|
|
#available-widgets [class*="mail"] .widget-title:before { content: "\f466"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-share */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="share"] .widget-title:before,
|
|
|
|
#available-widgets [class*="socia"] .widget-title:before { content: "\f237"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-translation */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="lang"] .widget-title:before,
|
|
|
|
#available-widgets [class*="translat"] .widget-title:before { content: "\f326"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-location-alt */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="locat"] .widget-title:before,
|
|
|
|
#available-widgets [class*="map"] .widget-title:before { content: "\f231"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-download */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="download"] .widget-title:before { content: "\f316"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-cloud */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="weather"] .widget-title:before { content: "\f176"; top: -4px;}
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-facebook */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="facebook"] .widget-title:before { content: "\f304"; }
|
|
|
|
|
2019-11-08 19:03:02 -05:00
|
|
|
/* dashicons-twitter */
|
2014-03-05 15:41:14 -05:00
|
|
|
#available-widgets [class*="tweet"] .widget-title:before,
|
|
|
|
#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
|
|
|
|
|
|
|
|
@media screen and (max-height: 700px) and (min-width: 981px) {
|
2017-05-03 18:39:44 -04:00
|
|
|
/* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */
|
|
|
|
.customize-control-widget_form {
|
2014-03-05 15:41:14 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2017-05-03 18:39:44 -04:00
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
.widget-top {
|
|
|
|
box-shadow: none;
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
2017-05-03 18:39:44 -04:00
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
.widget-top:hover {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2017-05-03 18:39:44 -04:00
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
.last-widget {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
2017-05-03 18:39:44 -04:00
|
|
|
|
2015-10-10 12:34:25 -04:00
|
|
|
.widget-title h3 {
|
2014-03-05 15:41:14 -05:00
|
|
|
padding: 13px 15px;
|
|
|
|
}
|
2017-05-03 18:39:44 -04:00
|
|
|
|
2017-04-19 17:14:44 -04:00
|
|
|
.widget-top .widget-action {
|
2017-05-03 18:39:44 -04:00
|
|
|
padding: 8px 10px;
|
2017-04-19 17:14:44 -04:00
|
|
|
}
|
2017-05-03 18:39:44 -04:00
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
.widget-reorder-nav span {
|
|
|
|
height: 39px;
|
|
|
|
}
|
2017-05-03 18:39:44 -04:00
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
.widget-reorder-nav span:before {
|
|
|
|
line-height: 39px;
|
|
|
|
}
|
2017-05-03 18:39:44 -04:00
|
|
|
|
|
|
|
/* Compact the move widget areas. */
|
2014-03-05 15:41:14 -05:00
|
|
|
#customize-theme-controls .widget-area-select li {
|
|
|
|
padding: 9px 15px 11px 42px;
|
|
|
|
}
|
2017-05-03 18:39:44 -04:00
|
|
|
|
2014-03-05 15:41:14 -05:00
|
|
|
#customize-theme-controls .widget-area-select li:before {
|
2014-04-07 16:50:15 -04:00
|
|
|
top: 8px;
|
2014-03-05 15:41:14 -05:00
|
|
|
}
|
|
|
|
}
|