claritas-web-framework 5.0.502 → 5.0.503
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/package.json +1 -1
- package/scss/_variables.scss +5 -1
- package/scss/mixins/_card.scss +10 -15
- package/scss/modules/_card.scss +3 -3
- package/scss/modules/_tabs.scss +3 -4
package/package.json
CHANGED
package/scss/_variables.scss
CHANGED
|
@@ -519,4 +519,8 @@ $button-box-shadow-focus: 0 0 0 0.125em rgba($black, 0.1) !default;
|
|
|
519
519
|
$button-box-shadow-active: 0 0 0 0.125em rgba($black, 0.2) !default;
|
|
520
520
|
|
|
521
521
|
// Card
|
|
522
|
-
$card-border-
|
|
522
|
+
$card-border-width: $input-border-width !default;
|
|
523
|
+
$card-border-style: $input-border-style !default;
|
|
524
|
+
$card-border-color: $input-border-color !default;
|
|
525
|
+
$card-border-radius: $border-radius-medium !default;
|
|
526
|
+
$card-background-color: $white !default;
|
package/scss/mixins/_card.scss
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
@mixin make-card() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
border-width: 1px;
|
|
7
|
-
border-style: solid;
|
|
8
|
-
border-color: var(--#{$variable-prefix}border-color);
|
|
9
|
-
|
|
2
|
+
border-width: $card-border-width;
|
|
3
|
+
border-style: $card-border-style;
|
|
4
|
+
border-color: $card-border-color;
|
|
10
5
|
margin-bottom: $spacer;
|
|
11
|
-
background-color:
|
|
12
|
-
border-radius:
|
|
6
|
+
background-color: $card-background-color;
|
|
7
|
+
border-radius: $card-border-radius;
|
|
13
8
|
display: flex;
|
|
14
9
|
flex-direction: column;
|
|
15
10
|
min-width: 0;
|
|
@@ -19,13 +14,13 @@
|
|
|
19
14
|
|
|
20
15
|
& > * {
|
|
21
16
|
&:first-child {
|
|
22
|
-
border-top-left-radius: calc(
|
|
23
|
-
border-top-right-radius: calc(
|
|
17
|
+
border-top-left-radius: calc($card-border-radius - 1px);
|
|
18
|
+
border-top-right-radius: calc($card-border-radius - 1px);
|
|
24
19
|
}
|
|
25
20
|
|
|
26
21
|
&:last-child {
|
|
27
|
-
border-bottom-left-radius: calc(
|
|
28
|
-
border-bottom-right-radius: calc(
|
|
22
|
+
border-bottom-left-radius: calc($card-border-radius - 1px);
|
|
23
|
+
border-bottom-right-radius: calc($card-border-radius - 1px);
|
|
29
24
|
}
|
|
30
25
|
}
|
|
31
|
-
}
|
|
26
|
+
}
|
package/scss/modules/_card.scss
CHANGED
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
|
|
17
17
|
& .card--header {
|
|
18
18
|
flex: 0 1 auto;
|
|
19
|
-
border-bottom: 1px solid
|
|
19
|
+
border-bottom: 1px solid $card-border-color;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
& .card--footer {
|
|
23
23
|
margin-top: auto;
|
|
24
24
|
flex: 0 0 auto;
|
|
25
|
-
border-top: 1px solid
|
|
25
|
+
border-top: 1px solid $card-border-color;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
& .card--body {
|
|
@@ -57,7 +57,7 @@ details.card {
|
|
|
57
57
|
|
|
58
58
|
&[open] {
|
|
59
59
|
& .card--header {
|
|
60
|
-
border-bottom-color:
|
|
60
|
+
border-bottom-color: $card-border-color;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
package/scss/modules/_tabs.scss
CHANGED
|
@@ -35,8 +35,7 @@
|
|
|
35
35
|
& .tab--content {
|
|
36
36
|
@include make-card();
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
border-radius: 0 0 $card-border-radius $card-border-radius;
|
|
40
39
|
border-top-color: rgba($black, 0);
|
|
41
40
|
display: none !important;
|
|
42
41
|
padding: $spacer;
|
|
@@ -61,11 +60,11 @@
|
|
|
61
60
|
margin-bottom: 0;
|
|
62
61
|
|
|
63
62
|
&:first-child {
|
|
64
|
-
border-top-left-radius: calc($border-radius
|
|
63
|
+
border-top-left-radius: calc($card-border-radius - 1px);
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
&:last-child {
|
|
68
|
-
border-top-right-radius: calc($border-radius
|
|
67
|
+
border-top-right-radius: calc($card-border-radius - 1px);
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
&::after {
|