Add vertical eonstrip detail view
This commit is contained in:
@@ -368,6 +368,65 @@
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.detail-view {
|
||||
margin-top: 20px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 10px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.detail-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.back-btn {
|
||||
background: linear-gradient(45deg, #00ffff, #0080ff);
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
color: #fff;
|
||||
padding: 6px 12px;
|
||||
cursor: pointer;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.detail-timeline {
|
||||
position: relative;
|
||||
height: 400px;
|
||||
border-left: 2px solid #00ffff;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
.timeline-block {
|
||||
position: absolute;
|
||||
left: -40px;
|
||||
width: calc(100% + 40px);
|
||||
border-top: 1px dashed rgba(255,255,255,0.2);
|
||||
color: #aaa;
|
||||
font-size: 0.8em;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.event-box, .event-line {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
background: rgba(255,0,255,0.3);
|
||||
border: 1px solid rgba(0,255,255,0.5);
|
||||
border-radius: 4px;
|
||||
padding: 2px 4px;
|
||||
color: #fff;
|
||||
font-size: 0.7em;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.event-line {
|
||||
height: 2px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Layout combining current time and analog clock */
|
||||
.time-display {
|
||||
--clock-size: 40vmin;
|
||||
|
||||
Reference in New Issue
Block a user