add part of site to docker and login works using sessions
BIN
docker-compose/requirements/nginx/static/style/ball3D.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
docker-compose/requirements/nginx/static/style/ball3D2.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
docker-compose/requirements/nginx/static/style/ball3D3.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
docker-compose/requirements/nginx/static/style/edbernard.png
Normal file
After Width: | Height: | Size: 7.7 MiB |
409
docker-compose/requirements/nginx/static/style/home.css
Normal file
@ -0,0 +1,409 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* home.css :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: marvin <marvin@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/08/07 12:00:55 by edbernar #+# #+# */
|
||||
/* Updated: 2024/08/24 11:26:27 by marvin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@keyframes animShowMenuDiv {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes animHideMenuDiv {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: white;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #020202;
|
||||
user-select: none;
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
#topBar {
|
||||
margin-block: 25px;
|
||||
padding: 0;
|
||||
padding-inline: 50px;
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
inset-inline: 0;
|
||||
top: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
#topButton{
|
||||
padding: 0;
|
||||
color: white;
|
||||
display: flex;
|
||||
font-size: 25px;
|
||||
padding-left: 60px;
|
||||
gap: 6rem;
|
||||
}
|
||||
|
||||
#topButton p {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#topButton p:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
height: 3px;
|
||||
width: 0%;
|
||||
left: 0;
|
||||
bottom: 1px;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
#topButton p:hover:after {
|
||||
/* color: blue; */
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#topBar h1 {
|
||||
padding: 0;
|
||||
padding-top: 4px;
|
||||
font-size: 35px;
|
||||
color: white;
|
||||
font-family: 'Poppins';
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#topBar #loginButton {
|
||||
font-size: 20px;
|
||||
background-color: white;
|
||||
height: 40px;
|
||||
width: 130px;
|
||||
color: black;
|
||||
text-align: center;
|
||||
line-height: 40px;
|
||||
margin-left: auto;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
#topBar #loginButton:hover {
|
||||
background-color: #020202;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.popup {
|
||||
display: none; /* La popup est masquée par défaut */
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(5px);
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
width: 70%;
|
||||
height: 80%;
|
||||
background-color: #020202;
|
||||
}
|
||||
|
||||
.left-side {
|
||||
background-color: #D3D3D3;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.right-side {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
padding-inline: 180px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.right-side h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 30px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
label {
|
||||
margin-bottom: 5px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
input {
|
||||
border: none;
|
||||
padding: 20px;
|
||||
margin-bottom: 20px;
|
||||
font-size: 1rem;
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 15px;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
.login-btn {
|
||||
background-color: #fff;
|
||||
margin-bottom: 20px;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.login-btn:hover {
|
||||
background-color: #f0f0f0e1;
|
||||
}
|
||||
|
||||
.new-player {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.new-player a {
|
||||
color: white;
|
||||
text-decoration: underline;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.new-player a:hover {
|
||||
color: #f0f0f0e1;
|
||||
}
|
||||
|
||||
.divider {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.divider span {
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.divider p {
|
||||
margin: 0 10px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.login-42-btn {
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.login-42-btn span {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.login-42-btn:hover {
|
||||
background-color: #f0f0f0e1;
|
||||
}
|
||||
|
||||
.close {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.homeSection{
|
||||
min-height: 100svh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.homeSection p{
|
||||
color: white;
|
||||
}
|
||||
|
||||
#firstText{
|
||||
font-size: 45px;
|
||||
padding-inline: 50px;
|
||||
padding-top: 70px;
|
||||
}
|
||||
|
||||
#secondText{
|
||||
font-size: 45px;
|
||||
padding-inline: 50px;
|
||||
padding-top: 140px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#firstBall{
|
||||
position: absolute;
|
||||
width: 340px;
|
||||
transform-origin: center;
|
||||
transform: translateX(-50%);
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#secondBall{
|
||||
position: absolute;
|
||||
width: 340px;
|
||||
transform-origin: center;
|
||||
transform: translateX(50%);
|
||||
top: 250px;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.relative{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#menuDiv {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: right;
|
||||
font-family: "Poppins", sans-serif;
|
||||
background-color: #ffffff;
|
||||
animation: animShowMenuDiv 0.5s;
|
||||
}
|
||||
|
||||
#menuDiv li {
|
||||
list-style-type: none;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#menuDiv li:hover {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.team {
|
||||
display: flex;
|
||||
gap: 40px;
|
||||
padding-inline: 200px;
|
||||
padding-block: 200px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.team h2 {
|
||||
color: white;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.team-member {
|
||||
max-width: 350px;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.team-member:hover {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
|
||||
.team-member:not(:hover) {
|
||||
transform: scale(0.8);
|
||||
}
|
||||
|
||||
.team-photo {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.info {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(10px);
|
||||
background-color: #020202;
|
||||
padding: 10px;
|
||||
width: 100%;
|
||||
opacity: 0;
|
||||
transition: transform 0.3s ease, opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.team-member:hover .info {
|
||||
transform: translateX(-50%) translateY(25%);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 25px;
|
||||
overflow: hidden;
|
||||
height: 150px;
|
||||
background-color: white;
|
||||
color: #020202;
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.footer-left h1 {
|
||||
font-size: 1.5em;
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.footer-left p {
|
||||
color: #afafaf;
|
||||
}
|
||||
|
||||
.footer-right p {
|
||||
font-weight: bold;
|
||||
}
|
BIN
docker-compose/requirements/nginx/static/style/hubourge.png
Normal file
After Width: | Height: | Size: 5.8 MiB |
235
docker-compose/requirements/nginx/static/style/liveChat.css
Normal file
@ -0,0 +1,235 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* liveChat.css :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: marvin <marvin@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/30 13:53:39 by edbernar #+# #+# */
|
||||
/* Updated: 2024/08/10 16:47:10 by marvin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
||||
#chatButton {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
left: 30px;
|
||||
background-color: white;
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
text-align: center;
|
||||
cursor : pointer;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#chatButton p {
|
||||
margin: 0;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#chatButton:hover {
|
||||
background-color: rgb(204, 204, 204);
|
||||
}
|
||||
|
||||
#chatDiv {
|
||||
width: 350px;
|
||||
height: 400px;
|
||||
background-color: #131313;
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
bottom: 0px;
|
||||
z-index: 999;
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
color: white;
|
||||
font-family: 'Poppins';
|
||||
padding: 20px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
#chatDiv h1 {
|
||||
margin: 0;
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
/* Delete this, is just for cross style */
|
||||
#chatDiv h2 {
|
||||
cursor : pointer;
|
||||
margin: 0;
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
#chatDiv #topChatHome {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
#buttonTypeChatHome {
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#buttonTypeChatHome h2 {
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
color: #dfdfdf;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
#selected {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
#messageListChatHome {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: auto;
|
||||
height: 230px;
|
||||
padding-bottom: 20px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
#messageListChatHome .user {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 75px;
|
||||
margin: 0;
|
||||
padding: 10px 0 5px 5px;
|
||||
}
|
||||
|
||||
#messageListChatHome .user:hover {
|
||||
background-color: #484848;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
#messageListChatHome .user .status {
|
||||
border-radius: 1000px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#messageListChatHome .online {
|
||||
background-color: rgb(17, 165, 29);
|
||||
}
|
||||
|
||||
#messageListChatHome .offline {
|
||||
background-color: rgb(148, 39, 39);
|
||||
|
||||
}
|
||||
|
||||
#messageListChatHome .user img {
|
||||
height: 52px;
|
||||
width: 52px;
|
||||
margin-left: 4px;
|
||||
margin-top: 4px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#messageListChatHome .opponentMessage {
|
||||
max-width: 80%;
|
||||
padding: 10px;
|
||||
margin-top: 20px;
|
||||
background-color: #484848;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#messageListChatHome .meMessage {
|
||||
max-width: 80%;
|
||||
padding: 10px;
|
||||
margin-top: 20px;
|
||||
background-color: #222222;
|
||||
margin-right: 0;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
#messageListChatHome .meMessage p {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
#messageListChatHome .content {
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
#messageListChatHome .time {
|
||||
margin-top: 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#messageListChatHome p {
|
||||
margin: 0;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
#inputMessageDiv {
|
||||
position: absolute;
|
||||
width: 348px;
|
||||
height: 50px;
|
||||
background-color: #0B0B0B;
|
||||
bottom: 10px;
|
||||
color: white;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#inputMessageDiv p {
|
||||
margin: 0;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
font-family: "Poppins";
|
||||
font-weight: bolder;
|
||||
font-size: 35px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
#inputMessage{
|
||||
user-select: text;
|
||||
background-color: #0f0f0f;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
resize: none;
|
||||
border: 0;
|
||||
color: white;
|
||||
padding: 15px 5% 15px 5%;
|
||||
}
|
||||
|
||||
#inputMessage:focus {
|
||||
outline: none;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
||||
#messageListChatHome {
|
||||
--sb-thumb-color: #080808;
|
||||
--sb-size: 5px;
|
||||
}
|
||||
|
||||
#messageListChatHome::-webkit-scrollbar {
|
||||
width: var(--sb-size)
|
||||
}
|
||||
|
||||
#messageListChatHome::-webkit-scrollbar-track {
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
#messageListChatHome::-webkit-scrollbar-thumb {
|
||||
background: var(--sb-thumb-color);
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
@supports not selector(::-webkit-scrollbar) {
|
||||
#messageListChatHome {
|
||||
scrollbar-color: var(--sb-thumb-color)
|
||||
var(--sb-track-color);
|
||||
}
|
||||
}
|
||||
|
199
docker-compose/requirements/nginx/static/style/loginPage.css
Normal file
@ -0,0 +1,199 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* loginPage.css :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: marvin <marvin@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/08/07 17:15:28 by edbernar #+# #+# */
|
||||
/* Updated: 2024/08/13 13:30:43 by marvin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@keyframes anim1 {
|
||||
0% {
|
||||
transform: translate(0, -150%);
|
||||
}
|
||||
100% {
|
||||
transform: translateY(0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes anim2 {
|
||||
0% {
|
||||
backdrop-filter: blur(0px);
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
100% {
|
||||
backdrop-filter: blur(5px);
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
}
|
||||
|
||||
#mainText{
|
||||
color: white;
|
||||
font-size: 50px;
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
margin-top: 125px;
|
||||
margin-bottom: 50px;
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#inputLogin{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 15px;
|
||||
padding-left: 3%;
|
||||
padding-right: 3%;
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
height: 45px;
|
||||
width: 94%;
|
||||
}
|
||||
|
||||
#inputPassword{
|
||||
margin-top: 2px;
|
||||
margin-bottom: 25px;
|
||||
padding-left: 3%;
|
||||
padding-right: 3%;
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
height: 45px;
|
||||
width: 94%;
|
||||
}
|
||||
|
||||
#styleButton{
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
height: 45px;
|
||||
width: 100%;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
#styleButton:hover{
|
||||
background-color: #b4b4b4;
|
||||
}
|
||||
|
||||
#styleButton42{
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
height: 45px;
|
||||
width: 100%;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
#styleButton42:hover{
|
||||
background-color: #b4b4b4;
|
||||
}
|
||||
|
||||
#createAccText{
|
||||
margin-left: 10px;
|
||||
cursor: pointer;
|
||||
border-bottom: white 1px solid;
|
||||
transition: color 0.3s ease;
|
||||
|
||||
}
|
||||
|
||||
#createAccText:hover{
|
||||
color: rgb(165, 165, 165);
|
||||
}
|
||||
|
||||
#orText{
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#newAccDiv{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#loginDiv {
|
||||
inset: 0;
|
||||
padding-block: 7rem;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
z-index: 500;
|
||||
animation: anim1 0.4s;
|
||||
font-family: "Poppins", sans-serif;
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#globalBg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
position: absolute;
|
||||
z-index: 499;
|
||||
top: 0;
|
||||
left: 0;
|
||||
backdrop-filter: blur(5px);
|
||||
animation: anim2 0.5s;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#threeDiv {
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#connectDiv {
|
||||
width: 45%;
|
||||
height: 100%;
|
||||
background-color: #020202;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#connectDiv #divCenter {
|
||||
width: 45%;
|
||||
height: 50%;
|
||||
margin-left: 27.5%;
|
||||
}
|
||||
|
||||
#connectDiv form {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#connectDiv form p{
|
||||
color: white;
|
||||
}
|
||||
|
||||
#connectDiv #button {
|
||||
width: 20%;
|
||||
height: 20px;
|
||||
margin: 10px;
|
||||
cursor: pointer;
|
||||
background-color: white;
|
||||
text-align: center;
|
||||
}
|
BIN
docker-compose/requirements/nginx/static/style/madegryc.png
Normal file
After Width: | Height: | Size: 6.1 MiB |
104
docker-compose/requirements/nginx/static/style/notification.css
Normal file
@ -0,0 +1,104 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* notification.css :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: edbernar <edbernar@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/08/04 23:44:17 by edbernar #+# #+# */
|
||||
/* Updated: 2024/08/07 18:04:17 by edbernar ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
||||
@keyframes slideIn {
|
||||
0% {
|
||||
transform: translateX(100%);
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes slideOut {
|
||||
0% {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
transform: translateX(100%);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#divNotification {
|
||||
position: fixed;
|
||||
overflow: hidden;
|
||||
font-family: 'Poppins';
|
||||
top: 0px;
|
||||
right: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
#divNotification .notification {
|
||||
background-color: #222222;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: white;
|
||||
margin-top: 10px;
|
||||
min-height: 100px;
|
||||
min-width: 350px;
|
||||
max-width: 350px;
|
||||
animation: slideIn 0.1s;
|
||||
}
|
||||
|
||||
#divNotification .header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#divNotification .header h1 {
|
||||
font-size: 1.2em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#divNotification .header img {
|
||||
color: white;
|
||||
border: none;
|
||||
margin-left: 9px;
|
||||
margin-top: 9px;
|
||||
object-fit: cover;
|
||||
object-position: 50% 0;
|
||||
}
|
||||
|
||||
#divNotification .content {
|
||||
margin: 0;
|
||||
width: 95%;
|
||||
padding: 2.5%;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
#divNotification .content p {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#divNotification .footer {
|
||||
text-align: center;
|
||||
background-color: #333333;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
#divNotification .loadBar {
|
||||
margin-top: auto;
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
/* position: fixed; */
|
||||
}
|
||||
|
||||
.progress {
|
||||
transition: width 0.1s;
|
||||
}
|
BIN
docker-compose/requirements/nginx/static/style/tomoron.png
Normal file
After Width: | Height: | Size: 4.9 MiB |