mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 07:35:39 +01:00
125 lines
3.1 KiB
CSS
125 lines
3.1 KiB
CSS
|
:root{
|
||
|
--wp-admin-theme-color:#007cba;
|
||
|
--wp-admin-theme-color--rgb:0, 124, 186;
|
||
|
--wp-admin-theme-color-darker-10:#006ba1;
|
||
|
--wp-admin-theme-color-darker-10--rgb:0, 107, 161;
|
||
|
--wp-admin-theme-color-darker-20:#005a87;
|
||
|
--wp-admin-theme-color-darker-20--rgb:0, 90, 135;
|
||
|
--wp-admin-border-width-focus:2px;
|
||
|
--wp-block-synced-color:#7a00df;
|
||
|
--wp-block-synced-color--rgb:122, 0, 223;
|
||
|
}
|
||
|
@media (min-resolution:192dpi){
|
||
|
:root{
|
||
|
--wp-admin-border-width-focus:1.5px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.commands-command-menu{
|
||
|
max-width:480px;
|
||
|
position:relative;
|
||
|
top:15%;
|
||
|
width:100%;
|
||
|
}
|
||
|
.commands-command-menu .components-modal__content{
|
||
|
margin:0;
|
||
|
padding:0;
|
||
|
}
|
||
|
|
||
|
.commands-command-menu__overlay{
|
||
|
align-items:start;
|
||
|
display:block;
|
||
|
}
|
||
|
|
||
|
.commands-command-menu__header{
|
||
|
align-items:center;
|
||
|
display:flex;
|
||
|
}
|
||
|
.commands-command-menu__header .components-button{
|
||
|
border:1px solid #949494;
|
||
|
border-left:0;
|
||
|
border-radius:0 2px 2px 0;
|
||
|
height:56px;
|
||
|
justify-content:center;
|
||
|
width:56px;
|
||
|
}
|
||
|
.commands-command-menu__header .components-button+[cmdk-input]{
|
||
|
border-bottom-right-radius:0;
|
||
|
border-top-right-radius:0;
|
||
|
}
|
||
|
|
||
|
.commands-command-menu__container{
|
||
|
will-change:transform;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-input]{
|
||
|
border:none;
|
||
|
border-bottom:1px solid #e0e0e0;
|
||
|
border-radius:0;
|
||
|
color:#1e1e1e;
|
||
|
font-size:20px;
|
||
|
line-height:28px;
|
||
|
margin:0;
|
||
|
outline:none;
|
||
|
padding:16px;
|
||
|
width:100%;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-input]::placeholder{
|
||
|
color:#949494;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-input]:focus{
|
||
|
border-bottom:1px solid #e0e0e0;
|
||
|
box-shadow:none;
|
||
|
outline:none;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-item]{
|
||
|
align-items:center;
|
||
|
border-radius:4px;
|
||
|
color:#1e1e1e;
|
||
|
cursor:pointer;
|
||
|
display:flex;
|
||
|
padding:8px;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-item]:active,.commands-command-menu__container [cmdk-item][aria-selected=true]{
|
||
|
background:rgba(var(--wp-admin-theme-color--rgb), .04);
|
||
|
color:var(--wp-admin-theme-color);
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-item]:active svg,.commands-command-menu__container [cmdk-item][aria-selected=true] svg{
|
||
|
fill:var(--wp-admin-theme-color);
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-item][aria-disabled=true]{
|
||
|
color:#949494;
|
||
|
cursor:not-allowed;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-item] svg{
|
||
|
fill:#949494;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-root]>[cmdk-list]{
|
||
|
max-height:400px;
|
||
|
overflow:auto;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-root]>[cmdk-list]>[cmdk-list-sizer] :has([cmdk-group-items]:not(:empty)){
|
||
|
padding:8px;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-empty]{
|
||
|
align-items:center;
|
||
|
color:#2f2f2f;
|
||
|
display:flex;
|
||
|
height:64px;
|
||
|
justify-content:center;
|
||
|
white-space:pre-wrap;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-loading]{
|
||
|
padding:16px;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-list-sizer]{
|
||
|
position:relative;
|
||
|
}
|
||
|
.commands-command-menu__container [cmdk-group]:has([cmdk-group-items]:not(:empty))+[cmdk-group]:has([cmdk-group-items]:not(:empty)){
|
||
|
border-top:1px solid #e0e0e0;
|
||
|
}
|
||
|
|
||
|
.commands-command-menu__item mark{
|
||
|
background:unset;
|
||
|
color:inherit;
|
||
|
font-weight:600;
|
||
|
}
|