2021-01-08 01:15:34 +01:00
|
|
|
/*
|
|
|
|
|
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.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
.timeline-view {
|
|
|
|
|
flex: none;
|
|
|
|
|
flex-basis: 60px;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
background: white;
|
|
|
|
|
padding: 20px 0 5px;
|
|
|
|
|
cursor: text;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.timeline-divider {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 1px;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
background-color: rgb(0 0 0 / 10%);
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-time {
|
2021-01-08 01:15:34 +01:00
|
|
|
position: absolute;
|
|
|
|
|
top: 4px;
|
|
|
|
|
right: 3px;
|
|
|
|
|
font-size: 80%;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.timeline-lane {
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
flex: none;
|
|
|
|
|
flex-basis: 20px;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.timeline-grid {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-lane.timeline-labels {
|
2021-01-08 01:15:34 +01:00
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-lane.timeline-bars {
|
2021-01-27 00:09:17 +01:00
|
|
|
pointer-events: auto;
|
2021-01-08 01:15:34 +01:00
|
|
|
margin-bottom: 10px;
|
2021-01-15 05:16:02 +01:00
|
|
|
overflow: visible;
|
2021-01-08 01:15:34 +01:00
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-bar {
|
2021-01-08 01:15:34 +01:00
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
background-color: red;
|
|
|
|
|
border-radius: 3px;
|
2021-01-15 05:16:02 +01:00
|
|
|
--action-color: 'transparent';
|
|
|
|
|
background-color: var(--action-color);
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-bar.selected {
|
2021-01-15 05:16:02 +01:00
|
|
|
filter: brightness(70%);
|
|
|
|
|
box-shadow: 0 0 0 1px var(--action-color);
|
2021-01-08 01:15:34 +01:00
|
|
|
}
|
|
|
|
|
|
2021-01-21 01:19:01 +01:00
|
|
|
.timeline-bar.click,
|
|
|
|
|
.timeline-bar.dblclick,
|
|
|
|
|
.timeline-bar.hover,
|
|
|
|
|
.timeline-bar.check,
|
|
|
|
|
.timeline-bar.uncheck,
|
|
|
|
|
.timeline-bar.tap {
|
2021-01-15 05:16:02 +01:00
|
|
|
--action-color: var(--green);
|
2021-01-08 01:15:34 +01:00
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-bar.fill,
|
2021-01-21 01:19:01 +01:00
|
|
|
.timeline-bar.press,
|
|
|
|
|
.timeline-bar.type,
|
|
|
|
|
.timeline-bar.selectOption,
|
|
|
|
|
.timeline-bar.setInputFiles {
|
2021-01-15 05:16:02 +01:00
|
|
|
--action-color: var(--orange);
|
2021-01-08 01:15:34 +01:00
|
|
|
}
|
|
|
|
|
|
2021-01-21 01:19:01 +01:00
|
|
|
.timeline-bar.goto,
|
|
|
|
|
.timeline-bar.setContent,
|
|
|
|
|
.timeline-bar.goBack,
|
|
|
|
|
.timeline-bar.goForward,
|
|
|
|
|
.timeline-bar.reload {
|
2021-01-15 05:16:02 +01:00
|
|
|
--action-color: var(--blue);
|
2021-01-08 01:15:34 +01:00
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-bar.dialog {
|
|
|
|
|
--action-color: var(--transparent-blue);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.timeline-bar.navigation {
|
|
|
|
|
--action-color: var(--purple);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.timeline-bar.load {
|
|
|
|
|
--action-color: var(--yellow);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.timeline-label {
|
2021-01-08 01:15:34 +01:00
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
margin-left: 2px;
|
|
|
|
|
background-color: #fffffff0;
|
2021-01-15 05:16:02 +01:00
|
|
|
justify-content: center;
|
|
|
|
|
display: none;
|
2021-01-16 03:30:55 +01:00
|
|
|
white-space: nowrap;
|
2021-01-15 05:16:02 +01:00
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-label.selected {
|
2021-01-15 05:16:02 +01:00
|
|
|
display: flex;
|
2021-01-08 01:15:34 +01:00
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-marker {
|
2021-01-08 01:15:34 +01:00
|
|
|
display: none;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 3px;
|
|
|
|
|
background-color: black;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-16 03:30:55 +01:00
|
|
|
.timeline-marker.timeline-marker-hover {
|
2021-01-08 01:15:34 +01:00
|
|
|
background-color: var(--light-pink);
|
|
|
|
|
}
|