166 lines
2.6 KiB
SCSS
166 lines
2.6 KiB
SCSS
$white: #ffffff;
|
|
|
|
$theme-colors: (
|
|
"light": #bfecf8,
|
|
"dark": #07070b,
|
|
"primary": #293e5b,
|
|
"secondary": #4e76ac,
|
|
"info": #abca41,
|
|
"success": #1eaa62,
|
|
"warning": #e5cc1d,
|
|
"danger": #f57070,
|
|
);
|
|
|
|
$pagination-active-bg: map-get($theme-colors, 'secondary');
|
|
$nav-pills-link-active-bg: darken(map-get($theme-colors, 'primary'), 5%);
|
|
|
|
@import "~bootstrap/scss/bootstrap";
|
|
@import "~bootstrap-vue-next/dist/bootstrap-vue-next.css";
|
|
@import "~@fortawesome/fontawesome-free/css/all.css";
|
|
|
|
$light-grey: #e9ecef;
|
|
|
|
#app-name {
|
|
padding-left: 8px;
|
|
}
|
|
|
|
#login-form {
|
|
background: linear-gradient(-45deg, map-get($theme-colors, 'primary') 50%, map-get($theme-colors, 'secondary') 100%);
|
|
|
|
.card {
|
|
background: linear-gradient(-45deg, darken(map-get($theme-colors, 'primary'), 10%) 50%, map-get($theme-colors, 'secondary') 100%);
|
|
}
|
|
}
|
|
|
|
* {
|
|
overscroll-behavior: contain !important;
|
|
}
|
|
|
|
.cursor {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#app, main {
|
|
min-height: 100vh;
|
|
max-height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
$nav-size: 300px;
|
|
$nav-size-sm: 50px;
|
|
|
|
#nav {
|
|
width: $nav-size;
|
|
background: map-get($theme-colors, 'primary');
|
|
|
|
i {
|
|
width: 20px;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.stats {
|
|
padding: 20px;
|
|
background: $light-grey;
|
|
border-radius: 10px;
|
|
transition: transform .2s, box-shadow .2s;
|
|
|
|
&:hover {
|
|
box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
|
|
}
|
|
}
|
|
|
|
.stats th, .stats td {
|
|
background: $light-grey;
|
|
}
|
|
|
|
.crud {
|
|
&-list {
|
|
width: calc(100vw - $nav-size - 30px);
|
|
padding: 20px;
|
|
background: $light-grey;
|
|
border-radius: 10px;
|
|
|
|
margin-left: 15px;
|
|
margin-right: 15px;
|
|
|
|
th, td {
|
|
background: $light-grey;
|
|
}
|
|
|
|
thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
#body {
|
|
width: calc(100vw - $nav-size);
|
|
max-height: 100vh;
|
|
overflow: scroll;
|
|
}
|
|
|
|
#collabora {
|
|
width: 100%;
|
|
height: calc(100vh - 10px);
|
|
}
|
|
|
|
.checkbox {
|
|
input {
|
|
position: absolute;
|
|
top: -30px;
|
|
left: -30px;
|
|
}
|
|
|
|
.form-check {
|
|
padding-left: 0;
|
|
}
|
|
|
|
&--unchecked label {
|
|
text-decoration-line: line-through;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 980px) {
|
|
#collabora {
|
|
height: calc(100vh - 110px);
|
|
}
|
|
|
|
#app-name {
|
|
display: none;
|
|
}
|
|
|
|
#nav {
|
|
width: $nav-size-sm;
|
|
padding-left: 0 !important;
|
|
padding-right: 0 !important;
|
|
|
|
.nav-link {
|
|
width: $nav-size-sm;
|
|
border-radius: 0;
|
|
text-align: center;
|
|
|
|
a {
|
|
padding: 4px 0;
|
|
}
|
|
}
|
|
|
|
.nav-item-label {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.crud {
|
|
&-list {
|
|
width: calc(100vw - $nav-size-sm - 30px);
|
|
overflow: scroll;
|
|
}
|
|
}
|
|
|
|
#body {
|
|
width: calc(100vw - $nav-size-sm);
|
|
}
|
|
}
|
|
|