@trilogy-ds/styles 0.0.1-beta-73 → 0.0.1-beta-74

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.
@@ -4,7 +4,6 @@
4
4
  @import 'divider';
5
5
  @import 'breadcrumb';
6
6
  @import 'card';
7
- @import 'level';
8
7
  @import 'modal';
9
8
  @import 'pagination';
10
9
  @import 'popover';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "0.0.1-beta-73",
3
+ "version": "0.0.1-beta-74",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
@@ -1,120 +0,0 @@
1
- .level {
2
- @include block;
3
-
4
- align-items: center;
5
- justify-content: space-between;
6
-
7
- code {
8
- border-radius: var(--radius);
9
- }
10
-
11
- img {
12
- display: inline-block;
13
- vertical-align: top;
14
- }
15
-
16
- // Modifiers
17
- &.is-mobile {
18
- display: flex;
19
-
20
- .level-left,
21
- .level-right {
22
- display: flex;
23
- }
24
-
25
- .level-left + .level-right {
26
- margin-top: 0;
27
- }
28
-
29
- .level-item {
30
- margin-right: 7.4px;
31
-
32
- &:not(:last-child) {
33
- margin-bottom: 0;
34
- }
35
-
36
- &:not(.is-narrow) {
37
- flex-grow: 1;
38
- }
39
- }
40
- }
41
-
42
- // Responsiveness
43
- @include tablet {
44
- display: flex;
45
-
46
- & > .level-item {
47
- &:not(.is-narrow) {
48
- flex-grow: 1;
49
- }
50
- }
51
- }
52
- }
53
-
54
- .level-item {
55
- align-items: center;
56
- display: flex;
57
- flex-basis: auto;
58
- flex-grow: 0;
59
- flex-shrink: 0;
60
- justify-content: center;
61
-
62
- .title,
63
- .subtitle {
64
- margin-bottom: 0;
65
- }
66
-
67
- // Responsiveness
68
- @include mobile {
69
- &:not(:last-child) {
70
- margin-bottom: 7.5px;
71
- }
72
- }
73
- }
74
-
75
- .level-left,
76
- .level-right {
77
- flex-basis: auto;
78
- flex-grow: 0;
79
- flex-shrink: 0;
80
-
81
- .level-item {
82
- // Modifiers
83
- &.is-flexible {
84
- flex-grow: 1;
85
- }
86
-
87
- // Responsiveness
88
- @include tablet {
89
- &:not(:last-child) {
90
- margin-right: 7.5px;
91
- }
92
- }
93
- }
94
- }
95
-
96
- .level-left {
97
- align-items: center;
98
- justify-content: flex-start;
99
-
100
- // Responsiveness
101
- @include mobile {
102
- & + .level-right {
103
- margin-top: 15px;
104
- }
105
- }
106
-
107
- @include tablet {
108
- display: flex;
109
- }
110
- }
111
-
112
- .level-right {
113
- align-items: center;
114
- justify-content: flex-end;
115
-
116
- // Responsiveness
117
- @include tablet {
118
- display: flex;
119
- }
120
- }
@@ -1,64 +0,0 @@
1
- .media {
2
- align-items: flex-start;
3
- display: flex;
4
- text-align: left;
5
-
6
- .content:not(:last-child) {
7
- margin-bottom: 7.5px;
8
- }
9
-
10
- .media {
11
- border-top: 1px solid getBGColor('neutral');
12
- display: flex;
13
- padding-top: 7.5px;
14
-
15
- .content:not(:last-child),
16
- .control:not(:last-child) {
17
- margin-bottom: 5px;
18
- }
19
-
20
- .media {
21
- padding-top: 5px;
22
-
23
- & + .media {
24
- margin-top: 5px;
25
- }
26
- }
27
- }
28
-
29
- & + .media {
30
- border-top: 1px solid getBGColor('neutral');
31
- margin-top: 10px;
32
- padding-top: 10px;
33
- }
34
-
35
- // Sizes
36
- &.is-large {
37
- & + .media {
38
- margin-top: 15px;
39
- padding-top: 15px;
40
- }
41
- }
42
- }
43
-
44
- .media-left,
45
- .media-right {
46
- flex-basis: auto;
47
- flex-grow: 0;
48
- flex-shrink: 0;
49
- }
50
-
51
- .media-left {
52
- margin-right: 10px;
53
- }
54
-
55
- .media-right {
56
- margin-left: 10px;
57
- }
58
-
59
- .media-content {
60
- flex-basis: auto;
61
- flex-grow: 1;
62
- flex-shrink: 1;
63
- text-align: left;
64
- }