From bebde4799d4722cc73003e9979a122212fafa64c Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 23 Mar 2018 17:45:11 +0100 Subject: [PATCH] updated tab design --- .../src/components/tabHeader.component.scss | 2 -- terminus-core/src/theme.scss | 12 ++++-------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/terminus-core/src/components/tabHeader.component.scss b/terminus-core/src/components/tabHeader.component.scss index b0a360b5..a8f18c33 100644 --- a/terminus-core/src/components/tabHeader.component.scss +++ b/terminus-core/src/components/tabHeader.component.scss @@ -14,8 +14,6 @@ $tabs-height: 36px; transition: 0.125s ease-out all; - border-top: 1px solid transparent; - .index { flex: none; font-weight: bold; diff --git a/terminus-core/src/theme.scss b/terminus-core/src/theme.scss index 1afbc944..9aaa44fa 100644 --- a/terminus-core/src/theme.scss +++ b/terminus-core/src/theme.scss @@ -105,7 +105,7 @@ window-controls { } } -$border-color: #141414; +$border-color: #111; app-root { &> .content { @@ -131,7 +131,7 @@ app-root { background: $body-bg2; border-left: 1px solid transparent; border-right: 1px solid transparent; - border-top: 1px solid transparent; + transition: 0.25s all; .index { color: #555; @@ -159,17 +159,15 @@ app-root { border-bottom: 1px solid $border-color; tab-header { - border-top: 1px solid transparent; border-bottom: 1px solid $border-color; margin-bottom: -1px; &.active { - border-top: 1px solid $teal; border-bottom-color: transparent; } &.has-activity:not(.active) { - border-top: 1px solid $green; + background: linear-gradient(to bottom, rgba(208, 0, 0, 0) 95%, #1aa99c 100%); } } } @@ -178,17 +176,15 @@ app-root { border-top: 1px solid $border-color; tab-header { - border-bottom: 1px solid transparent; border-top: 1px solid $border-color; margin-top: -1px; &.active { - border-bottom: 1px solid $teal; margin-top: -1px; } &.has-activity:not(.active) { - border-bottom: 1px solid $green; + background: linear-gradient(to top, rgba(208, 0, 0, 0) 95%, #1aa99c 100%); } } }