frequi_origin/src/styles/_styles_ovw.scss

238 lines
4.8 KiB
SCSS
Raw Normal View History

2020-07-17 14:43:58 +00:00
// global main style
2020-06-05 06:08:15 +00:00
2020-12-29 15:17:05 +00:00
.logo-svg {
background-color: #000000;
}
2021-09-04 09:20:55 +00:00
.text-profit {
color: $color-profit;
}
2022-12-04 16:14:36 +00:00
2021-09-04 09:20:55 +00:00
.text-loss {
color: $color-loss;
}
.v-select * {
2023-05-06 15:17:52 +00:00
font-size: 0.8rem !important;
}
2022-11-20 07:35:18 +00:00
.modal.show {
// TODO: modal bootstrap fix (???)
display: block;
}
2022-11-20 10:12:07 +00:00
.btn-primary {
2023-05-04 17:53:32 +00:00
color: #ffffff !important;
2022-11-20 10:12:07 +00:00
}
.text-bg-primary {
color: #ffffff !important;
}
2023-04-24 09:28:52 +00:00
.card {
padding: 0px;
}
2023-05-06 15:17:52 +00:00
.vs__open-indicator {
transform: none !important;
}
[data-theme="dark"] {
2022-03-05 16:33:42 +00:00
$bg-dark: rgb(18, 18, 18);
$bg-darker: darken($bg-dark, 5%);
$fg-color: #dedede;
2020-12-29 09:38:11 +00:00
2022-12-04 16:14:36 +00:00
background-color: darken($bg-dark, 5%);
color: $fg-color !important;
2022-12-04 16:14:36 +00:00
body {
background: $bg-darker;
color: $fg-color;
}
2022-12-04 16:14:36 +00:00
.card {
2020-12-29 15:17:05 +00:00
border-color: lighten($bg-dark, 10%);
2021-03-19 07:43:32 +00:00
background-color: $bg-dark;
}
2022-12-04 16:14:36 +00:00
.card-body {
background: $bg-dark;
color: $fg-color;
}
2022-12-04 16:14:36 +00:00
.card-header {
background: lighten($bg-dark, 5%);
color: $fg-color;
}
2022-11-26 16:25:20 +00:00
.list-group-item {
color: $fg-color;
background: $bg-dark;
}
2022-12-04 16:14:36 +00:00
// .custom-select {
// color: $fg-color;
// // background: $bg-dark;
// }
2020-12-28 19:54:15 +00:00
.nav-tabs {
border-bottom: 1px solid lighten($bg-dark, 20%);
2022-12-04 16:14:36 +00:00
.nav-link {
2020-12-28 19:54:15 +00:00
color: $primary;
&:hover {
border-color: lighten($bg-dark, 5%);
color: lighten($primary, 10%);
}
}
}
2022-12-04 16:14:36 +00:00
.nav-link.active {
color: $fg-color;
background: $bg-darker;
2022-12-04 16:14:36 +00:00
border-color: lighten($bg-dark, 20%);
}
2022-12-04 16:14:36 +00:00
.modal-content {
color: $fg-color;
background: $bg-dark;
}
2022-12-04 16:14:36 +00:00
.form-control {
color: $fg-color;
background: $bg-dark;
}
2022-12-04 16:14:36 +00:00
2020-12-29 09:38:11 +00:00
.popover {
background: $bg-dark;
2022-12-04 16:14:36 +00:00
border-color: lighten($bg-dark, 20%);
2021-11-24 19:36:42 +00:00
}
2022-12-04 16:14:36 +00:00
2021-11-24 19:36:42 +00:00
.popover-header {
background: $bg-darker;
2020-12-29 09:38:11 +00:00
}
2022-12-04 16:14:36 +00:00
2020-12-29 09:38:11 +00:00
.popover-body {
color: $fg-color;
}
2020-12-29 15:17:05 +00:00
.logo-svg {
background-color: $fg-color;
}
2022-12-04 16:14:36 +00:00
textarea {
color: $fg-color;
background: $bg-dark;
}
2022-12-04 16:14:36 +00:00
2021-05-23 17:34:34 +00:00
.text-dark {
color: $fg-color !important;
}
2022-12-04 16:14:36 +00:00
.dropdown-menu {
2021-05-23 17:34:34 +00:00
background-color: lighten($bg-dark, 5%);
2021-06-27 13:37:08 +00:00
color: $fg-color;
}
2022-12-04 16:14:36 +00:00
2021-06-27 13:37:08 +00:00
.dropdown-item {
color: $fg-color;
2021-05-23 17:34:34 +00:00
}
2022-12-04 16:14:36 +00:00
// Styles for searchable select
2023-05-06 15:17:52 +00:00
.vs__dropdown-toggle, .vs__clear {
border-color: lighten($bg-dark, 20%);
2023-05-06 15:17:52 +00:00
color: $fg-color;
// border: 1px solid $fg-color;
}
2022-12-04 16:14:36 +00:00
.style-chooser .vs__search::placeholder,
.style-chooser .vs__dropdown-toggle,
.style-chooser .vs__dropdown-menu,
.vs__dropdown-menu {
background-color: lighten($bg-dark, 5%);
color: $fg-color;
}
2022-03-09 18:09:47 +00:00
2022-12-04 16:14:36 +00:00
.vs__search,
.vs__dropdown-option {
color: $fg-color;
}
2022-12-04 16:14:36 +00:00
.vs__open-indicator {
fill: darken($fg-color, 10%);
}
2022-12-04 16:14:36 +00:00
.vs__selected {
color: $fg-color;
}
2022-12-04 16:14:36 +00:00
2021-05-24 09:02:45 +00:00
hr {
border-top: 1px solid rgba(255, 255, 255, 0.2);
}
2021-07-30 18:32:55 +00:00
2022-11-26 16:25:20 +00:00
.table {
color: $fg-color;
}
2022-12-04 16:14:36 +00:00
.table.b-table>tbody>.selected,
.table.b-table>tbody>.selected>th,
.table.b-table>tbody>.selected>td {
2021-07-30 18:32:55 +00:00
// Table selected cells
2022-11-26 16:25:20 +00:00
color: $fg-color;
2021-07-30 18:32:55 +00:00
background: darken($bg-dark, 10%);
}
2022-11-26 16:25:20 +00:00
.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th,
2022-12-04 16:14:36 +00:00
.table.b-table>tbody>.selected:hover,
.table.b-table.table-hover>tbody>tr.selected th:hover {
2021-07-30 18:32:55 +00:00
// Table selected cells hover
2021-07-04 13:34:28 +00:00
color: $fg-color;
2021-07-30 18:32:55 +00:00
background: lighten($bg-dark, 10%);
2022-11-26 16:25:20 +00:00
--bs-table-hover-bg: #272727;
2021-07-04 13:34:28 +00:00
}
2021-07-30 18:32:55 +00:00
2022-11-20 10:12:07 +00:00
.form-select {
2021-01-06 19:26:16 +00:00
color: $fg-color;
2021-01-09 09:21:46 +00:00
border-color: lighten($bg-dark, 20%);
2023-05-06 14:07:04 +00:00
background: $bg-dark;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dedede' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
background-size: 16px 12px;
background-repeat: no-repeat;
background-position: right 0.75rem center;
2021-01-06 19:26:16 +00:00
}
2022-11-26 16:44:12 +00:00
.b-toast .toast {
background: $bg-dark;
border-color: lighten($bg-dark, 20%);
}
2020-12-29 15:17:05 +00:00
2022-12-04 16:14:36 +00:00
.toast-header {
color: $fg-color;
background: darken($bg-dark, 10%);
border-color: lighten($bg-dark, 20%);
}
.vue-grid-item>.vue-resizable-handle {
// Stupid workaround to have the Shevron actually show.
background-color: darken($fg-color, 50%);
}
}
.vue-grid-item {
// Fix white corners in vue-grid-item.
background-color: unset !important;
2022-12-04 16:14:36 +00:00
}
2020-12-29 15:17:05 +00:00
html.ft-theme-transition,
html.ft-theme-transition *,
html.ft-theme-transition *:before,
html.ft-theme-transition *:after {
2022-12-04 16:14:36 +00:00
transition: background 750ms ease-in-out,
border-color 750ms ease-in-out;
transition-delay: 0 !important;
}