mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 23:37:51 +01:00
style: 💄 Migliorati file SCSS
- Migliorata gestione del colore primario nella modalità ad alto contrasto - Migliorata data table
This commit is contained in:
parent
65377c067a
commit
b9d404d9f7
2
resources/scss/app.scss
vendored
2
resources/scss/app.scss
vendored
@ -1,5 +1,5 @@
|
|||||||
@use "variables";
|
@use "variables";
|
||||||
@use "material";
|
@use "material/material";
|
||||||
|
|
||||||
@import "modern-normalize/modern-normalize.css";
|
@import "modern-normalize/modern-normalize.css";
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
@use "variables";
|
@use "sass:color";
|
||||||
@use "@material/theme" with (
|
@use "../variables";
|
||||||
|
@use "node_modules/@material/theme/index" with (
|
||||||
$primary: variables.$primary,
|
$primary: variables.$primary,
|
||||||
$secondary: variables.$secondary
|
$secondary: variables.$secondary
|
||||||
);
|
);
|
||||||
@ -15,6 +16,26 @@
|
|||||||
@include data-table.theme-baseline;
|
@include data-table.theme-baseline;
|
||||||
@include typography.core-styles;
|
@include typography.core-styles;
|
||||||
|
|
||||||
|
/* ---------------------------
|
||||||
|
MDC Data Table
|
||||||
|
----------------------------- */
|
||||||
|
|
||||||
|
//noinspection Stylelint
|
||||||
|
.mdc-data-table__header-cell {
|
||||||
|
&:not(.mdc-data-table__header-cell--checkbox) {
|
||||||
|
padding: 8px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mdc-data-table__header-cell-label {
|
||||||
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mdc-data-table__filter-textfield {
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* ---------------------------
|
/* ---------------------------
|
||||||
MWC Components
|
MWC Components
|
||||||
--------------------------- */
|
--------------------------- */
|
||||||
@ -126,8 +147,8 @@ top-app-bar mwc-fab.sticky {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mdc-high-contrast {
|
.mdc-high-contrast {
|
||||||
--mdc-theme-primary: #{lighten(variables.$primary, 100%)};
|
--mdc-theme-primary: #{color.adjust(variables.$primary, $lightness: 100%)};
|
||||||
--mdc-theme-primary2: #{lighten(variables.$primary, 50%)}; // Fix for MWC Drawer styling
|
--mdc-theme-primary2: #{color.adjust(variables.$primary, $lightness: 50%)}; // Fix for MWC Drawer styling
|
||||||
--mdc-theme-secondary: #{variables.$secondary};
|
--mdc-theme-secondary: #{variables.$secondary};
|
||||||
--mdc-theme-on-primary: #000;
|
--mdc-theme-on-primary: #000;
|
||||||
--mdc-theme-on-secondary: #000;
|
--mdc-theme-on-secondary: #000;
|
Loading…
x
Reference in New Issue
Block a user