@trilogy-ds/styles 4.17.0 → 4.18.0-beta-1

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.
@@ -33,6 +33,7 @@ $button-border-width: 2px !default;
33
33
  padding: 0 $spacing-4;
34
34
  text-decoration: inherit;
35
35
  font-weight: $weight-semibold;
36
+ height: $size-inputs;
36
37
 
37
38
  @include mobile {
38
39
  width: 100%;
@@ -9,7 +9,7 @@
9
9
  border-radius: var(--radius-small);
10
10
  background: transparent;
11
11
  width: 33px;
12
- height: 40px;
12
+ height: 48px;
13
13
  margin: 4px 4px 0 4px;
14
14
  text-align: center;
15
15
  color: getColor('main');
@@ -36,6 +36,7 @@ $height-prompt-item: 64px;
36
36
  margin:0 !important;
37
37
  &-img {
38
38
  border-radius: 8px;
39
+ overflow: hidden;
39
40
  }
40
41
  &-file {
41
42
  width: $height-prompt-item;
@@ -131,6 +131,20 @@
131
131
  border-width: 0 0 1px;
132
132
  color: getColor('font');
133
133
  }
134
+
135
+ &[class*="has-background"] {
136
+ th {
137
+ background-color: transparent;
138
+ }
139
+ }
140
+
141
+ @each $name in $colors-all {
142
+ &.is-#{$name} tr {
143
+ th {
144
+ color: getColor($name);
145
+ }
146
+ }
147
+ }
134
148
  }
135
149
 
136
150
  tfoot {
@@ -1,10 +1,5 @@
1
1
  .textarea-wrapper {
2
2
 
3
- .textarea-label {
4
- display: inline-block;
5
- margin-bottom: 6px;
6
- }
7
-
8
3
  .textarea-sample {
9
4
  margin-bottom: 10px !important;
10
5
  }
@@ -11,7 +11,7 @@ $label-weight: $weight-bold;
11
11
  }
12
12
  }
13
13
 
14
- .input-label {
14
+ .input-label, .textarea-label {
15
15
  display: inline-block;
16
16
  margin-bottom: 8px;
17
17
  font-weight: 500;
@@ -24,5 +24,15 @@
24
24
  &.is-small {
25
25
  width: 75px;
26
26
  height: 75px;
27
+
28
+ .progress-radial-content {
29
+ &-label {
30
+ font-size: $text-16;
31
+ line-height: normal;
32
+ }
33
+ &-description {
34
+ font-size: $text-10;
35
+ }
36
+ }
27
37
  }
28
38
  }
@@ -24,7 +24,7 @@
24
24
  // import sass bulma
25
25
  @mixin input {
26
26
  @include control;
27
- height: 56px;
27
+ height: $size-inputs;
28
28
  background-color: getColor('background');
29
29
  border: var(--border);
30
30
  color: getColor('font');
@@ -11,6 +11,8 @@ $suffix: '';
11
11
  */
12
12
  $colors: (
13
13
  'background': [#fff, 'white', 'main'],
14
+ 'brand': [#ccd5f8, 'brand', 'white'],
15
+ 'brand-fade': [#e8eef8, 'brand-fade', 'white'],
14
16
  'stroke':[ #727272, 'stroke', 'white' ],
15
17
  'stroke-fade':[ #cadbe8, 'stroke-fade', 'white' ],
16
18
  'transparent': ['transparent', 'transparent', 'transparent'],
@@ -35,6 +37,7 @@ $colors: (
35
37
  ) !default;
36
38
 
37
39
  $fade-colors: (
40
+ 'brand': 'brand-fade',
38
41
  'main': 'main-fade',
39
42
  'success': 'success-fade',
40
43
  'info':'info-fade',
@@ -47,6 +50,8 @@ $fade-colors: (
47
50
  @function getColor( $name ) {
48
51
  @if global-variable-exists(suffix-theme) {
49
52
  @return var(--color-#{nth(map-get($colors, $name), 2)}-#{$suffix-theme});
53
+ } @else if $name == 'white' {
54
+ @return var(--color-white);
50
55
  } @else {
51
56
  @return var(--color-#{nth(map-get($colors,$name),2)});
52
57
  }
@@ -84,3 +89,8 @@ $colors-brand-functionnal: (
84
89
  $colors-feedback: (
85
90
  'success', 'error', 'warning', 'info'
86
91
  );
92
+
93
+
94
+ $colors-all: (
95
+ "white", "main", "main-fade" , "accent", "accent-fade", "font", "font-placeholder", "success", "success-fade", "info", "info-fade", "warning", "warning-fade", "error", "error-fade", "disabled", "disabled-fade", "neutral", "neutral-fade", "stroke", "stroke-fade"
96
+ );
@@ -4,3 +4,4 @@
4
4
  @import "responsiveness";
5
5
  @import "shadow";
6
6
  @import "zindex";
7
+ @import "sizes";
@@ -0,0 +1 @@
1
+ $size-inputs: 48px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "4.17.0",
3
+ "version": "4.18.0-beta-1",
4
4
  "author": "Bouygues Telecom",
5
5
  "repository": {
6
6
  "type": "git",