58c65035c2
- Move all createElement helpers onto a separate DOM class - Make ICPanel.update async - Show number of selected IC events in the ICPanel header - Use shared bound functions for event listeners in the ICPanel groups - Use triangle to mark opened and closed ICPanel groups - Use global --border-color CSS variable Bug: v8:10644 Change-Id: Ib35d94db1019d5cdcee057f0f047472f478ab3be Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2507718 Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{#70919}
202 lines
3.8 KiB
CSS
202 lines
3.8 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;
|
|
--border-color: 128, 128, 128;
|
|
}
|
|
|
|
[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: 5px;
|
|
}
|
|
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;
|
|
border-radius: 10px;
|
|
border: 3px solid rgba(var(--border-color), 0.2);
|
|
}
|
|
|
|
.panelBody {
|
|
max-height: 800px;
|
|
overflow-y: scroll;
|
|
margin: 0 -10px -10px 0;
|
|
}
|
|
|
|
.panel > h2 {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
input,
|
|
select,
|
|
button {
|
|
background-color: var(--surface-color);
|
|
color: var(--on-surface-color);
|
|
border: 2px solid rgba(var(--border-color), 0.4);
|
|
border-radius: 5px;
|
|
padding: 2px;
|
|
}
|
|
input:hover,
|
|
select:hover,
|
|
button:hover {
|
|
border: 2px solid rgba(var(--border-color), 0.6);
|
|
}
|
|
|
|
.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;
|
|
} |