153 lines
2.7 KiB
CSS
153 lines
2.7 KiB
CSS
/*
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
:root {
|
|
color-scheme: light dark;
|
|
}
|
|
|
|
body {
|
|
--red: #F44336;
|
|
--green: #367c39;
|
|
--purple: #9C27B0;
|
|
--yellow: #ff9207;
|
|
--white: #FFFFFF;
|
|
--blue: #0b7ad5;
|
|
--transparent-blue: #2196F355;
|
|
--orange: #d24726;
|
|
--light-pink: #ff69b460;
|
|
--gray: #888888;
|
|
--sidebar-width: 250px;
|
|
--box-shadow: rgba(0, 0, 0, 0.133) 0px 1.6px 3.6px 0px, rgba(0, 0, 0, 0.11) 0px 0.3px 0.9px 0px;
|
|
}
|
|
|
|
body.dark-mode {
|
|
--green: #28d12f;
|
|
--yellow: #ff9207;
|
|
--purple: #dc12ff;
|
|
--blue: #4dafff;
|
|
--orange: #ff9800;
|
|
}
|
|
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
overscroll-behavior-x: none;
|
|
}
|
|
|
|
#root {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--vscode-panel-background);
|
|
color: var(--vscode-foreground);
|
|
font-family: var(--vscode-font-family);
|
|
font-weight: var(--vscode-font-weight);
|
|
font-size: var(--vscode-font-size);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
*[hidden],
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.invisible {
|
|
visibility: hidden !important;
|
|
}
|
|
|
|
svg {
|
|
fill: currentColor;
|
|
}
|
|
|
|
.vbox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: auto;
|
|
position: relative;
|
|
}
|
|
|
|
.hbox {
|
|
display: flex;
|
|
flex: auto;
|
|
position: relative;
|
|
}
|
|
|
|
.spacer {
|
|
flex: auto;
|
|
}
|
|
|
|
.codicon-check {
|
|
color: var(--green);
|
|
}
|
|
|
|
.codicon-error {
|
|
color: var(--red);
|
|
}
|
|
|
|
.codicon-circle-outline {
|
|
color: var(--vscode-disabledForeground);
|
|
}
|
|
|
|
input[type=text], input[type=search] {
|
|
color: var(--vscode-input-foreground);
|
|
background-color: var(--vscode-input-background);
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
body.dark-mode ::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
body.dark-mode ::-webkit-scrollbar-thumb {
|
|
background-color: #555;
|
|
}
|
|
|
|
body.dark-mode ::-webkit-scrollbar-track {
|
|
background-color: #333;
|
|
}
|
|
|
|
body.dark-mode ::-webkit-scrollbar-thumb:hover {
|
|
background-color: #777;
|
|
}
|
|
|
|
body.dark-mode ::-webkit-scrollbar-track:hover {
|
|
background-color: #444;
|
|
}
|
|
|
|
.codicon-loading {
|
|
animation: spin 1s infinite linear;
|
|
}
|
|
|
|
@keyframes spin {
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|