mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 06:55:26 +02:00
updated styles
This commit is contained in:
parent
04f836f37b
commit
c82f06a9e0
2 changed files with 14 additions and 5 deletions
|
@ -70,7 +70,6 @@ export default class SidebarFilter {
|
||||||
if (window.navigator.userAgent.indexOf('Mac') !== -1) {
|
if (window.navigator.userAgent.indexOf('Mac') !== -1) {
|
||||||
shortcutText = '⌘ P';
|
shortcutText = '⌘ P';
|
||||||
}
|
}
|
||||||
shortcutText = '⌘ P';
|
|
||||||
this.search.parentElement.setAttribute('data-shortcut', shortcutText);
|
this.search.parentElement.setAttribute('data-shortcut', shortcutText);
|
||||||
|
|
||||||
// Initialize search input.
|
// Initialize search input.
|
||||||
|
|
|
@ -81,18 +81,28 @@
|
||||||
background-color: var(--color-input-primary);
|
background-color: var(--color-input-primary);
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 8.5px 35px;
|
padding: 7.5px 35px;
|
||||||
padding-right: 42px;
|
padding-right: 42px;
|
||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
&-wrapper::after {
|
&-wrapper::after {
|
||||||
color: var(--color-button-secondary);
|
color: var(--color-button-secondary);
|
||||||
font-weight: 400;
|
font-weight: 600;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
content: attr(data-shortcut);
|
content: attr(data-shortcut);
|
||||||
margin-left: -42px;
|
margin-left: -45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (--mobile) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&__search::placeholder {
|
||||||
|
color: var(--color-button-secondary);
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__section {
|
&__section {
|
||||||
|
@ -129,7 +139,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&__section:not(:first-child) {
|
&__section:not(:first-child) {
|
||||||
margin-top: 19px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__section-title {
|
&__section-title {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue