antares/src/renderer/scss/main.scss

173 lines
2.5 KiB
SCSS
Raw Normal View History

@import "~spectre.css/src/variables";
2020-05-08 18:02:18 +02:00
@import "variables";
2020-05-15 17:52:59 +02:00
@import "transitions";
2020-06-10 19:29:10 +02:00
@import "data-types";
@import "table-keys";
2020-06-10 19:29:10 +02:00
@import "fake-tables";
2020-05-08 18:02:18 +02:00
@import "mdi-additions";
2020-06-07 14:38:38 +02:00
@import "db-icons";
2021-04-03 11:21:58 +02:00
@import "themes/dark-theme";
@import "themes/light-theme";
@import "~spectre.css/src/spectre";
@import "~spectre.css/src/spectre-exp";
2020-05-11 18:05:34 +02:00
2020-07-24 13:26:56 +02:00
body {
2020-07-31 18:16:28 +02:00
user-select: none;
2020-05-11 18:05:34 +02:00
}
2020-07-31 18:16:28 +02:00
/* Additions */
2020-05-11 18:05:34 +02:00
@include margin-variant(3, $unit-3);
@include margin-variant(4, $unit-4);
@include padding-variant(3, $unit-3);
@include padding-variant(4, $unit-4);
2020-07-24 13:26:56 +02:00
.p-vcentered {
2020-07-31 18:16:28 +02:00
display: flex !important;
align-items: center;
2020-05-11 18:05:34 +02:00
}
2020-07-24 13:26:56 +02:00
.c-help {
2020-07-31 18:16:28 +02:00
cursor: help;
2020-06-16 18:01:22 +02:00
}
.no-border {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.workspace-tabs {
align-content: baseline;
.workspace-query-runner {
.workspace-query-runner-footer {
display: flex;
justify-content: space-between;
padding: 0.3rem 0.6rem 0.4rem;
align-items: center;
.workspace-query-buttons {
display: flex;
.btn {
display: flex;
align-self: center;
margin-right: 0.4rem;
}
}
.workspace-query-info {
display: flex;
2021-04-03 11:21:58 +02:00
overflow: hidden;
white-space: nowrap;
> div + div {
padding-left: 0.6rem;
}
}
}
}
}
2021-03-03 19:31:05 +01:00
.process-row .td:last-child {
width: 100%;
}
2020-05-30 12:54:05 +02:00
// Scrollbars
::-webkit-scrollbar {
2020-07-31 18:16:28 +02:00
width: 10px;
height: 10px;
2020-05-30 12:54:05 +02:00
}
2020-07-24 13:26:56 +02:00
2020-05-20 18:00:14 +02:00
// Animations
@keyframes rotation {
2020-07-31 18:16:28 +02:00
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
2020-07-24 13:26:56 +02:00
}
2020-05-20 18:00:14 +02:00
.rotate {
2020-07-31 18:16:28 +02:00
animation: rotation 0.8s infinite linear;
2020-05-20 18:00:14 +02:00
}
2020-07-31 18:16:28 +02:00
/* Override */
2020-07-24 13:26:56 +02:00
.modal {
2020-07-31 18:16:28 +02:00
.modal-container,
.modal-sm .modal-container {
padding: 0;
.modal-header {
padding: 0.4rem 0.8rem;
text-transform: uppercase;
display: flex;
justify-content: space-between;
align-items: center;
}
}
2020-05-30 12:54:05 +02:00
}
2020-07-24 13:26:56 +02:00
.tab {
2020-08-21 11:38:00 +02:00
.tab-item {
.btn-clear {
margin-top: -0.1rem;
font-size: 0.6rem;
}
}
2020-05-30 12:54:05 +02:00
}
2020-07-24 13:26:56 +02:00
.panel {
2020-07-31 18:16:28 +02:00
border: none;
2020-05-30 12:54:05 +02:00
}
2020-07-24 13:26:56 +02:00
.badge {
2020-07-31 18:16:28 +02:00
&[data-badge],
&:not([data-badge]) {
&::after {
box-shadow: none;
}
}
2020-05-11 18:05:34 +02:00
}
2020-07-24 13:26:56 +02:00
.form-select {
2020-07-31 18:16:28 +02:00
cursor: pointer;
&.small-select {
height: 1rem;
font-size: 0.7rem;
padding: 1px 0.4rem 0;
}
2020-05-11 18:05:34 +02:00
}
2021-02-03 21:53:24 +01:00
.form-input[type="file"] {
overflow: hidden;
}
2020-07-31 18:16:28 +02:00
.input-group .input-group-addon {
z-index: 1;
}
2020-07-24 13:26:56 +02:00
.menu {
2020-07-31 18:16:28 +02:00
font-size: 0.7rem;
.menu-item {
+ .menu-item {
margin-top: 0;
}
}
2020-07-24 13:26:56 +02:00
}
2020-06-03 20:56:44 +02:00
.accordion-body {
max-height: 5000rem !important;
2020-06-10 19:29:10 +02:00
}
.btn.loading {
> .mdi,
2020-07-31 18:16:28 +02:00
> span {
visibility: hidden;
}
2020-07-24 13:26:56 +02:00
}