@trilogy-ds/styles 0.0.1-beta.13 → 0.0.1-beta.14

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.
@@ -207,6 +207,9 @@ $alignments: (
207
207
  .has-text-#{$brandName}-invert {
208
208
  color: $color-invert !important;
209
209
  }
210
+ .has-background-#{$brandName} {
211
+ background-color: getBGColor($brandName) !important;
212
+ }
210
213
  }
211
214
  }
212
215
 
@@ -65,11 +65,6 @@ body:has(.modal.is-active) {
65
65
  position: static;
66
66
  }
67
67
 
68
- // ancien overlay : n'a plus d'utilité mais conservée pour rétrocompatibilité
69
- .modal-background {
70
- display: none;
71
- }
72
-
73
68
  .modal-content {
74
69
  background-color: getColor('background');
75
70
  border-radius: $radius $radius 0 0;
@@ -85,8 +80,8 @@ body:has(.modal.is-active) {
85
80
  transition: transform ease-in-out 250ms;
86
81
  transform: translateY(100%);
87
82
 
88
- &.is-fullwidth {
89
- width: 100% !important;
83
+ &:has(.modal-footer) {
84
+ padding-bottom: 0;
90
85
  }
91
86
 
92
87
  @include tablet {
@@ -115,10 +110,10 @@ body:has(.modal.is-active) {
115
110
 
116
111
  .modal-footer {
117
112
  position: sticky;
113
+ width: 100%;
118
114
  background: getColor('background');
119
- bottom: -30px;
120
- margin: 30px -30px -30px;
121
- padding: 20px 30px;
115
+ bottom: 0;
116
+ padding: 16px;
122
117
  }
123
118
 
124
119
  // If Close Icon Modal & Title Modal are sibling elements, override margin
@@ -7,13 +7,13 @@ $title-strong-weight: inherit;
7
7
  $title-sub-size: 0.5em;
8
8
  $title-sup-size: 0.5em;
9
9
 
10
- $subtitle-size: $text-15;
11
- $subtitle-weight: $weight-semibold;
10
+ $subtitle-size: $text-16;
11
+ $subtitle-weight: $weight-medium;
12
12
  $subtitle-size-tablet: $text-15;
13
13
  $subtitle-line-height: 1.2;
14
14
  $subtitle-strong-weight: $weight-semibold;
15
15
 
16
- $overline-size: $text-15;
16
+ $overline-size: $text-14;
17
17
  $overline-weight: $weight-semibold;
18
18
  $overline-line-height: 1.2;
19
19
  $overline-size-tablet: $text-15;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "0.0.1-beta.13",
3
+ "version": "0.0.1-beta.14",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [