backend/less/app.less
2023-12-19 09:12:42 +01:00

110 lines
1.6 KiB
Plaintext

@dark: #222f3e;
@light-grey: #576574;
@light: #c8d6e5;
@green: #1dd1a1;
@yellow: #feca57;
@red: #ff6b6b;
@pink: #ff9ff3;
@purple: #5f27cd;
@cyan: #48dbfb;
@blue: #54a0ff;
:root {
--dark: @dark;
--light-grey: @light-grey;
--light: @light;
--green: @green;
--yellow: @yellow;
--red: @red;
--pink: @pink;
--purple: @purple;
--cyan: @cyan;
--blue: @blue;
}
@font-face {
font-family: 'robotomono-light';
src: url('/assets/font/RobotoMono-Light.ttf');
}
* {
font-family: "robotomono-light";
}
body {
background-color: var(--dark);
color: var(--light);
}
.nav {
width: 1200px;
margin: auto;
padding: 10px;
border: 1px solid;
}
.container {
width: 1200px;
margin: auto;
padding: 10px;
border: 1px solid;
}
a {
color: var(--cyan);
padding: 5px;
}
details {
width: 100%;
}
form {
display: flex;
flex-wrap: wrap;
}
form .form-group {
width: 100%;
}
form .form-group.half {
width: 50%;
}
form .form-group .text {
width: 200px;
text-align: right;
padding: 5px;
flex-shrink: 0;
}
form .form-group .input {
width: 100%;
padding: 5px;
}
form .form-group .input input,
form .form-group .input textarea,
form .form-group .input select {
width: 100%;
box-sizing: border-box;
}
form .form-group {
display: flex;
}
input[type="number"],input[type="time"],input[type="date"],select{
text-align: right;
}
input[type="number"],input[type="time"],input[type="date"],select,input[type="text"],textarea{
background:@light-grey;
border-color: transparent;
}
@import "table.less";
@import "responsive.less";