mempool/frontend/src/app/components/clock-face/clock-face.component.scss

69 lines
1006 B
SCSS
Raw Normal View History

2023-04-19 03:34:13 +09:00
.clock-face {
position: relative;
height: 84.375%;
margin: auto;
overflow: hidden;
2023-04-15 05:26:18 +09:00
2023-04-19 03:34:13 +09:00
.cut-out, .demo-dial {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
height: 100%;
2023-04-15 05:26:18 +09:00
2023-04-19 03:34:13 +09:00
.face {
fill: #11131f;
2023-04-15 05:26:18 +09:00
}
}
2023-04-19 09:39:56 +09:00
.gnomon {
transform-origin: center;
stroke-linejoin: round;
&.minute {
fill:#80C2E1;
stroke:#80C2E1;
stroke-width: 2px;
}
&.hour {
2024-04-06 15:48:35 +09:00
fill: var(--primary);
stroke: var(--primary);
2023-04-19 09:39:56 +09:00
stroke-width: 6px;
}
}
.tick {
transform-origin: center;
fill: none;
stroke: white;
stroke-width: 2px;
2023-04-19 09:41:53 +09:00
stroke-linecap: butt;
2023-04-19 09:39:56 +09:00
&.minor {
stroke-opacity: 0.5;
}
&.very.major {
stroke-width: 4px;
}
}
.block-segment {
fill: none;
stroke: url(#dial-gradient);
stroke-width: 18px;
}
.dial-segment {
fill: none;
stroke: white;
stroke-width: 2px;
}
.dial-gradient-img {
transform-origin: center;
}
2023-04-15 05:26:18 +09:00
}