mue/src/components/widgets/time/clock.scss

55 lines
832 B
SCSS
Raw Normal View History

@import 'scss/variables';
2020-11-29 14:32:08 +00:00
.clock {
font-size: 4em;
margin: 0;
cursor: initial;
user-select: none;
font-weight: 600;
--shadow-shift: 0.4rem;
2020-11-29 14:32:08 +00:00
}
.ampm {
font-size: 0.5em;
2020-11-29 14:32:08 +00:00
}
.analogclock,
.react-clock__face {
margin: 0 auto;
border-radius: 100%;
/*box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);*/
border: none !important;
@include themed() {
border: 1px solid t($color) !important;
}
cursor: initial;
user-select: none;
2020-11-29 14:32:08 +00:00
}
2021-04-16 11:50:28 +00:00
.react-clock__hand__body,
2021-04-16 11:39:51 +00:00
.react-clock__mark__body {
@include themed() {
background: t($color) !important;
}
/*box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);*/
}
.clockBackground {
@extend %basic;
padding: 1rem;
2023-01-21 12:10:40 +00:00
&.round {
border-radius: 100% !important;
}
2021-04-16 11:39:51 +00:00
}
2022-08-08 11:47:29 +00:00
.new-clock {
line-height: 100%;
2022-08-08 12:43:47 +00:00
.seconds {
font-size: 0.2em;
line-height: 0%;
}
2022-08-21 11:41:05 +00:00
}