@trilogy-ds/styles 4.0.7-beta-1 → 4.0.7-test-svg

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.
@@ -72,39 +72,6 @@
72
72
  padding-left: 0;
73
73
  padding-right: 0;
74
74
  }
75
-
76
- &::-webkit-search-cancel-button{
77
- $colorSvg: encodecolor(getColorValue('main'));
78
- position:absolute;
79
- right: 0px;
80
- bottom : 0px;
81
- top:0px;
82
- padding: 0 24px;
83
- opacity: 1;
84
- display: block;
85
- background-image: url('data:image/svg+xml; utf8, <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#{$colorSvg}" stroke-linecap="round" stroke-width="3.2" fill="none"><path d="M12.6 12.6L31.4 31.4M12.6 31.4L31.4 12.6"/></svg>');
86
- background-size : 20px;
87
- -webkit-appearance: none;
88
- background-repeat: no-repeat;
89
- background-color: getColor('background') ;
90
- background-position: center;
91
- }
92
-
93
- &[type="search"] {
94
- padding-right: 45px;
95
- &:hover:not(:focus){
96
- &::-webkit-search-cancel-button {
97
- background-color: getColor('main-fade');
98
- }
99
- }
100
- &:focus{
101
- &::-webkit-search-cancel-button {
102
- padding: 0 23px;
103
- }
104
- }
105
- }
106
-
107
-
108
75
  }
109
76
 
110
77
  .textarea {
@@ -1,59 +1,58 @@
1
1
  // Bullet list classiques
2
- ol.list {
3
- counter-reset: customCounter;
4
-
5
- li.list-item {
6
- counter-increment: customCounter;
7
- &:not(:has(.icon)) {
8
- &::before{
9
- content: counter(customCounter) ". ";
10
- margin-right:$spacing-4;
11
- font-weight: $weight-bold;
12
- font-size: $text-14 !important;
13
- font-family: $family-secondary;
14
- line-height: 1.5 !important;
15
-
16
- }
17
- }
18
- }
19
- }
20
-
21
- ul.list {
22
- li.list-item {
23
- &:not(:has(.icon)) {
24
- &::before{
25
- content:'.';
26
- margin-right:$spacing-4;
27
- font-weight: 900;
28
- font-size: $text-24;
29
- line-height: 8px;
30
- }
31
- }
32
- }
33
- }
34
-
35
2
  ul.list,
36
3
  ol.list {
4
+ list-style: disc ;
37
5
  display: grid;
38
6
  row-gap: $spacing-3;
39
7
 
40
8
  li.list-item {
41
- display: flex;
42
9
  &:has(.icon) {
43
10
  list-style: none;
44
11
  display: flex;
45
12
  }
13
+
46
14
  .icon {
47
15
  margin-right: $spacing-2;
48
16
  justify-content: flex-start;
49
17
  align-items: flex-start;
50
18
  }
19
+
20
+ .list-item-content {
21
+ display: inline-grid;
22
+
23
+ &_puce {
24
+ margin-right: $spacing-4;
25
+ }
26
+ }
27
+
28
+ &.has-action {
29
+ display: flex;
30
+ justify-content: space-between;
31
+ align-items: center;
32
+
33
+ .list-item_action {
34
+ & > :first-child {
35
+ margin: 0 !important;
36
+ cursor: pointer;
37
+ }
38
+
39
+ .radio label.radio-label:empty,
40
+ .checkbox label.checkbox-label:empty {
41
+ padding: $spacing-1 $spacing-1 $spacing-1 calc($spacing-1 + 10px);
42
+ }
43
+ }
44
+ }
45
+
46
+ div b {
47
+ margin-bottom: $spacing-2;
48
+ }
51
49
  }
52
50
 
53
51
  &.has-divider {
54
52
  li {
55
53
  border-bottom: var(--border);
56
54
  padding-bottom: $spacing-3;
55
+
57
56
  &:last-child {
58
57
  border-bottom: none;
59
58
  padding-bottom: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "4.0.7-beta-1",
3
+ "version": "4.0.7-test-svg",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [