v8/tools/system-analyzer/index.css
Camillo Bruni eb6b3b49fa [tools] Improve system-analyzer startup and loader
- Display spinner properly again
- Defer loadding additional App and subsequent modules
- Preload file reader module and template

Change-Id: Ifc81a93864d61c282db90df25f93dc0eefef4373
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2494925
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Sathya Gunasekaran  <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70730}
2020-10-23 12:26:25 +00:00

187 lines
3.5 KiB
CSS

:root {
--background-color: #000000;
--surface-color: #121212;
--primary-color: #bb86fc;
--secondary-color: #03dac6;
--on-surface-color: #ffffff;
--on-background-color: #f5f0f0;
--on-primary-color: #000000;
--on-secondary-color: #000000;
--default-color: #9b6edc;
--error-color: #cf6679;
--map-background-color: #5e5454;
--timeline-background-color: #1f1f1f;
--file-reader-background-color: #ffffff80;
--red: #dc6eae;
--green: #aedc6e;
--yellow: #eeff41;
--blue: #6e77dc;
--orange: #dc9b6e;
--violet: #d26edc;
}
[data-theme="light"] {
--background-color: #ffffff;
--surface-color: #ffffff;
--primary-color: #6200ee;
--secondary-color: #03dac5;
--on-surface-color: #000000;
--on-background-color: #000000;
--on-primary-color: #ffffff;
--on-secondary-color: #000000;
--default-color: #3700b3;
--error-color: #b00020;
--map-background-color: #5e5454;
--timeline-background-color: #fdfcfc;
--file-reader-background-color: #887e8b80;
--red: #b71c1c;
--green: #7db300;
--yellow: #ffff00;
--blue: #0024b3;
--orange: #ef6c00;
--violet: #8f00b3;
}
body {
font-family: sans-serif;
font-size: 14px;
color: var(--on-background-color);
margin: 10px 10px 0 10px;
background-color: var(--background-color);
}
section {
margin-bottom: 10px;
}
::-webkit-scrollbar, ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner {
background-color: rgba(0, 0, 0, 0.0);
}
::-webkit-scrollbar, ::-webkit-scrollbar-track {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-thumb {
background-color: rgba(128, 128, 128, 0.5);
border-radius: 8px;
cursor: pointer;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(128, 128, 128, 0.8);
}
kbd {
color: var(--on-primary-color);
background-color: var(--primary-color);
border-radius: 3px;
border: 1px solid var(--on-primary-color);
display: inline-block;
font-size: .9em;
font-weight: bold;
padding: 0px 4px 2px 4px;
white-space: nowrap;
}
a {
color: var(--primary-color);
text-decoration: none;
}
a:hover {
color: var(--secondary-color);
}
a:link {
color: var(--secondary-color);
}
dl {
display: grid;
grid-template-columns: min-content auto;
grid-gap: 10px;
}
dt {
text-align: right;
white-space: nowrap;
}
dd {
margin: 0;
}
.panel {
background-color: var(--surface-color);
color: var(--on-surface-color);
padding: 10px 10px 10px 10px;
overflow-x: auto;
border-radius: 10px;
border: 3px solid rgba(128, 128, 128, 0.2);
}
.panel > h2 {
margin-top: 5px;
}
button {
cursor: pointer;
}
input,
select,
button {
background-color: var(--surface-color);
color: var(--on-surface-color);
}
.colorbox {
width: 10px;
height: 10px;
border: 1px var(--background-color) solid;
border-radius: 50%;
}
.primary {
background-color: var(--default-color);
}
.red {
background-color: var(--red);
}
.green {
background-color: var(--green);
}
.yellow {
background-color: var(--yellow);
color: var(--map-background-color);
}
.blue {
background-color: var(--blue);
}
.orange {
background-color: var(--orange);
}
.violet {
background-color: var(--violet);
color: var(--map-background-color);
}
.success {
background-color: var(--secondary-color);
}
.failure {
background-color: var(--error-color);
}
.highlight {
background-color: var(--primary-color);
color: var(--on-primary-color);
}
.clickable:hover,
.mark:hover,
.clickable:active,
.mark:active {
background-color: var(--primary-color);
color: var(--on-primary-color);
cursor: pointer;
}