mirror of
https://github.com/Ravinou/borgwarehouse
synced 2026-03-14 22:35:46 +01:00
182 lines
3.2 KiB
CSS
182 lines
3.2 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
src: url('/font/Inter/Inter-VariableFont_slnt,wght.ttf') format('truetype');
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Inter, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
/* Disable scrollbar for chrome */
|
|
::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
code {
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
|
|
}
|
|
|
|
.defaultButton {
|
|
border: 0;
|
|
padding: 10px 16px;
|
|
background-color: #6d4aff;
|
|
color: white;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
.defaultButton:hover {
|
|
background-color: #5a3de0;
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.defaultButton:active {
|
|
background-color: #4f31ce;
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
|
|
/* Pas de scale */
|
|
}
|
|
|
|
.defaultButton:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
transform: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* signIn */
|
|
|
|
.signInContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: calc(100vh - 100px);
|
|
animation: fadeIn 0.5s ease-out forwards;
|
|
opacity: 0;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.signInInput {
|
|
background: #262e49;
|
|
background-color: #262e49;
|
|
border: 1px solid #6d4aff21;
|
|
font-size: 16px;
|
|
height: auto;
|
|
margin: 0;
|
|
margin-bottom: 0px;
|
|
outline: 0;
|
|
padding: 15px;
|
|
width: 100%;
|
|
border-radius: 5px;
|
|
color: #d6d6d6;
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
|
|
}
|
|
|
|
.signInInput:focus {
|
|
outline: 1px solid #6d4aff;
|
|
box-shadow: 0 0 10px 3px rgba(110, 74, 255, 0.605);
|
|
}
|
|
|
|
.signInInput.invalid {
|
|
background: #f3c7c7;
|
|
border: 1px solid #e45454;
|
|
outline: 1px solid #ff4a4a;
|
|
}
|
|
|
|
.signInInput.invalid:focus {
|
|
background: #f3c7c7;
|
|
border: 1px solid #e45454;
|
|
outline: 1px solid #ff4a4a;
|
|
box-shadow: 0 0 10px 3px rgba(255, 74, 74, 0.605);
|
|
}
|
|
|
|
.signInButton {
|
|
width: 100%;
|
|
height: 40px;
|
|
padding: 10px;
|
|
background-color: #704dff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
font-size: 0.9em;
|
|
transition: background 0.2s ease-in-out;
|
|
}
|
|
|
|
.signInButton:hover {
|
|
background-color: #4f31ce;
|
|
}
|
|
|
|
.signInButton:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.signInButton:disabled {
|
|
opacity: 0.3;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.heart {
|
|
color: #6d4aff;
|
|
}
|
|
.heart::before {
|
|
content: '\f004';
|
|
}
|
|
|
|
/* Radio group and radio button */
|
|
.radio-group {
|
|
display: flex;
|
|
}
|
|
|
|
.radio-group input[type='radio']:checked + span::before {
|
|
background-color: #6d4aff;
|
|
box-shadow: inset white 0 0 0 2px;
|
|
}
|
|
.radio-group span::before {
|
|
border: 2px solid #6d4aff;
|
|
content: '';
|
|
display: flex;
|
|
height: 16px;
|
|
width: 16px;
|
|
margin: 0 5px;
|
|
border-radius: 50%;
|
|
box-sizing: border-box;
|
|
transition: all ease 0.2s;
|
|
box-shadow: inset white 0 0 0 10px;
|
|
}
|
|
|
|
.radio-group label {
|
|
margin: 0 8px 0 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.radio-group input[type='radio'] {
|
|
opacity: 0;
|
|
width: 0;
|
|
}
|
|
|
|
.radio-group span {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|