@trilogy-ds/styles 4.1.2-beta-1 → 4.1.2-beta-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.
@@ -13,6 +13,7 @@
13
13
  }
14
14
 
15
15
  .card-image {
16
+ order: 1;
16
17
  display: block;
17
18
  position: relative;
18
19
  flex-shrink: 0;
@@ -20,6 +21,7 @@
20
21
  }
21
22
 
22
23
  .card-content {
24
+ order: 2;
23
25
  padding: $spacing-5;
24
26
  flex-grow: 1;
25
27
 
@@ -149,6 +149,15 @@ body:has(.modal.is-active) {
149
149
  &::before {
150
150
  background-color: getColor('font');
151
151
  }
152
+
153
+ &:focus-visible,
154
+ &:focus:focus-visible {
155
+ outline: 2px solid getColor('font') !important;
156
+ outline-offset: 2px;
157
+ }
158
+ &:focus{
159
+ background-color: transparent !important;
160
+ }
152
161
  }
153
162
  }
154
163
 
@@ -1,5 +1,34 @@
1
1
  @include checkbox-and-radio('checkbox');
2
2
 
3
+ .checkboxes {
4
+ width: 100%;
5
+ column-gap: $spacing-5;
6
+ row-gap: $spacing-3;
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ flex-direction: column;
10
+
11
+ @include tablet {
12
+ flex-direction: row;
13
+
14
+ &.is-vertical-desktop {
15
+ flex-direction: column;
16
+ }
17
+ }
18
+
19
+ @include mobile {
20
+ &.is-horizontal-mobile {
21
+ flex-direction: row;
22
+ }
23
+ }
24
+
25
+ &.is-centered,
26
+ &.has-text-centered,
27
+ .has-text-centered & {
28
+ justify-content: center;
29
+ }
30
+ }
31
+
3
32
  .checkbox,
4
33
  .checkbox-tile {
5
34
  input:checked ~ label.checkbox-label {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "4.1.2-beta-1",
3
+ "version": "4.1.2-beta-2",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [