dibk-design 2.1.1 → 2.1.2
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.
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
|
|
57
57
|
&.hasTheme {
|
|
58
58
|
&:hover,
|
|
59
|
-
&:focus
|
|
59
|
+
&:focus,
|
|
60
|
+
&:focus-within {
|
|
60
61
|
filter: brightness(90%);
|
|
61
62
|
}
|
|
62
63
|
|
|
@@ -65,7 +66,8 @@
|
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
|
|
68
|
-
&:focus-visible
|
|
69
|
+
&:focus-visible,
|
|
70
|
+
&:focus-within {
|
|
69
71
|
outline-color: $color-focus-outline;
|
|
70
72
|
outline-style: auto;
|
|
71
73
|
outline-width: 2px;
|
|
@@ -95,6 +97,7 @@
|
|
|
95
97
|
&:not(.hasTheme) {
|
|
96
98
|
&:hover:not(.noHover),
|
|
97
99
|
&:focus-visible,
|
|
100
|
+
&:focus-within,
|
|
98
101
|
&:active {
|
|
99
102
|
background-color: $color-primary;
|
|
100
103
|
color: #fff;
|
|
@@ -112,6 +115,7 @@
|
|
|
112
115
|
&:not(.hasTheme) {
|
|
113
116
|
&:hover:not(.noHover),
|
|
114
117
|
&:focus-visible,
|
|
118
|
+
&:focus-within,
|
|
115
119
|
&:active {
|
|
116
120
|
background-color: #fff;
|
|
117
121
|
color: $color-primary;
|
|
@@ -135,6 +139,7 @@
|
|
|
135
139
|
border: 1px solid #e5e3e1;
|
|
136
140
|
&:hover,
|
|
137
141
|
&:focus,
|
|
142
|
+
&:focus-within,
|
|
138
143
|
&:active {
|
|
139
144
|
background-color: #fff;
|
|
140
145
|
cursor: default;
|
|
@@ -159,7 +164,7 @@
|
|
|
159
164
|
border: 1px solid $color-primary;
|
|
160
165
|
&:hover,
|
|
161
166
|
&:focus,
|
|
162
|
-
&:active {
|
|
167
|
+
&:focus-within &:active {
|
|
163
168
|
background-color: $color-primary;
|
|
164
169
|
cursor: default;
|
|
165
170
|
opacity: 0.6;
|