diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:56:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:56:49 +0000 |
commit | a415c29efee45520ae252d2aa28f1083a521cd7b (patch) | |
tree | f4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-includes/css/dist/commands/style.css | |
parent | Initial commit. (diff) | |
download | wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip |
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/css/dist/commands/style.css')
-rw-r--r-- | wp-includes/css/dist/commands/style.css | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/wp-includes/css/dist/commands/style.css b/wp-includes/css/dist/commands/style.css new file mode 100644 index 0000000..13e2d8c --- /dev/null +++ b/wp-includes/css/dist/commands/style.css @@ -0,0 +1,142 @@ +: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{ + border-radius:4px; + margin:auto; + max-width:420px; + position:relative; + top:calc(15% + 60px); + width:calc(100% - 32px); +} +@media (min-width:600px){ + .commands-command-menu{ + top:15%; + } +} +.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; + padding-left:16px; +} +.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; + font-size:16px; + line-height:28px; + margin:0; + outline:none; + padding:16px 16px 16px 8px; + width:100%; +} +.commands-command-menu__container [cmdk-input]::placeholder{ + color:#757575; +} +.commands-command-menu__container [cmdk-input]:focus{ + box-shadow:none; + outline:none; +} +.commands-command-menu__container [cmdk-item]{ + align-items:center; + border-radius:2px; + color:#1e1e1e; + cursor:pointer; + display:flex; + font-size:13px; + min-height:40px; +} +.commands-command-menu__container [cmdk-item]:active,.commands-command-menu__container [cmdk-item][aria-selected=true]{ + background:var(--wp-admin-theme-color); + color:#fff; +} +.commands-command-menu__container [cmdk-item]:active svg,.commands-command-menu__container [cmdk-item][aria-selected=true] svg{ + fill:#fff; +} +.commands-command-menu__container [cmdk-item][aria-disabled=true]{ + color:#949494; + cursor:not-allowed; +} +.commands-command-menu__container [cmdk-item] svg{ + fill:#1e1e1e; +} +.commands-command-menu__container [cmdk-item]>div{ + padding:8px 8px 8px 40px; +} +.commands-command-menu__container [cmdk-item]>.has-icon{ + padding-left:8px; +} +.commands-command-menu__container [cmdk-root]>[cmdk-list]{ + max-height:368px; + overflow:auto; +} +.commands-command-menu__container [cmdk-root]>[cmdk-list] [cmdk-list-sizer]>[cmdk-group]>[cmdk-group-items]:not(:empty){ + padding:0 8px 8px; +} +.commands-command-menu__container [cmdk-empty]{ + align-items:center; + color:#1e1e1e; + display:flex; + justify-content:center; + padding:8px 0 32px; + white-space:pre-wrap; +} +.commands-command-menu__container [cmdk-loading]{ + padding:16px; +} +.commands-command-menu__container [cmdk-list-sizer]{ + position:relative; +} + +.commands-command-menu__item span{ + display:inline-block; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; +} + +.commands-command-menu__item mark{ + background:unset; + color:inherit; + font-weight:600; +}
\ No newline at end of file |