@trilogy-ds/styles 0.0.1-beta.10 → 0.0.1-beta.12

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.
@@ -23,6 +23,11 @@
23
23
  padding-top: 0 !important;
24
24
  }
25
25
 
26
+ &:focus-visible {
27
+ outline: 2px solid getColor('main');
28
+ outline-offset: 2px;
29
+ }
30
+
26
31
  &.is-active > .accordion-header:first-child, [data-accordion-toggle]:checked ~ .accordion-header {
27
32
  font-weight: bold;
28
33
 
@@ -1,7 +1,6 @@
1
1
  @charset "utf-8";
2
2
  @import '../utilities/spacing';
3
3
 
4
- @import 'disclaimer';
5
4
  @import 'divider';
6
5
  @import 'breadcrumb';
7
6
  @import 'card';
@@ -17,7 +16,6 @@
17
16
  @import 'countdown';
18
17
  @import 'timeline';
19
18
  @import 'stepper';
20
- @import 'slider';
21
19
  @import 'plus-symbol';
22
20
  @import 'otp';
23
21
  @import 'segmented-control';
@@ -18,7 +18,7 @@ $progressbar-small: 5px;
18
18
  -moz-appearance: none;
19
19
  -webkit-appearance: none;
20
20
 
21
- background-color: getBGColor('font');
21
+ background-color: getBGColor('hovered');
22
22
 
23
23
  &::-webkit-progress-bar {
24
24
  background-color: getBGColor('font');
@@ -95,7 +95,7 @@ $tag-delete-margin: 1px !default;
95
95
 
96
96
  .tag {
97
97
  align-items: center;
98
- background-color: getBGColor('font');
98
+ background-color: getBGColor('neutral-dark');
99
99
  border-radius: $tag-radius;
100
100
  color: getColor('font');
101
101
  display: inline-flex;
@@ -559,6 +559,7 @@
559
559
  border: 1px solid getBGColor('font');
560
560
  border-radius: 8px;
561
561
  box-sizing: border-box;
562
+ background-color: getColor('background');
562
563
 
563
564
  &:before {
564
565
  top: 16px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "0.0.1-beta.10",
3
+ "version": "0.0.1-beta.12",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
@@ -1,85 +0,0 @@
1
- .disclaimer.accordions {
2
- .accordion {
3
- .disclaimer-header {
4
- margin-left: 0;
5
- justify-content: flex-start;
6
-
7
- .toggle.button {
8
- max-height: 20px;
9
- max-width: 20px;
10
- min-height: 20px;
11
- min-width: 20px;
12
- height: 20px;
13
- width: 20px;
14
- margin: 0 10px 0 0;
15
- top: -1px;
16
-
17
- &.is-bordered {
18
- min-height: 32px;
19
- min-width: 32px;
20
- }
21
- }
22
-
23
- .title {
24
- margin: 0 0 0 15px;
25
- }
26
- }
27
-
28
- .disclaimer-content {
29
- padding-left: 20px;
30
- margin-left: $spacing-6;
31
- position: relative;
32
- color: getColor('font');
33
-
34
- .disclaimer-marker {
35
- margin-left: 30px;
36
- }
37
-
38
- .disclaimer-item {
39
- margin-left: 20px;
40
-
41
- .heading {
42
- font-weight: $weight-normal;
43
- }
44
-
45
- a {
46
- font-weight: $weight-semibold;
47
- text-decoration: underline;
48
- }
49
-
50
- p {
51
- &:not(.heading) {
52
- margin-bottom: 0;
53
- }
54
- }
55
- }
56
-
57
- &::before {
58
- content: "";
59
- position: absolute;
60
- top: 0;
61
- left: 0;
62
- background-color: getColor('font');
63
- display: block;
64
- width: 0.1em;
65
- height: 100%;
66
- }
67
- }
68
-
69
- #{$hoverSelector} {
70
- border-color: getColor('main');
71
- }
72
-
73
- &.is-active {
74
- color: getColor('main');
75
- }
76
-
77
- /* @todo : deprecated ? remove ? add doc ? */
78
- .heading {
79
- font-size: $text-13;
80
- color: getColor('neutral');
81
- margin-bottom: 0.75em;
82
- text-transform: inherit;
83
- }
84
- }
85
- }
@@ -1,92 +0,0 @@
1
- [data-slider] {
2
- position: relative;
3
-
4
- [data-slider-pages] {
5
- overflow: hidden;
6
- }
7
-
8
- [data-slider-page] {
9
- &.column:not(.is-12-mobile) {
10
- min-width: 0;
11
- }
12
- }
13
-
14
- [data-slides-container] {
15
- display: flex;
16
- }
17
-
18
- [data-slide] {
19
- flex: 0 0 100%;
20
- }
21
-
22
- [data-slider-dots] {
23
- position: absolute;
24
- left: 50%;
25
- bottom: -20px;
26
- transform: translateX(-50%);
27
-
28
- &:not(.is-inverted) {
29
- .slider-dot {
30
- background-color: getColor('background');
31
- }
32
- }
33
-
34
- .slider-dot {
35
- width: 7px;
36
- height: 7px;
37
- background-color: getColor('neutral');
38
- border-radius: 100%;
39
- margin: 4px;
40
- padding: 0;
41
- opacity: 1;
42
-
43
- &.is-active {
44
- background-color: getColor('main');
45
- }
46
- }
47
- }
48
-
49
- [data-slider-prev],
50
- [data-slider-next] {
51
- display: none;
52
-
53
- @include desktop {
54
- box-shadow: 0 2px 4px 0 rgba(#000, 0.1);
55
- display: flex;
56
- position: absolute;
57
- z-index: zindex("tiny");
58
- top: 50%;
59
- left: 30px;
60
- transform: translateY(-50%);
61
- cursor: pointer;
62
- }
63
- }
64
-
65
- [data-slider-next] {
66
- left: auto;
67
- right: 30px;
68
- }
69
-
70
- &.is-motionless-desktop {
71
- @include desktop {
72
- pointer-events: none;
73
-
74
- a,
75
- .link,
76
- .button {
77
- pointer-events: auto;
78
- }
79
-
80
- [data-slider-page] {
81
- min-width: auto;
82
- }
83
- }
84
- }
85
-
86
- > .pricing-table {
87
- @include mobile {
88
- flex-direction: row;
89
- flex-wrap: nowrap;
90
- }
91
- }
92
- }