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

84 lines
1.3 KiB
SCSS

@import 'scss/variables';
.clock {
font-size: 4em;
margin: 0;
cursor: initial;
user-select: none;
font-weight: 600;
--shadow-shift: 0.4rem;
}
.ampm {
font-size: 0.5em;
}
.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;
}
.react-clock__hand__body,
.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;
}
// ok so if pomodoro is a separate component, why is this in clock?
// ^ above note is for alex
.pomodoro {
margin-top: -20px;
@extend %basic;
padding: 5px 15px 5px 15px;
font-size: 12px;
display: flex;
flex-flow: row;
gap: 10px;
align-items: center;
.pomodoroTime {
display: flex;
flex-flow: row;
align-items: center;
gap: 5px;
.timeRemaining {
}
.type {
color: #ccc;
font-weight: bold;
text-transform: uppercase;
display: grid;
}
}
.pomodoroControls {
display: flex;
flex-flow: row;
justify-content: space-evenly;
gap: 5px;
}
button {
@include basicIconButton(5px, 11px, ui);
}
}