118 lines
2.0 KiB
SCSS
118 lines
2.0 KiB
SCSS
$primary-color: #eb6330;
|
|
$primary-color-light: hsl(16.36, 82.38%, 55.49%, 0.8);
|
|
$secondary-color: #465651;
|
|
$accent-color: #89969f;
|
|
$primary-bg-color: #0d0b0b;
|
|
$secondary-bg-color: #151719;
|
|
$secondary-bg-color-light: hsl(204, 11%, 12%, 1);
|
|
$secondary-bg-color-lighter: hsl(204, 11%, 15%, 1);
|
|
$accent-bg-color: #181a19;
|
|
$text-color: #f3efef;
|
|
|
|
html,
|
|
body {
|
|
height: 100vh;
|
|
max-width: 100vw;
|
|
margin: 0;
|
|
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
body {
|
|
background-color: $primary-bg-color;
|
|
color: $text-color;
|
|
align-items: center;
|
|
}
|
|
|
|
main {
|
|
height: 100%;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: 1000px;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
color: $text-color;
|
|
}
|
|
|
|
.route-active {
|
|
color: $primary-color !important;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: $secondary-bg-color;
|
|
position: relative;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.navbar > a {
|
|
margin: 0px 20px;
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
transition: all 100ms;
|
|
}
|
|
|
|
.navbar > a:hover {
|
|
background-color: $primary-color-light;
|
|
color: $text-color !important;
|
|
}
|
|
|
|
.db-connection {
|
|
position: absolute;
|
|
left: 0px;
|
|
padding: 8px 16px;
|
|
}
|
|
|
|
.btn-add-link {
|
|
width: 100%;
|
|
padding: 12px 0;
|
|
background-color: $secondary-bg-color;
|
|
text-align: center;
|
|
border-radius: 15px;
|
|
border: dashed $secondary-bg-color-lighter;
|
|
}
|
|
|
|
.btn-add-link:hover {
|
|
background-color: $secondary-bg-color-light;
|
|
}
|
|
|
|
input,select {
|
|
background-color: $secondary-bg-color-light;
|
|
border: none;
|
|
border-radius: 3px;
|
|
padding: 5px 10px;
|
|
font-size: 0.9em;
|
|
color: $text-color;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
input[type=password] {
|
|
margin-top: 60px;
|
|
}
|
|
|
|
input[type=submit]:hover {
|
|
background-color: $secondary-bg-color-lighter;
|
|
cursor: pointer;
|
|
}
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
margin: 40px auto 0 auto;
|
|
width: 400px;
|
|
}
|
|
|
|
.error {
|
|
color: red;
|
|
text-align: center;
|
|
font-size: 1.2em;
|
|
}
|