You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2024/03/31 16:18:42 UTC

(streampipes) 05/07: Clean up css

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch bump-angular-eslint
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 747aa7db2d26ff669e4271ab56c29bef75a501b0
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Sun Mar 31 14:46:09 2024 +0200

    Clean up css
---
 ui/src/scss/sp/buttons.scss  | 9 ---------
 ui/src/scss/sp/mat-tab.scss  | 3 ---
 ui/src/scss/sp/sp-theme.scss | 8 ++++----
 3 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/ui/src/scss/sp/buttons.scss b/ui/src/scss/sp/buttons.scss
index e8e0308121..56da7c08f4 100644
--- a/ui/src/scss/sp/buttons.scss
+++ b/ui/src/scss/sp/buttons.scss
@@ -34,7 +34,6 @@
     cursor: pointer;
     font-family: inherit;
     font-weight: bold;
-    text-transform: uppercase;
     font-size: 0.8em;
     letter-spacing: 0.05em;
     line-height: 0.8em;
@@ -150,11 +149,3 @@
     color: #cdcdcd;
     background: rgba(0, 0, 0, 0);
 }
-
-.mdc-button__label {
-    font-weight: 500;
-    text-transform: uppercase;
-    font-family: 'Roboto-Medium', sans-serif;
-    letter-spacing: 0.7px;
-    font-size: 13px;
-}
diff --git a/ui/src/scss/sp/mat-tab.scss b/ui/src/scss/sp/mat-tab.scss
index b2eee3b462..912850e62d 100644
--- a/ui/src/scss/sp/mat-tab.scss
+++ b/ui/src/scss/sp/mat-tab.scss
@@ -17,10 +17,7 @@
  */
 
 .mdc-tab__text-label {
-    text-transform: uppercase;
-    font-family: 'Roboto', Arial, sans-serif;
     color: rgba(0, 0, 0, 0.87);
-    letter-spacing: normal;
 }
 
 .mat-mdc-tab-group.small-tab-headers .mdc-tab__text-label {
diff --git a/ui/src/scss/sp/sp-theme.scss b/ui/src/scss/sp/sp-theme.scss
index 2ed1691c76..b774d4223b 100644
--- a/ui/src/scss/sp/sp-theme.scss
+++ b/ui/src/scss/sp/sp-theme.scss
@@ -188,8 +188,10 @@ $accent: map-get($custom-theme-light, accent);
     font-size: 11pt;
 }
 
+@include mat.all-component-themes($custom-theme-light);
+
 .dark-mode {
-    @include mat.all-component-themes($custom-theme-dark);
+    @include mat.all-component-colors($custom-theme-dark);
 
     .base-style {
         color: rgba(255, 255, 255, 0.87);
@@ -220,9 +222,7 @@ $accent: map-get($custom-theme-light, accent);
 }
 
 .light-mode {
-    @include mat.core-theme($custom-theme-light);
-    @include mat.all-component-typographies();
-    @include mat.all-component-themes($custom-theme-light);
+    @include mat.all-component-colors($custom-theme-light);
 
     .small-form-field-density {
         @include mat.form-field-density(-3);