Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
Create style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Miala-python authored Dec 17, 2023
1 parent 81c0894 commit 049c9c3
Showing 1 changed file with 119 additions and 0 deletions.
119 changes: 119 additions & 0 deletions lib/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
.block {
padding-top: 1rem;
padding-left: 3%;
padding-right: 3%;
}

/* .block .top-sep {
padding-top: 3%; => inutile
} */

.retour_ligne {
white-space: normal !important;
height: inherit !important;
}

span.gfonticon_input {
padding-top: 0.5rem;
padding-left: 0.6rem;
}

span.gfonticon_button {
padding-top: 0.4rem;
}

.notif_bd {
position: fixed !important;
margin-right: 2.5%;
margin-bottom: 2.5% !important;
max-width: 25rem;
width: 95vw;
bottom: 0;
right: 0;
}

.notif_bd.button * {
/* width: calc(100% - 40px); */
width: 100% !important;
font-size: clamp(5px, 18px, 3.8vw);
right: 0;
}

.level-center {
/* margin-bottom: 7px; */
margin: 0.5em;
}

.note-input {
width: 65px !important;
}

/*Scroll: chromium, firefox & edge*/
.scroll::-webkit-scrollbar {
width: 16px;
background: transparent;
}

.scroll::-webkit-scrollbar-thumb {
border-radius: 8px;
background-clip: content-box;
background-color: rgba(255, 255, 255, 0.2);
border: 6px solid transparent;
}

.scroll::-webkit-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.7);
}

.scroll::-moz-scrollbar {
width: 16px;
background: transparent;
}

.scroll::-moz-scrollbar-thumb {
border-radius: 8px;
background-clip: content-box;
background-color: rgba(255, 255, 255, 0.2);
border: 6px solid transparent;
}

.scroll::-moz-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.7);
}

.scroll::-ms-scrollbar {
width: 16px;
background: transparent;
}

.scroll::-ms-scrollbar-thumb {
border-radius: 8px;
background-clip: content-box;
background-color: rgba(255, 255, 255, 0.2);
border: 6px solid transparent;
}

.scroll::-ms-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.7);
}
/*
j'ai ce code html: <div class='notif_bd'><button>Hello</button></div>
et ce code css: .notif_bd {
position: absolute !important;
margin-right: 3%;
margin-left: 3%;
max-width: 25rem;
bottom: 0;
right: 0;
}
Je veux que tu me propose un code qui rajoute ces fonctionnalités:
- la div doit rester fixée en bas de la page meme lors du scroll
- et le bouton doit toujours être un peut plus petit que la div (Si la largeur de la div est de 200, celle du bouton est de 160;
Si la largeur de la div est de 50, celle du bouton est de 40)
*/

.notification {
z-index: 10;
}

0 comments on commit 049c9c3

Please sign in to comment.