@trilogy-ds/styles 0.0.1-beta.14 → 0.0.1-beta.16
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.
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/base/_helpers.scss +4 -1
- package/framework/src/elements/_box.scss +1 -27
- package/framework/src/elements/_button.scss +2 -2
- package/framework/src/grid/_columns.scss +1 -1
- package/framework/src/layout/_hero.scss +0 -14
- package/framework/src/utilities/_all.scss +1 -0
- package/framework/src/utilities/_background.scss +20 -0
- package/package.json +1 -1
|
@@ -208,7 +208,10 @@ $alignments: (
|
|
|
208
208
|
color: $color-invert !important;
|
|
209
209
|
}
|
|
210
210
|
.has-background-#{$brandName} {
|
|
211
|
-
background-color:
|
|
211
|
+
background-color: getColor($name) !important;
|
|
212
|
+
}
|
|
213
|
+
.has-background-#{$brandName}-fade {
|
|
214
|
+
background-color: getBGColor($name) !important;
|
|
212
215
|
}
|
|
213
216
|
}
|
|
214
217
|
}
|
|
@@ -18,10 +18,9 @@ a.box {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.box {
|
|
21
|
-
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
|
|
22
21
|
background-color: getColor('background');
|
|
22
|
+
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
|
|
23
23
|
border-radius: $radius;
|
|
24
|
-
color: getColor('font');
|
|
25
24
|
display: flex;
|
|
26
25
|
flex-direction: column;
|
|
27
26
|
justify-content: flex-start;
|
|
@@ -36,29 +35,6 @@ a.box {
|
|
|
36
35
|
margin-bottom: 15px;
|
|
37
36
|
}
|
|
38
37
|
|
|
39
|
-
&.has-background {
|
|
40
|
-
background-repeat: no-repeat;
|
|
41
|
-
|
|
42
|
-
&.is-inverted {
|
|
43
|
-
.box-content {
|
|
44
|
-
color: getColor('background');
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.title,
|
|
48
|
-
.subtitle,
|
|
49
|
-
.text,
|
|
50
|
-
.paragraph,
|
|
51
|
-
p {
|
|
52
|
-
color: getColor('background');
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.box-content {
|
|
57
|
-
background-color: transparent;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
38
|
&.is-active {
|
|
63
39
|
border: 2px solid getColor('main');
|
|
64
40
|
|
|
@@ -199,8 +175,6 @@ a.box {
|
|
|
199
175
|
}
|
|
200
176
|
|
|
201
177
|
.box-content {
|
|
202
|
-
background-color: getColor('background');
|
|
203
|
-
color: getColor('font');
|
|
204
178
|
margin: -$padding-box;
|
|
205
179
|
padding: $padding-box;
|
|
206
180
|
|
|
@@ -169,18 +169,4 @@ $overlap-desktop: 30px;
|
|
|
169
169
|
&.is-centered {
|
|
170
170
|
text-align: center;
|
|
171
171
|
}
|
|
172
|
-
|
|
173
|
-
&.is-main {
|
|
174
|
-
color: invertColor('main');
|
|
175
|
-
background-color: getColor('main');
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&.is-info {
|
|
179
|
-
background: getColor('info');
|
|
180
|
-
color: invertColor('info');
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.subtitle {
|
|
184
|
-
padding-left: 0.2em;
|
|
185
|
-
}
|
|
186
172
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.is-inverted {
|
|
2
|
+
color: getColor('background');
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.is-inverted .is-base {
|
|
6
|
+
color: getColor('font');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.has-background {
|
|
10
|
+
background-repeat: no-repeat;
|
|
11
|
+
text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
|
|
12
|
+
|
|
13
|
+
&.is-inverted {
|
|
14
|
+
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.box-content {
|
|
18
|
+
background-color: transparent;
|
|
19
|
+
}
|
|
20
|
+
}
|