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

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.
@@ -1,150 +0,0 @@
1
- .notification {
2
- cursor: pointer;
3
- transition: box-shadow $animation-duration;
4
-
5
- #{$hoverSelector},
6
- &:active,
7
- &:focus {
8
- box-shadow: $shadow;
9
- }
10
-
11
- .icon,
12
- .call-to-action {
13
- color: getColor('font');
14
- }
15
-
16
- @include apply-shadow-box();
17
-
18
- padding: 2em 2em;
19
- background-color: getColor('background');
20
- border-radius: var(--radius);
21
- margin-bottom: 20px;
22
- position: relative;
23
-
24
- @include mobile {
25
- flex-wrap: wrap;
26
- }
27
-
28
- pre code {
29
- background: transparent;
30
- }
31
-
32
- & > .delete {
33
- position: absolute;
34
- right: 5px;
35
- top: 5px;
36
- }
37
-
38
- .call-to-action .button {
39
- background-color: getColor('main');
40
- border-color: getColor('main');
41
- }
42
-
43
- @each $name in $colors-brand-funcionnal {
44
- $brandName: getColorBrandName($name);
45
- $color: getColor($name);
46
- $color-invert: invertColor($name);
47
-
48
- &.is-#{$brandName} {
49
- .icon, .title {
50
- color: $color;
51
- }
52
- .call-to-action .button {
53
- color: $color-invert;
54
- }
55
- }
56
- }
57
-
58
- &.is-banner {
59
- @include desktop {
60
- padding-left: 150px;
61
- padding-right: 150px;
62
- }
63
-
64
- box-shadow: none;
65
- border-radius: 0;
66
- padding: $spacing-4;
67
- margin-bottom: 0;
68
- }
69
-
70
- &:not(.has-description) > .icon {
71
- align-self: center;
72
- }
73
-
74
- &.has-description {
75
- @include mobile {
76
- justify-content: center;
77
- text-align: center;
78
-
79
- .icon {
80
- padding: 0;
81
- margin-bottom: 30px;
82
- }
83
-
84
- .body {
85
- flex: 0 1 auto;
86
- }
87
- }
88
- }
89
-
90
- &.has-body {
91
- display: flex;
92
- }
93
-
94
- > .icon {
95
- flex: none;
96
- align-self: flex-start;
97
- padding-right: 27px;
98
- font-size: 32px;
99
- }
100
-
101
- > .body {
102
- align-self: center;
103
- color: getColor('font');
104
- margin-bottom: 0;
105
- flex-grow: 1;
106
- padding: 1px; /* Fixes flex behavior on Safari mobile */
107
-
108
- @include mobile {
109
- flex: 1;
110
- }
111
- }
112
-
113
- > .call-to-action {
114
- padding-left: 4em;
115
- align-self: center;
116
- flex: none;
117
-
118
- @include mobile {
119
- flex: 0 1 100%;
120
- margin-top: 20px;
121
- padding-left: 0;
122
- }
123
- }
124
-
125
- &.is-small {
126
- box-shadow: none;
127
- padding: 14px;
128
-
129
- > .icon {
130
- padding-right: 10px;
131
- width: 40px;
132
- font-size: 20px;
133
- }
134
-
135
- .title,
136
- .text,
137
- .paragraph {
138
- font-size: $text-14 !important;
139
- text-align: left;
140
- }
141
- color: getColor('font');
142
-
143
- @each $name, $pair in $colors-feedback {
144
- &.is-#{$name} {
145
- background-color: getBGColor($name);
146
- }
147
- }
148
-
149
- }
150
- }