225 lines
3.3 KiB
SCSS
225 lines
3.3 KiB
SCSS
$white: #ffffff;
|
|
|
|
$theme-colors: (
|
|
'navBg': #f5f6f7,
|
|
'navText': #47516b,
|
|
'navActiveBg': #3072c7,
|
|
'light': #f1c3a2,
|
|
'dark': #07070b,
|
|
'primary': #3072c7,
|
|
'secondary': #a2c7e7,
|
|
'header': #d6c52e,
|
|
'info': #abca41,
|
|
'success': #1eaa62,
|
|
'warning': #e5cc1d,
|
|
'danger': #f57070,
|
|
);
|
|
|
|
$pagination-active-bg: map-get($theme-colors, 'secondary');
|
|
$nav-pills-link-active-bg: map-get($theme-colors, 'navActiveBg');
|
|
|
|
@import '~bootstrap/scss/bootstrap';
|
|
@import '~bootstrap-vue-next/dist/bootstrap-vue-next.css';
|
|
@import '~@fortawesome/fontawesome-free/css/all.css';
|
|
@import '@fontsource/ubuntu/300.css';
|
|
|
|
body {
|
|
font-family: 'Ubuntu';
|
|
}
|
|
|
|
$light-grey: #f5f6f7;
|
|
|
|
#app-name {
|
|
padding-left: 8px;
|
|
}
|
|
|
|
#login-form {
|
|
background: linear-gradient(-45deg, #f1f1f1 50%, #e1e1e1 100%);
|
|
|
|
.card {
|
|
background: linear-gradient(-45deg, #f1f1f1 50%, #e1e1e1 100%);
|
|
}
|
|
|
|
color: #47516b;
|
|
}
|
|
|
|
.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, 'navBg');
|
|
|
|
a:not(.active) {
|
|
color: map-get($theme-colors, 'navText');
|
|
}
|
|
|
|
i {
|
|
width: 20px;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.stats {
|
|
padding: 20px;
|
|
background: $light-grey;
|
|
border-radius: 10px;
|
|
transition:
|
|
transform 0.2s,
|
|
box-shadow 0.2s;
|
|
|
|
&:hover {
|
|
box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
canvas {
|
|
margin: auto;
|
|
}
|
|
}
|
|
|
|
.stats th,
|
|
.stats td {
|
|
background: $light-grey;
|
|
}
|
|
|
|
.crud {
|
|
&-list {
|
|
width: 100%;
|
|
|
|
th,
|
|
td {
|
|
vertical-align: middle;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
transition: background 0.5s;
|
|
}
|
|
|
|
tr {
|
|
td:first-child,
|
|
th:first-child {
|
|
padding-left: 1rem;
|
|
}
|
|
|
|
td:last-child,
|
|
th:last-child {
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
&:hover td {
|
|
background: $light-grey;
|
|
}
|
|
}
|
|
|
|
thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
#transaction {
|
|
.modal-body {
|
|
padding: 0;
|
|
}
|
|
|
|
.table {
|
|
width: 100%;
|
|
|
|
th,
|
|
td {
|
|
vertical-align: middle;
|
|
padding-top: 0.8rem;
|
|
padding-bottom: 0.8rem;
|
|
}
|
|
|
|
th {
|
|
padding-left: 0.8rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
#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);
|
|
overflow: scroll;
|
|
}
|
|
}
|
|
|
|
#body {
|
|
width: calc(100vw - $nav-size-sm);
|
|
}
|
|
}
|
|
|
|
.header {
|
|
background-image: linear-gradient(45deg, #fafafa 25%, #f5f6f7 25%, #f5f6f7 50%, #fafafa 50%, #fafafa 75%, #f5f6f7 75%, #f5f6f7 100%);
|
|
background-size: 56.57px 56.57px;
|
|
color: #47516b;
|
|
}
|