@trilogy-ds/styles 0.0.1-beta-125 → 0.0.1-beta-126

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.
@@ -1,13 +1,19 @@
1
1
  @use 'sass:math';
2
2
  @import "../utilities/spacing";
3
- :root{
3
+
4
+ $font-size-header: 15;
5
+ $font-line-height-header: 1.5;
6
+ $padding-top-bottom-header: 8;
7
+
8
+
9
+ :root {
4
10
  --padding-box : #{$spacing-5};
5
11
  @include mobile {
6
12
  --padding-box : #{$spacing-4};
7
13
  }
8
14
  }
9
- $highlighted-border-width: 4px;
10
15
 
16
+ $highlighted-border-width: 4px;
11
17
 
12
18
  a.box {
13
19
  cursor: pointer;
@@ -30,8 +36,6 @@ a.box {
30
36
  position: relative;
31
37
  padding: var(--padding-box);
32
38
 
33
-
34
-
35
39
  &:not(:last-child) {
36
40
  margin-bottom: 15px;
37
41
  }
@@ -46,8 +50,6 @@ a.box {
46
50
  }
47
51
  }
48
52
 
49
-
50
-
51
53
  &.is-flat {
52
54
  box-shadow: none;
53
55
  border: var(--border);
@@ -64,6 +66,9 @@ a.box {
64
66
  }
65
67
  }
66
68
 
69
+ &.is-header-offset {
70
+ margin-top: #{$font-size-header * $font-line-height-header + 2 * $padding-top-bottom-header}px;
71
+ }
67
72
 
68
73
  &.is-highlighted {
69
74
  border-left: $highlighted-border-width solid transparent;
@@ -84,7 +89,6 @@ a.box {
84
89
  }
85
90
  }
86
91
 
87
-
88
92
  .box-header {
89
93
  z-index: inherit;
90
94
  background-color: getColor('font');
@@ -103,10 +107,9 @@ a.box {
103
107
  align-items: center;
104
108
  font-weight: $weight-semibold;
105
109
  border-radius: var(--radius) var(--radius) 0 0;
110
+ text-align: center;
106
111
  @include tablet {
107
- flex-direction: row;
108
112
  align-items: center;
109
- justify-content: space-between;
110
113
  }
111
114
 
112
115
  > p:not(:last-child),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "0.0.1-beta-125",
3
+ "version": "0.0.1-beta-126",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [