194 lines
No EOL
3 KiB
CSS
194 lines
No EOL
3 KiB
CSS
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
font-size: 100%;
|
|
vertical-align: baseline;
|
|
background: transparent;
|
|
}
|
|
|
|
body {
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
margin: -20px 0 0;
|
|
padding: 0;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
overflow: hidden;
|
|
}
|
|
|
|
a:link, a:hover, a:visited, a:active {
|
|
color: inherit;
|
|
}
|
|
|
|
.timer-box {
|
|
position: relative;
|
|
top: 50%;
|
|
-webkit-transform: translateY(-50%);
|
|
transform: translateY(-50%);
|
|
width: 90%;
|
|
margin: auto;
|
|
height: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.timer-info p {
|
|
padding: 0;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.timer-controls {
|
|
text-align: center;
|
|
font-size: 6vh;
|
|
width: 30vw;
|
|
margin: auto;
|
|
}
|
|
|
|
.yellow {
|
|
background-color: #ffff00;
|
|
color: #8c8c00;
|
|
}
|
|
|
|
.red {
|
|
background-color: #ff3333;
|
|
color: #951e1e;
|
|
}
|
|
|
|
.green {
|
|
background-color: #49e838;
|
|
color: #1e5f17;
|
|
}
|
|
|
|
.blue {
|
|
background-color: #00e6d7;
|
|
color: #008077;
|
|
}
|
|
|
|
.yellow #save {
|
|
background-color: #8c8c00;
|
|
color: #ffff00;
|
|
}
|
|
|
|
.blue #save {
|
|
background-color: #008077;
|
|
color: #00e6d7;
|
|
}
|
|
|
|
.red #save {
|
|
color: #ff3333;
|
|
background-color: #951e1e;
|
|
}
|
|
|
|
.green #save {
|
|
color: #49e838;
|
|
background-color: #1e5f17;
|
|
}
|
|
|
|
.round {
|
|
font-size: 6vh;
|
|
font-style: italic;
|
|
}
|
|
|
|
.time {
|
|
font-size: 20vh;
|
|
line-height: 12vh;
|
|
}
|
|
|
|
.menu-top {
|
|
position: absolute;
|
|
top: 0;
|
|
height: 10vh;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.menu-bottom {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 10vh;
|
|
}
|
|
|
|
.menu-button {
|
|
margin: 0 15px;
|
|
font-size: 6vh;
|
|
}
|
|
|
|
.settings-menu {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 100%;
|
|
color: inherit;
|
|
background-color: inherit;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
#timer-setup {
|
|
padding: 5% auto;
|
|
}
|
|
|
|
#timer-setup input, label, #save {
|
|
color: inherit;
|
|
display: block;
|
|
width: 80%;
|
|
margin: 5px auto;
|
|
padding: 1%;
|
|
font-size: 2em;
|
|
}
|
|
|
|
#timer-setup input, #save {
|
|
border-radius: 10px;
|
|
border: solid 2px;
|
|
}
|
|
|
|
#back {float: left;}
|
|
#next {float: right;}
|
|
|
|
#save {
|
|
text-align: center;
|
|
text-decoration: none;
|
|
margin: 25px auto;
|
|
}
|
|
|
|
#timer-name {
|
|
line-height: 60px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#timer-menu-btn {
|
|
float: left;
|
|
}
|
|
|
|
#timer-reset-btn {
|
|
float: right;
|
|
}
|
|
@keyframes slideIn {
|
|
from {right: 100%;}
|
|
to {right: 0;}
|
|
}
|
|
@keyframes slideOut {
|
|
from {right: 0;}
|
|
to {right: 100%;}
|
|
}
|
|
.slideIn {
|
|
-moz-animation: slideIn 0.1s ease-in;
|
|
-webkit-animation: slideIn 0.1s ease-in;
|
|
-o-animation: slideIn 0.1s ease-in;
|
|
animation: slideIn 0.1s ease-in;
|
|
right: 0;
|
|
}
|
|
.slideOut {
|
|
-moz-animation: slideOut 0.1s ease-out;
|
|
-webkit-animation: slideOut 0.1s ease-out;
|
|
-o-animation: slideOut 0.1s ease-out;
|
|
animation: slideOut 0.1s ease-out;
|
|
right: 100%;
|
|
}
|
|
|
|
@media all and (max-width: 768px) {
|
|
.timer-controls {
|
|
width: 75vw;
|
|
}
|
|
} |