style: all files now match prettier conf

This commit is contained in:
Ravinou 2023-09-10 15:58:08 +02:00
parent 8198c5462b
commit ddc5229136
No known key found for this signature in database
GPG key ID: EEEE670C40F6A4D7
6 changed files with 230 additions and 198 deletions

View file

@ -3,7 +3,9 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); box-shadow:
0 1px 3px rgba(0, 0, 0, 0.12),
0 1px 2px rgba(0, 0, 0, 0.24);
width: auto; width: auto;
max-height: 65px; max-height: 65px;
margin: 20px 0px 0px 0px; margin: 20px 0px 0px 0px;
@ -29,7 +31,9 @@
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); box-shadow:
0 1px 3px rgba(0, 0, 0, 0.12),
0 1px 2px rgba(0, 0, 0, 0.24);
width: auto; width: auto;
max-height: 200px; max-height: 200px;
margin: 20px 0px 0px 0px; margin: 20px 0px 0px 0px;
@ -183,7 +187,9 @@
margin: 0px 0 0 20px; margin: 0px 0 0 20px;
opacity: 1; opacity: 1;
transition: 0.5s opacity; transition: 0.5s opacity;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); box-shadow:
0 3px 6px rgba(0, 0, 0, 0.16),
0 3px 6px rgba(0, 0, 0, 0.23);
overflow: auto; overflow: auto;
} }

View file

@ -1,23 +1,21 @@
//Lib //Lib
import classes from "./Header.module.css"; import classes from './Header.module.css';
//Components //Components
import Nav from "./Nav/Nav"; import Nav from './Nav/Nav';
function Header() { function Header() {
return ( return (
<header className={classes.Header}> <header className={classes.Header}>
<div className={[classes.flex, 'container'].join(' ')}> <div className={[classes.flex, 'container'].join(' ')}>
<div className={classes.logo}> <div className={classes.logo}>BorgWarehouse</div>
BorgWarehouse
</div>
<nav> <nav>
<Nav /> <Nav />
</nav> </nav>
</div> </div>
</header> </header>
) );
} }
export default Header; export default Header;

View file

