1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,107 @@ |
1 |
+@import "../../variables-layout"; |
|
2 |
+ |
|
3 |
+@import "../../../_vendor/node_modules/bootstrap/scss/functions"; |
|
4 |
+@import "../../../_vendor/node_modules/bootstrap/scss/variables"; |
|
5 |
+@import "../../../_vendor/node_modules/bootstrap/scss/mixins"; |
|
6 |
+ |
|
7 |
+@import "../../scss-variables"; |
|
8 |
+@import "../../_theme/variables-layout"; |
|
9 |
+ |
|
10 |
+html body { |
|
11 |
+ .ce_rsce_numberboxes { |
|
12 |
+ .number-box--wrapper { |
|
13 |
+ line-height: var(--bs-body-line-height-xs); |
|
14 |
+ |
|
15 |
+ &.with-image { |
|
16 |
+ background-size: cover !important; |
|
17 |
+ display: flex; |
|
18 |
+ align-items: flex-end; |
|
19 |
+ position: relative; |
|
20 |
+ //color: var(--bs-white); |
|
21 |
+ background-position: center; |
|
22 |
+ |
|
23 |
+ |
|
24 |
+ min-height: rfs-value(250px); |
|
25 |
+ @include media-breakpoint-up(md) { |
|
26 |
+ min-height: rfs-fluid-value(250px); |
|
27 |
+ } |
|
28 |
+ |
|
29 |
+ @include media-breakpoint-up(xxl) { |
|
30 |
+ min-height: rfs-value(300px); |
|
31 |
+ } |
|
32 |
+ |
|
33 |
+ .number-box--title { |
|
34 |
+ position: absolute; |
|
35 |
+ top: 50%; |
|
36 |
+ right: 50%; |
|
37 |
+ transform: translate(50%, -50%); |
|
38 |
+ width: 100%; |
|
39 |
+ } |
|
40 |
+ } |
|
41 |
+ |
|
42 |
+ .row { |
|
43 |
+ .left-col--inner { |
|
44 |
+ padding: 1rem 0.5rem 1rem 1rem; |
|
45 |
+ } |
|
46 |
+ |
|
47 |
+ .right-col--inner { |
|
48 |
+ padding: 1rem 0rem 1rem 0.5rem; |
|
49 |
+ } |
|
50 |
+ } |
|
51 |
+ |
|
52 |
+ .number-box--title { |
|
53 |
+ text-align: center; |
|
54 |
+ color: inherit; |
|
55 |
+ |
|
56 |
+ > * { |
|
57 |
+ text-transform: uppercase; |
|
58 |
+ margin-bottom: 0px; |
|
59 |
+ //font-weight: $font-weight-bolder; |
|
60 |
+ //@include font-size(34px); |
|
61 |
+ //color: var(--bs-white); |
|
62 |
+ line-height: var(--bs-body-line-height-xs); |
|
63 |
+ color: inherit; |
|
64 |
+ } |
|
65 |
+ |
|
66 |
+ & + .number-box--content { |
|
67 |
+ margin-top: 1.25rem; |
|
68 |
+ } |
|
69 |
+ } |
|
70 |
+ |
|
71 |
+ .number-box--content { |
|
72 |
+ width: 100%; |
|
73 |
+ text-align: center; |
|
74 |
+ line-height: var(--bs-body-line-height-xs); |
|
75 |
+ |
|
76 |
+ .left--col { |
|
77 |
+ .left-col--inner { |
|
78 |
+ |
|
79 |
+ white-space: nowrap; |
|
80 |
+ font-weight: $font-weight-bolder; |
|
81 |
+ @include font-size(30px); |
|
82 |
+ |
|
83 |
+ span { |
|
84 |
+ display: inline-block; |
|
85 |
+ line-height: var(--bs-body-line-height-xs); |
|
86 |
+ } |
|
87 |
+ } |
|
88 |
+ } |
|
89 |
+ |
|
90 |
+ .right--col { |
|
91 |
+ .right-col--inner { |
|
92 |
+ font-weight: $font-weight-bolder; |
|
93 |
+ @include font-size(24px); |
|
94 |
+ |
|
95 |
+ &.with-left-col { |
|
96 |
+ border-left: 4px solid var(--bs-white); |
|
97 |
+ } |
|
98 |
+ |
|
99 |
+ p { |
|
100 |
+ line-height: var(--bs-body-line-height-xs); |
|
101 |
+ } |
|
102 |
+ } |
|
103 |
+ } |
|
104 |
+ } |
|
105 |
+ } |
|
106 |
+ } |
|
107 |
+} |
|
0 | 108 |
\ No newline at end of file |