@festo-ui/web-essentials 3.0.0-pre-20220105.3 → 3.0.0-pre-20220105.2

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.
@@ -0,0 +1,214 @@
1
+ footer.fwe-footer {
2
+ background-color: $background;
3
+ padding: $container-padding;
4
+
5
+ .fwe-footer-social-links {
6
+ height: 155px;
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ align-items: center;
10
+ justify-content: center;
11
+
12
+ a {
13
+ display: block;
14
+ width: 64px;
15
+ height: 64px;
16
+ margin-right: 45px;
17
+
18
+ &:last-child {
19
+ margin-right: 0;
20
+ }
21
+
22
+ &:hover {
23
+ svg {
24
+ fill: $text;
25
+ }
26
+ }
27
+
28
+ svg {
29
+ width: 64px;
30
+ height: 64px;
31
+ fill: $border;
32
+ }
33
+ }
34
+ }
35
+
36
+ hr {
37
+ padding: 0;
38
+ margin: 0;
39
+ border: none;
40
+ border-top: 1px solid $border;
41
+ }
42
+
43
+ .fwe-footer-content {
44
+ padding-bottom: 60px;
45
+ display: flex;
46
+ flex-wrap: wrap;
47
+ justify-content: space-between;
48
+
49
+ details {
50
+ summary {
51
+ position: relative;
52
+ cursor: pointer;
53
+
54
+ &::before {
55
+ position: absolute;
56
+ right: 0;
57
+ top: 0;
58
+ content: "\e900";
59
+ font-family: $font-family-icons-16;
60
+ transform-origin: center center;
61
+ transform: rotate(180deg);
62
+ }
63
+ }
64
+ }
65
+
66
+ details[open] {
67
+ summary {
68
+ &::before {
69
+ transform: rotate(0deg);
70
+ }
71
+ }
72
+ }
73
+
74
+ .fwe-footer-content-group,
75
+ details {
76
+ flex-grow: 1;
77
+ width: 100%;
78
+ border-bottom: 1px solid $border;
79
+ padding-top: 30px;
80
+ padding-bottom: 30px;
81
+
82
+ .fwe-footer-content-group-title,
83
+ summary {
84
+ font-weight: $font-weight-bold;
85
+ outline: none;
86
+ margin-top: 30px;
87
+
88
+ &:first-child {
89
+ margin-top: 0;
90
+ }
91
+ }
92
+
93
+ summary {
94
+ list-style-type: none;
95
+
96
+ &::-webkit-details-marker {
97
+ display: none;
98
+ }
99
+ }
100
+
101
+ ul {
102
+ margin: 0;
103
+ margin-top: 20px;
104
+ padding: 0;
105
+ list-style-type: none;
106
+
107
+ li {
108
+ margin-bottom: 20px;
109
+
110
+ &:last-child {
111
+ margin-bottom: 0;
112
+ }
113
+
114
+ a {
115
+ color: $text;
116
+ text-decoration: none;
117
+
118
+ &:hover {
119
+ color: $hero;
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+
127
+ .fwe-footer-muted {
128
+ display: flex;
129
+ color: $text;
130
+ font-size: $font-size-small;
131
+ padding-bottom: 15px;
132
+ padding-left: 30px;
133
+ padding-right: 30px;
134
+ justify-content: center;
135
+ flex-direction: column-reverse;
136
+
137
+ p {
138
+ margin: 0;
139
+ padding: 0;
140
+ padding-bottom: 15px;
141
+ text-align: center;
142
+ }
143
+
144
+ ul {
145
+ margin: 0;
146
+ padding: 0;
147
+ margin-bottom: 15px;
148
+ list-style-type: none;
149
+ display: flex;
150
+ justify-content: center;
151
+ flex-wrap: wrap;
152
+
153
+ li {
154
+ display: inline-block;
155
+ padding-right: 12px;
156
+ padding-bottom: 15px;
157
+
158
+ &:last-child {
159
+ padding-right: 0;
160
+ }
161
+
162
+ a {
163
+ color: $text;
164
+ text-decoration: none;
165
+
166
+ &:hover {
167
+ color: $hero;
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ $size: map-get($grid-breakpoints, "md");
176
+ @media (min-width: $size) {
177
+ footer.fwe-footer {
178
+ .fwe-footer-content {
179
+ margin-top: 30px;
180
+ padding-left: 30px;
181
+ padding-right: 30px;
182
+
183
+ .fwe-footer-content-group,
184
+ details {
185
+ margin-top: 60px;
186
+ max-width: 325px;
187
+ padding-right: 30px;
188
+ border: none;
189
+ padding-top: 0;
190
+ padding-bottom: 0;
191
+
192
+ &:first-child {
193
+ border-top: none;
194
+ }
195
+ }
196
+ }
197
+
198
+ .fwe-footer-muted {
199
+ justify-content: start;
200
+ flex-direction: row;
201
+
202
+ p {
203
+ padding: 0;
204
+ text-align: left;
205
+ }
206
+
207
+ ul {
208
+ margin: 0;
209
+ margin-left: auto;
210
+ justify-content: start;
211
+ }
212
+ }
213
+ }
214
+ }
@@ -22,6 +22,7 @@
22
22
  @import "list";
23
23
  @import "navbar";
24
24
  @import "breadcrumb";
25
+ @import "footer";
25
26
  @import "text-link";
26
27
  @import "text-input";
27
28
  @import "chips";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/web-essentials",
3
- "version": "3.0.0-pre-20220105.3",
3
+ "version": "3.0.0-pre-20220105.2",
4
4
  "description": "CSS framework and utils to build FESTO web applications",
5
5
  "main": "jest.config.js",
6
6
  "style": "dist/css/festo-web-essentials.css",
@@ -0,0 +1,214 @@
1
+ footer.fwe-footer {
2
+ background-color: $background;
3
+ padding: $container-padding;
4
+
5
+ .fwe-footer-social-links {
6
+ height: 155px;
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ align-items: center;
10
+ justify-content: center;
11
+
12
+ a {
13
+ display: block;
14
+ width: 64px;
15
+ height: 64px;
16
+ margin-right: 45px;
17
+
18
+ &:last-child {
19
+ margin-right: 0;
20
+ }
21
+
22
+ &:hover {
23
+ svg {
24
+ fill: $text;
25
+ }
26
+ }
27
+
28
+ svg {
29
+ width: 64px;
30
+ height: 64px;
31
+ fill: $border;
32
+ }
33
+ }
34
+ }
35
+
36
+ hr {
37
+ padding: 0;
38
+ margin: 0;
39
+ border: none;
40
+ border-top: 1px solid $border;
41
+ }
42
+
43
+ .fwe-footer-content {
44
+ padding-bottom: 60px;
45
+ display: flex;
46
+ flex-wrap: wrap;
47
+ justify-content: space-between;
48
+
49
+ details {
50
+ summary {
51
+ position: relative;
52
+ cursor: pointer;
53
+
54
+ &::before {
55
+ position: absolute;
56
+ right: 0;
57
+ top: 0;
58
+ content: "\e900";
59
+ font-family: $font-family-icons-16;
60
+ transform-origin: center center;
61
+ transform: rotate(180deg);
62
+ }
63
+ }
64
+ }
65
+
66
+ details[open] {
67
+ summary {
68
+ &::before {
69
+ transform: rotate(0deg);
70
+ }
71
+ }
72
+ }
73
+
74
+ .fwe-footer-content-group,
75
+ details {
76
+ flex-grow: 1;
77
+ width: 100%;
78
+ border-bottom: 1px solid $border;
79
+ padding-top: 30px;
80
+ padding-bottom: 30px;
81
+
82
+ .fwe-footer-content-group-title,
83
+ summary {
84
+ font-weight: $font-weight-bold;
85
+ outline: none;
86
+ margin-top: 30px;
87
+
88
+ &:first-child {
89
+ margin-top: 0;
90
+ }
91
+ }
92
+
93
+ summary {
94
+ list-style-type: none;
95
+
96
+ &::-webkit-details-marker {
97
+ display: none;
98
+ }
99
+ }
100
+
101
+ ul {
102
+ margin: 0;
103
+ margin-top: 20px;
104
+ padding: 0;
105
+ list-style-type: none;
106
+
107
+ li {
108
+ margin-bottom: 20px;
109
+
110
+ &:last-child {
111
+ margin-bottom: 0;
112
+ }
113
+
114
+ a {
115
+ color: $text;
116
+ text-decoration: none;
117
+
118
+ &:hover {
119
+ color: $hero;
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+
127
+ .fwe-footer-muted {
128
+ display: flex;
129
+ color: $text;
130
+ font-size: $font-size-small;
131
+ padding-bottom: 15px;
132
+ padding-left: 30px;
133
+ padding-right: 30px;
134
+ justify-content: center;
135
+ flex-direction: column-reverse;
136
+
137
+ p {
138
+ margin: 0;
139
+ padding: 0;
140
+ padding-bottom: 15px;
141
+ text-align: center;
142
+ }
143
+
144
+ ul {
145
+ margin: 0;
146
+ padding: 0;
147
+ margin-bottom: 15px;
148
+ list-style-type: none;
149
+ display: flex;
150
+ justify-content: center;
151
+ flex-wrap: wrap;
152
+
153
+ li {
154
+ display: inline-block;
155
+ padding-right: 12px;
156
+ padding-bottom: 15px;
157
+
158
+ &:last-child {
159
+ padding-right: 0;
160
+ }
161
+
162
+ a {
163
+ color: $text;
164
+ text-decoration: none;
165
+
166
+ &:hover {
167
+ color: $hero;
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ $size: map-get($grid-breakpoints, "md");
176
+ @media (min-width: $size) {
177
+ footer.fwe-footer {
178
+ .fwe-footer-content {
179
+ margin-top: 30px;
180
+ padding-left: 30px;
181
+ padding-right: 30px;
182
+
183
+ .fwe-footer-content-group,
184
+ details {
185
+ margin-top: 60px;
186
+ max-width: 325px;
187
+ padding-right: 30px;
188
+ border: none;
189
+ padding-top: 0;
190
+ padding-bottom: 0;
191
+
192
+ &:first-child {
193
+ border-top: none;
194
+ }
195
+ }
196
+ }
197
+
198
+ .fwe-footer-muted {
199
+ justify-content: start;
200
+ flex-direction: row;
201
+
202
+ p {
203
+ padding: 0;
204
+ text-align: left;
205
+ }
206
+
207
+ ul {
208
+ margin: 0;
209
+ margin-left: auto;
210
+ justify-content: start;
211
+ }
212
+ }
213
+ }
214
+ }
@@ -22,6 +22,7 @@
22
22
  @import "list";
23
23
  @import "navbar";
24
24
  @import "breadcrumb";
25
+ @import "footer";
25
26
  @import "text-link";
26
27
  @import "text-input";
27
28
  @import "chips";