@ -1,7 +1,9 @@
.Header { .Header {
width: 100%; width: 100%;
background: #111827; background: #111827;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); box-shadow:
0 3px 6px rgba(0, 0, 0, 0.16),
0 3px 6px rgba(0, 0, 0, 0.23);
height: 50px; height: 50px;
color: white; color: white;
display: flex; display: flex;

View file

@ -51,7 +51,9 @@
opacity: 0; opacity: 0;
transform: scale(1); transform: scale(1);
pointer-events: none; pointer-events: none;
transition: opacity 0.3s 0.1s, transform 0.2s 0.1s; transition:
opacity 0.3s 0.1s,
transform 0.2s 0.1s;
} }
/* Span */ /* Span */
@ -75,7 +77,9 @@
height: 14px; height: 14px;
background-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38); background-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38);
vertical-align: top; vertical-align: top;
transition: background-color 0.2s, opacity 0.2s; transition:
background-color 0.2s,
opacity 0.2s;
} }
/* Thumb */ /* Thumb */
@ -88,9 +92,13 @@
width: 20px; width: 20px;
height: 20px; height: 20px;
background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255)); background-color: rgb(var(--pure-material-onprimary-rgb, 255, 255, 255));
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), box-shadow:
0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); 0 3px 1px -2px rgba(0, 0, 0, 0.2),
transition: background-color 0.2s, transform 0.2s; 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12);
transition:
background-color 0.2s,
transform 0.2s;
} }
/* Checked */ /* Checked */
@ -112,7 +120,9 @@
.pureMaterialSwitch > input:active { .pureMaterialSwitch > input:active {
opacity: 1; opacity: 1;
transform: scale(0); transform: scale(0);
transition: transform 0s, opacity 0s; transition:
transform 0s,
opacity 0s;
} }
.pureMaterialSwitch > input:active + span::before { .pureMaterialSwitch > input:active + span::before {

View file

@ -1,6 +1,8 @@
.container { .container {
margin: 40px 20px 20px 5px; margin: 40px 20px 20px 5px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); box-shadow:
0 1px 3px rgba(0, 0, 0, 0.12),
0 1px 2px rgba(0, 0, 0, 0.24);
border-radius: 5px; border-radius: 5px;
text-align: left; text-align: left;
padding: 30px 70px; padding: 30px 70px;
@ -54,8 +56,15 @@ h1 .icon {
.code { .code {
background-color: #111827; background-color: #111827;
color: #f8f8f2; color: #f8f8f2;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, font-family:
liberation mono, courier new, monospace; ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
liberation mono,
courier new,
monospace;
padding: 5px 15px; padding: 5px 15px;
border-radius: 5px; border-radius: 5px;
display: inline-block; display: inline-block;
@ -91,8 +100,15 @@ h1 .icon {
.verifyOrange li .sshPublicKey { .verifyOrange li .sshPublicKey {
background-color: #282a36; background-color: #282a36;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, font-family:
liberation mono, courier new, monospace; ui-monospace,
SFMono-Regular,
Menlo,
Monaco,
Consolas,
liberation mono,
courier new,
monospace;
border-radius: 5px; border-radius: 5px;
padding: 5px; padding: 5px;
} }

View file

@ -1,268 +1,268 @@
.modaleWrapper { .modaleWrapper {
position: fixed; position: fixed;
left: 50%; left: 50%;
top: 50%; top: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
width: 100%; width: 100%;
height: 100%; height: 100%;
margin: 50px 0px 0px 70px; margin: 50px 0px 0px 70px;
} }
.modale { .modale {
position: fixed; position: fixed;
top: 10%; top: 10%;
width: 1000px; width: 1000px;
height: auto; height: auto;
max-width: 75%; max-width: 75%;
max-height: 85%; max-height: 85%;
background: #fff; background: #fff;
padding: 20px 20px 20px; padding: 20px 20px 20px;
overflow: auto; overflow: auto;
border-radius: 10px; border-radius: 10px;
box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4); box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
margin: 0 auto; margin: 0 auto;
animation: append-animate 0.3s linear; animation: append-animate 0.3s linear;
} }
@keyframes append-animate { @keyframes append-animate {
from { from {
transform: scale(0); transform: scale(0);
opacity: 0; opacity: 0;
} }
to { to {
transform: scale(1); transform: scale(1);
opacity: 1; opacity: 1;
} }
} }
.close { .close {
cursor: pointer; cursor: pointer;
margin-left: 95%; margin-left: 95%;
color: #494b7a; color: #494b7a;
} }
.close :hover { .close :hover {
color: #aa60ff; color: #aa60ff;
} }
.repoManageForm { .repoManageForm {
margin: auto; margin: auto;
width: 80%; width: 80%;
padding: 15px 30px 30px 30px; padding: 15px 30px 30px 30px;
border-radius: 5px; border-radius: 5px;
text-align: left; text-align: left;
} }
.formWrapper { .formWrapper {
text-align: center; text-align: center;
margin: auto; margin: auto;
width: 100%; width: 100%;
height: auto; height: auto;
color: #494b7a; color: #494b7a;
} }
.repoManageForm label { .repoManageForm label {
display: block; display: block;
margin-bottom: 8px; margin-bottom: 8px;
text-align: center; text-align: center;
margin-top: 20px; margin-top: 20px;
color: #494b7a; color: #494b7a;
} }
.repoManageForm input, .repoManageForm input,
.repoManageForm textarea, .repoManageForm textarea,
.repoManageForm select { .repoManageForm select {
border: 1px solid #6d4aff21; border: 1px solid #6d4aff21;
font-size: 16px; font-size: 16px;
height: auto; height: auto;
margin: 0; margin: 0;
margin-bottom: 0px; margin-bottom: 0px;
outline: 0; outline: 0;
padding: 15px; padding: 15px;
width: 100%; width: 100%;
background-color: #f5f5f5; background-color: #f5f5f5;
border-radius: 5px; border-radius: 5px;
/* color: #1b1340; */ /* color: #1b1340; */
color: #494b7a; color: #494b7a;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
} }
.repoManageForm textarea { .repoManageForm textarea {
resize: vertical; resize: vertical;
} }
.repoManageForm textarea:focus, .repoManageForm textarea:focus,
.repoManageForm input:focus, .repoManageForm input:focus,
.repoManageForm select:focus { .repoManageForm select:focus {
outline: 1px solid #6d4aff; outline: 1px solid #6d4aff;
box-shadow: 0 0 10px 3px rgba(110, 74, 255, 0.605); box-shadow: 0 0 10px 3px rgba(110, 74, 255, 0.605);
} }
.repoManageForm .invalid { .repoManageForm .invalid {
background: #f3c7c7; background: #f3c7c7;
border: 1px solid #e45454; border: 1px solid #e45454;
outline: 1px solid #ff4a4a; outline: 1px solid #ff4a4a;
} }
.repoManageForm .invalid:focus { .repoManageForm .invalid:focus {
background: #f3c7c7; background: #f3c7c7;
border: 1px solid #e45454; border: 1px solid #e45454;
outline: 1px solid #ff4a4a; outline: 1px solid #ff4a4a;
box-shadow: 0 0 10px 3px rgba(255, 74, 74, 0.605); box-shadow: 0 0 10px 3px rgba(255, 74, 74, 0.605);
} }
.repoManageForm button { .repoManageForm button {
display: block; display: block;
margin: 15px auto; margin: 15px auto;
} }
.repoManageForm button:hover { .repoManageForm button:hover {
display: block; display: block;
margin: 15px auto; margin: 15px auto;
} }
.errorMessage { .errorMessage {
color: red; color: red;
display: block; display: block;
margin-top: 3px; margin-top: 3px;
} }
.lanCommandWrapper { .lanCommandWrapper {
display: flex; display: flex;
margin-top: 20px; margin-top: 20px;
color: #494b7a; color: #494b7a;
} }
.lanCommandWrapper label { .lanCommandWrapper label {
margin: 0; margin: 0;
} }
.lanCommandWrapper input[type='checkbox'] { .lanCommandWrapper input[type='checkbox'] {
width: auto; width: auto;
margin-right: 8px; margin-right: 8px;
cursor: pointer; cursor: pointer;
accent-color: #6d4aff; accent-color: #6d4aff;
} }
.lanCommandWrapper input[type='checkbox']:focus { .lanCommandWrapper input[type='checkbox']:focus {
outline: 0; outline: 0;
box-shadow: none; box-shadow: none;
accent-color: #6d4aff; accent-color: #6d4aff;
} }
/* DELETE DIALOG */ /* DELETE DIALOG */
.deleteDialogWrapper { .deleteDialogWrapper {
text-align: center; text-align: center;
margin: auto; margin: auto;
width: 80%; width: 80%;
height: 100%; height: 100%;
max-height: 590px; max-height: 590px;
color: #111827; color: #111827;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
} }
.deleteDialogMessage { .deleteDialogMessage {
background-color: #ea1313; background-color: #ea1313;
color: #fff; color: #fff;
font-weight: 500; font-weight: 500;
border-radius: 5px; border-radius: 5px;
padding: 15px; padding: 15px;
margin-top: 15px; margin-top: 15px;
margin-bottom: 15px; margin-bottom: 15px;
font-size: 1.1em; font-size: 1.1em;
} }
.cancelButton { .cancelButton {
border: 0; border: 0;
padding: 10px 15px; padding: 10px 15px;
background-color: #c1c1c1; background-color: #c1c1c1;
color: white; color: white;
margin: 5px; margin: 5px;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-size: 1em; font-size: 1em;
} }
.cancelButton:hover { .cancelButton:hover {
border: 0; border: 0;
padding: 10px 15px; padding: 10px 15px;
background-color: #9a9a9a; background-color: #9a9a9a;
color: white; color: white;
margin: 5px; margin: 5px;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-size: 1em; font-size: 1em;
} }
.cancelButton:active { .cancelButton:active {
border: 0; border: 0;
padding: 10px 15px; padding: 10px 15px;
background-color: #9a9a9a; background-color: #9a9a9a;
color: white; color: white;
margin: 5px; margin: 5px;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-size: 1em; font-size: 1em;
transform: scale(0.9); transform: scale(0.9);
} }
.deleteButton { .deleteButton {
border: 0; border: 0;
padding: 10px 15px; padding: 10px 15px;
background-color: #ff0000; background-color: #ff0000;
color: white; color: white;
margin: 5px; margin: 5px;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-size: 1em; font-size: 1em;
} }
.deleteButton:hover { .deleteButton:hover {
border: 0; border: 0;
padding: 10px 15px; padding: 10px 15px;
background-color: #ff4b4b; background-color: #ff4b4b;
color: white; color: white;
margin: 5px; margin: 5px;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-size: 1em; font-size: 1em;
} }
.deleteButton:active { .deleteButton:active {
border: 0; border: 0;
padding: 10px 15px; padding: 10px 15px;
background-color: #ff4b4b; background-color: #ff4b4b;
color: white; color: white;
margin: 5px; margin: 5px;
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
font-size: 1em; font-size: 1em;
transform: scale(0.9); transform: scale(0.9);
} }
.littleDeleteButton { .littleDeleteButton {
border: none; border: none;
font-weight: 300; font-weight: 300;
color: red; color: red;
text-decoration: underline; text-decoration: underline;
background: none; background: none;
cursor: pointer; cursor: pointer;
} }
.selectAlert { .selectAlert {
margin: auto auto 35px auto; margin: auto auto 35px auto;
max-width: 160px; max-width: 160px;
} }