From 3d1a55126d96d9fc6de1718c41b52effcc36b07d Mon Sep 17 00:00:00 2001 From: Klaus Quibeldey-Cirkel <klaus.quibeldey-cirkel@mni.thm.de> Date: Mon, 24 Aug 2020 09:02:19 +0200 Subject: [PATCH] test --- .../room-edit/room-edit.component.scss | 21 ----------------- .../comment-answer.component.scss | 23 +------------------ src/styles.scss | 10 ++++---- 3 files changed, 6 insertions(+), 48 deletions(-) diff --git a/src/app/components/creator/_dialogs/room-edit/room-edit.component.scss b/src/app/components/creator/_dialogs/room-edit/room-edit.component.scss index 00496d902..2f8475633 100644 --- a/src/app/components/creator/_dialogs/room-edit/room-edit.component.scss +++ b/src/app/components/creator/_dialogs/room-edit/room-edit.component.scss @@ -51,24 +51,3 @@ mat-hint { color: var(--on-surface) !important; margin-right: 1%; } - -/* label style */ -.mat-tab-label { - background: var(--surface) !important; - color: var(--on-surface) !important; -} - -/* focus style */ -.mat-tab-group.mat-primary .mat-tab-label:not(.mat-tab-disabled):focus, -.mat-tab-group.mat-primary .mat-tab-link:not(.mat-tab-disabled):focus, -.mat-tab-nav-bar.mat-primary .mat-tab-label:not(.mat-tab-disabled):focus, -.mat-tab-nav-bar.mat-primary .mat-tab-link:not(.mat-tab-disabled):focus { - background: var(--seconday) !important; - color: var(--on-secondary) !important; -} - -/* ink bar style */ -.mat-tab-group.mat-primary .mat-ink-bar, -.mat-tab-nav-bar.mat-primary .mat-ink-bar { - background: var(--secondary); -} diff --git a/src/app/components/shared/comment-answer/comment-answer.component.scss b/src/app/components/shared/comment-answer/comment-answer.component.scss index 16dbcc58c..bb52f7b99 100644 --- a/src/app/components/shared/comment-answer/comment-answer.component.scss +++ b/src/app/components/shared/comment-answer/comment-answer.component.scss @@ -36,25 +36,4 @@ mat-icon { height: 18px; width: 18px; margin-right: 5px; -} - -/* label style */ -.mat-tab-label { - background: var(--surface) !important; - color: var(--on-surface) !important; -} - -/* focus style */ -.mat-tab-group.mat-primary .mat-tab-label:not(.mat-tab-disabled):focus, -.mat-tab-group.mat-primary .mat-tab-link:not(.mat-tab-disabled):focus, -.mat-tab-nav-bar.mat-primary .mat-tab-label:not(.mat-tab-disabled):focus, -.mat-tab-nav-bar.mat-primary .mat-tab-link:not(.mat-tab-disabled):focus { - background: var(--seconday) !important; - color: var(--on-secondary) !important; -} - -/* ink bar style */ -.mat-tab-group.mat-primary .mat-ink-bar, -.mat-tab-nav-bar.mat-primary .mat-ink-bar { - background: var(--secondary); -} +} } diff --git a/src/styles.scss b/src/styles.scss index 23c60d532..71dc87e96 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -174,8 +174,8 @@ a { /* label style */ .mat-tab-label { - background: green; - color: white; + background: var(--surface); + color: var(--on-surface); } /* focus style */ @@ -183,12 +183,12 @@ a { .mat-tab-group.mat-primary .mat-tab-link:not(.mat-tab-disabled):focus, .mat-tab-nav-bar.mat-primary .mat-tab-label:not(.mat-tab-disabled):focus, .mat-tab-nav-bar.mat-primary .mat-tab-link:not(.mat-tab-disabled):focus { - background: red; + background: var(--secondary); } /* ink bar style */ .mat-tab-group.mat-primary .mat-ink-bar, .mat-tab-nav-bar.mat-primary .mat-ink-bar { - background: yellow; - height: 3px; + background: var(--secondary); + height: 5px; } -- GitLab