| 1 | $header-height: 2rem; |
| 2 | $statusbar-height: 1.5rem; |
| 3 | $tab-container-height: 2rem; |
| 4 | |
| 5 | html { |
| 6 | background-color: var(--window-background); |
| 7 | color: var(--window-foreground); |
| 8 | } |
| 9 | #handle, #header { |
| 10 | height: $header-height; |
| 11 | } |
| 12 | #statusbar { |
| 13 | border-top: solid 1px var(--window-borderColor); |
| 14 | height: calc($statusbar-height + 0.1rem); |
| 15 | color: var(--statusbar-foreground); |
| 16 | background-color: var(--statusbar-background); |
| 17 | .tool:hover { |
| 18 | background-color: var(--statusbar-buttonBackgroundHover); |
| 19 | color: var(--statusbar-buttonForegroundHover); |
| 20 | } |
| 21 | } |
| 22 | #workspace { |
| 23 | line-height: $header-height; |
| 24 | } |
| 25 | #header { |
| 26 | background-color: var(--header-background); |
| 27 | box-shadow: var(--header-borderColor) 0px 1.5px 0px; |
| 28 | } |
| 29 | .window-button:not(.close):hover { |
| 30 | background-color: var(--header-buttonHoverBackground); |
| 31 | } |
| 32 | .menu-button { |
| 33 | &:hover { |
| 34 | background-color: var(--header-buttonHoverBackground); |
| 35 | } |
| 36 | &.open { |
| 37 | background-color: var(--header-buttonHoverBackground); |
| 38 | } |
| 39 | } |
| 40 | .menu-list, .context-menu { |
| 41 | background-color: var(--window-menuBackground); |
| 42 | box-shadow: 0 2px 6px var(--window-boxShadow); |
| 43 | } |
| 44 | .menu-item, .context-menu-option { |
| 45 | color: var(--window-foreground); |
| 46 | &:hover { |
| 47 | background-color: var(--window-menuItemHoverBackground); |
| 48 | } |
| 49 | } |
| 50 | .select { |
| 51 | button { |
| 52 | background-color: var(--window-selectButtonBackground); |
| 53 | color: var(--window-selectButtonForeground); |
| 54 | } |
| 55 | .item-list { |
| 56 | border: 1px solid #333; |
| 57 | background-color: var(--window-selectBackground); |
| 58 | .item:hover { |
| 59 | background-color: var(--window-selectItemHoverBackground); |
| 60 | color: var(--window-selectItemHoverForeground); |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | .option-shortcut, .shortcut { |
| 65 | color: var(--window-menuShortcutForeground); |
| 66 | } |
| 67 | .disabled { |
| 68 | color: var(--window-disabledTextForeground); |
| 69 | } |
| 70 | .invalid { |
| 71 | color: var(--window-invalidTextForeground); |
| 72 | } |
| 73 | .readonly { |
| 74 | color: var(--window-readonlyTextForeground); |
| 75 | } |
| 76 | .link { |
| 77 | color: var(--window-linkForeground); |
| 78 | &:hover { |
| 79 | color: var(--window-linkHoverForeground); |
| 80 | } |
| 81 | } |
| 82 | .desc { |
| 83 | color: var(--window-descriptionForeground); |
| 84 | } |
| 85 | |
| 86 | label { |
| 87 | color: var(--window-inputLabelForeground); |
| 88 | } |
| 89 | input { |
| 90 | border-bottom: 1px solid var(--window-inputBorder) !important; |
| 91 | background-color: var(--window-inputBackground); |
| 92 | color: var(--window-inputForeground); |
| 93 | &.invalid { |
| 94 | border-bottom: 1px solid #fa4d56 !important; |
| 95 | } |
| 96 | &:focus{ |
| 97 | border-bottom: 1px solid var(--window-inputFocusBorder) !important; |
| 98 | } |
| 99 | } |
| 100 | button { |
| 101 | &.primary { |
| 102 | background-color: var(--window-buttonBackground); |
| 103 | color: var(--window-buttonForeground); |
| 104 | &:hover { |
| 105 | background-color: var(--window-buttonHoverBackground); |
| 106 | color: var(--window-buttonHoverForeground); |
| 107 | } |
| 108 | } |
| 109 | &.secondary { |
| 110 | background-color: var(--window-buttonSecondaryBackground); |
| 111 | color: var(--window-buttonSecondaryForeground); |
| 112 | &:hover { |
| 113 | background-color: var(--window-buttonSecondaryHoverBackground); |
| 114 | color: var(--window-buttonSecondaryHoverForeground); |
| 115 | } |
| 116 | } |
| 117 | &.accent { |
| 118 | background-color: var(--window-buttonAccentBackground); |
| 119 | color: var(--window-buttonAccentForeground); |
| 120 | &:hover { |
| 121 | background-color: var(--window-buttonAccentHoverBackground); |
| 122 | color: var(--window-buttonHoverAccentForeground); |
| 123 | } |
| 124 | } |
| 125 | &.danger { |
| 126 | background-color: var(--window-buttonDangerBackground); |
| 127 | color: var(--window-buttonDangerForeground); |
| 128 | &:hover { |
| 129 | background-color: var(--window-buttonDangerHoverBackground); |
| 130 | color: var(--window-buttonDangerHoverForeground); |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 | button:focus { |
| 135 | outline: 1px solid; |
| 136 | outline-offset: 0px; |
| 137 | } |
| 138 | |
| 139 | .divider { |
| 140 | background-color: var(--window-borderColor); |
| 141 | } |
| 142 | |
| 143 | #main { |
| 144 | height: calc(100vh - $header-height - $statusbar-height - 0.063rem * 2); |
| 145 | } |
| 146 | #main.fullscreen { |
| 147 | height: calc(100vh - $header-height + 0.4rem) !important; |
| 148 | } |
| 149 | |
| 150 | #sidebar { |
| 151 | border-right: 1px solid var(--window-borderColor); |
| 152 | } |
| 153 | |
| 154 | #sidebarview { |
| 155 | #tool-view .toolbar-button { |
| 156 | background-color: var(--window-buttonBackground); |
| 157 | color: var(--window-buttonForeground); |
| 158 | &:hover { |
| 159 | background-color: var(--window-buttonHoverBackground); |
| 160 | color: var(--window-buttonHoverForeground); |
| 161 | } |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | .sidebar-tab { |
| 166 | &.active { |
| 167 | box-shadow: inset 3.5px 0px 0 0 var(--sidebar-tabActiveBorder); |
| 168 | background-color: var(--sidebar-tabActiveBackground); |
| 169 | color: var(--sidebar-tabActiveForeground); |
| 170 | } |
| 171 | &:hover { |
| 172 | background-color: var(--sidebar-tabHoverBackground); |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | .editor-panes .splitpanes__splitter { |
| 177 | background-color: var(--window-borderColor); |
| 178 | } |
| 179 | |
| 180 | .tree { |
| 181 | color: var(--filetree-treeNodeForeground); |
| 182 | .hover { |
| 183 | background-color: var(--header-background) !important; |
| 184 | } |
| 185 | .tree-label { |
| 186 | svg { |
| 187 | color: var(--window-foreground); |
| 188 | } |
| 189 | &:hover { |
| 190 | color: var(--filetree-treeNodeHoverForeground); |
| 191 | background-color: var(--filetree-treeNodeHoverBackground); |
| 192 | } |
| 193 | &.selected { |
| 194 | color: var(--filetree-treeNodeSelectedForeground); |
| 195 | background-color: var(--filetree-treeNodeSelectedBackground); |
| 196 | } |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | #editor-tabs { |
| 201 | background-color: var(--header-background); |
| 202 | color: var(--header-foreground); |
| 203 | height: calc($tab-container-height + 5px); |
| 204 | box-shadow: inset 0px -1px 0 0 var(--window-borderColor); |
| 205 | |
| 206 | .tab { |
| 207 | background-color: var(--editor-tabBackground); |
| 208 | color: var(--editor-tabForeground); |
| 209 | box-shadow: inset 0px -1px 0 0 var(--editor-tabBorderColor); |
| 210 | &:not(.active):hover { |
| 211 | background-color: var(--editor-tabHoverBackground); |
| 212 | color: var(--editor-tabHoverForeground); |
| 213 | } |
| 214 | &.active { |
| 215 | background-color: var(--editor-tabActiveBackground); |
| 216 | box-shadow: inset 0px 5px 0 0 var(--editor-tabActiveBorderColor) !important; |
| 217 | color: var(--editor-tabActiveForeground); |
| 218 | } |
| 219 | } |
| 220 | .close-tab span:hover { |
| 221 | background-color: var(--editor-tabBorderColor); |
| 222 | } |
| 223 | .tab-content .save-state { |
| 224 | background-color: var(--editor-tabSaveStateColor); |
| 225 | } |
| 226 | .tab-toolbar { |
| 227 | box-shadow: inset 1px 0px 0 0 var(--window-borderColor); |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | #tabview { |
| 232 | height: calc(100% - 2.3rem); |
| 233 | &>div:not(.editor) { |
| 234 | background-color: var(--window-background); |
| 235 | } |
| 236 | >.container svg { |
| 237 | color: var(--window-accent); |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | .settings { |
| 242 | .heading::after { |
| 243 | background-color: var(--window-borderColor); |
| 244 | } |
| 245 | } |
| 246 | .settings-directory { |
| 247 | border-right: 0.5px solid var(--window-borderColor); |
| 248 | } |
| 249 | |
| 250 | .rename-input .divider { |
| 251 | background-color: var(--window-inputBorder); |
| 252 | } |
| 253 | |
| 254 | .popup-wrapper { |
| 255 | background-color: var(--modal-shadow); |
| 256 | .popup-container { |
| 257 | background-color: var(--modal-background); |
| 258 | color: var(--modal-foreground); |
| 259 | button { |
| 260 | &:first-child { |
| 261 | background-color: var(--modal-buttonBackground) !important; |
| 262 | color: var(--modal-buttonForeground) !important; |
| 263 | &:hover { |
| 264 | background-color: var(--modal-buttonHoverBackground) !important; |
| 265 | color: var(--modal-buttonHoverForeground) !important; |
| 266 | } |
| 267 | } |
| 268 | background-color: var(--window-buttonSecondaryBackground); |
| 269 | color: var(--window-buttonSecondaryForeground); |
| 270 | &:hover { |
| 271 | background-color: var(--window-buttonSecondaryHoverBackground); |
| 272 | color: var(--window-buttonSecondaryHoverForeground); |
| 273 | } |
| 274 | &:focus { |
| 275 | outline-color: var(--window-inputFocusBorder); |
| 276 | } |
| 277 | } |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | #toolview { |
| 282 | .header { |
| 283 | border-bottom: solid 1px var(--window-borderColor); |
| 284 | color: var(--statusbar-foreground); |
| 285 | .tool-buttons > div { |
| 286 | &:hover { |
| 287 | background-color: var(--statusbar-buttonBackgroundHover); |
| 288 | color: var(--statusbar-buttonForegroundHover); |
| 289 | } |
| 290 | } |
| 291 | .close { |
| 292 | &:hover { |
| 293 | background-color: var(--statusbar-buttonBackgroundHover); |
| 294 | color: var(--statusbar-buttonForegroundHover); |
| 295 | } |
| 296 | } |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | #terminal { |
| 301 | background-color: var(--terminal-background); |
| 302 | color: var(--terminal-foreground); |
| 303 | } |
| 304 | ::-webkit-scrollbar { |
| 305 | width: 12px; |
| 306 | height: 12px; |
| 307 | background-color: transparent; |
| 308 | } |
| 309 | ::-webkit-scrollbar-corner { |
| 310 | background-color: transparent; |
| 311 | } |
| 312 | ::-webkit-scrollbar-thumb { |
| 313 | border-radius: 20px; |
| 314 | background-color: var(--window-scrollbarBackground); |
| 315 | &:hover { |
| 316 | background-color: #1b83ddb5; |
| 317 | } |
| 318 | } |
| 319 | |
| 320 | .notification, .notification-toast { |
| 321 | background-color: var(--notification-background); |
| 322 | border-top: 3px solid var(--notification-defaultBorderColor); |
| 323 | color: var(--notification-foreground); |
| 324 | &.read { |
| 325 | border-top-color: var(--notification-unreadBorderColor) !important; |
| 326 | color: var(--notification-unreadColor); |
| 327 | .icon { |
| 328 | color: var(--notification-unreadBorderColor) !important; |
| 329 | } |
| 330 | .message { |
| 331 | color: var(--notification-unreadBorderColor); |
| 332 | } |
| 333 | } |
| 334 | .details .icon { |
| 335 | color: var(--notification-defaultBorderColor); |
| 336 | } |
| 337 | &::before { |
| 338 | border-color: var(--window-inputBackground); |
| 339 | } |
| 340 | .action-button { |
| 341 | color: var(--notification-actionButtonColor); |
| 342 | } |
| 343 | } |
| 344 | .notification-toast { |
| 345 | box-shadow: 0 2px 6px var(--window-boxShadow); |
| 346 | } |
| 347 | |
| 348 | .editor-panes .splitpanes__splitter::before { |
| 349 | background-color: var(--window-panelBorderColor); |
| 350 | } |