ajouts des éléments de l'ui globale
This commit is contained in:
+206
-58
@@ -1,5 +1,4 @@
|
||||
@charset "UTF-8";
|
||||
/* mix blend mode est dépendant du stacking context */
|
||||
@font-face {
|
||||
font-family: "Public";
|
||||
font-style: normal;
|
||||
@@ -12,6 +11,12 @@
|
||||
font-weight: 300;
|
||||
src: url("assets/fonts/PublicSans-Light.ttf") format("TrueType");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Ortica";
|
||||
font-style: bold;
|
||||
font-weight: 300;
|
||||
src: url("assets/fonts/Ortica-Bold.woff2") format("woff2");
|
||||
}
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -23,7 +28,10 @@ body {
|
||||
}
|
||||
|
||||
#content {
|
||||
padding: 1.5vh 1vw;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
@@ -32,16 +40,17 @@ body {
|
||||
z-index: 1;
|
||||
}
|
||||
#content svg {
|
||||
width: 30%;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
height: 50%;
|
||||
}
|
||||
#content svg path {
|
||||
cursor: pointer;
|
||||
}
|
||||
#content svg#fill {
|
||||
fill: white;
|
||||
/* mix blend mode est dépendant du stacking context */
|
||||
mix-blend-mode: overlay;
|
||||
opacity: 0.6;
|
||||
opacity: 0.4;
|
||||
}
|
||||
#content svg#stroke {
|
||||
position: absolute;
|
||||
@@ -49,64 +58,12 @@ body {
|
||||
stroke: black;
|
||||
stroke-width: 1px;
|
||||
}
|
||||
#content #buttons_container {
|
||||
position: absolute;
|
||||
bottom: 5vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 1;
|
||||
}
|
||||
#content #buttons_container .mode {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: white;
|
||||
margin: 0px 10px;
|
||||
padding: 7px 15px;
|
||||
padding-left: 10px;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
border: solid 0.8px rgba(0, 0, 0, 0.5);
|
||||
transition: border 0.4s ease-in-out;
|
||||
font-weight: 300;
|
||||
font-size: 1rem;
|
||||
}
|
||||
#content #buttons_container .mode svg {
|
||||
width: 28px;
|
||||
height: auto;
|
||||
margin-right: 10px;
|
||||
}
|
||||
#content #buttons_container .mode svg .thick {
|
||||
transition: stroke-width 0.2s ease-in-out;
|
||||
stroke-width: 0.8;
|
||||
stroke: black;
|
||||
}
|
||||
#content #buttons_container .mode svg .thin {
|
||||
transition: stroke-width 0.2s ease-in-out;
|
||||
stroke-width: 0.5;
|
||||
stroke: black;
|
||||
}
|
||||
#content #buttons_container .mode p {
|
||||
height: fit-content;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
#content #buttons_container .mode.active {
|
||||
font-weight: 400;
|
||||
border: solid 1.2px rgb(0, 0, 0);
|
||||
}
|
||||
#content #buttons_container .mode.active svg .thick {
|
||||
stroke-width: 1.2;
|
||||
stroke: black;
|
||||
}
|
||||
#content #buttons_container .mode.active svg .thin {
|
||||
stroke-width: 0.6;
|
||||
stroke: black;
|
||||
}
|
||||
#content #BG_BG_BG {
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
z-index: -1;
|
||||
@@ -117,6 +74,8 @@ body {
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-size: 100% 100%;
|
||||
background-repeat: no-repeat;
|
||||
z-index: -2;
|
||||
@@ -134,4 +93,193 @@ body {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#buttons_container {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 1.5vh 1vw;
|
||||
height: 4vh;
|
||||
}
|
||||
#buttons_container .niveau_profondeur {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
height: 100%;
|
||||
margin-right: 30px;
|
||||
width: 5vw;
|
||||
}
|
||||
#buttons_container .niveau_profondeur p {
|
||||
font-weight: 300;
|
||||
cursor: pointer;
|
||||
}
|
||||
#buttons_container .niveau_profondeur p.selected {
|
||||
font-weight: 400;
|
||||
text-decoration: underline;
|
||||
}
|
||||
#buttons_container .niveau_profondeur p:hover {
|
||||
font-weight: 400;
|
||||
}
|
||||
#buttons_container .arrow {
|
||||
margin-right: 15px;
|
||||
}
|
||||
#buttons_container .arrow svg {
|
||||
height: 27px;
|
||||
width: auto;
|
||||
fill: white;
|
||||
stroke: black;
|
||||
stroke-width: 0;
|
||||
cursor: pointer;
|
||||
margin-top: 4px;
|
||||
transition: fill 0.2s ease-out;
|
||||
}
|
||||
#buttons_container .arrow svg:hover {
|
||||
fill: rgb(110, 110, 110);
|
||||
}
|
||||
#buttons_container .arrow svg:active {
|
||||
fill: rgb(50, 50, 50);
|
||||
}
|
||||
#buttons_container .arrow:last-of-type {
|
||||
margin-right: 0;
|
||||
margin-left: 12px;
|
||||
}
|
||||
#buttons_container .mode {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: white;
|
||||
margin: 0;
|
||||
margin-right: 14px;
|
||||
padding: 7px 15px;
|
||||
padding-left: 10px;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
border: solid 0.8px rgb(110, 110, 110);
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
transition: border 0.1s ease-out, color 0.1s ease-out;
|
||||
font-weight: 300;
|
||||
font-size: 1rem;
|
||||
}
|
||||
#buttons_container .mode svg {
|
||||
width: 28px;
|
||||
height: auto;
|
||||
margin-right: 10px;
|
||||
}
|
||||
#buttons_container .mode svg .thick {
|
||||
transition: stroke-width 0.2s ease-out, fill 0.2s ease-out, stroke 0.2s ease-out;
|
||||
stroke-width: 0.8;
|
||||
stroke: rgb(110, 110, 110);
|
||||
}
|
||||
#buttons_container .mode svg .thin {
|
||||
transition: stroke-width 0.2s ease-out, fill 0.2s ease-out, stroke 0.2s ease-out;
|
||||
stroke-width: 0.5;
|
||||
stroke: rgb(110, 110, 110);
|
||||
}
|
||||
#buttons_container .mode svg .circle-fill {
|
||||
fill: rgb(110, 110, 110);
|
||||
}
|
||||
#buttons_container .mode p {
|
||||
height: fit-content;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
#buttons_container .mode.active {
|
||||
font-weight: 400;
|
||||
border: solid 1.2px rgb(0, 0, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
#buttons_container .mode.active svg .thick {
|
||||
stroke-width: 1.2;
|
||||
stroke: rgb(0, 0, 0);
|
||||
}
|
||||
#buttons_container .mode.active svg .thin {
|
||||
stroke-width: 0.6;
|
||||
stroke: rgb(0, 0, 0);
|
||||
}
|
||||
#buttons_container .mode.active svg .circle-fill {
|
||||
fill: rgb(0, 0, 0);
|
||||
}
|
||||
#buttons_container .mode:hover {
|
||||
color: rgb(50, 50, 50);
|
||||
border-color: rgb(50, 50, 50);
|
||||
}
|
||||
#buttons_container .mode:hover svg .thick, #buttons_container .mode:hover svg .thin {
|
||||
stroke: rgb(50, 50, 50);
|
||||
}
|
||||
#buttons_container .mode:hover svg .circle-fill {
|
||||
fill: rgb(50, 50, 50);
|
||||
}
|
||||
|
||||
#global_nav {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin: 1.5vh 1vw;
|
||||
z-index: 1;
|
||||
}
|
||||
#global_nav h1 {
|
||||
font-family: "Ortica";
|
||||
font-size: 1.7em;
|
||||
margin-bottom: 10px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
#global_nav #menu {
|
||||
display: flex;
|
||||
}
|
||||
#global_nav #menu #search {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
#global_nav #menu #search input[type=search] {
|
||||
height: 34px;
|
||||
width: 10vw;
|
||||
padding-left: 13px;
|
||||
padding-right: 30px;
|
||||
padding-bottom: 2px;
|
||||
font-family: "Public";
|
||||
font-size: 1em;
|
||||
font-weight: 300;
|
||||
border-radius: 20px;
|
||||
border: solid rgb(110, 110, 110) 1.2px;
|
||||
color: rgb(110, 110, 110);
|
||||
transition: color 0.2s ease-out;
|
||||
}
|
||||
#global_nav #menu #search input[type=search]:hover {
|
||||
color: rgb(50, 50, 50);
|
||||
}
|
||||
#global_nav #menu #search input[type=search]:active {
|
||||
color: black;
|
||||
}
|
||||
#global_nav #menu #search button {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
#global_nav #menu #search button svg {
|
||||
margin-top: 3px;
|
||||
margin-left: -45px;
|
||||
height: 24px;
|
||||
fill: rgb(110, 110, 110);
|
||||
transition: fill 0.2s ease-out;
|
||||
}
|
||||
#global_nav #menu #search button svg:hover {
|
||||
fill: rgb(50, 50, 50);
|
||||
}
|
||||
#global_nav #menu .menu_item {
|
||||
font-weight: 300;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
margin: 0 10px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
#global_nav #menu .menu_item svg {
|
||||
height: 24px;
|
||||
margin-right: -5px;
|
||||
}
|
||||
#global_nav #menu .menu_item:hover {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=styles.css.map */
|
||||
|
||||
Reference in New Issue
Block a user