telebit-relay.js/lib/extensions/admin/login/css/main.css

98 lines
1.8 KiB
CSS
Raw Normal View History

2018-09-11 17:55:18 +00:00
/*
* main.css
* Copyright (C) 2018 jshaver
*
* Distributed under terms of the MIT license.
*/
body {
2018-09-12 16:30:50 +00:00
font-family: Source Sans Pro, sans-serif;
font-size: 18px;
color: #1a1a1a;
}
svg.icon-computer {width: 4em;fill: #1a1a1a;}
.container {
text-align: center;
width: 17.777777778em;
margin: auto;
}
.checkbox-array {
display: flex;
flex-direction: column;
padding: 1em 0;
}
.checkbox-array input[type=checkbox] {
opacity: 0;
position: absolute;
}
.checkbox-array input[type=checkbox] ~ .icon-checked-box {
display: none;
}
.checkbox-array input[type=checkbox] ~ .icon-unchecked-box {
display: initial;
}
.checkbox-array input[type=checkbox]:checked ~ .icon-checked-box {
display: initial;
}
.checkbox-array input[type=checkbox]:checked ~ .icon-unchecked-box {
display: none;
}
.checkbox-array input[type=checkbox]:focus ~ .icon-checked-box, .checkbox-array input[type=checkbox]:focus ~ .icon-unchecked-box {
background: #DDDDDD;
}
.checkbox-array .icon-checked-box, .checkbox-array .icon-unchecked-box {
width: 1.333333333em;
fill: #1a1a1a;
margin-right: 0.666666667em;
}
.checkbox-array label {
display: flex;
height: 1.333333333em;
font-size: 0.833333333em;
margin: 0.4em 0;
}
2018-09-13 04:32:39 +00:00
input[type=text] {
font-size: 1em;
padding: 0.444444444em 0.888889em;
width: 100%;
border: solid 1px #d9d9d9;
border-radius: 2px;
box-sizing: border-box;
margin: 0.888888889em 0;
}
button {
width: 100%;
background-color: #1a1a1a;
border: none;
font-size: 1em;
color: white;
padding: 0.44444em;
margin: 1em 0;
}
button[disabled=true] {
background-color: #d9d9d9;
}
h1.logo {
font-size: 1.555555556em;
}
h2 {
font-size: 1.777777778em;
}