arrowcounter/counter/static/css/main.css

143 lines
2.1 KiB
CSS
Raw Normal View History

2019-07-27 12:17:21 +00:00
/* vim: set ts=2 sw=2 et tw=80: */
body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
2019-07-27 12:20:37 +00:00
div.container.main {
2019-07-27 12:17:21 +00:00
flex: 1 0 auto;
}
#main-menu {
border-radius: 0;
}
form p, form .card .card-content p {
margin-top: 1em;
}
form p:first-child, form .card .card-content p:first-child {
margin-top: 0;
}
.card-content .row:last-child {
margin-bottom: 0;
}
form span.helptext {
width: 100%;
display: inline-block;
background: #b3e5fc;
}
form span.helptext:empty, form ul:empty {
display: none;
}
form ul li, form span.helptext {
padding-left: .5em;
padding-right: .5em;
}
form ul, form span.helptext {
padding-bottom: .5em;
padding-top: .5em;
border-radius: 2px;
}
form ul {
2019-07-26 21:32:50 +00:00
background: #ffecb3;
}
form ul.errorlist {
background: #ffcdd2;
}
2018-08-09 16:06:25 +00:00
2019-07-26 21:32:50 +00:00
form .card-action button {
2018-08-09 16:06:25 +00:00
background: none !important;
border: none;
cursor: pointer;
padding: 0 !important;
color: inherit;
text-transform: uppercase;
}
.col .card-content .row {
margin-left: auto;
margin-right: auto;
}
.edit-arrowcount.title {
font-size: 3rem;
}
.edit-arrowcount.ends {
text-align: center;
margin: .5rem;
margin-bottom: calc(20px - .5rem);
}
.edit-arrowcount.ends button {
font-size: 1.5rem;
font-weight: bold;
width: 5.5rem;
height: 4rem;
display: inline-block;
margin: .4rem;
}
2019-07-26 21:32:50 +00:00
#edit-arrowcount-form input,
#edit-target-form input {
text-align: center;
}
2019-07-26 21:32:50 +00:00
#edit-arrowcount-form #id_count,
#edit-target-form #id_target {
font-size: 2.5em;
padding: .25em 0;
}
.edit-arrowcount.onebyone {
display: inline-block;
2018-08-09 16:06:25 +00:00
width: 100%;
text-align: center;
2018-08-09 16:06:25 +00:00
}
.count-up, .count-down {
height: 7rem;
font-size: 5rem;
text-align: center;
padding: 0;
font-family: 'Verdana', sans-serif;
2018-08-09 16:06:25 +00:00
}
.count-up {
width: calc(70% - .45rem - 2px);
margin-right: .4rem;
2018-08-09 16:06:25 +00:00
}
.count-down {
width: calc(30% - .45rem - 1px);
margin-left: .4rem;
}
@media screen and (max-width: 359px) {
.count-up, .count-down {
width: 100%;
margin-left: 0;
margin-right: 0;
}
.count-down {
height: 4rem;
font-size: 3rem;
margin-top: 1rem;
}
2018-08-09 16:06:25 +00:00
}
.inline-block {
display: inline-block;
}