Soshot/public/assets/css/style.css
2024-09-18 10:02:32 +02:00

248 lines
No EOL
4.2 KiB
CSS

:root {
color-scheme: dark light;
--primary: #cc2027;
--primary-darken: #8E161B;
--primary-lighten: #D64C52;
--primary-text-contrast: #FFF;
--secondary: #20ccc5;
--secondary-darken: #168E89;
--secondary-lighten: #4CD6D0;
--secondary-text-contrast: #FFF;
--error: #c43933;
--error-darken: #892723;
--error-lighten: #CF605B;
--error-text-contrast: #FFF;
--info: #206ccc;
--info-darken: #164B8E;
--info-lighten: #4C89D6;
--info-text-contrast: #FFF;
--success: #7dcc20;
--success-darken: #578E16;
--success-lighten: #97D64C;
--success-text-contrast: #000;
--warning: #cc5e20;
--warning-darken: #8E4116;
--warning-lighten: #D67E4C;
--warning-text-contrast: #FFF;
--background-color: light-dark(#fffbfb, #171414);
--background-color-darken: light-dark(#B2AFAF, #100E0E);
--background-color-lighten: light-dark(#FFFBFB, #454343);
--header-background-color: light-dark(#171414, #fffbfb);
--header-background-color-darken: light-dark(#100E0E, #B2AFAF);
--header-background-color-lighten: light-dark(#454343, #FFFBFB);
--header-text-color: light-dark(#fffbfb, #171414);
--header-text-color-secondary: #ffffffb3;
--header-text-color-disable: light-dark(#ffffff80, #454343);
--text-color: light-dark(#171414, #fffbfb);
--text-color-secondary: #ffffffb3;
--text-color-disable: light-dark(#454343, #ffffff80);
--text-color-inverse: light-dark(#fffbfb, #171414);
--text-color-secondary-inverse: #ffffffb3;
--text-color-disable-inverse: light-dark(#ffffff80, #454343);
--h1-color: var(--primary);
--h2-color: #c33d35;
--h3-color: #b94f44;
--h4-color: #ae5e52;
--h5-color: #a16a61;
--h6-color: #927671;
}
[data-theme="light"] {
--background-color: #fffbfb;
--text-color: #171414;
--text-color-inverse: #fffbfb;
.title:hover {
color: var(--text-color);
}
}
[data-theme="dark"] {
table {
color: var(--text-color);
}
.title:hover {
color: var(--text-color-inverse);
}
}
html {
font-family: arial, sans-serif;
font-weight: bold;
line-height: 2em;
background-color: var(--background-color);
overflow: auto;
color: var(--text-color);
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Roboto", sans-serif;
}
h1 {
color: var(--primary);
}
.fa {
/*color: var(--primary);*/
}
.w3-sidebar {
z-index: 3;
width: 250px;
height: inherit;
}
a {
text-decoration: none;
color: var(--primary);
}
a:hover {
text-decoration: none;
color: var(--primary-darken)
}
a:visited {
color: var(--primary);
}
.centerBlock {
margin: auto;
}
.homeForm {
width: 49.9%;
}
.w3-bar {
background-color: var(--background-color) !important;
}
#mySidebar {
top: 84px;
background-color: var(--header-background-color);
}
#mySidebar>:hover {
text-decoration: none;
color: var(--primary-darken);
}
.w3-bar-block .w3-bar-item {
padding: 4px 16px;
}
.w3-bar {
background-color: var(--header-background-color) !important;
}
.w3-bar-item-selected {
background-color: var(--secondary);
color: var(--secondary-text-contrast);
}
#myFooter {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
text-align: center;
}
.w3-main {
margin: 64px auto 46px 270px;
}
.soshot-main {
padding-bottom: 16px;
}
form label {
width: 48% !important;
display: inline-block;
text-align: right;
margin-right: 16px;
}
.w3-input,
.w3-select {
display: inline-block;
width: 48%;
}
.w3-input {
background-color: var(--primary-lighten);
color: var(--text-color);
}
button,
.w3-button {
background-color: var(--primary) !important;
color: var(--text-color) !important;
}
button:hover,
.w3-button:hover {
background-color: var(--primary-darken) !important;
color: var(--text-color-inverse) !important;
}
.zoom {
cursor: zoom-in;
}
.delete,
.notGen {
color: var(--error);
}
.gen {
color: var(--success);
}
.pending {
color: var(--warning);
}
#myFooter {
background-color: var(--header-background-color);
color: var(--header-text-color);
}
#myFooter a:hover {
color: var(--primary-darken);
}
.title {
color: var(--text-color-inverse);
padding: .5em;
}
@media (max-width:768px) {
#mySidebar {
background-color: var(--header-background-color) !important;
width: 100%;
height: 50%;
}
}