FuriKani/src/styles.css
2022-04-01 14:04:36 +02:00

198 lines
2.9 KiB
CSS

*
{
margin: 0px;
padding: 0px;
box-sizing: border-box;
border-radius: 0px;
color: #ECB365;
font-family: "Segoe UI", Tahoma, sans-serif;
}
body
{
border: 5px solid #04293A;
background-color: #041C32;
display: grid;
grid-template-rows: 1.5fr 0.5fr 2.5fr 1fr;
width: 275px;
padding: 0.5rem;
}
header
{
display: grid;
grid-template-columns: 8fr 1fr;
align-items: baseline;
border-bottom: 1px solid #064663;
margin-bottom: 0.5rem;
}
h1
{
text-transform: uppercase;
font-size: 30pt;
}
h2
{
font-size: 12pt;
}
#token-area
{
display: grid;
grid-template-rows: 1fr 1fr;
margin-bottom: -10px;
}
#input-area
{
display: grid;
grid-template-columns: 1fr 8fr 1fr;
}
#token-status
{
font-size: 1rem;
cursor: default;
}
#token
{
border: none;
background-color: #064663;
color: #ECB365;
}
#token::placeholder
{
background-color: #064663;
color: #8d7553;
padding-left: 0.1rem;
}
#submit-token
{
border: none;
background-color: #064663;
font-size: 1rem;
transition: background-color 100ms linear;
}
#submit-token:hover
{
background-color: #04293A;
transition: background-color 100ms linear;
cursor: pointer;
}
#submit-token:active
{
background-color: #041C32;
}
#settings-area
{
display: grid;
grid-template-rows: repeat(3, 1fr);
}
.setting
{
display: grid;
grid-template-columns: 1fr 3fr;
align-items: center;
}
.description
{
display: flex;
align-items: center;
font-size: 1rem;
}
footer
{
border-top: 1px solid #064663;
display: grid;
grid-template-rows: repeat(3, 1fr);
justify-items: right;
}
a, a:visited
{
text-decoration: none;
color: #2e94c3;
transition: color 100ms linear;
}
a:hover
{
color: #49b9ec;
transition: color 100ms linear;
}
/* The switch - the box around the slider */
.switch {
position: relative;
display: inline-block;
align-items: center;
width: 60px;
height: 34px;
transform: scale(0.65);
}
/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}
/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #04293A;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: #064663;
}
input:focus + .slider {
box-shadow: 0 0 1px #064663;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}