|
|
@@ -1,19 +1,10 @@
|
|
|
@use "sass:map";
|
|
|
@use "src/css/quasar.variables.scss";
|
|
|
.softpar-table {
|
|
|
- .body--dark & {
|
|
|
- --table-bg-color: #{map.get($colors-dark, "surface")}; // Using our dark background
|
|
|
- --table-border-color: #{map.get($colors-dark, "surface-light")}; // Darker border
|
|
|
- --table-header-color: #{map.get($colors-dark, "text")}; // Light text for dark mode
|
|
|
- --table-ring-color: #505050;
|
|
|
- }
|
|
|
-
|
|
|
- .body--light & {
|
|
|
- --table-bg-color: #{map.get($colors, "surface")}; // Light background
|
|
|
- --table-border-color: #{map.get($colors, "surface-light")}; // Border color
|
|
|
- --table-header-color: #{map.get($colors, "text")}; // Dark text for light mode
|
|
|
- --table-ring-color: #c0c0c0c0;
|
|
|
- }
|
|
|
+ --table-bg-color: #{map.get($colors, "surface")};
|
|
|
+ --table-border-color: #{map.get($colors, "surface-light")};
|
|
|
+ --table-header-color: #{map.get($colors, "text")};
|
|
|
+ --table-ring-color: #c0c0c0c0;
|
|
|
|
|
|
padding-left: 16px !important;
|
|
|
padding-right: 16px !important;
|
|
|
@@ -71,16 +62,8 @@
|
|
|
width: fit-content;
|
|
|
margin-right: auto;
|
|
|
margin-left: auto;
|
|
|
-
|
|
|
- .body--dark & {
|
|
|
- background: none;
|
|
|
- border: 1px solid #{map.get($colors, "positive-1")};
|
|
|
- }
|
|
|
-
|
|
|
- .body--light & {
|
|
|
- background: #{map.get($colors, "positive-1")};
|
|
|
- border: none;
|
|
|
- }
|
|
|
+ background: #{map.get($colors, "positive-1")};
|
|
|
+ border: none;
|
|
|
}
|
|
|
|
|
|
.inativo {
|
|
|
@@ -91,16 +74,8 @@
|
|
|
width: fit-content;
|
|
|
margin-right: auto;
|
|
|
margin-left: auto;
|
|
|
-
|
|
|
- .body--dark & {
|
|
|
- background: none;
|
|
|
- border: 1px solid #{map.get($colors, "negative-1")};
|
|
|
- }
|
|
|
-
|
|
|
- .body--light & {
|
|
|
- background: #{map.get($colors, "negative-1")};
|
|
|
- border: none;
|
|
|
- }
|
|
|
+ background: #{map.get($colors, "negative-1")};
|
|
|
+ border: none;
|
|
|
}
|
|
|
|
|
|
.rejeitado {
|
|
|
@@ -111,16 +86,8 @@
|
|
|
width: fit-content;
|
|
|
margin-right: auto;
|
|
|
margin-left: auto;
|
|
|
-
|
|
|
- .body--dark & {
|
|
|
- background: none;
|
|
|
- border: 1px solid #{map.get($colors, "negative-1")};
|
|
|
- }
|
|
|
-
|
|
|
- .body--light & {
|
|
|
- background: #{map.get($colors, "negative-1")};
|
|
|
- border: none;
|
|
|
- }
|
|
|
+ background: #{map.get($colors, "negative-1")};
|
|
|
+ border: none;
|
|
|
}
|
|
|
|
|
|
.gerado {
|
|
|
@@ -131,16 +98,8 @@
|
|
|
width: fit-content;
|
|
|
margin-right: auto;
|
|
|
margin-left: auto;
|
|
|
-
|
|
|
- .body--dark & {
|
|
|
- background: none;
|
|
|
- border: 1px solid #{map.get($colors, "primary-1")};
|
|
|
- }
|
|
|
-
|
|
|
- .body--light & {
|
|
|
- background: #{map.get($colors, "primary-1")};
|
|
|
- border: none;
|
|
|
- }
|
|
|
+ background: #{map.get($colors, "primary-1")};
|
|
|
+ border: none;
|
|
|
}
|
|
|
|
|
|
.pendente {
|
|
|
@@ -151,46 +110,20 @@
|
|
|
width: fit-content;
|
|
|
margin-right: auto;
|
|
|
margin-left: auto;
|
|
|
-
|
|
|
- .body--dark & {
|
|
|
- background: none;
|
|
|
- border: 1px solid #{map.get($colors, "warning")};
|
|
|
- }
|
|
|
-
|
|
|
- .body--light & {
|
|
|
- background: #{map.get($colors, "warning")};
|
|
|
- border: none;
|
|
|
- }
|
|
|
+ background: #{map.get($colors, "warning")};
|
|
|
+ border: none;
|
|
|
}
|
|
|
|
|
|
.table-bottom {
|
|
|
.q-table__top {
|
|
|
- .body--light & {
|
|
|
- background: #{map.get($colors, "page")};
|
|
|
- }
|
|
|
-
|
|
|
- .body--dark & {
|
|
|
- background: #{map.get($colors, "background-3")};
|
|
|
- }
|
|
|
+ background: #{map.get($colors, "page")};
|
|
|
}
|
|
|
|
|
|
.q-table__bottom {
|
|
|
- .body--light & {
|
|
|
- background: #{map.get($colors, "page")};
|
|
|
- }
|
|
|
-
|
|
|
- .body--dark & {
|
|
|
- background: #{map.get($colors, "background-3")};
|
|
|
- }
|
|
|
+ background: #{map.get($colors, "page")};
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.q-table__grid-item-card {
|
|
|
- .body--light & {
|
|
|
- background: #{map.get($colors, "dark")};
|
|
|
- }
|
|
|
-
|
|
|
- .body--dark & {
|
|
|
- background: #{map.get($colors, "background-3")};
|
|
|
- }
|
|
|
+ background: #{map.get($colors, "dark")};
|
|
|
}
|