@testgorilla/tgo-ui 1.13.8 → 1.13.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/components/button/button.component.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui.mjs +2 -2
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/src/theme/_breakpoints-mixin.scss +3 -3
- package/src/theme/_styling.scss +33 -0
- package/src/theme/_tooltip.scss +14 -6
- package/src/theme/_variables.scss +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@use "variables.scss" as *;
|
|
2
2
|
|
|
3
3
|
@mixin screen($breakpoint) {
|
|
4
|
-
@if map-has-key($breakpoints, $breakpoint ) {
|
|
5
|
-
@media (max-width: map-get($breakpoints, $breakpoint)) {
|
|
4
|
+
@if map-has-key($tgo-breakpoints, $breakpoint ) {
|
|
5
|
+
@media (max-width: map-get($tgo-breakpoints, $breakpoint)) {
|
|
6
6
|
@content;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
@else {
|
|
10
|
-
@warn "Unfortunaly, `#{$breakpoint}` can not be found." + "Avaiable breakpoints are #{map-keys($breakpoints)}."
|
|
10
|
+
@warn "Unfortunaly, `#{$breakpoint}` can not be found." + "Avaiable breakpoints are #{map-keys($tgo-breakpoints)}."
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use "variables.scss" as *;
|
|
2
|
+
@use "tooltip.scss" as *;
|
|
3
|
+
@use "mat-paginator.scss" as *;
|
|
4
|
+
|
|
5
|
+
*[theme="dark"], *[theme="light"] {
|
|
6
|
+
* {
|
|
7
|
+
font-family: "ModernGothic-Regular", sans-serif !important;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//custom scss for the angular material components
|
|
12
|
+
.mat-mdc-card {
|
|
13
|
+
border-radius: 8px !important;
|
|
14
|
+
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1) !important;
|
|
15
|
+
padding: 32px 32px 16px 32px !important;
|
|
16
|
+
border-width: 0 !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** Mat password strength */
|
|
20
|
+
mat-password-strength-info {
|
|
21
|
+
.mat-mdc-card {
|
|
22
|
+
box-shadow: none !important;
|
|
23
|
+
place-content: stretch start !important;
|
|
24
|
+
padding: 15px 0 !important;
|
|
25
|
+
|
|
26
|
+
.mat-icon {
|
|
27
|
+
font-size: 20px;
|
|
28
|
+
position: relative;
|
|
29
|
+
top: 3px;
|
|
30
|
+
margin: 0px !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
package/src/theme/_tooltip.scss
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
--mdc-plain-tooltip-supporting-text-color: $tgo-black;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
.mat-mdc-tooltip {
|
|
16
|
+
&.light, &.dark {
|
|
17
17
|
background-color: $black;
|
|
18
18
|
border: 1px solid $tgo-white;
|
|
19
19
|
border-radius: 4px;
|
|
@@ -21,8 +21,10 @@
|
|
|
21
21
|
color: $tgo-white;
|
|
22
22
|
--mdc-plain-tooltip-supporting-text-color: $tgo-white !important;
|
|
23
23
|
}
|
|
24
|
+
}
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
.mat-mdc-tooltip-panel-right .mdc-tooltip--shown {
|
|
27
|
+
&.light, &.dark {
|
|
26
28
|
margin-left: 5px;
|
|
27
29
|
&:after {
|
|
28
30
|
content: "";
|
|
@@ -40,9 +42,11 @@
|
|
|
40
42
|
transition: all 1s;
|
|
41
43
|
}
|
|
42
44
|
}
|
|
45
|
+
}
|
|
43
46
|
|
|
44
47
|
|
|
45
|
-
|
|
48
|
+
.mat-mdc-tooltip-panel-left .mdc-tooltip--shown {
|
|
49
|
+
&.light, &.dark {
|
|
46
50
|
margin-right: 5px;
|
|
47
51
|
&:after {
|
|
48
52
|
content: "";
|
|
@@ -59,8 +63,10 @@
|
|
|
59
63
|
transform: rotate(45deg);
|
|
60
64
|
}
|
|
61
65
|
}
|
|
66
|
+
}
|
|
62
67
|
|
|
63
|
-
|
|
68
|
+
.mat-mdc-tooltip-panel-below .mdc-tooltip--shown {
|
|
69
|
+
&.light, &.dark {
|
|
64
70
|
margin-top: 5px;
|
|
65
71
|
&:after {
|
|
66
72
|
content: "";
|
|
@@ -77,8 +83,10 @@
|
|
|
77
83
|
transform: rotate(-45deg);
|
|
78
84
|
}
|
|
79
85
|
}
|
|
86
|
+
}
|
|
80
87
|
|
|
81
|
-
|
|
88
|
+
.mat-mdc-tooltip-panel-above .mdc-tooltip--shown {
|
|
89
|
+
&.light, &.dark {
|
|
82
90
|
margin-bottom: 5px;
|
|
83
91
|
&:after {
|
|
84
92
|
content: "";
|