Skip to content

Commit

Permalink
chore(fix): add slide-toggle theme and remove gui-menu style
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbin committed Oct 30, 2023
1 parent f9f5e53 commit 630b112
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
1 change: 1 addition & 0 deletions projects/gui/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@include mat.form-field-theme($theme);
@include mat.input-theme($theme);
@include mat.button-toggle-theme($theme);
@include mat.slide-toggle-theme($theme);
@include mat.select-theme($theme);
@include mat.slider-theme($theme);
@include mat.icon-theme($theme);
Expand Down
22 changes: 0 additions & 22 deletions projects/gui/gui-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,25 +108,3 @@
content: '';
}
}

.gui-menu {
.mat-mdc-tab-header {
--mdc-tab-indicator-active-indicator-shape: 4px;

padding: 2px;
border-radius: calc(var(--mdc-tab-indicator-active-indicator-shape) + 2px);
background-color: rgba(0, 0, 0, .04);

.mat-mdc-tab-ripple,
.mdc-tab__ripple::before {
border-radius: var(--mdc-tab-indicator-active-indicator-shape);
}
}

.mdc-tab-indicator .mdc-tab-indicator__content {
height: 100%;
border-width: 0;
border-radius: var(--mdc-tab-indicator-active-indicator-shape);
background-color: white;
}
}

0 comments on commit 630b112

Please sign in to comment.