2023-06-27 10:24:19 -04:00
|
|
|
: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;
|
2024-05-23 15:39:28 -04:00
|
|
|
--wp-bound-block-color:var(--wp-block-synced-color);
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
@media (min-resolution:192dpi){
|
|
|
|
:root{
|
|
|
|
--wp-admin-border-width-focus:1.5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commands-command-menu{
|
2023-09-26 10:23:26 -04:00
|
|
|
border-radius:4px;
|
|
|
|
margin:auto;
|
2024-05-23 15:39:28 -04:00
|
|
|
max-width:400px;
|
2023-06-27 10:24:19 -04:00
|
|
|
position:relative;
|
2024-05-23 15:39:28 -04:00
|
|
|
top:calc(5% + 60px);
|
2023-09-26 10:23:26 -04:00
|
|
|
width:calc(100% - 32px);
|
|
|
|
}
|
|
|
|
@media (min-width:600px){
|
|
|
|
.commands-command-menu{
|
2024-05-23 15:39:28 -04:00
|
|
|
top:calc(10% + 60px);
|
2023-09-26 10:23:26 -04:00
|
|
|
}
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
.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;
|
2024-05-23 15:39:28 -04:00
|
|
|
padding:0 16px;
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
.commands-command-menu__header .components-button{
|
|
|
|
border:1px solid #949494;
|
|
|
|
border-radius:2px 0 0 2px;
|
|
|
|
border-right:0;
|
|
|
|
height:56px;
|
|
|
|
justify-content:center;
|
|
|
|
width:56px;
|
|
|
|
}
|
|
|
|
.commands-command-menu__header .components-button+[cmdk-input]{
|
|
|
|
border-bottom-left-radius:0;
|
|
|
|
border-top-left-radius:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commands-command-menu__container{
|
|
|
|
will-change:transform;
|
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-input]{
|
|
|
|
border:none;
|
|
|
|
border-radius:0;
|
|
|
|
color:#1e1e1e;
|
2024-05-23 15:39:28 -04:00
|
|
|
font-size:15px;
|
2023-06-27 10:24:19 -04:00
|
|
|
line-height:28px;
|
|
|
|
margin:0;
|
|
|
|
outline:none;
|
2024-05-23 15:39:28 -04:00
|
|
|
padding:16px 4px;
|
2023-06-27 10:24:19 -04:00
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-input]::placeholder{
|
2023-09-26 10:23:26 -04:00
|
|
|
color:#757575;
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-input]:focus{
|
|
|
|
box-shadow:none;
|
|
|
|
outline:none;
|
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-item]{
|
|
|
|
align-items:center;
|
2023-09-26 10:23:26 -04:00
|
|
|
border-radius:2px;
|
2023-06-27 10:24:19 -04:00
|
|
|
color:#1e1e1e;
|
|
|
|
cursor:pointer;
|
|
|
|
display:flex;
|
2023-09-26 10:23:26 -04:00
|
|
|
font-size:13px;
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-item]:active,.commands-command-menu__container [cmdk-item][aria-selected=true]{
|
2023-09-26 10:23:26 -04:00
|
|
|
background:var(--wp-admin-theme-color);
|
|
|
|
color:#fff;
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-item]:active svg,.commands-command-menu__container [cmdk-item][aria-selected=true] svg{
|
2023-09-26 10:23:26 -04:00
|
|
|
fill:#fff;
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-item][aria-disabled=true]{
|
|
|
|
color:#949494;
|
|
|
|
cursor:not-allowed;
|
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-item] svg{
|
2023-09-26 10:23:26 -04:00
|
|
|
fill:#1e1e1e;
|
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-item]>div{
|
2024-05-23 15:39:28 -04:00
|
|
|
min-height:40px;
|
|
|
|
padding:4px 4px 4px 40px;
|
2023-09-26 10:23:26 -04:00
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-item]>.has-icon{
|
|
|
|
padding-left:8px;
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-root]>[cmdk-list]{
|
2023-09-26 10:23:26 -04:00
|
|
|
max-height:368px;
|
2023-06-27 10:24:19 -04:00
|
|
|
overflow:auto;
|
|
|
|
}
|
2024-05-23 15:39:28 -04:00
|
|
|
.commands-command-menu__container [cmdk-root]>[cmdk-list] [cmdk-list-sizer]>[cmdk-group]:last-child [cmdk-group-items]:not(:empty){
|
|
|
|
padding-bottom:8px;
|
|
|
|
}
|
2023-09-26 10:23:26 -04:00
|
|
|
.commands-command-menu__container [cmdk-root]>[cmdk-list] [cmdk-list-sizer]>[cmdk-group]>[cmdk-group-items]:not(:empty){
|
2024-05-23 15:39:28 -04:00
|
|
|
padding:0 8px;
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-empty]{
|
|
|
|
align-items:center;
|
2023-09-26 10:23:26 -04:00
|
|
|
color:#1e1e1e;
|
2023-06-27 10:24:19 -04:00
|
|
|
display:flex;
|
|
|
|
justify-content:center;
|
2023-09-26 10:23:26 -04:00
|
|
|
padding:8px 0 32px;
|
2023-06-27 10:24:19 -04:00
|
|
|
white-space:pre-wrap;
|
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-loading]{
|
|
|
|
padding:16px;
|
|
|
|
}
|
|
|
|
.commands-command-menu__container [cmdk-list-sizer]{
|
|
|
|
position:relative;
|
|
|
|
}
|
2023-09-26 10:23:26 -04:00
|
|
|
|
|
|
|
.commands-command-menu__item span{
|
|
|
|
display:inline-block;
|
|
|
|
overflow:hidden;
|
|
|
|
text-overflow:ellipsis;
|
|
|
|
white-space:nowrap;
|
2023-06-27 10:24:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.commands-command-menu__item mark{
|
|
|
|
background:unset;
|
|
|
|
color:inherit;
|
|
|
|
font-weight:600;
|
|
|
|
}
|