tunnel: interface pour page admin sans backend + problème de gestion de la playlist (importé dans 2 script, l'un demande un focntion, l'autre une array et on est là hum...)

This commit is contained in:
2026-07-06 22:32:41 +02:00
parent eaba21e126
commit 874226a140
10 changed files with 1573 additions and 0 deletions
+248
View File
@@ -0,0 +1,248 @@
:root[data-theme="main"]{
--back-color: #FFFF4D;
--main-color: #000000;
}
/*====================Typo*/
@font-face {
font-family: 'karrik';
src: url('/typo/Karrik-Italic.woff2').format('woff2');
font-style: italic;
}
@font-face {
font-family: 'karrik';
src: url('/typo/Karrik-Regular.woff2') format('woff2');
font-style: normal;
}
@font-face {
font-family: 'velvelyne';
src: url('/typo/Velvelyne-Book.ttf') format('truetype');
font-weight: normal;
}
@font-face {
font-family: 'avara';
src: url('/typo/Avara-Black.woff2') format('woff2');
}
@font-face {
font-family: 'pressStart2P';
src: url('/typo/PressStart2P-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'velvelyne';
src:url('/typo/Velvelyne-Bold.ttf') format('truetype');
font-weight: bold;
}
/*=============Désact défault*/
input {
-webkit-appearance: none !important;
appearance: none !important;
}
a{
text-decoration: none;
color: inherit;
cursor: alias;
}
button{
cursor: cell;
}
a p{
cursor:inherit;
}
a button{
cursor: inherit;
}
p{
cursor: inherit;
pointer-events: none !important;
}
.dg{
display: none !important;
height: 0;
overflow: hidden;
}
/*====================BODY & BACKGROUND*/
html, body{
margin: 0;
padding: 0;
background-color: var(--main-color);
width: 100%;
height:100%;
position: fixed;
inset: 0;
overflow-x: hidden;
overflow-y: scroll;
display: block;
scrollbar-color: var(--back-color) var(--main-color);
scrollbar-width: thin;
z-index: -33;
display: flex;
flex-direction: column;
}
/*=======================pseudo-Fenetres*/
.windowStyle{
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
background-color: var(--back-color);
border-style: solid;
border-width: thin;
border-radius: 16.1px;
border-color: var(--main-color);
overflow: hidden;
height: auto;
width: 95%;
}
.windowTitle{
width:100%;
height:44px;
background-color: var(--main-color);
border-radius: 0;
font-family: 'karrik';
font-weight: normal;
text-transform: uppercase;
font-size: 16.1px;
color: var(--back-color);
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding-left: 10px;
padding-right: 10px;
cursor: move;
}
.windowTitleLower{
font-family: 'velvelyne';
font-weight: bold;
font-size: 13.12px;
}
.toggleBtn{
color: var(--back-color);
background-color: var(--main-color);
border-style: solid;
border-width: thin;
border-radius: 16.1px;
border-color: var(--back-color);
width: 27px;
height: 27px;
display: flex;
justify-content: space-around;
align-items: center;
transform: rotate(45deg);
cursor: copy;
padding: 0;
}
.toggleBtn:hover{
color: var(--main-color);
background-color: var(--back-color);
}
.windowContent{
height:77%;
width:100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}
.icon{
fill: currentColor;
height: 13.12px;
width: auto;
pointer-events: none;
padding: 0;
margin: 0;
}
.textBtnStyle{
font-family: 'karrik';
font-size: 13.12px;
background-color: var(--back-color);
color: var(--main-color);
border-color: var(--main-color);
border-style: solid;
border-width: 1.75px;
border-radius: 16.1px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
width: 161px;
height: 77px;
align-self: flex-end;
}
.textBtnStyle:hover{
background-color: var(--main-color);
color: var(--back-color);
font-weight: bold;
}
/*==================INTERFACE*/
#adminWelcome{
width: 100%;
height: 13.12vh;
padding: 13.12px;
padding-top: 7.77px;
margin: 0;
box-sizing: border-box;
p{
font-family: 'velvelyne';
font-weight: normal;
font-size: 13.12px;
color: var(--back-color);
margin: 0;
}
strong{
font-weight: bold;
}
}
#adminContainer{
width: 100%;
height: 90vh;
inset: 0;
overflow: hidden;
background-color: var(--back-color);
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
}
.adminSection{
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding-top: 7.77px;
gap: 1vh;
}