@trilogy-ds/styles 0.0.1-beta.31 → 0.0.1-beta.32

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.
@@ -25,6 +25,16 @@ $price-levels: (
25
25
  &.is-level-#{$i} {
26
26
  font-size: $font-size;
27
27
 
28
+ @if $i < 4 {
29
+ + .price-tag {
30
+ span:nth-child(2) {
31
+ font-size: 10px;
32
+ place-self: flex-end;
33
+ margin-bottom: 3px;
34
+ }
35
+ }
36
+ }
37
+
28
38
  @if $i > 4 {
29
39
  .price-details {
30
40
  padding-left: 2px !important;
@@ -19,6 +19,12 @@
19
19
  }
20
20
  }
21
21
 
22
+ &:active,
23
+ &:focus,
24
+ &:focus-visible:not(.icon) {
25
+ padding-left: 15px !important;
26
+ }
27
+
22
28
  // Sizes
23
29
  &.is-small {
24
30
  @include control-small;
@@ -1,41 +1,46 @@
1
1
  .field {
2
2
 
3
- .has-icons-left {
4
- input {
5
- padding-left: 45px;
6
- }
7
- label {
8
- left: 45px;
9
- }
10
- .icon-left
11
- {
12
- position: absolute;
13
- height: 100%;
14
- width: 45px;
15
- left: 0;
16
-
17
- i {
18
- font-size: 20px;
19
- }
3
+ .has-icons-left {
4
+ input {
5
+ padding-left: 45px;
6
+
7
+ &:active,
8
+ &:focus,
9
+ &:focus-visible:not(.has-icons-left):not(disabled) {
10
+ padding-left: 44px !important;
11
+ }
12
+
13
+ label {
14
+ left: 45px;
15
+ }
16
+
17
+ .icon-left {
18
+ position: absolute;
19
+ height: 100%;
20
+ width: 45px;
21
+ left: 0;
22
+
23
+ i {
24
+ font-size: 20px;
20
25
  }
26
+ }
21
27
 
22
28
 
23
29
  }
24
30
 
25
31
  .has-icons-right {
26
- .icon-right
27
- {
28
- position: absolute;
29
- height: 100%;
30
- width: 45px;
31
- z-index: 10;
32
- right: 0;
33
- left: auto;
34
- i {
35
- font-size: 20px;
36
- }
32
+ .icon-right {
33
+ position: absolute;
34
+ height: 100%;
35
+ width: 45px;
36
+ z-index: 10;
37
+ right: 0;
38
+ left: auto;
39
+
40
+ i {
41
+ font-size: 20px;
37
42
  }
43
+ }
38
44
  }
39
-
40
-
45
+ }
41
46
  }
@@ -12,7 +12,7 @@
12
12
  color: getColor($link-colors);
13
13
  box-decoration-break: clone;
14
14
  text-decoration: underline 1px solid;
15
- text-underline-offset: 4px;
15
+ text-underline-offset: 2px;
16
16
  cursor: pointer;
17
17
 
18
18
  &.has-icon {
@@ -610,7 +610,7 @@
610
610
  }
611
611
 
612
612
  @mixin hover {
613
- &:hover:not(.is-disabled) {
613
+ &:hover:not(.is-disabled):not(:focus) {
614
614
  @include hoverRules();
615
615
  }
616
616
  &:focus:not(.is-disabled), &:focus-visible:not(.is-disabled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "0.0.1-beta.31",
3
+ "version": "0.0.1-beta.32",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [