Use SVG sleep bar and trash icon
This commit is contained in:
+14
-49
@@ -1009,34 +1009,27 @@ body.page-dashboard .content {
|
||||
background: rgba(255, 255, 255, 0.16);
|
||||
}
|
||||
|
||||
.sleep-phase-bar__progress {
|
||||
.sleep-phase-bar__svg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
border-radius: inherit;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.sleep-phase-bar__progress::-webkit-progress-bar {
|
||||
border-radius: inherit;
|
||||
background: transparent;
|
||||
.sleep-phase-bar__track {
|
||||
fill: rgba(255, 255, 255, 0.16);
|
||||
}
|
||||
|
||||
.sleep-phase-bar__progress::-webkit-progress-value {
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, #64d2ff, #0a84ff);
|
||||
box-shadow: 0 0 18px rgba(10, 132, 255, 0.38);
|
||||
.sleep-phase-bar__fill {
|
||||
fill: #64d2ff;
|
||||
filter: drop-shadow(0 0 5px rgba(10, 132, 255, 0.48));
|
||||
}
|
||||
|
||||
.sleep-phase-bar__progress::-moz-progress-bar {
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, #64d2ff, #0a84ff);
|
||||
box-shadow: 0 0 18px rgba(10, 132, 255, 0.38);
|
||||
.sleep-phase-bar__target-line {
|
||||
stroke: rgba(255, 255, 255, 0.95);
|
||||
stroke-width: 1.25;
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
|
||||
.sleep-phase-bar__target {
|
||||
@@ -4973,38 +4966,10 @@ input[type="range"] {
|
||||
box-shadow: 0 10px 26px rgba(255, 59, 48, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
|
||||
}
|
||||
|
||||
.timeline-card__delete .trash-button span {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 0.98rem;
|
||||
height: 1.08rem;
|
||||
margin-top: 0.1rem;
|
||||
border: 2px solid currentColor;
|
||||
border-top: 0;
|
||||
border-radius: 0 0 0.18rem 0.18rem;
|
||||
}
|
||||
|
||||
.timeline-card__delete .trash-button span::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -0.18rem;
|
||||
right: -0.18rem;
|
||||
top: -0.34rem;
|
||||
height: 0.16rem;
|
||||
border-radius: 999px;
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.timeline-card__delete .trash-button span::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: -0.55rem;
|
||||
width: 0.46rem;
|
||||
height: 0.16rem;
|
||||
border-radius: 999px;
|
||||
background: currentColor;
|
||||
transform: translateX(-50%);
|
||||
.timeline-card__delete .trash-button img {
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
filter: brightness(0) invert(1);
|
||||
}
|
||||
|
||||
.timeline-card--with-image .timeline-card__time-chip {
|
||||
|
||||
Reference in New Issue
Block a user