Spaces:
Paused
Paused
File size: 3,331 Bytes
4e7644b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | /* SidebarSettingsPanel β quick-access settings panel */
.panel {
display: flex;
flex-direction: column;
gap: 14px;
min-width: 210px;
padding: 2px 0;
}
/* ββ Section row ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.row {
display: flex;
flex-direction: column;
gap: 6px;
}
.label {
font-size: 12px;
font-weight: 600;
letter-spacing: 0.4px;
text-transform: uppercase;
color: var(--colorTextQuaternary, rgba(0, 0, 0, 0.25));
user-select: none;
}
/* ββ Options group ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.options {
display: flex;
flex-wrap: wrap;
gap: 4px;
}
/* ββ Individual option button βββββββββββββββββββββββββββββββββββββββββββββ */
.optBtn {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 8px;
border: 1px solid var(--colorBorderSecondary, rgba(0, 0, 0, 0.06));
border-radius: 6px;
background: transparent;
color: var(--colorTextSecondary, rgba(0, 0, 0, 0.65));
font-size: 13px;
cursor: pointer;
transition: all 0.15s;
white-space: nowrap;
&:hover {
background: var(--color-fill-tertiary, rgba(0, 0, 0, 0.04));
border-color: var(--colorBorder, rgba(0, 0, 0, 0.15));
color: var(--colorText, rgba(0, 0, 0, 0.88));
}
&Active {
background: var(--colorPrimaryBg, #fff7e6);
border-color: var(--colorPrimary, #ff9d4d);
color: var(--colorPrimary, #ff9d4d);
&:hover {
background: var(--colorPrimaryBg, #fff7e6);
}
}
/* Full-width block variant for mode toggle */
&Block {
width: 100%;
justify-content: flex-start;
}
}
.optLabel {
font-size: 13px;
line-height: 1;
}
.modeActions {
display: flex;
flex-direction: row;
gap: 4px;
.optBtnBlock {
flex: 1;
width: auto;
justify-content: center;
}
}
.desktopModeBtn {
border-color: rgba(255, 127, 22, 0.36);
color: #d95f00;
background: rgba(255, 127, 22, 0.06);
&:hover {
border-color: #ff7f16;
color: #d95f00;
background: rgba(255, 127, 22, 0.12);
}
}
/* ββ Dark mode ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
:global(.dark-mode) {
.label {
color: rgba(255, 255, 255, 0.2);
}
.optBtn {
border-color: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.55);
&:hover {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.88);
}
&Active {
background: rgba(255, 127, 22, 0.12);
border-color: #ff7f16;
color: #ff7f16;
&:hover {
background: rgba(255, 127, 22, 0.18);
}
}
}
.desktopModeBtn {
border-color: rgba(255, 127, 22, 0.38);
color: #ff9a47;
background: rgba(255, 127, 22, 0.08);
&:hover {
border-color: #ff7f16;
color: #ffad6b;
background: rgba(255, 127, 22, 0.15);
}
}
}
|