mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-10 06:20:03 +00:00
294 lines
7.3 KiB
SCSS
294 lines
7.3 KiB
SCSS
$white: #fff !default;
|
|
$black: #000 !default;
|
|
$red: #d9534f !default;
|
|
$orange: #f0ad4e !default;
|
|
$yellow: #ffd500 !default;
|
|
$green: #5cb85c !default;
|
|
$blue: #0275d8 !default;
|
|
$teal: #5bc0de !default;
|
|
$pink: #ff5b77 !default;
|
|
$purple: #613d7c !default;
|
|
|
|
|
|
$body-bg: #1D272D;
|
|
$body-bg2: #131d27;
|
|
$body-bg3: #20333e;
|
|
|
|
$body-color: #aaa;
|
|
$font-family-sans-serif: "Source Sans Pro";
|
|
$font-size-base: 14rem / 16;
|
|
|
|
$btn-secondary-color: #ccc;
|
|
$btn-secondary-bg: #222;
|
|
$btn-secondary-border: #444;
|
|
|
|
//$btn-warning-bg: rgba($orange, .5);
|
|
|
|
|
|
$nav-tabs-border-color: $body-bg2;
|
|
$nav-tabs-border-width: 1px;
|
|
$nav-tabs-border-radius: 0;
|
|
$nav-tabs-link-hover-border-color: $body-bg2;
|
|
$nav-tabs-active-link-hover-color: $white;
|
|
$nav-tabs-active-link-hover-bg: $blue;
|
|
$nav-tabs-active-link-hover-border-color: darken($blue, 30%);
|
|
|
|
$input-bg: #111;
|
|
$input-bg-disabled: #333;
|
|
|
|
$input-color: $body-color;
|
|
//$input-border-color: rgba($black,.15);
|
|
//$input-box-shadow: inset 0 1px 1px rgba($black,.075);
|
|
|
|
$input-border-radius: 0;
|
|
|
|
$input-bg-focus: $input-bg;
|
|
//$input-border-focus: lighten($brand-primary, 25%);
|
|
//$input-box-shadow-focus: $input-box-shadow, rgba($input-border-focus, .6);
|
|
$input-color-focus: $input-color;
|
|
|
|
$modal-content-bg: $body-bg;
|
|
$modal-content-border-color: $body-bg2;
|
|
$modal-header-border-color: $body-bg2;
|
|
$modal-footer-border-color: $body-bg2;
|
|
|
|
$popover-bg: $body-bg2;
|
|
|
|
|
|
@import '~bootstrap/scss/bootstrap.scss';
|
|
|
|
.nav-tabs {
|
|
background: $btn-secondary-bg;
|
|
.nav-link {
|
|
transition: 0.25s all;
|
|
border-bottom-color: $nav-tabs-border-color;
|
|
}
|
|
}
|
|
|
|
ngb-tabset .tab-content {
|
|
padding-top: 20px;
|
|
}
|
|
|
|
[ngbradiogroup] > label.active {
|
|
background: $blue;
|
|
}
|
|
|
|
$tab-border-radius: 5px;
|
|
$button-hover-bg: rgba(0, 0, 0, .25);
|
|
$button-active-bg: rgba(0, 0, 0, .5);
|
|
|
|
title-bar {
|
|
background: $body-bg2;
|
|
|
|
button {
|
|
&:hover { background: $button-hover-bg !important; }
|
|
&:active { background: $button-active-bg !important; }
|
|
}
|
|
}
|
|
|
|
|
|
app-root {
|
|
background: $body-bg;
|
|
|
|
&> .content {
|
|
background: $body-bg2;
|
|
|
|
.tabs {
|
|
background: $body-bg;
|
|
|
|
&>button {
|
|
&:not(:hover):not(:active) {
|
|
background: $body-bg2;
|
|
}
|
|
}
|
|
|
|
tab-header {
|
|
background: $body-bg;
|
|
|
|
.content-wrapper {
|
|
background: $body-bg2;
|
|
|
|
.index {
|
|
color: #555;
|
|
}
|
|
|
|
button {
|
|
color: $body-color;
|
|
border: none;
|
|
transition: 0.25s all;
|
|
|
|
&:hover { background: $button-hover-bg !important; }
|
|
&:active { background: $button-active-bg !important; }
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
background: $body-bg2;
|
|
|
|
.content-wrapper {
|
|
background: $body-bg;
|
|
}
|
|
}
|
|
|
|
&.has-activity:not(.active) {
|
|
/*
|
|
.content-wrapper .index {
|
|
background: $blue;
|
|
color: white;
|
|
text-shadow: 0 1px 1px rgba(0,0,0,.95);
|
|
}
|
|
*/
|
|
}
|
|
}
|
|
}
|
|
|
|
&.tabs-on-top .tabs {
|
|
margin-top: 3px;
|
|
|
|
tab-header {
|
|
&.pre-selected {
|
|
.content-wrapper {
|
|
border-bottom-right-radius: $tab-border-radius;
|
|
}
|
|
}
|
|
|
|
&.post-selected {
|
|
.content-wrapper {
|
|
border-bottom-left-radius: $tab-border-radius;
|
|
}
|
|
}
|
|
|
|
.content-wrapper {
|
|
border-top: 1px solid transparent;
|
|
}
|
|
|
|
&.active .content-wrapper {
|
|
border-top: 1px solid $teal;
|
|
border-top-left-radius: $tab-border-radius;
|
|
border-top-right-radius: $tab-border-radius;
|
|
}
|
|
|
|
&.has-activity:not(.active) .content-wrapper {
|
|
border-top: 1px solid $green;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:not(.tabs-on-top) .tabs {
|
|
margin-bottom: 3px;
|
|
|
|
tab-header {
|
|
&.pre-selected {
|
|
.content-wrapper {
|
|
border-top-right-radius: $tab-border-radius;
|
|
}
|
|
}
|
|
|
|
&.post-selected {
|
|
.content-wrapper {
|
|
border-top-left-radius: $tab-border-radius;
|
|
}
|
|
}
|
|
|
|
.content-wrapper {
|
|
border-bottom: 1px solid transparent;
|
|
}
|
|
|
|
&.active .content-wrapper {
|
|
border-bottom: 1px solid $teal;
|
|
border-bottom-left-radius: $tab-border-radius;
|
|
border-bottom-right-radius: $tab-border-radius;
|
|
}
|
|
|
|
&.has-activity:not(.active) .content-wrapper {
|
|
border-bottom: 1px solid $green;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
tab-body {
|
|
background: $body-bg;
|
|
}
|
|
|
|
settings-tab > ngb-tabset {
|
|
border-right: 1px solid $body-bg2;
|
|
|
|
& > .nav {
|
|
background: $body-bg3;
|
|
|
|
& > .nav-item > .nav-link {
|
|
border-left: none;
|
|
border-right: none;
|
|
border-top: 1px solid transparent;
|
|
border-bottom: 1px solid transparent;
|
|
padding: 10px 50px 10px 20px;
|
|
font-size: 14px;
|
|
|
|
&.active {
|
|
border-top-color: $nav-tabs-active-link-hover-border-color;
|
|
border-bottom-color: $nav-tabs-active-link-hover-border-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
multi-hotkey-input {
|
|
.item {
|
|
background: $body-bg3;
|
|
border: 1px solid $blue;
|
|
border-radius: 3px;
|
|
margin-right: 5px;
|
|
|
|
.body {
|
|
padding: 3px 0 2px;
|
|
|
|
.stroke {
|
|
padding: 0 6px;
|
|
border-right: 1px solid $body-bg;
|
|
}
|
|
}
|
|
|
|
.remove {
|
|
padding: 3px 8px 2px;
|
|
}
|
|
}
|
|
|
|
.add {
|
|
color: #777;
|
|
padding: 4px 10px 0;
|
|
}
|
|
|
|
.add, .item .body, .item .remove {
|
|
&:hover { background: darken($body-bg3, 5%); }
|
|
&:active { background: darken($body-bg3, 15%); }
|
|
}
|
|
}
|
|
|
|
hotkey-input-modal {
|
|
.input {
|
|
background: $input-bg;
|
|
padding: 10px;
|
|
font-size: 24px;
|
|
line-height: 27px;
|
|
height: 55px;
|
|
|
|
.stroke {
|
|
background: $body-bg3;
|
|
border: 1px solid $blue;
|
|
border-radius: 3px;
|
|
margin-right: 10px;
|
|
padding: 3px 10px;
|
|
}
|
|
}
|
|
|
|
.timeout {
|
|
background: $input-bg;
|
|
|
|
div {
|
|
background: $blue;
|
|
}
|
|
}
|
|
}
|