2023-06-17 16:52:47 +02:00
|
|
|
@import url('https://fonts.googleapis.com/css?family=Montserrat');
|
2023-08-29 15:21:44 +02:00
|
|
|
|
2023-08-29 15:30:03 +02:00
|
|
|
/* Colors */
|
2023-08-29 15:21:44 +02:00
|
|
|
:root {
|
|
|
|
--color-background0: #212121;
|
|
|
|
--color-background1: #212121;
|
|
|
|
--color-background2: dimgray;
|
|
|
|
--color-border0: #FFFFFF;
|
|
|
|
--color-border1: grey;
|
|
|
|
--color-text: #FFFFFF;
|
|
|
|
--color-green: green;
|
|
|
|
--color-lime: #BADA55;
|
|
|
|
--color-red: red;
|
|
|
|
--color-switch-button: #FFFFFF;
|
|
|
|
--color-switch-background: grey;
|
|
|
|
--color-transparent: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
2023-08-29 15:30:03 +02:00
|
|
|
/* Sidebar size is the left panel size when opened */
|
|
|
|
:root {
|
|
|
|
--sidebar-size: max(20vw, 160px);
|
|
|
|
--sidebar-sz-plus10: calc(var(--sidebar-size) + 10px);
|
|
|
|
--sidebar-sz-plus30: calc(var(--sidebar-size) + 30px);
|
|
|
|
}
|
|
|
|
|
2023-06-17 16:52:47 +02:00
|
|
|
html {
|
|
|
|
text-align: center;
|
|
|
|
font-family: Montserrat;
|
2023-08-29 19:31:29 +02:00
|
|
|
height: 95%;
|
2023-06-17 16:52:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2023-08-29 15:21:44 +02:00
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
}
|
|
|
|
|
2023-09-27 10:36:41 +02:00
|
|
|
iframe{
|
|
|
|
border: none;
|
|
|
|
}
|
2023-06-17 16:52:47 +02:00
|
|
|
|
|
|
|
input[type=text] {
|
|
|
|
|
|
|
|
width: 90%;
|
|
|
|
padding: 12px 20px;
|
|
|
|
margin: 8px 0;
|
2023-08-29 15:21:44 +02:00
|
|
|
background-color: var(--color-background1);
|
|
|
|
border: 2px solid var(--color-border1);
|
2023-06-17 16:52:47 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
outline: none;
|
2023-08-29 15:21:44 +02:00
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=password] {
|
|
|
|
|
|
|
|
width: 90%;
|
|
|
|
padding: 12px 20px;
|
|
|
|
margin: 8px 0;
|
|
|
|
text-align: center;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border1);
|
2023-06-17 16:52:47 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
outline: none;
|
2023-08-29 15:21:44 +02:00
|
|
|
color: var(--color-text);
|
|
|
|
background-color: var(--color-background1);
|
2023-06-17 16:52:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.button{
|
|
|
|
border-radius: 4px;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border1);
|
|
|
|
background-color: var(--color-background1);
|
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
padding: 12px 20px;
|
|
|
|
width: 70%;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left-button{
|
|
|
|
width: 10%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ban{
|
|
|
|
border-radius: 4px;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-red);
|
2023-06-17 16:52:47 +02:00
|
|
|
background-size: 200% 100%;
|
2023-08-29 15:21:44 +02:00
|
|
|
background-image: linear-gradient(to right, var(--color-background1) 50%, var(--color-red) 50%);
|
2023-06-17 16:52:47 +02:00
|
|
|
-webkit-transition: background-position 0.5s;
|
|
|
|
-moz-transition: background-position 0.5s;
|
|
|
|
transition: background-position 0.5s;
|
2023-08-29 15:21:44 +02:00
|
|
|
color: var(--color-text);
|
2023-07-01 14:41:07 +02:00
|
|
|
padding: 12px 0px;
|
2023-06-17 16:52:47 +02:00
|
|
|
width: 70%;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
.ban:hover{
|
|
|
|
background-position: -100% 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirm{
|
2023-08-29 15:21:44 +02:00
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
padding: 12px 20px;
|
|
|
|
width: 70%;
|
|
|
|
margin: 10px;
|
|
|
|
background-size: 200% 100%;
|
2023-08-29 15:21:44 +02:00
|
|
|
background-image: linear-gradient(to right, var(--color-background1) 50%, var(--color-green) 50%);
|
2023-06-17 16:52:47 +02:00
|
|
|
-webkit-transition: background-position 0.5s;
|
|
|
|
-moz-transition: background-position 0.5s;
|
|
|
|
transition: background-position 0.5s;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border1);
|
2023-06-17 16:52:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.confirm:hover{
|
|
|
|
background-position: -100% 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirm{
|
2023-08-29 15:21:44 +02:00
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
padding: 12px 20px;
|
|
|
|
width: 70%;
|
|
|
|
margin: 10px;
|
|
|
|
background-size: 200% 100%;
|
2023-08-29 15:21:44 +02:00
|
|
|
background-image: linear-gradient(to right, var(--color-background1) 50%, var(--color-green) 50%);
|
2023-06-17 16:52:47 +02:00
|
|
|
-webkit-transition: background-position 0.5s;
|
|
|
|
-moz-transition: background-position 0.5s;
|
|
|
|
transition: background-position 0.5s;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border1);
|
2023-06-17 16:52:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.confirm:hover{
|
|
|
|
background-position: -100% 0;
|
|
|
|
}
|
|
|
|
.unselected{
|
|
|
|
border-radius: 4px;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border1);
|
|
|
|
background-color: var(--color-background1);
|
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
padding: 12px 20px;
|
|
|
|
width: 70%;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
.selected{
|
|
|
|
border-radius: 4px;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border1);
|
|
|
|
background-color: var(--color-background2);
|
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
padding: 12px 20px;
|
|
|
|
width: 70%;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
button:hover{
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border0);
|
2023-06-18 17:40:59 +02:00
|
|
|
cursor: pointer;
|
2023-06-17 16:52:47 +02:00
|
|
|
}
|
|
|
|
input:hover{
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border0);
|
2023-06-17 16:52:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.submit{
|
|
|
|
border-radius: 4px;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border1);
|
|
|
|
background-color: var(--color-background1);
|
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
padding: 12px 20px;
|
|
|
|
width: 100%;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2023-08-29 15:21:44 +02:00
|
|
|
background-color: var(--color-background0);
|
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.left-pannel{
|
|
|
|
flex: 1;
|
|
|
|
margin: 20px;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 1px solid var(--color-border0);
|
2023-06-17 16:52:47 +02:00
|
|
|
border-radius: 5px;
|
|
|
|
padding: 20px;
|
|
|
|
width: 80%;
|
2023-08-29 19:28:13 +02:00
|
|
|
height: 90%;
|
2023-06-17 16:52:47 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.content{
|
|
|
|
flex: 3;
|
|
|
|
margin: 20px;
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 1px solid var(--color-border0);
|
2023-06-17 16:52:47 +02:00
|
|
|
border-radius: 5px;
|
|
|
|
padding: 20px;
|
2023-08-29 19:28:13 +02:00
|
|
|
height: 90%;
|
2023-06-17 16:52:47 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-08-25 12:06:52 +02:00
|
|
|
.content > ul {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2023-06-17 16:52:47 +02:00
|
|
|
.container {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-item {
|
|
|
|
margin: 10px 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#image img {
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
.comlumn-name{
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
For toggle switch
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
input[type=checkbox]{
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
visibility: hidden;
|
2023-06-18 17:40:59 +02:00
|
|
|
}
|
2023-06-17 16:52:47 +02:00
|
|
|
|
|
|
|
label {
|
2023-06-18 17:40:59 +02:00
|
|
|
padding: 8px;
|
2023-06-17 16:52:47 +02:00
|
|
|
margin: auto;
|
|
|
|
cursor: pointer;
|
|
|
|
text-indent: -9999px;
|
|
|
|
width: 100px;
|
|
|
|
height: 50px;
|
2023-08-29 15:21:44 +02:00
|
|
|
background: var(--color-switch-background);
|
2023-06-17 16:52:47 +02:00
|
|
|
display: block;
|
|
|
|
border-radius: 100px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
width: height of label /2 ;
|
|
|
|
height: height of label /2px;
|
|
|
|
*/
|
|
|
|
label:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
left: 5px;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2023-08-29 15:21:44 +02:00
|
|
|
background: var(--color-switch-button);
|
2023-06-17 16:52:47 +02:00
|
|
|
border-radius: 90px;
|
|
|
|
transition: 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + label {
|
2023-08-29 15:21:44 +02:00
|
|
|
background: var(--color-lime);
|
2023-06-17 16:52:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + label:after {
|
|
|
|
left: calc(100% - 5px);
|
|
|
|
transform: translateX(-100%);
|
|
|
|
}
|
|
|
|
/*changer l'épaisseur du click */
|
|
|
|
label:active:after {
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
width: 90%;
|
2023-08-25 15:12:31 +02:00
|
|
|
/*height: 100%;*/
|
2023-06-17 16:52:47 +02:00
|
|
|
padding: 12px 20px;
|
|
|
|
margin: 8px 0;
|
2023-08-29 15:21:44 +02:00
|
|
|
background-color: var(--color-background1);
|
|
|
|
border: 2px solid var(--color-border1);
|
2023-06-17 16:52:47 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
outline: none;
|
2023-08-29 15:21:44 +02:00
|
|
|
color: var(--color-text);
|
2023-06-17 16:52:47 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
select:hover {
|
2023-08-29 15:21:44 +02:00
|
|
|
border: 2px solid var(--color-border0);
|
2023-06-17 16:52:47 +02:00
|
|
|
}
|
2023-06-18 17:40:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
input[type="time"] {
|
|
|
|
width: 70%;
|
|
|
|
padding: 8px 12px;
|
|
|
|
margin: 8px 0;
|
2023-08-29 15:21:44 +02:00
|
|
|
background-color: var(--color-background1);
|
|
|
|
border: 2px solid var(--color-border1);
|
2023-06-18 17:40:59 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
outline: none;
|
2023-08-29 15:21:44 +02:00
|
|
|
color: var(--color-text);
|
2023-06-18 17:40:59 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="time"]::-webkit-calendar-picker-indicator {
|
|
|
|
filter: invert(1);
|
|
|
|
opacity: 0.7;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="time"]::-webkit-calendar-picker-indicator:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2023-08-29 15:30:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
/** Sidebar stuff */
|
|
|
|
#slide-sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
label[for="slide-sidebar"] {
|
|
|
|
all: initial;
|
|
|
|
z-index: 1; /* Always on top */
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
left: var(--sidebar-sz-plus30);
|
|
|
|
|
|
|
|
-moz-transition: left 0.5s ease;
|
|
|
|
transition: left 0.5s ease;
|
|
|
|
background: var(--color-transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
label[for="slide-sidebar"]:after {
|
|
|
|
all:unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + label[for="slide-sidebar"] {
|
|
|
|
background: var(--color-transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
#slide {
|
|
|
|
border-style: solid;
|
|
|
|
border-radius: 4px;
|
|
|
|
border-width: 1px;
|
|
|
|
border-color: var(--color-border0);
|
|
|
|
|
|
|
|
color: var(--color-text);
|
|
|
|
background-color: var(--color-background0);
|
|
|
|
padding: 8px 8px 2px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* When opened behaviour */
|
|
|
|
.left-pannel {
|
|
|
|
width: var(--sidebar-size);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: var(--sidebar-sz-plus10);
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
-moz-transition: left 0.5s ease;
|
|
|
|
transition: left 0.5s ease;
|
|
|
|
|
|
|
|
padding: 0 25px;
|
|
|
|
background-color: var(--color-background0); /* we need no transparency when switching */
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* When closed behaviour */
|
|
|
|
input:checked#slide-sidebar~label {
|
|
|
|
left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:checked#slide-sidebar~.left-pannel {
|
|
|
|
display: none;
|
|
|
|
transition: display 0s 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:checked#slide-sidebar~.content {
|
|
|
|
left: 0;
|
|
|
|
}
|