2014-02-19 16:43:14 -05:00
|
|
|
/* nav-menu */
|
|
|
|
|
|
|
|
/* @todo: determine if this is truly for nav menus only */
|
|
|
|
.no-js #message {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-02-21 17:11:14 -05:00
|
|
|
ul.add-menu-item-tabs li {
|
2016-07-26 12:46:29 -04:00
|
|
|
padding: 3px 5px 4px 8px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-section ul.category-tabs,
|
|
|
|
.accordion-section ul.add-menu-item-tabs,
|
|
|
|
.accordion-section ul.wp-tab-bar {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-section .categorychecklist {
|
|
|
|
margin: 13px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menu-meta .accordion-section-content {
|
|
|
|
padding: 18px 13px;
|
2024-05-30 12:43:17 -04:00
|
|
|
resize: vertical;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menu-meta .button-controls {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-10-07 16:56:29 -04:00
|
|
|
.has-no-menu-item .button-controls {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
#nav-menus-frame {
|
|
|
|
margin-left: 300px;
|
|
|
|
margin-top: 23px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content #menu-settings-column {
|
2019-01-17 02:41:52 -05:00
|
|
|
display: inline;
|
|
|
|
width: 281px;
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-left: -300px;
|
|
|
|
clear: both;
|
|
|
|
float: left;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-settings-column .inside {
|
|
|
|
clear: both;
|
|
|
|
margin: 10px 0 0;
|
2024-05-30 12:43:17 -04:00
|
|
|
height: 100%;
|
|
|
|
max-height: inherit;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2024-07-17 19:37:16 -04:00
|
|
|
#menu-settings-column .categorydiv,
|
|
|
|
#menu-settings-column .customlinkdiv,
|
|
|
|
#menu-settings-column .posttypediv,
|
|
|
|
#menu-settings-column .taxonomydiv {
|
|
|
|
max-height: inherit;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-settings-column .wp-tab-panel,
|
|
|
|
#menu-settings-column .categorydiv div.tabs-panel,
|
|
|
|
#menu-settings-column .customlinkdiv div.tabs-panel,
|
|
|
|
#menu-settings-column .posttypediv div.tabs-panel,
|
|
|
|
#menu-settings-column .taxonomydiv div.tabs-panel {
|
|
|
|
/* Allow space for content after tab panels in nav menu editor. */
|
|
|
|
max-height: calc( 100% - 75px );
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.metabox-holder-disabled .postbox,
|
|
|
|
.metabox-holder-disabled .accordion-section-content,
|
|
|
|
.metabox-holder-disabled .accordion-section-title {
|
|
|
|
opacity: 0.5;
|
|
|
|
filter: alpha(opacity=50);
|
|
|
|
}
|
|
|
|
|
|
|
|
.metabox-holder-disabled .button-controls .select-all {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-submenu {
|
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; /* #fafafa background */
|
2014-02-19 16:43:14 -05:00
|
|
|
font-style: italic;
|
2016-06-17 14:37:28 -04:00
|
|
|
font-weight: 400;
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.manage-menus {
|
|
|
|
margin-top: 23px;
|
|
|
|
padding: 10px;
|
|
|
|
overflow: hidden;
|
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: #fff;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2016-01-11 18:05:26 -05:00
|
|
|
.manage-menus .selected-menu,
|
|
|
|
.manage-menus select,
|
|
|
|
.manage-menus .submit-btn,
|
|
|
|
.nav-menus-php .add-new-menu-action {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 3px;
|
|
|
|
vertical-align: middle;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2016-01-11 18:05:26 -05:00
|
|
|
.manage-menus select,
|
|
|
|
.menu-location-menus select {
|
|
|
|
max-width: 100%;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-edit #post-body-content h3 {
|
|
|
|
margin: 1em 0 10px;
|
|
|
|
}
|
|
|
|
|
2021-05-25 13:42:58 -04:00
|
|
|
#nav-menu-bulk-actions-top {
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menu-bulk-actions-bottom {
|
|
|
|
margin: 1em 0;
|
2024-02-07 11:56:13 -05:00
|
|
|
margin: calc( 1em + 9px ) 0;
|
2021-05-25 13:42:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-actions input.button {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-select-button {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 10px;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 2.15384615;
|
|
|
|
height: auto;
|
|
|
|
min-height: 30px;
|
|
|
|
background: #f6f7f7;
|
|
|
|
vertical-align: top;
|
|
|
|
border: 1px solid #dcdcde;
|
|
|
|
margin: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 3px;
|
|
|
|
white-space: nowrap;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-selection .bulk-select-button {
|
|
|
|
color: #2271b1;
|
|
|
|
border-color: #2271b1;
|
|
|
|
background: #f6f7f7;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pending-menu-items-to-delete {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-selection #pending-menu-items-to-delete {
|
|
|
|
display: block;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pending-menu-items-to-delete p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pending-menu-items-to-delete ul {
|
|
|
|
margin-top: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pending-menu-items-to-delete ul li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.bulk-select-switcher + .bulk-select-button-label {
|
|
|
|
vertical-align: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
label.bulk-select-button:hover,
|
|
|
|
label.bulk-select-button:active,
|
|
|
|
label.bulk-select-button:focus-within {
|
|
|
|
background: #f0f0f1;
|
|
|
|
border-color: #0a4b78;
|
|
|
|
color: #0a4b78;
|
|
|
|
}
|
|
|
|
|
2023-01-20 17:06:13 -05:00
|
|
|
input.bulk-select-switcher:focus + .bulk-select-button-label {
|
2021-05-25 13:42:58 -04:00
|
|
|
color: #0a4b78;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-actions input.menu-items-delete {
|
|
|
|
appearance: none;
|
|
|
|
font-size: inherit;
|
|
|
|
border: 0;
|
|
|
|
line-height: 2.1em;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: underline;
|
|
|
|
color: #b32d2e;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-actions input.menu-items-delete:hover {
|
|
|
|
color: #b32d2e;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-actions input.menu-items-delete.disabled {
|
2023-01-20 17:06:13 -05:00
|
|
|
display: none;
|
2021-05-25 13:42:58 -04:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.menu-settings {
|
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-top: 1px solid #f0f0f1;
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
2016-10-25 13:29:30 -04:00
|
|
|
.menu-settings-group {
|
2014-02-19 16:43:14 -05:00
|
|
|
margin: 0 0 10px;
|
|
|
|
overflow: hidden;
|
2016-10-25 13:29:30 -04:00
|
|
|
padding-left: 20%;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2016-10-25 13:29:30 -04:00
|
|
|
.menu-settings-group:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-settings-input {
|
2014-02-19 16:43:14 -05:00
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-10-25 13:29:30 -04:00
|
|
|
.menu-settings-group-name {
|
2014-02-19 16:43:14 -05:00
|
|
|
float: left;
|
|
|
|
clear: both;
|
2016-10-25 13:29:30 -04:00
|
|
|
width: 25%;
|
2014-02-19 16:43:14 -05:00
|
|
|
padding: 3px 0 0;
|
2016-10-25 13:29:30 -04:00
|
|
|
margin-left: -25%; /* 20 container left padding x ( 100 container % width / 80 this % width ) */
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-settings label {
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-edit .checkbox-input {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-location-set {
|
2021-03-24 12:41:07 -04:00
|
|
|
color: #646970;
|
2014-02-19 16:43:14 -05:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Menu Container */
|
2016-09-17 11:39:30 -04:00
|
|
|
|
|
|
|
/* @todo: responsive view. */
|
2014-02-19 16:43:14 -05:00
|
|
|
#menu-management-liquid {
|
|
|
|
float: left;
|
|
|
|
min-width: 100%;
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
2016-09-17 11:39:30 -04:00
|
|
|
/* @todo: responsive view. */
|
2014-02-19 16:43:14 -05:00
|
|
|
#menu-management {
|
|
|
|
position: relative;
|
|
|
|
margin-right: 20px;
|
|
|
|
margin-top: -3px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-management .menu-edit {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php #post-body {
|
2019-03-20 22:56:51 -04:00
|
|
|
padding: 0 10px;
|
2014-02-19 16:43:14 -05:00
|
|
|
border-top: 1px solid #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-bottom: 1px solid #dcdcde;
|
2014-02-19 16:43:14 -05:00
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menu-header,
|
|
|
|
#nav-menu-footer {
|
|
|
|
padding: 0 10px;
|
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;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menu-header {
|
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 #dcdcde;
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menu-header .menu-name-label {
|
2016-01-22 09:26:27 -05:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 7px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php #post-body div.updated,
|
|
|
|
.nav-menus-php #post-body div.error {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php #post-body-content {
|
|
|
|
position: relative;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2019-03-20 22:56:51 -04:00
|
|
|
.nav-menus-php #post-body-content .post-body-plain {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
#menu-management .menu-add-new abbr {
|
2018-04-29 07:37:21 -04:00
|
|
|
font-weight: 600;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#select-nav-menu-container {
|
|
|
|
text-align: right;
|
2021-09-02 18:18:00 -04:00
|
|
|
padding: 0 10px 3px;
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#select-nav-menu {
|
|
|
|
width: 100px;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-name-label {
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
2016-01-11 18:05:26 -05:00
|
|
|
.widefat .menu-locations .menu-location-title {
|
|
|
|
padding: 13px 10px 0;
|
2015-01-23 13:18:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-location-title label {
|
2016-06-17 14:37:28 -04:00
|
|
|
font-weight: 600;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-location-menus select {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#locations-nav-menu-wrapper {
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.locations-nav-menu-select select {
|
|
|
|
float: left;
|
|
|
|
width: 160px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.locations-row-links {
|
|
|
|
float: left;
|
|
|
|
margin: 6px 0 0 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.locations-edit-menu-link,
|
|
|
|
.locations-add-menu-link {
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.locations-edit-menu-link {
|
|
|
|
padding-right: 3px;
|
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-right: 1px solid #c3c4c7;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#menu-management .inside {
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Add Menu Item Boxes */
|
|
|
|
.postbox .howto input,
|
2016-01-22 09:26:27 -05:00
|
|
|
.customlinkdiv .menu-item-textbox {
|
2014-02-19 16:43:14 -05:00
|
|
|
width: 180px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-container .outer-border {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customlinkdiv p {
|
|
|
|
margin-top: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menu-theme-locations .howto select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menu-theme-locations .button-controls {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-menu-item-view-all {
|
|
|
|
height: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Button Primary Actions */
|
|
|
|
#menu-container .submit {
|
|
|
|
margin: 0 0 10px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* @todo: is this actually used? */
|
|
|
|
#cancel-save {
|
|
|
|
text-decoration: underline;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.right, .button-secondary.right, .button-primary.right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Button Secondary Actions */
|
|
|
|
.list-controls {
|
|
|
|
float: left;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-to-menu {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-controls {
|
2019-01-17 02:41:52 -05:00
|
|
|
clear: both;
|
2014-02-19 16:43:14 -05:00
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-all,
|
|
|
|
.hide-all {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide-all {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Create Menu */
|
|
|
|
#menu-name {
|
|
|
|
width: 270px;
|
2016-01-22 09:26:27 -05:00
|
|
|
vertical-align: middle;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#manage-menu .inside {
|
2021-09-02 18:18:00 -04:00
|
|
|
padding: 0;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Custom Links */
|
|
|
|
#available-links dt {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#add-custom-link .howto {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#add-custom-link label span {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
margin-top: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-textbox {
|
|
|
|
width: 180px;
|
|
|
|
}
|
|
|
|
|
2016-01-22 09:26:27 -05:00
|
|
|
.customlinkdiv label,
|
2014-02-19 16:43:14 -05:00
|
|
|
.nav-menus-php .howto span {
|
|
|
|
float: left;
|
2016-01-22 09:26:27 -05:00
|
|
|
margin-top: 6px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Menu item types */
|
|
|
|
.quick-search {
|
|
|
|
width: 190px;
|
|
|
|
}
|
|
|
|
|
2015-04-03 00:52:27 -04:00
|
|
|
.quick-search-wrap .spinner {
|
|
|
|
float: none;
|
2015-09-11 19:52:25 -04:00
|
|
|
margin: -3px -10px 0 0;
|
2015-04-03 00:52:27 -04:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.nav-menus-php .list-wrap {
|
|
|
|
display: none;
|
|
|
|
clear: both;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .postbox p.submit {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Listings */
|
|
|
|
.nav-menus-php .list li {
|
|
|
|
display: none;
|
2021-02-02 15:28:08 -05:00
|
|
|
margin: 0 0 5px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .list li .menu-item-title {
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .list li .menu-item-title input {
|
|
|
|
margin-right: 3px;
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-title input[type=checkbox] {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
|
2019-09-25 17:51:58 -04:00
|
|
|
.menu-item-title .post-state {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
/* Nav Menu */
|
|
|
|
#menu-container .inside {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu {
|
2019-01-17 02:41:52 -05:00
|
|
|
padding-top: 1em;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#menu-to-edit {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu ul {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu li {
|
|
|
|
margin-bottom: 0;
|
2019-01-17 02:41:52 -05:00
|
|
|
position: relative;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-bar {
|
2019-01-17 02:41:52 -05:00
|
|
|
clear: both;
|
2019-04-06 12:10:51 -04:00
|
|
|
line-height: 1.5;
|
2019-01-17 02:41:52 -05:00
|
|
|
position: relative;
|
2014-02-19 16:43:14 -05:00
|
|
|
margin: 9px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-bar .menu-item-handle {
|
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-02-19 16:43:14 -05:00
|
|
|
position: relative;
|
|
|
|
padding: 10px 15px;
|
|
|
|
height: auto;
|
2014-11-21 00:57:22 -05:00
|
|
|
min-height: 20px;
|
2020-10-27 16:18:06 -04:00
|
|
|
max-width: 382px;
|
2019-05-25 10:42:52 -04:00
|
|
|
line-height: 2.30769230;
|
2014-02-19 16:43:14 -05:00
|
|
|
overflow: hidden;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-bar .menu-item-handle:hover {
|
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-color: #8c8f94;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#menu-to-edit .menu-item-invalid .menu-item-handle {
|
2021-04-07 12:38:09 -04:00
|
|
|
background: #fcf0f1;
|
|
|
|
border-color: #d63638;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-js .menu-item-edit-active .item-edit {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.js .menu-item-handle {
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu li.deleting .menu-item-handle {
|
|
|
|
background-image: 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
|
|
|
background-color: #f86368;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-handle .item-title {
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 600;
|
2019-05-25 10:42:52 -04:00
|
|
|
line-height: 1.53846153;
|
2014-02-19 16:43:14 -05:00
|
|
|
display: block;
|
2016-09-17 11:39:30 -04:00
|
|
|
/* @todo: responsive view. */
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-right: 13em;
|
|
|
|
}
|
|
|
|
|
2021-05-25 13:42:58 -04:00
|
|
|
.menu-item-handle .menu-item-checkbox {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bulk-selection .menu-item-handle .menu-item-checkbox {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
2014-06-09 14:39:15 -04:00
|
|
|
.menu-item-handle .menu-item-title.no-title {
|
2021-03-24 12:41:07 -04:00
|
|
|
color: #646970;
|
2014-06-09 14:39:15 -04:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
/* Sortables */
|
2015-06-19 18:22:26 -04:00
|
|
|
li.menu-item.ui-sortable-helper .menu-item-bar {
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-19 18:22:26 -04:00
|
|
|
li.menu-item.ui-sortable-helper .menu-item-transport .menu-item-bar {
|
2019-01-11 08:56:49 -05:00
|
|
|
margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu .sortable-placeholder {
|
|
|
|
height: 35px;
|
|
|
|
width: 410px;
|
2019-01-11 08:56:49 -05:00
|
|
|
margin-top: 9px; /* Must use the same value used by the dragged item .menu-item-bar */
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2015-07-15 15:59:25 -04:00
|
|
|
/* Hide the transport list when it's empty */
|
|
|
|
.menu-item .menu-item-transport:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-12-01 19:31:22 -05:00
|
|
|
/* WARNING: The factor of 30px is hardcoded into the nav-menus JavaScript. */
|
2021-09-02 18:18:00 -04:00
|
|
|
.menu-item-depth-0 { margin-left: 0; }
|
2014-02-19 16:43:14 -05:00
|
|
|
.menu-item-depth-1 { margin-left: 30px; }
|
|
|
|
.menu-item-depth-2 { margin-left: 60px; }
|
|
|
|
.menu-item-depth-3 { margin-left: 90px; }
|
|
|
|
.menu-item-depth-4 { margin-left: 120px; }
|
|
|
|
.menu-item-depth-5 { margin-left: 150px; }
|
|
|
|
.menu-item-depth-6 { margin-left: 180px; }
|
|
|
|
.menu-item-depth-7 { margin-left: 210px; }
|
|
|
|
.menu-item-depth-8 { margin-left: 240px; }
|
|
|
|
.menu-item-depth-9 { margin-left: 270px; }
|
|
|
|
.menu-item-depth-10 { margin-left: 300px; }
|
|
|
|
.menu-item-depth-11 { margin-left: 330px; }
|
|
|
|
|
2021-09-02 18:18:00 -04:00
|
|
|
.menu-item-depth-0 .menu-item-transport { margin-left: 0; }
|
2014-02-19 16:43:14 -05:00
|
|
|
.menu-item-depth-1 .menu-item-transport { margin-left: -30px; }
|
|
|
|
.menu-item-depth-2 .menu-item-transport { margin-left: -60px; }
|
|
|
|
.menu-item-depth-3 .menu-item-transport { margin-left: -90px; }
|
|
|
|
.menu-item-depth-4 .menu-item-transport { margin-left: -120px; }
|
|
|
|
.menu-item-depth-5 .menu-item-transport { margin-left: -150px; }
|
|
|
|
.menu-item-depth-6 .menu-item-transport { margin-left: -180px; }
|
|
|
|
.menu-item-depth-7 .menu-item-transport { margin-left: -210px; }
|
|
|
|
.menu-item-depth-8 .menu-item-transport { margin-left: -240px; }
|
|
|
|
.menu-item-depth-9 .menu-item-transport { margin-left: -270px; }
|
|
|
|
.menu-item-depth-10 .menu-item-transport { margin-left: -300px; }
|
|
|
|
.menu-item-depth-11 .menu-item-transport { margin-left: -330px; }
|
|
|
|
|
|
|
|
body.menu-max-depth-0 { min-width: 950px !important; }
|
|
|
|
body.menu-max-depth-1 { min-width: 980px !important; }
|
|
|
|
body.menu-max-depth-2 { min-width: 1010px !important; }
|
|
|
|
body.menu-max-depth-3 { min-width: 1040px !important; }
|
|
|
|
body.menu-max-depth-4 { min-width: 1070px !important; }
|
|
|
|
body.menu-max-depth-5 { min-width: 1100px !important; }
|
|
|
|
body.menu-max-depth-6 { min-width: 1130px !important; }
|
|
|
|
body.menu-max-depth-7 { min-width: 1160px !important; }
|
|
|
|
body.menu-max-depth-8 { min-width: 1190px !important; }
|
|
|
|
body.menu-max-depth-9 { min-width: 1220px !important; }
|
|
|
|
body.menu-max-depth-10 { min-width: 1250px !important; }
|
|
|
|
body.menu-max-depth-11 { min-width: 1280px !important; }
|
|
|
|
|
|
|
|
/* Menu item controls */
|
|
|
|
.item-type {
|
2015-07-08 02:48:24 -04:00
|
|
|
display: inline-block;
|
2015-10-15 12:47:25 -04:00
|
|
|
padding: 12px 16px;
|
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: #646970;
|
2014-02-19 16:43:14 -05:00
|
|
|
font-size: 12px;
|
2019-04-06 12:10:51 -04:00
|
|
|
line-height: 1.5;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.item-controls {
|
|
|
|
font-size: 12px;
|
|
|
|
position: absolute;
|
|
|
|
right: 20px;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.item-controls a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.item-controls a:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.item-controls .item-order {
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .item-edit {
|
|
|
|
position: absolute;
|
|
|
|
right: -20px;
|
|
|
|
top: 0;
|
|
|
|
display: block;
|
|
|
|
width: 30px;
|
|
|
|
height: 40px;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2015-12-18 19:17:26 -05:00
|
|
|
.no-js.nav-menus-php .item-edit {
|
|
|
|
position: static;
|
|
|
|
float: right;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2017-08-03 18:12:43 -04:00
|
|
|
margin: 12px -10px 12px 0;
|
|
|
|
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: #2271b1;
|
2015-12-18 19:17:26 -05:00
|
|
|
text-decoration: underline;
|
|
|
|
font-size: 12px;
|
2019-04-06 12:10:51 -04:00
|
|
|
line-height: 1.5;
|
2017-08-03 18:12:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-js.nav-menus-php .item-edit .screen-reader-text {
|
|
|
|
position: static;
|
2017-09-27 13:27:45 -04:00
|
|
|
clip-path: none;
|
2017-08-03 18:12:43 -04:00
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
2015-12-18 19:17:26 -05:00
|
|
|
}
|
|
|
|
|
2015-10-15 12:47:25 -04:00
|
|
|
.nav-menus-php .item-edit:before {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-left: 4px;
|
|
|
|
width: 20px;
|
|
|
|
border-radius: 50%;
|
|
|
|
text-indent: -1px; /* account for the dashicon alignment */
|
|
|
|
}
|
|
|
|
|
2015-12-18 19:17:26 -05:00
|
|
|
.no-js.nav-menus-php .item-edit:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-10-15 20:58:25 -04:00
|
|
|
.rtl .nav-menus-php .item-edit:before {
|
|
|
|
text-indent: 1px; /* account for the dashicon alignment */
|
|
|
|
}
|
|
|
|
|
2017-08-03 18:12:43 -04:00
|
|
|
.js.nav-menus-php .item-edit:focus {
|
2015-10-15 12:47:25 -04:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .item-edit:focus:before {
|
2024-02-07 11:56:13 -05:00
|
|
|
box-shadow: 0 0 0 2px #2271b1;
|
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 2px solid transparent;
|
2015-10-15 12:47:25 -04:00
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
/* Menu editing */
|
|
|
|
.menu-instructions-inactive {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-settings {
|
|
|
|
display: block;
|
2020-10-27 16:18:06 -04:00
|
|
|
max-width: 392px;
|
|
|
|
padding: 10px;
|
2014-02-19 16:43:14 -05:00
|
|
|
position: relative;
|
|
|
|
z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */
|
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 #c3c4c7;
|
2014-02-19 16:43:14 -05:00
|
|
|
border-top: none;
|
2019-03-04 17:02:52 -05:00
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2016-10-10 12:26:12 -04:00
|
|
|
.menu-item-settings .field-move {
|
|
|
|
margin: 3px 0 5px;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.field-move-visual-label {
|
|
|
|
float: left;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-settings .field-move .button-link {
|
2014-02-19 16:43:14 -05:00
|
|
|
display: none;
|
|
|
|
margin: 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-edit-active .menu-item-settings {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-edit-inactive .menu-item-settings {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-menu-item-pagelinks {
|
2016-10-27 11:23:31 -04:00
|
|
|
margin: .5em -10px;
|
2014-02-19 16:43:14 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2016-10-27 11:23:31 -04:00
|
|
|
.add-menu-item-pagelinks .page-numbers {
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-menu-item-pagelinks .page-numbers.dots {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
.link-to-original {
|
|
|
|
display: block;
|
2016-09-17 11:39:30 -04:00
|
|
|
margin: 0 0 15px;
|
2014-02-19 16:43:14 -05:00
|
|
|
padding: 3px 5px 5px;
|
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;
|
2021-03-24 12:41:07 -04:00
|
|
|
color: #646970;
|
2014-02-19 16:43:14 -05:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-to-original a {
|
|
|
|
padding-left: 4px;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden-field {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-settings .description-thin,
|
|
|
|
.menu-item-settings .description-wide {
|
|
|
|
margin-right: 10px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description-thin {
|
2020-10-27 16:18:06 -04:00
|
|
|
width: calc(50% - 5px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-settings .description-thin + .description-thin {
|
|
|
|
margin-right: 0;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.description-wide {
|
2020-10-27 16:18:06 -04:00
|
|
|
width: 100%;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-actions {
|
|
|
|
padding-top: 15px;
|
2016-09-17 11:39:30 -04:00
|
|
|
padding-bottom: 7px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#cancel-save {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Major/minor publishing actions (classes) */
|
|
|
|
.nav-menus-php .major-publishing-actions {
|
2016-09-17 11:39:30 -04:00
|
|
|
padding: 10px 0;
|
2023-08-24 11:59:12 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2023-08-24 11:59:12 -04:00
|
|
|
.nav-menus-php .major-publishing-actions > * {
|
|
|
|
margin-right: 10px;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .major-publishing-actions .form-invalid {
|
|
|
|
padding-left: 4px;
|
|
|
|
margin-left: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menus-frame,
|
|
|
|
.button-controls,
|
|
|
|
#menu-item-url-wrap,
|
|
|
|
#menu-item-name-wrap {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* =Media Queries
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2020-10-27 16:18:06 -04:00
|
|
|
@media only screen and (min-width: 769px) and (max-width: 1000px) {
|
2015-10-31 16:05:26 -04:00
|
|
|
body.menu-max-depth-0 {
|
|
|
|
min-width: 0 !important;
|
|
|
|
}
|
|
|
|
|
2020-10-27 16:18:06 -04:00
|
|
|
#menu-management-liquid {
|
2015-10-31 16:05:26 -04:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-10-27 16:18:06 -04:00
|
|
|
.nav-menus-php #post-body-content {
|
2015-10-31 16:05:26 -04:00
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-17 02:41:52 -05:00
|
|
|
@media screen and (max-width: 782px) {
|
2018-03-09 12:06:30 -05:00
|
|
|
body.nav-menus-php,
|
|
|
|
body.wp-customizer {
|
2014-02-19 16:43:14 -05:00
|
|
|
min-width: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-menus-frame {
|
|
|
|
margin-left: 0;
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpbody-content #menu-settings-column {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
float: none;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#side-sortables .add-menu-item-tabs {
|
|
|
|
margin: 15px 0 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.add-menu-item-tabs li.tabs {
|
|
|
|
padding: 13px 15px 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .customlinkdiv .howto input {
|
|
|
|
width: 65%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .quick-search {
|
|
|
|
width: 85%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu-management-liquid {
|
|
|
|
margin-top: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .menu-name-label.howto span {
|
|
|
|
margin-top: 13px
|
|
|
|
}
|
|
|
|
|
2017-07-31 17:22:44 -04:00
|
|
|
#menu-name {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-05-16 15:05:53 -04:00
|
|
|
.nav-menus-php #nav-menu-header .major-publishing-actions .publishing-action {
|
2017-07-31 17:22:44 -04:00
|
|
|
padding-top: 1em;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menus-php .delete-action {
|
|
|
|
font-size: 14px;
|
2019-05-25 10:42:52 -04:00
|
|
|
line-height: 2.14285714;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-bar .menu-item-handle,
|
|
|
|
.menu-item-settings,
|
|
|
|
.description-wide {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-settings {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-settings .description-thin,
|
|
|
|
.menu-item-settings .description-wide {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-settings input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-02-23 15:03:26 -05:00
|
|
|
.menu-item-settings input[type="checkbox"],
|
|
|
|
.menu-item-settings input[type="radio"] {
|
|
|
|
width: 25px;
|
|
|
|
}
|
|
|
|
|
2016-10-25 13:29:30 -04:00
|
|
|
.menu-settings-group {
|
2014-02-19 16:43:14 -05:00
|
|
|
padding-left: 0;
|
2021-01-16 00:00:08 -05:00
|
|
|
overflow: visible;
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2016-10-25 13:29:30 -04:00
|
|
|
.menu-settings-group-name {
|
2014-02-19 16:43:14 -05:00
|
|
|
float: none;
|
2016-10-25 13:29:30 -04:00
|
|
|
width: auto;
|
|
|
|
margin-left: 0;
|
2014-02-19 16:43:14 -05:00
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2016-10-25 13:29:30 -04:00
|
|
|
.menu-settings-input {
|
2014-02-19 16:43:14 -05:00
|
|
|
float: none;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
2016-01-11 18:05:26 -05:00
|
|
|
|
2016-10-25 13:29:30 -04:00
|
|
|
.menu-edit .checkbox-input {
|
2017-07-31 17:22:44 -04:00
|
|
|
margin-top: 0;
|
2016-10-25 13:29:30 -04:00
|
|
|
}
|
|
|
|
|
2016-01-11 18:05:26 -05:00
|
|
|
.manage-menus select {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
2021-01-16 00:00:08 -05:00
|
|
|
.wp-core-ui .manage-menus .button {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-01-11 18:05:26 -05:00
|
|
|
.widefat .menu-locations .menu-location-title {
|
|
|
|
padding-top: 16px;
|
|
|
|
}
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|
|
|
|
|
2021-01-31 15:11:03 -05:00
|
|
|
@media only screen and (min-width: 783px) {
|
2021-04-21 20:56:05 -04:00
|
|
|
@supports (position: sticky) and (scroll-margin-bottom: 130px) {
|
2024-02-07 11:56:13 -05:00
|
|
|
|
2021-01-31 15:11:03 -05:00
|
|
|
#nav-menu-footer {
|
|
|
|
position: sticky;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 10;
|
2021-09-02 18:18:00 -04:00
|
|
|
box-shadow: 0 -1px 0 0 #ddd;
|
2021-01-31 15:11:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#save_menu_header {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-19 16:43:14 -05:00
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
/* menu locations */
|
|
|
|
#menu-locations-wrap .widefat {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2022-03-21 06:32:03 -04:00
|
|
|
|
|
|
|
.bulk-select-button {
|
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
2014-02-19 16:43:14 -05:00
|
|
|
}
|