@trilogy-ds/styles 0.0.1-beta-119 → 0.0.1-beta-121

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.
@@ -3,10 +3,22 @@
3
3
  position: relative;
4
4
  input { cursor: pointer;}
5
5
 
6
- .field.focus .control input:first-child,
7
- .field.focus .input.select-native {
8
- border: 2px solid currentColor;
9
- }
6
+ select {
7
+ width: 100%;
8
+ @include input;
9
+ &:focus {
10
+ padding-left: 15px !important;
11
+ }
12
+ }
13
+
14
+ .has-icons-left {
15
+ select {
16
+ padding-left: 45px;
17
+ &:focus {
18
+ padding-left: 44px !important;
19
+ }
20
+ }
21
+ }
10
22
 
11
23
  &-options {
12
24
  box-shadow: 0 0 8px #0000001a;
@@ -19,6 +31,35 @@
19
31
  right: 0;
20
32
  }
21
33
 
34
+ .field {
35
+ &.focus {
36
+ &:after{
37
+ @include arrow('up');
38
+ right: 12px;
39
+ top:50%;
40
+ transform: translate(-50%,-50%);
41
+ }
42
+ }
43
+ &:not(.focus) {
44
+ &:after{
45
+ @include arrow();
46
+ right: 12px;
47
+ top:50%;
48
+ transform: translate(-50%,-50%);
49
+ }
50
+ }
51
+ }
52
+
53
+
54
+ &-trilogy_modal_open {
55
+ position: fixed;
56
+ top:0;
57
+ left:0;
58
+ right:0;
59
+ bottom:0;
60
+ z-index: 1000;
61
+ }
62
+
22
63
  .radio-tile {
23
64
  input:checked {
24
65
  &~label.radio-label {
@@ -50,49 +91,6 @@
50
91
  font-size: $text-20 !important;
51
92
  }
52
93
  }
53
-
54
- .control:not(.has-icons-left.has-icons-right) {
55
- .select-native.multiple.input {
56
- padding-left:0 !important;
57
- select option {padding-left: 16px;}
58
- }
59
- }
60
-
61
- &-native {
62
- position: relative;
63
- select {
64
- width: 100%;
65
- border:none;
66
- height: 100%;
67
- background-color: transparent;
68
- -webkit-appearance: none;
69
- -moz-appearance: none;
70
- text-indent: 1px;
71
- outline: none;
72
- color: getColor('main');
73
- font-size: $text-16 !important;
74
- }
75
-
76
- &.input {
77
- padding-top: 0px !important;
78
- padding-bottom: 0px !important;
79
- }
80
-
81
- &.multiple.input{
82
- height: auto !important;
83
- padding-right: 0 !important;
84
- select { padding-top: 0 !important; }
85
- }
86
- }
87
-
88
- &-trilogy_modal_open {
89
- position: fixed;
90
- top:0;
91
- left:0;
92
- right:0;
93
- bottom:0;
94
- z-index: 1000;
95
- }
96
94
  }
97
95
 
98
96
 
@@ -4,7 +4,6 @@ $columnWidth: calc((100% / (var(--ColumnFraction))) - ((((var(--ColumnFraction))
4
4
  $offsetWidth: calc((100% / (var(--offset))) - ((((var(--offset)) - 1) / (var(--offset))) * var(--ColumnGap)) + var(--ColumnGap));
5
5
 
6
6
  $columnSize : (
7
- "gapless" : 0,
8
7
  "1" : math.div(12, 1),
9
8
  "2" : math.div(12, 2),
10
9
  "3" : math.div(12, 3),
@@ -93,9 +92,6 @@ $gap :
93
92
  }
94
93
  }
95
94
 
96
-
97
-
98
-
99
95
  @for $i from 1 through length($gap) {
100
96
  $item: nth($gap, $i);
101
97
  &.is-mobile.has-gap-#{$i} {
@@ -1,7 +1,7 @@
1
1
  $control-border-width: 1px !default;
2
2
 
3
3
  $control-padding-vertical: calc(0.375em - #{$control-border-width}) !default;
4
- $control-padding-horizontal: 20px;
4
+ $control-padding-horizontal: 16px;
5
5
 
6
6
  @mixin control {
7
7
  -moz-appearance: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "0.0.1-beta-119",
3
+ "version": "0.0.1-beta-121",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [