e607d54a0e
This CL encapsulates map panel behaviour with custom web components map-details for displaying information and map-transitions to show map transition tree. The web components emit/receive events to interact with the app. Bug: v8:10644 Change-Id: Ic61c2794ed7ab854ee61fa1e7c8fe9b1c3c31b7e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2305889 Commit-Queue: Zeynep Cankara <zcankara@google.com> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org> Cr-Commit-Position: refs/heads/master@{#69004}
111 lines
2.1 KiB
CSS
111 lines
2.1 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;
|
|
--red: #dc6eae;
|
|
--green: #aedc6e;
|
|
--yellow: #EEFF41;
|
|
--blue: #6e77dc;
|
|
--orange: #dc9b6e;
|
|
--violet: #d26edc;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 14px;
|
|
color: var(--on-background-color);
|
|
margin-left: 5%;
|
|
margin-right: 5%;
|
|
background-color: var(--background-color);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
h2, h4 {
|
|
background-color: var(--primary-color);
|
|
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
|
|
transition: 0.3s;
|
|
color: var(--on-primary-color);
|
|
padding: 15px 25px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
dl {
|
|
display: grid;
|
|
grid-template-columns: min-content auto;
|
|
grid-gap: 10px;
|
|
}
|
|
dt {
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
}
|
|
dd {
|
|
margin: 0;
|
|
}
|
|
.panel {
|
|
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
|
|
transition: 0.3s;
|
|
background-color: var(--surface-color);
|
|
color: var(--on-surface-color);
|
|
padding: 30px 30px 30px 30px ;
|
|
margin: auto;
|
|
overflow-x: scroll;
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
|
}
|
|
.colorbox {
|
|
width: 10px;
|
|
height: 10px;
|
|
border: 1px var(--background-color) solid;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
a:link {
|
|
color: var(--secondary-color);
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
} |