2019-09-29 15:04:24 +02:00
|
|
|
:root {
|
|
|
|
--text-main: #FFF;
|
|
|
|
--text-secondary: #000;
|
|
|
|
--dark-grey: #3C4043;
|
|
|
|
--white: #FFF;
|
|
|
|
--active: #FF5B56;
|
|
|
|
--space: 5px;
|
2020-02-09 01:08:04 +01:00
|
|
|
--danger: #f04141;
|
|
|
|
--danger-light: #F9D0D5;
|
2019-09-29 15:04:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
color: var(--text-secondary);
|
|
|
|
margin: 0;
|
|
|
|
max-width: 400px;
|
2020-02-23 06:19:32 +01:00
|
|
|
min-width: 300px;
|
|
|
|
background-color: var(--dark-grey);
|
2019-09-29 15:04:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
background-color: var(--white);
|
|
|
|
color: var(--text-secondary);
|
|
|
|
display: flex;
|
|
|
|
padding: var(--space);
|
|
|
|
}
|
|
|
|
|
|
|
|
header h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
header .logo-container {
|
|
|
|
margin: var(--space);
|
|
|
|
}
|
|
|
|
|
|
|
|
header .logo-container img {
|
2020-02-09 01:08:04 +01:00
|
|
|
max-width: 100%;
|
2019-09-29 15:04:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
header small {
|
|
|
|
display: block;
|
|
|
|
font-size: .70em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 1%;
|
|
|
|
width: 100%;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 14px;
|
2020-02-11 23:35:58 +01:00
|
|
|
margin: var(--space) auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: 12px;
|
2019-09-29 15:04:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
clear: both;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
color: var(--text-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a.button {
|
|
|
|
margin: var(--space);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Elements */
|
2019-10-07 13:59:31 +02:00
|
|
|
|
|
|
|
input[type=url] {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
2019-09-29 15:04:24 +02:00
|
|
|
input[type=checkbox] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2019-10-07 13:59:31 +02:00
|
|
|
.checkbox-label {
|
2019-09-29 15:04:24 +02:00
|
|
|
background: grey;
|
|
|
|
border-radius: 25px;
|
|
|
|
color: var(--text-main);
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
font-weight: bold;
|
|
|
|
height: 30px;
|
|
|
|
position: relative;
|
|
|
|
text-indent: -400px;
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
|
2019-10-07 13:59:31 +02:00
|
|
|
.checkbox-label:after {
|
2019-09-29 15:04:24 +02:00
|
|
|
background: #fff;
|
|
|
|
border-radius: 90px;
|
|
|
|
content: '';
|
|
|
|
height: 20px;
|
|
|
|
left: 5px;
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
transition: 0.3s; /* Acts on transform below */
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
input:checked+label {
|
|
|
|
background: var(--active);
|
|
|
|
}
|
|
|
|
/* position when active*/
|
|
|
|
input:checked+label:after {
|
|
|
|
left: calc(100% - 5px);
|
|
|
|
transform: translateX(-100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings_block {
|
|
|
|
display: block;
|
|
|
|
padding: 5px 1em 20px 1em;
|
|
|
|
border-bottom: var(--dark-grey) solid 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings_block h1 {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
border: var(--active) solid 1px;
|
|
|
|
color: var(--text-main);
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: var(--space) auto;
|
|
|
|
padding: 10px;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
2020-02-09 01:08:04 +01:00
|
|
|
cursor: pointer;
|
|
|
|
-webkit-transition-duration: 0.4s;
|
|
|
|
transition-duration: 0.4s;
|
2019-09-29 15:04:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.button:hover {
|
|
|
|
background-color: var(--active);
|
2020-02-09 01:08:04 +01:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button:active {
|
|
|
|
background-color: var(--active);
|
|
|
|
box-shadow: 0 5px var(--dark-grey);
|
|
|
|
transform: translateY(4px);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="url"]:invalid {
|
|
|
|
color: var(--danger);
|
|
|
|
border-color: var(--danger);
|
|
|
|
background-color: var(--danger-light);
|
2019-09-29 15:04:24 +02:00
|
|
|
}
|
|
|
|
|
2020-02-11 23:35:58 +01:00
|
|
|
.margin-bottom {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|