Formatted main.css

This commit is contained in:
Max Berger
2026-03-07 20:26:32 +01:00
parent 0404e54a99
commit 76abbf3115

View File

@@ -58,10 +58,6 @@ main{
visibility: hidden; visibility: hidden;
} }
#loginscene input{
}
#loginscene .logocontainer { #loginscene .logocontainer {
width: 100%; width: 100%;
text-align: center; text-align: center;
@@ -379,7 +375,8 @@ button{
position: relative; position: relative;
} }
input, select{ input,
select {
width: 100%; width: 100%;
height: 3em; height: 3em;
border-style: solid; border-style: solid;
@@ -396,56 +393,69 @@ input.inline {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
input[type=text], input[type=password]{ input[type=text],
input[type=password] {
width: calc(100% - 30px); width: calc(100% - 30px);
} }
input:active, input:focus, input:focus-visible{ input:active,
input:focus,
input:focus-visible {
border-color: #2494fe !important; border-color: #2494fe !important;
border-width: 1px !important; border-width: 1px !important;
} }
p.red, span.red{ p.red,
span.red {
color: #b50202; color: #b50202;
} }
button.red, a.red{ button.red,
a.red {
background: #b50202; background: #b50202;
border: 1px solid #a40000; border: 1px solid #a40000;
} }
button.red:hover, a.red:hover{ button.red:hover,
a.red:hover {
background: #a40000; background: #a40000;
} }
button.red:active, a.red:active{ button.red:active,
a.red:active {
background: #8f0000; background: #8f0000;
} }
button.green, a.green{ button.green,
a.green {
background: #4e9a06; background: #4e9a06;
border: 1px solid #377200; border: 1px solid #377200;
} }
button.green:hover, a.green:hover{ button.green:hover,
a.green:hover {
background: #377200; background: #377200;
} }
button.green:active, a.green:active{ button.green:active,
a.green:active {
background: #285200; background: #285200;
} }
button.blue, a.blue{ button.blue,
a.blue {
background: #2494fe; background: #2494fe;
border: 1px solid #055fb5; border: 1px solid #055fb5;
} }
button.blue:hover, a.blue:hover{ button.blue:hover,
a.blue:hover {
background: #1578d6; background: #1578d6;
cursor: pointer !important; cursor: pointer !important;
} }
button.blue:active, a.blue:active{ button.blue:active,
a.blue:active {
background: #055fb5; background: #055fb5;
cursor: pointer !important; cursor: pointer !important;
} }