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

68 lines
966 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 {
fill: #105fb0;
stroke: #105fb0;
stroke-width: 6px;
}
}
.tick {
transform-origin: center;
fill: none;
stroke: white;
stroke-width: 2px;
&.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
}