170 lines
2.5 KiB
CSS
170 lines
2.5 KiB
CSS
|
|
/* focus-timer.component.scss */
|
|
app-tusha-page {
|
|
height: 500px;
|
|
}
|
|
|
|
.leftright-line {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.fullwidth {
|
|
width: 320px;
|
|
}
|
|
|
|
.countdown-box {
|
|
height: 320px;
|
|
border: 2px solid;
|
|
padding: 0.5em 0.5em 0.5em 0.5em;
|
|
}
|
|
|
|
.countdown-state-text {
|
|
font-family: Monaco, "Lucida Console", monospace;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.countdown-state-stopped-box {
|
|
background-color: lightcoral;
|
|
border-color: darkred;
|
|
}
|
|
|
|
.countdown-state-stopped-text{
|
|
color: darkred;
|
|
}
|
|
|
|
.countdown-state-short_break-box {
|
|
background-color: lightcyan;
|
|
border-color: darkgreen;
|
|
}
|
|
|
|
.countdown-state-short_break-text {
|
|
color: darkgreen;
|
|
}
|
|
|
|
.countdown-state-long_break-box {
|
|
background-color: peachpuff;
|
|
border-color: orangered;
|
|
}
|
|
|
|
.countdown-state-long_break-text {
|
|
color: orangered;
|
|
|
|
}
|
|
|
|
.countdown-state-in_focus-box {
|
|
background-color: lightblue;
|
|
border-color: darkblue;
|
|
}
|
|
|
|
.countdown-state-in_focus-text {
|
|
color: darkblue;
|
|
}
|
|
|
|
.focustimer {
|
|
position: relative;
|
|
width: 270px;
|
|
height: 270px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px solid;
|
|
background-color: lavender;
|
|
}
|
|
|
|
.countdown-text {
|
|
position: relative;
|
|
transform: translate(25%, -225%);
|
|
font-size: 4em;
|
|
color: var(--ion-color-primary);
|
|
}
|
|
|
|
ion-button {
|
|
position: relative;
|
|
width: 120px;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.countdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 300px;
|
|
height: 300px;
|
|
align-content: center;
|
|
z-index: 3;
|
|
}
|
|
|
|
.focusmode {
|
|
border-width: 10px;
|
|
border-color: lightblue;
|
|
border-style: outset;
|
|
background-color: aliceblue;
|
|
}
|
|
|
|
.breakmode {
|
|
border-width: 10px;
|
|
border-color: antiquewhite;
|
|
border-style: outset;
|
|
background-color: beige;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timer {
|
|
width: 350px;
|
|
height: 350px;
|
|
}
|
|
|
|
.state {
|
|
font-weight: bold;
|
|
font-size: 1.5em;
|
|
border: 2px solid;
|
|
width: 350px;
|
|
height: 350px;
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
padding: 10px;
|
|
display: block;
|
|
position: relative;
|
|
top: -350px;
|
|
left: -50px;
|
|
}
|
|
|
|
.state-stopped {
|
|
color: darkred;
|
|
background-color: lightcoral;
|
|
border-color: darkred;
|
|
}
|
|
|
|
.state-short_break {
|
|
color: darkgreen;
|
|
background-color: lightgreen;
|
|
border-color: darkgreen;
|
|
}
|
|
|
|
.state-long_break {
|
|
color: orangered;
|
|
background-color: peachpuff;
|
|
border-color: orangered;
|
|
}
|
|
|
|
.state_in_focus {
|
|
color: darkblue;
|
|
background-color: lightblue;
|
|
border-color: darkblue;
|
|
}
|
|
|
|
.button-bar {
|
|
width: 350px;
|
|
display: block;
|
|
}
|
|
|