2021-06-25 13:55:49 +00:00
|
|
|
@import "vars.scss";
|
2021-09-29 16:08:37 +00:00
|
|
|
@import "multiselect.scss";
|
2021-06-25 13:55:49 +00:00
|
|
|
@import "node_modules/bootstrap/scss/bootstrap";
|
|
|
|
|
|
|
|
#app {
|
2021-10-08 12:15:54 +00:00
|
|
|
font-family: BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji;
|
2021-06-25 13:55:49 +00:00
|
|
|
}
|
|
|
|
|
2021-08-08 13:42:37 +00:00
|
|
|
h1 {
|
2021-08-10 12:23:15 +00:00
|
|
|
font-size: 32px;
|
2021-08-08 13:42:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 26px;
|
|
|
|
}
|
|
|
|
|
2021-10-02 14:48:27 +00:00
|
|
|
textarea.form-control {
|
|
|
|
border-radius: 19px;
|
|
|
|
}
|
|
|
|
|
2021-08-08 13:03:10 +00:00
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
2021-08-24 15:38:25 +00:00
|
|
|
background: #ccc;
|
2021-08-08 13:03:10 +00:00
|
|
|
border-radius: 20px;
|
|
|
|
}
|
|
|
|
|
2021-08-08 05:47:29 +00:00
|
|
|
.modal {
|
|
|
|
backdrop-filter: blur(3px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-content {
|
|
|
|
border-radius: 1rem;
|
2021-08-24 15:38:25 +00:00
|
|
|
box-shadow: 0 15px 70px rgba(0, 0, 0, 0.1);
|
2021-08-08 05:47:29 +00:00
|
|
|
|
|
|
|
.dark & {
|
|
|
|
box-shadow: 0 15px 70px rgb(0 0 0);
|
|
|
|
background-color: $dark-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.VuePagination__count {
|
|
|
|
font-size: 13px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-06-25 13:55:49 +00:00
|
|
|
.shadow-box {
|
2021-08-08 13:03:10 +00:00
|
|
|
//overflow: hidden; // Forget why add this, but multiple select hide by this
|
2021-08-24 15:38:25 +00:00
|
|
|
box-shadow: 0 15px 70px rgba(0, 0, 0, 0.1);
|
2021-06-25 13:55:49 +00:00
|
|
|
padding: 10px;
|
2021-07-13 04:16:11 +00:00
|
|
|
border-radius: 10px;
|
|
|
|
|
2021-06-25 13:55:49 +00:00
|
|
|
&.big-padding {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-primary {
|
2021-07-13 04:16:11 +00:00
|
|
|
color: white;
|
2021-06-25 13:55:49 +00:00
|
|
|
|
2021-07-13 04:16:11 +00:00
|
|
|
&:hover, &:active, &:focus, &.active {
|
|
|
|
color: white;
|
2021-06-25 13:55:49 +00:00
|
|
|
background-color: $highlight;
|
|
|
|
border-color: $highlight;
|
|
|
|
}
|
|
|
|
|
2021-08-08 05:47:29 +00:00
|
|
|
.dark & {
|
|
|
|
color: $dark-font-color2;
|
|
|
|
}
|
2021-06-29 08:06:20 +00:00
|
|
|
}
|
2021-06-25 19:03:06 +00:00
|
|
|
|
2021-09-03 04:05:49 +00:00
|
|
|
.btn-warning {
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
&:hover, &:active, &:focus, &.active {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-21 11:50:22 +00:00
|
|
|
.btn-info {
|
|
|
|
color: white;
|
2021-08-08 05:47:29 +00:00
|
|
|
|
2021-08-21 11:50:22 +00:00
|
|
|
&:hover, &:active, &:focus, &.active {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
2021-08-08 05:47:29 +00:00
|
|
|
|
2022-03-10 13:34:30 +00:00
|
|
|
.btn-dark {
|
|
|
|
background-color: #161B22;
|
|
|
|
}
|
|
|
|
|
2021-08-21 19:12:44 +00:00
|
|
|
@media (max-width: 550px) {
|
2021-08-23 18:02:38 +00:00
|
|
|
.table-shadow-box {
|
2021-08-22 23:22:55 +00:00
|
|
|
padding: 10px !important;
|
|
|
|
|
2021-08-23 18:02:38 +00:00
|
|
|
thead {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-08-22 23:22:55 +00:00
|
|
|
|
2021-08-24 15:38:25 +00:00
|
|
|
tbody {
|
2021-08-23 18:02:38 +00:00
|
|
|
.shadow-box {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
margin-top: 0 !important;
|
2021-08-24 01:14:33 +00:00
|
|
|
padding: 4px 10px !important;
|
2021-08-23 18:02:38 +00:00
|
|
|
display: block;
|
2021-08-24 01:14:33 +00:00
|
|
|
margin-bottom: 6px;
|
2021-08-23 18:02:38 +00:00
|
|
|
|
2021-08-24 11:24:35 +00:00
|
|
|
td:first-child {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2021-08-24 14:27:26 +00:00
|
|
|
|
2021-08-24 11:24:35 +00:00
|
|
|
td:nth-child(-n+3) {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:last-child {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2021-08-23 18:02:38 +00:00
|
|
|
td {
|
|
|
|
border-bottom: 1px solid $dark-font-color;
|
|
|
|
display: block;
|
2021-08-24 01:14:33 +00:00
|
|
|
padding: 4px;
|
|
|
|
|
|
|
|
.badge {
|
2021-08-24 11:24:35 +00:00
|
|
|
margin: auto;
|
2021-08-24 01:14:33 +00:00
|
|
|
display: block;
|
2021-08-24 11:24:35 +00:00
|
|
|
width: 30%;
|
2021-08-24 01:14:33 +00:00
|
|
|
}
|
2021-08-23 18:02:38 +00:00
|
|
|
}
|
|
|
|
}
|
2021-08-22 23:22:55 +00:00
|
|
|
}
|
2021-08-21 19:12:44 +00:00
|
|
|
}
|
|
|
|
|
2021-08-08 05:47:29 +00:00
|
|
|
// Dark Theme override here
|
|
|
|
.dark {
|
2021-08-24 15:38:25 +00:00
|
|
|
background-color: #090c10;
|
2021-08-08 05:47:29 +00:00
|
|
|
color: $dark-font-color;
|
|
|
|
|
2022-03-18 04:39:48 +00:00
|
|
|
mark, .mark {
|
|
|
|
background-color: #b6ad86;
|
|
|
|
}
|
|
|
|
|
2021-08-29 18:22:49 +00:00
|
|
|
&::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb {
|
2021-08-08 13:03:10 +00:00
|
|
|
background: $dark-border-color;
|
|
|
|
}
|
|
|
|
|
2021-08-08 05:47:29 +00:00
|
|
|
.shadow-box {
|
2021-09-15 10:28:48 +00:00
|
|
|
&:not(.alert) {
|
|
|
|
background-color: $dark-bg;
|
|
|
|
}
|
2021-08-08 05:47:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-check-input {
|
|
|
|
background-color: $dark-bg2;
|
2022-01-27 17:40:03 +00:00
|
|
|
border-color: $dark-border-color;
|
2021-08-08 05:47:29 +00:00
|
|
|
}
|
|
|
|
|
2022-03-15 04:00:29 +00:00
|
|
|
.input-group-text {
|
|
|
|
background-color: #282f39;
|
|
|
|
border-color: $dark-border-color;
|
|
|
|
color: $dark-font-color;
|
|
|
|
}
|
|
|
|
|
2022-01-27 17:40:03 +00:00
|
|
|
.form-check-input:checked {
|
|
|
|
border-color: $primary; // Re-apply bootstrap border
|
|
|
|
}
|
2022-03-10 13:34:30 +00:00
|
|
|
|
2021-08-08 05:47:29 +00:00
|
|
|
.form-switch .form-check-input {
|
2021-09-09 12:45:58 +00:00
|
|
|
background-color: #232f3b;
|
2021-08-08 05:47:29 +00:00
|
|
|
}
|
|
|
|
|
2022-03-10 13:34:30 +00:00
|
|
|
a:not(.btn),
|
2021-08-08 05:47:29 +00:00
|
|
|
.table,
|
|
|
|
.nav-link {
|
|
|
|
color: $dark-font-color;
|
2021-08-21 11:50:22 +00:00
|
|
|
|
|
|
|
&.btn-info {
|
|
|
|
color: white;
|
|
|
|
}
|
2021-08-08 05:47:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-control,
|
|
|
|
.form-control:focus,
|
|
|
|
.form-select,
|
|
|
|
.form-select:focus {
|
|
|
|
color: $dark-font-color;
|
|
|
|
background-color: $dark-bg2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-control, .form-select {
|
|
|
|
border-color: $dark-border-color;
|
|
|
|
}
|
|
|
|
|
2021-09-30 16:09:43 +00:00
|
|
|
.form-control:disabled, .form-control[readonly] {
|
|
|
|
background-color: #232f3b;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2021-11-03 05:02:44 +00:00
|
|
|
.table-hover > tbody > tr:hover > * {
|
2021-08-24 15:38:25 +00:00
|
|
|
--bs-table-accent-bg: #070a10;
|
2021-08-08 05:47:29 +00:00
|
|
|
color: $dark-font-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
|
|
|
|
color: $dark-font-color2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-primary {
|
|
|
|
color: $dark-font-color2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-secondary {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2021-09-03 04:05:49 +00:00
|
|
|
.btn-warning {
|
|
|
|
color: $dark-font-color2;
|
|
|
|
|
|
|
|
&:hover, &:active, &:focus, &.active {
|
|
|
|
color: $dark-font-color2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-08 05:47:29 +00:00
|
|
|
.btn-close {
|
2021-08-09 16:16:13 +00:00
|
|
|
box-shadow: none;
|
2021-08-09 15:56:44 +00:00
|
|
|
filter: invert(1);
|
2021-08-09 16:16:13 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
2021-08-08 05:47:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header {
|
|
|
|
border-color: $dark-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-footer {
|
|
|
|
border-color: $dark-bg;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Pagination
|
|
|
|
.page-item.disabled .page-link {
|
|
|
|
background-color: $dark-bg;
|
|
|
|
border-color: $dark-border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-link {
|
|
|
|
background-color: $dark-bg;
|
|
|
|
border-color: $dark-border-color;
|
|
|
|
color: $dark-font-color;
|
|
|
|
}
|
2021-08-08 07:02:33 +00:00
|
|
|
|
2021-09-11 15:43:07 +00:00
|
|
|
.monitor-list {
|
|
|
|
.item {
|
|
|
|
&:hover {
|
|
|
|
background-color: $dark-bg2;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background-color: $dark-bg2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-21 19:12:44 +00:00
|
|
|
@media (max-width: 550px) {
|
2021-08-23 18:02:38 +00:00
|
|
|
.table-shadow-box {
|
|
|
|
tbody {
|
|
|
|
.shadow-box {
|
|
|
|
background-color: $dark-bg2;
|
2021-08-24 14:27:26 +00:00
|
|
|
|
|
|
|
td {
|
|
|
|
border-bottom: 1px solid $dark-border-color;
|
|
|
|
}
|
2021-08-23 18:02:38 +00:00
|
|
|
}
|
|
|
|
}
|
2021-08-21 19:12:44 +00:00
|
|
|
}
|
|
|
|
}
|
2021-09-21 09:24:46 +00:00
|
|
|
|
|
|
|
.alert {
|
|
|
|
&.bg-info,
|
|
|
|
&.bg-warning,
|
|
|
|
&.bg-danger,
|
|
|
|
&.bg-light {
|
|
|
|
color: $dark-font-color2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-08 05:47:29 +00:00
|
|
|
}
|
2021-08-19 18:37:59 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Transitions
|
|
|
|
*/
|
|
|
|
|
|
|
|
// page-change
|
|
|
|
.slide-fade-enter-active {
|
2021-08-24 15:38:25 +00:00
|
|
|
transition: all 0.2s $easing-in;
|
2021-08-19 18:37:59 +00:00
|
|
|
}
|
2021-08-24 15:38:25 +00:00
|
|
|
|
2021-08-19 18:37:59 +00:00
|
|
|
.slide-fade-leave-active {
|
2021-08-24 15:38:25 +00:00
|
|
|
transition: all 0.2s $easing-in;
|
2021-08-19 18:37:59 +00:00
|
|
|
}
|
2021-08-24 15:38:25 +00:00
|
|
|
|
2021-08-19 18:37:59 +00:00
|
|
|
.slide-fade-enter-from,
|
|
|
|
.slide-fade-leave-to {
|
|
|
|
transform: translateY(50px);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2021-09-11 15:43:07 +00:00
|
|
|
|
2021-09-13 11:21:39 +00:00
|
|
|
.slide-fade-right-enter-active {
|
|
|
|
transition: all 0.2s $easing-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slide-fade-right-leave-active {
|
|
|
|
transition: all 0.2s $easing-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slide-fade-right-enter-from,
|
|
|
|
.slide-fade-right-leave-to {
|
|
|
|
transform: translateX(50px);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2021-12-19 05:30:53 +00:00
|
|
|
.slide-fade-up-enter-active {
|
|
|
|
transition: all 0.2s $easing-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slide-fade-up-leave-active {
|
|
|
|
transition: all 0.2s $easing-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slide-fade-up-enter-from,
|
|
|
|
.slide-fade-up-leave-to {
|
|
|
|
transform: translateY(-50px);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2021-09-11 15:43:07 +00:00
|
|
|
.monitor-list {
|
|
|
|
&.scrollbar {
|
|
|
|
overflow-y: auto;
|
2022-03-22 13:37:04 +00:00
|
|
|
height: calc(100% - 65px);
|
2021-09-11 15:43:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.item {
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
2021-10-07 13:47:11 +00:00
|
|
|
padding: 13px 15px 10px 15px;
|
2021-09-11 15:43:07 +00:00
|
|
|
border-radius: 10px;
|
|
|
|
transition: all ease-in-out 0.15s;
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $highlight-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background-color: #cdf8f4;
|
|
|
|
}
|
2021-10-28 02:22:35 +00:00
|
|
|
.tags {
|
|
|
|
// Removes margin to line up tags list with uptime percentage
|
|
|
|
margin-left: -0.25rem;
|
2021-10-28 01:53:27 +00:00
|
|
|
}
|
2021-09-11 15:43:07 +00:00
|
|
|
}
|
|
|
|
}
|
2021-09-14 06:12:27 +00:00
|
|
|
|
|
|
|
.alert-success {
|
|
|
|
color: #122f21;
|
|
|
|
background-color: $primary;
|
|
|
|
border-color: $primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-info {
|
|
|
|
color: #055160;
|
|
|
|
background-color: #cff4fc;
|
|
|
|
border-color: #cff4fc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-danger {
|
|
|
|
color: #842029;
|
|
|
|
background-color: #f8d7da;
|
|
|
|
border-color: #f8d7da;
|
|
|
|
}
|
2021-09-14 06:55:45 +00:00
|
|
|
|
|
|
|
.btn-success {
|
|
|
|
color: #fff;
|
|
|
|
background-color: #4caf50;
|
|
|
|
border-color: #4caf50;
|
|
|
|
}
|
2021-09-14 15:27:11 +00:00
|
|
|
|
|
|
|
[contenteditable=true] {
|
2021-09-15 10:28:48 +00:00
|
|
|
transition: all $easing-in 0.2s;
|
2021-09-16 06:37:57 +00:00
|
|
|
background-color: rgba(239, 239, 239, 0.7);
|
|
|
|
border-radius: 8px;
|
2021-09-15 10:28:48 +00:00
|
|
|
|
2021-09-14 15:27:11 +00:00
|
|
|
&:focus {
|
|
|
|
outline: 0 solid #eee;
|
2021-09-16 06:37:57 +00:00
|
|
|
background-color: rgba(245, 245, 245, 0.9);
|
2021-09-15 06:34:30 +00:00
|
|
|
}
|
|
|
|
|
2021-09-16 06:37:57 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: rgba(239, 239, 239, 0.8);
|
|
|
|
}
|
2021-09-15 10:28:48 +00:00
|
|
|
|
2021-09-16 06:37:57 +00:00
|
|
|
.dark & {
|
|
|
|
background-color: rgba(239, 239, 239, 0.2);
|
2021-09-14 15:27:11 +00:00
|
|
|
}
|
|
|
|
|
2021-09-16 06:37:57 +00:00
|
|
|
/*
|
2021-09-14 15:27:11 +00:00
|
|
|
&::after {
|
|
|
|
margin-left: 5px;
|
|
|
|
content: "🖊️";
|
|
|
|
font-size: 13px;
|
|
|
|
color: #eee;
|
|
|
|
}
|
2021-09-16 06:37:57 +00:00
|
|
|
*/
|
|
|
|
|
2021-09-14 15:27:11 +00:00
|
|
|
}
|
2021-09-15 06:34:30 +00:00
|
|
|
|
|
|
|
.action {
|
|
|
|
transition: all $easing-in 0.2s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
transform: scale(1.2);
|
|
|
|
}
|
|
|
|
}
|
2021-09-15 10:28:48 +00:00
|
|
|
|
|
|
|
.vue-image-crop-upload .vicp-wrap {
|
|
|
|
border-radius: 10px !important;
|
|
|
|
}
|
2021-09-26 15:19:03 +00:00
|
|
|
|
2022-03-17 11:07:05 +00:00
|
|
|
.spinner {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
|
2021-09-26 15:19:03 +00:00
|
|
|
// Localization
|
|
|
|
|
2021-10-02 14:48:27 +00:00
|
|
|
@import "localization.scss";
|