@primer/brand-css 0.71.0-rc.07b74ae3 → 0.71.0-rc.719f204c
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/components/Card/Card.css
CHANGED
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
@media screen and (min-width: 80rem) {
|
|
14
|
+
.RiverBreakoutTabs {
|
|
15
|
+
--brand-RiverBreakout-variant-gridline-spacing-outerInline: var(--base-size-60);
|
|
16
|
+
--brand-RiverBreakout-variant-gridline-spacing-outerBlock: var(--base-size-60);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
.RiverBreakoutTabs__accordion {
|
|
14
21
|
display: flex;
|
|
15
22
|
flex-direction: column;
|
|
@@ -143,13 +150,13 @@
|
|
|
143
150
|
}
|
|
144
151
|
|
|
145
152
|
.RiverBreakoutTabs__item--selected::before {
|
|
146
|
-
transform: scaleY(2);
|
|
153
|
+
transform: translateY(calc(-1 * var(--brand-borderWidth-thin))) scaleY(2);
|
|
147
154
|
background-color: var(--brand-color-accent-primary);
|
|
148
155
|
}
|
|
149
156
|
|
|
150
157
|
@media screen and (min-width: 63.25rem) and (hover: hover) and (pointer: fine) {
|
|
151
158
|
.RiverBreakoutTabs__item:hover::before {
|
|
152
|
-
transform: scaleY(2);
|
|
159
|
+
transform: translateY(calc(-1 * var(--brand-borderWidth-thin))) scaleY(2);
|
|
153
160
|
background-color: var(--brand-color-accent-primary);
|
|
154
161
|
}
|
|
155
162
|
}
|
|
@@ -157,6 +164,7 @@
|
|
|
157
164
|
.RiverBreakoutTabs__heading {
|
|
158
165
|
margin: 0;
|
|
159
166
|
color: var(--brand-color-text-muted);
|
|
167
|
+
transition: color var(--brand-animation-duration-fast) ease-in-out;
|
|
160
168
|
}
|
|
161
169
|
|
|
162
170
|
.RiverBreakoutTabs__item--selected .RiverBreakoutTabs__heading {
|
|
@@ -214,7 +222,7 @@
|
|
|
214
222
|
}
|
|
215
223
|
|
|
216
224
|
.RiverBreakoutTabs__wideTabListActionItem {
|
|
217
|
-
margin-block-start: var(--base-size-
|
|
225
|
+
margin-block-start: var(--base-size-12);
|
|
218
226
|
}
|
|
219
227
|
|
|
220
228
|
.RiverBreakoutTabs__content {
|
|
@@ -271,13 +279,13 @@
|
|
|
271
279
|
}
|
|
272
280
|
|
|
273
281
|
.RiverBreakoutTabs__accordionItem.RiverBreakoutTabs__item--selected::before {
|
|
274
|
-
transform: scaleY(2);
|
|
282
|
+
transform: translateY(calc(-1 * var(--brand-borderWidth-thin))) scaleY(2);
|
|
275
283
|
background-color: var(--brand-color-accent-primary);
|
|
276
284
|
}
|
|
277
285
|
|
|
278
286
|
@media (hover: hover) and (pointer: fine) {
|
|
279
287
|
.RiverBreakoutTabs__accordionItem:hover::before {
|
|
280
|
-
transform: scaleY(2);
|
|
288
|
+
transform: translateY(calc(-1 * var(--brand-borderWidth-thin))) scaleY(2);
|
|
281
289
|
background-color: var(--brand-color-accent-primary);
|
|
282
290
|
}
|
|
283
291
|
}
|