@iamproperty/components 1.0.13 → 2.2.0
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/README.md +120 -12
- package/assets/.DS_Store +0 -0
- package/assets/favicons/android-chrome-192x192.png +0 -0
- package/assets/favicons/android-chrome-512x512.png +0 -0
- package/assets/favicons/apple-touch-icon.png +0 -0
- package/assets/favicons/favicon-16x16.png +0 -0
- package/assets/favicons/favicon-32x32.png +0 -0
- package/assets/favicons/favicon.ico +0 -0
- package/assets/fonts/qanelas-medium-webfont.woff +0 -0
- package/assets/fonts/qanelas-medium-webfont.woff2 +0 -0
- package/assets/fonts/qanelassoft-extrabold-webfont.woff +0 -0
- package/assets/fonts/qanelassoft-extrabold-webfont.woff2 +0 -0
- package/assets/img/.DS_Store +0 -0
- package/{src/assets → assets}/img/logo.png +0 -0
- package/assets/js/main.js +62 -0
- package/assets/js/modules/accordion.js +36 -0
- package/assets/js/modules/carousel.js +102 -0
- package/assets/js/modules/drawer.js +16 -0
- package/assets/js/modules/form.js +49 -0
- package/assets/js/modules/helpers.js +93 -0
- package/assets/js/modules/modal.js +72 -0
- package/assets/js/modules/nav.js +27 -0
- package/assets/js/modules/table.js +573 -0
- package/assets/js/modules/testimonial.js +83 -0
- package/assets/sass/.DS_Store +0 -0
- package/assets/sass/_components.scss +35 -0
- package/assets/sass/_corefiles.scss +58 -0
- package/assets/sass/_func.scss +9 -0
- package/assets/sass/_functions/functions.scss +95 -0
- package/assets/sass/_functions/mixins.scss +109 -0
- package/assets/sass/_functions/utilities.scss +238 -0
- package/assets/sass/_functions/variables.scss +411 -0
- package/assets/sass/components/accordion.scss +195 -0
- package/assets/sass/components/card.scss +168 -0
- package/assets/sass/components/cardDeck.scss +107 -0
- package/assets/sass/components/carousel.scss +265 -0
- package/assets/sass/components/charts.scss +562 -0
- package/assets/sass/components/drawer.scss +45 -0
- package/assets/sass/components/header.scss +57 -0
- package/assets/sass/components/modal.scss +133 -0
- package/assets/sass/components/nav.scss +619 -0
- package/assets/sass/components/property-searchbar.scss +138 -0
- package/assets/sass/components/snapshot.scss +69 -0
- package/assets/sass/components/tabs.scss +46 -0
- package/assets/sass/components/testimonial.scss +131 -0
- package/assets/sass/components/timeline.scss +93 -0
- package/assets/sass/core.scss +4 -0
- package/assets/sass/elements/buttons.scss +263 -0
- package/assets/sass/elements/container.scss +222 -0
- package/assets/sass/elements/forms.scss +128 -0
- package/assets/sass/elements/links.scss +95 -0
- package/assets/sass/elements/lists.scss +26 -0
- package/assets/sass/elements/media.scss +3 -0
- package/assets/sass/elements/tables.scss +247 -0
- package/assets/sass/elements/tooltips.scss +71 -0
- package/assets/sass/elements/type.scss +114 -0
- package/assets/sass/foundations/brand.scss +74 -0
- package/assets/sass/foundations/circles.scss +63 -0
- package/assets/sass/foundations/fonts.scss +17 -0
- package/assets/sass/foundations/icons.scss +46 -0
- package/assets/sass/foundations/reboot.scss +120 -0
- package/assets/sass/foundations/root.scss +45 -0
- package/assets/sass/main.scss +5 -0
- package/assets/svg/.DS_Store +0 -0
- package/assets/svg/flat/.DS_Store +0 -0
- package/assets/svg/flat/agreed.svg +1 -0
- package/assets/svg/flat/alert.svg +1 -0
- package/assets/svg/flat/asset-37.svg +1 -0
- package/assets/svg/flat/asset-73.svg +1 -0
- package/assets/svg/flat/asset-82.svg +1 -0
- package/assets/svg/flat/award.svg +1 -0
- package/assets/svg/flat/bath.svg +1 -0
- package/assets/svg/flat/bed.svg +1 -0
- package/assets/svg/flat/calculate.svg +1 -0
- package/assets/svg/flat/calendar.svg +1 -0
- package/assets/svg/flat/celebrate.svg +1 -0
- package/assets/svg/flat/chat-house.svg +1 -0
- package/assets/svg/flat/chat.svg +1 -0
- package/assets/svg/flat/circle.svg +1 -0
- package/assets/svg/flat/clean.svg +1 -0
- package/assets/svg/flat/clock.svg +1 -0
- package/assets/svg/flat/computer.svg +1 -0
- package/assets/svg/flat/down.svg +1 -0
- package/assets/svg/flat/edit.svg +1 -0
- package/assets/svg/flat/email.svg +1 -0
- package/assets/svg/flat/event.svg +1 -0
- package/assets/svg/flat/family.svg +1 -0
- package/assets/svg/flat/file.svg +1 -0
- package/assets/svg/flat/find.svg +1 -0
- package/assets/svg/flat/fireworks.svg +1 -0
- package/assets/svg/flat/fist-left.svg +1 -0
- package/assets/svg/flat/fist.svg +1 -0
- package/assets/svg/flat/folder.svg +1 -0
- package/assets/svg/flat/footprints.svg +1 -0
- package/assets/svg/flat/hand.svg +1 -0
- package/assets/svg/flat/hands.svg +1 -0
- package/assets/svg/flat/house-2.svg +1 -0
- package/assets/svg/flat/house.svg +1 -0
- package/assets/svg/flat/idea.svg +1 -0
- package/assets/svg/flat/judge-house.svg +1 -0
- package/assets/svg/flat/judge.svg +1 -0
- package/assets/svg/flat/keys-house.svg +1 -0
- package/assets/svg/flat/lock.svg +1 -0
- package/assets/svg/flat/mobile.svg +1 -0
- package/assets/svg/flat/money.svg +1 -0
- package/assets/svg/flat/monument.svg +1 -0
- package/assets/svg/flat/online-judgement.svg +1 -0
- package/assets/svg/flat/paint.svg +1 -0
- package/assets/svg/flat/person-2.svg +1 -0
- package/assets/svg/flat/person.svg +1 -0
- package/assets/svg/flat/phone.svg +1 -0
- package/assets/svg/flat/pin.svg +1 -0
- package/assets/svg/flat/pound.svg +1 -0
- package/assets/svg/flat/present.svg +1 -0
- package/assets/svg/flat/qualification.svg +1 -0
- package/assets/svg/flat/rocket.svg +1 -0
- package/assets/svg/flat/sale.svg +1 -0
- package/assets/svg/flat/save.svg +1 -0
- package/assets/svg/flat/scale.svg +1 -0
- package/assets/svg/flat/send.svg +1 -0
- package/assets/svg/flat/share.svg +1 -0
- package/assets/svg/flat/sofa.svg +1 -0
- package/assets/svg/flat/sold.svg +1 -0
- package/assets/svg/flat/star.svg +1 -0
- package/assets/svg/flat/stopwatch.svg +1 -0
- package/assets/svg/flat/task.svg +1 -0
- package/assets/svg/flat/telescope.svg +1 -0
- package/assets/svg/flat/thumb.svg +1 -0
- package/assets/svg/flat/time.svg +1 -0
- package/assets/svg/flat/up.svg +1 -0
- package/assets/svg/flat/valuation.svg +1 -0
- package/assets/svg/flat/value-house.svg +1 -0
- package/assets/svg/flat/warning.svg +1 -0
- package/assets/svg/flat/water.svg +1 -0
- package/assets/svg/icons.svg +51 -0
- package/assets/svg/illustrations/commuter1.svg +1 -0
- package/assets/svg/illustrations/commuter2.svg +1 -0
- package/assets/svg/illustrations/commuter3.svg +1 -0
- package/assets/svg/logo.svg +43 -0
- package/dist/components.common.js +8218 -390
- package/dist/components.common.js.map +1 -1
- package/dist/components.css +2 -1
- package/dist/components.css.map +1 -0
- package/dist/components.umd.js +8218 -390
- package/dist/components.umd.js.map +1 -1
- package/dist/components.umd.min.js +1 -1
- package/dist/components.umd.min.js.map +1 -1
- package/package.json +88 -57
- package/src/.DS_Store +0 -0
- package/src/components/Accordion/Accordion.vue +24 -0
- package/src/components/Accordion/AccordionItem.vue +43 -0
- package/src/components/Accordion/README.md +34 -0
- package/src/components/Banner/Banner.vue +38 -0
- package/src/components/Banner/README.md +24 -0
- package/src/components/Card/Card.vue +115 -0
- package/src/components/Card/README.md +24 -0
- package/src/components/CardDeck/CardDeck.vue +78 -0
- package/src/components/CardDeck/README.md +25 -0
- package/src/components/Carousel/Carousel.vue +86 -0
- package/src/components/Carousel/README.md +20 -0
- package/src/components/Chart/Chart.vue +246 -0
- package/src/components/Chart/README.md +18 -0
- package/src/components/Drawer/Drawer.vue +54 -0
- package/src/components/Drawer/README.md +23 -0
- package/src/components/Header/Header.vue +39 -0
- package/src/components/Header/README.md +28 -0
- package/src/components/Modal/Modal.vue +44 -0
- package/src/components/Modal/README.md +20 -0
- package/src/components/Nav/Nav.vue +129 -0
- package/src/components/Nav/README.md +23 -0
- package/src/components/PropertySearchbar/PropertySearchbar.vue +206 -0
- package/src/components/PropertySearchbar/README.md +26 -0
- package/src/components/Snapshot/README.md +21 -0
- package/src/components/Snapshot/Snapshot.vue +33 -0
- package/src/components/Tabs/README.md +27 -0
- package/src/components/Tabs/Tab.vue +17 -0
- package/src/components/Tabs/Tabs.vue +55 -0
- package/src/components/Testimonial/README.md +26 -0
- package/src/components/Testimonial/Testimonial.vue +61 -0
- package/src/components/Timeline/README.md +18 -0
- package/src/components/Timeline/Timeline.vue +25 -0
- package/src/elements/Input/Input.vue +236 -0
- package/src/elements/Input/README.md +18 -0
- package/src/elements/Table/README.md +55 -0
- package/src/elements/Table/Table.vue +112 -0
- package/src/foundations/Icon/Icon.vue +21 -0
- package/src/foundations/Icon/README.md +11 -0
- package/src/foundations/Logo/Logo.vue +39 -0
- package/src/foundations/Logo/README.md +20 -0
- package/src/helpers/strings.js +12 -0
- package/src/index.js +21 -6
- package/src/assets/css/default.css +0 -99
- package/src/assets/logo.png +0 -0
- package/src/assets/scss/_variables.scss +0 -13
- package/src/components/KeyFacts/KeyFact.vue +0 -45
- package/src/components/KeyFacts/KeyFactGroup.vue +0 -44
- package/src/components/KeyFacts/README.md +0 -23
- package/src/components/KeyInformation/KeyInformation.vue +0 -23
- package/src/components/KeyInformation/README.md +0 -32
- package/src/components/PropertyTaskIntro/PropertyTaskIntro.vue +0 -74
- package/src/components/PropertyTaskIntro/README.md +0 -27
- package/src/components/TaskTitle/README.md +0 -24
- package/src/components/TaskTitle/TaskTitle.vue +0 -68
- package/src/components/VendorTable/README.md +0 -63
- package/src/components/VendorTable/VendorTable.vue +0 -49
|
@@ -0,0 +1,619 @@
|
|
|
1
|
+
.nav {
|
|
2
|
+
|
|
3
|
+
background: white;
|
|
4
|
+
|
|
5
|
+
&__inner {
|
|
6
|
+
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
flex-wrap: nowrap;
|
|
10
|
+
overflow: auto;
|
|
11
|
+
|
|
12
|
+
> .container {
|
|
13
|
+
|
|
14
|
+
padding-top: rem(16);
|
|
15
|
+
padding-bottom: 1rem;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
overflow: visible;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__menu {
|
|
22
|
+
padding-bottom: rem(16);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.brand {
|
|
26
|
+
font-size: rem(48);
|
|
27
|
+
|
|
28
|
+
@include media-breakpoint-up(sm) {
|
|
29
|
+
font-size: rem(60);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.nav__search-btn,
|
|
34
|
+
.nav__menu-btn {
|
|
35
|
+
|
|
36
|
+
display: flex;
|
|
37
|
+
|
|
38
|
+
label {
|
|
39
|
+
height: rem(26);
|
|
40
|
+
width: rem(30);
|
|
41
|
+
text-indent: -300%;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
position: relative;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
|
|
46
|
+
color: var(--colour-link);
|
|
47
|
+
|
|
48
|
+
&:hover,
|
|
49
|
+
&:focus {
|
|
50
|
+
|
|
51
|
+
color: var(--colour-hover);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:active {
|
|
55
|
+
|
|
56
|
+
color: var(--colour-active);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:before,
|
|
60
|
+
&:after {
|
|
61
|
+
content: "";
|
|
62
|
+
position: absolute;
|
|
63
|
+
width: 0%;
|
|
64
|
+
height: 2px;
|
|
65
|
+
top: calc(50% - 1px);
|
|
66
|
+
left: 0;
|
|
67
|
+
background: currentColor;
|
|
68
|
+
transform-origin: 50% 50%;
|
|
69
|
+
transition: transform 0.5s, width 0.5s;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
.nav__search-btn {
|
|
74
|
+
|
|
75
|
+
label {
|
|
76
|
+
text-indent: 0;
|
|
77
|
+
overflow: visible;
|
|
78
|
+
}
|
|
79
|
+
.icon {
|
|
80
|
+
height: rem(32);
|
|
81
|
+
width: rem(32);
|
|
82
|
+
margin-top: rem(-3);
|
|
83
|
+
margin-left: rem(-1);
|
|
84
|
+
transition: opacity 0.5s;
|
|
85
|
+
color: inherit;
|
|
86
|
+
|
|
87
|
+
&__outline {
|
|
88
|
+
|
|
89
|
+
stroke-width: 2px;
|
|
90
|
+
stroke: currentColor;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.nav__menu-btn {
|
|
96
|
+
display: flex;
|
|
97
|
+
|
|
98
|
+
label {
|
|
99
|
+
|
|
100
|
+
border-top: 2px solid currentColor;
|
|
101
|
+
border-bottom: 2px solid currentColor;
|
|
102
|
+
|
|
103
|
+
&:before,
|
|
104
|
+
&:after {
|
|
105
|
+
width: 70%;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.list-unstyled {
|
|
111
|
+
padding-top: 1rem;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&__menu li a:not(.text-decoration-none):not(.btn),
|
|
115
|
+
&__menu li .link:not(.text-decoration-none):not(.btn) {
|
|
116
|
+
text-decoration: none;
|
|
117
|
+
@include var(color,--colour-primary,!important);
|
|
118
|
+
display: inline-block;
|
|
119
|
+
padding: rem(8) 0 rem(8) 0;
|
|
120
|
+
margin-bottom: 0;
|
|
121
|
+
position: relative;
|
|
122
|
+
|
|
123
|
+
&:before {
|
|
124
|
+
display: block;
|
|
125
|
+
width: 0;
|
|
126
|
+
height: rem(4);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&:hover:before,
|
|
130
|
+
&:focus:before,
|
|
131
|
+
&:active:before,
|
|
132
|
+
&.active:before {
|
|
133
|
+
width: 100%;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
.nav__menu--search {
|
|
139
|
+
order: 2;
|
|
140
|
+
position: absolute;
|
|
141
|
+
top: 100%;
|
|
142
|
+
left: 0;
|
|
143
|
+
width: 100%;
|
|
144
|
+
|
|
145
|
+
background: rgba(0,0,0,.6);
|
|
146
|
+
height: calc(100vh - 5rem);
|
|
147
|
+
|
|
148
|
+
> div:first-child {
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Nav with background colour applied
|
|
155
|
+
.nav[class*="bg-"] {
|
|
156
|
+
|
|
157
|
+
.nav__menu--secondary.bg-primary {
|
|
158
|
+
background-color: white!important;
|
|
159
|
+
|
|
160
|
+
--colour-link: var(--colour-link-theme);
|
|
161
|
+
--colour-hover: var(--colour-hover-theme);
|
|
162
|
+
--colour-active: var(--colour-active-theme);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// #region Secondary nav
|
|
167
|
+
.nav__menu--secondary {
|
|
168
|
+
flex-grow: 1;
|
|
169
|
+
|
|
170
|
+
a {
|
|
171
|
+
display: inline-block;
|
|
172
|
+
font-size: rem(15);
|
|
173
|
+
padding: rem(8) 0 rem(8) 0;
|
|
174
|
+
text-decoration: none;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
a:hover,
|
|
178
|
+
a:focus {
|
|
179
|
+
text-decoration: underline!important;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
// #endregion
|
|
183
|
+
|
|
184
|
+
// #region Admin Nav
|
|
185
|
+
.nav--admin {
|
|
186
|
+
.brand {
|
|
187
|
+
font-size: rem(32);
|
|
188
|
+
|
|
189
|
+
@include media-breakpoint-up(md) {
|
|
190
|
+
font-size: rem(40);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
.nav__logo {
|
|
194
|
+
|
|
195
|
+
height: 2rem;
|
|
196
|
+
|
|
197
|
+
@include media-breakpoint-up(md) {
|
|
198
|
+
|
|
199
|
+
height: 2.5rem;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@include media-breakpoint-up(md) {
|
|
204
|
+
.nav__btn .btn {
|
|
205
|
+
padding-top: 0.5rem;
|
|
206
|
+
padding-bottom: 0.5rem;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
// #endregion
|
|
211
|
+
|
|
212
|
+
// #region Sticky nav
|
|
213
|
+
.nav {
|
|
214
|
+
|
|
215
|
+
position: sticky;
|
|
216
|
+
top: -1px;
|
|
217
|
+
padding-top: 1px;
|
|
218
|
+
left: 0;
|
|
219
|
+
width: 100%;
|
|
220
|
+
z-index: 99999;
|
|
221
|
+
|
|
222
|
+
&.is-stuck {
|
|
223
|
+
|
|
224
|
+
-webkit-box-shadow: 0 4px 20px -10px rgba(51,51,51,0.25);
|
|
225
|
+
box-shadow: 0 4px 20px -10px rgba(51,51,51,0.25);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
nav + main > *:first-child {
|
|
230
|
+
padding-top: 2rem;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
@include media-breakpoint-up(md) {
|
|
234
|
+
.nav.has-secondary:not(.nav--admin) {
|
|
235
|
+
|
|
236
|
+
top: rem(-40);
|
|
237
|
+
|
|
238
|
+
.nav__inner {
|
|
239
|
+
position: sticky;
|
|
240
|
+
top: 0;
|
|
241
|
+
left: 0;
|
|
242
|
+
width: 100%;
|
|
243
|
+
z-index: 99999;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
// #endregion
|
|
248
|
+
|
|
249
|
+
// #region Show/hide
|
|
250
|
+
.nav__menu,
|
|
251
|
+
.nav__btn,
|
|
252
|
+
.nav__menu--secondary,
|
|
253
|
+
.nav__menu--search {
|
|
254
|
+
|
|
255
|
+
display: none;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
#showMenu:checked ~ .nav__inner {
|
|
259
|
+
|
|
260
|
+
height: 100vh;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
#showMenu:checked ~ div .nav__menu,
|
|
264
|
+
#showMenu:checked ~ div .nav__btn,
|
|
265
|
+
#showMenu:checked ~ div .nav__menu--secondary,
|
|
266
|
+
#showMenu:not(:checked) ~ #showSearch:checked ~ div .nav__menu--search {
|
|
267
|
+
display: block;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
#showMenu:checked ~ div .nav__menu-btn label,
|
|
273
|
+
#showSearch:checked ~ div .nav__search-btn label {
|
|
274
|
+
|
|
275
|
+
border: 0;
|
|
276
|
+
|
|
277
|
+
.icon {
|
|
278
|
+
opacity: 0;
|
|
279
|
+
}
|
|
280
|
+
&:before {
|
|
281
|
+
width: 100%;
|
|
282
|
+
transform: rotate(45deg);
|
|
283
|
+
}
|
|
284
|
+
&:after {
|
|
285
|
+
|
|
286
|
+
width: 100%;
|
|
287
|
+
transform: rotate(-45deg);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
// #endregion
|
|
291
|
+
|
|
292
|
+
// #region Desktop nav
|
|
293
|
+
@include media-breakpoint-up(md) {
|
|
294
|
+
|
|
295
|
+
.nav__logo {
|
|
296
|
+
height: rem(64);
|
|
297
|
+
}
|
|
298
|
+
.nav__inner {
|
|
299
|
+
overflow: visible;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.nav .nav__menu {
|
|
303
|
+
display: flex;
|
|
304
|
+
padding-bottom: 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.nav__btn,
|
|
308
|
+
.nav__menu--secondary {
|
|
309
|
+
display: flex;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.nav:not(.nav--admin) {
|
|
313
|
+
|
|
314
|
+
.nav__inner > .container {
|
|
315
|
+
order: 1;
|
|
316
|
+
}
|
|
317
|
+
.nav__menu--secondary {
|
|
318
|
+
order: 0;
|
|
319
|
+
|
|
320
|
+
.container {
|
|
321
|
+
padding-bottom: 0;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.nav__search-btn,
|
|
327
|
+
.nav__btn {
|
|
328
|
+
order: 2;
|
|
329
|
+
margin-left: 1rem;
|
|
330
|
+
|
|
331
|
+
.btn {
|
|
332
|
+
margin-bottom: 0;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.nav__menu > .list-unstyled {
|
|
337
|
+
margin-left: -1.5rem!important;
|
|
338
|
+
margin-right: -1.5rem!important;
|
|
339
|
+
width: calc(100% + 3rem);
|
|
340
|
+
margin-bottom: 0;
|
|
341
|
+
text-align: right;
|
|
342
|
+
padding-top: 0;
|
|
343
|
+
|
|
344
|
+
> li {
|
|
345
|
+
display: inline-block;
|
|
346
|
+
padding-left: 1.5rem;
|
|
347
|
+
padding-right: 1.5rem;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.nav__menu--secondary .list-unstyled {
|
|
352
|
+
margin-left: -1rem!important;
|
|
353
|
+
margin-right: -1rem!important;
|
|
354
|
+
width: calc(100% + 2rem);
|
|
355
|
+
margin-bottom: 0;
|
|
356
|
+
text-align: right;
|
|
357
|
+
|
|
358
|
+
> li {
|
|
359
|
+
display: inline-block;
|
|
360
|
+
padding-left: 1rem;
|
|
361
|
+
padding-right: 1rem;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
.nav:not(.nav--admin) .nav__menu--secondary .list-unstyled {
|
|
367
|
+
font-size: rem(15);
|
|
368
|
+
padding-top: 0;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.nav.nav--admin .nav__menu--secondary .list-unstyled {
|
|
372
|
+
text-align: left;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
}
|
|
376
|
+
// #endregion
|
|
377
|
+
|
|
378
|
+
// #region Drop down links
|
|
379
|
+
|
|
380
|
+
.nav__menu .list-unstyled {
|
|
381
|
+
|
|
382
|
+
> li {
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
ul {
|
|
386
|
+
|
|
387
|
+
padding-top: 0;
|
|
388
|
+
padding-left: 1rem;
|
|
389
|
+
|
|
390
|
+
@include media-breakpoint-up(md) {
|
|
391
|
+
padding-left: 0;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
li a:not(.text-decoration-none):not(.btn),
|
|
395
|
+
li .link:not(.text-decoration-none):not(.btn){
|
|
396
|
+
|
|
397
|
+
&:focus,
|
|
398
|
+
&:hover {
|
|
399
|
+
text-decoration: underline;
|
|
400
|
+
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
&:before {
|
|
404
|
+
display: none;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.link:not(.text-decoration-none):not(.btn) {
|
|
410
|
+
padding: 0.5rem 1.5rem 0.5rem 0;
|
|
411
|
+
display: inline-block;
|
|
412
|
+
color: var(--colour-primary);
|
|
413
|
+
cursor: pointer;
|
|
414
|
+
position: relative;
|
|
415
|
+
|
|
416
|
+
&:after {
|
|
417
|
+
content: "";
|
|
418
|
+
position: absolute;
|
|
419
|
+
top: 50%;
|
|
420
|
+
right: 0;
|
|
421
|
+
width: 1.2em;
|
|
422
|
+
height: 1.2em;
|
|
423
|
+
|
|
424
|
+
background: currentColor;
|
|
425
|
+
mask-image: var(--icon-arrow);
|
|
426
|
+
mask-size: 50%;
|
|
427
|
+
mask-repeat: no-repeat;
|
|
428
|
+
mask-position: 50% 50%;
|
|
429
|
+
-webkit-mask-image: var(--icon-arrow);
|
|
430
|
+
-webkit-mask-size: 50%;
|
|
431
|
+
-webkit-mask-repeat: no-repeat;
|
|
432
|
+
-webkit-mask-position: 50% 50%;
|
|
433
|
+
transition: transform 0.2s ease-in-out;
|
|
434
|
+
transform: rotate(90deg) translate(-50%,0);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
details {
|
|
440
|
+
@include media-breakpoint-up(md) {
|
|
441
|
+
|
|
442
|
+
z-index: 1;
|
|
443
|
+
padding: 0 1rem;
|
|
444
|
+
margin-left: -1rem;
|
|
445
|
+
margin-right: -1rem;
|
|
446
|
+
width: calc(100% + 2rem)
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
@include media-breakpoint-up(md) {
|
|
451
|
+
details:not(.nav__mega-menu) {
|
|
452
|
+
|
|
453
|
+
position: relative;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
details .inner {
|
|
458
|
+
|
|
459
|
+
padding-bottom: 2rem;
|
|
460
|
+
|
|
461
|
+
@include media-breakpoint-up(md) {
|
|
462
|
+
|
|
463
|
+
position: absolute;
|
|
464
|
+
top: 100%;
|
|
465
|
+
right: 0;
|
|
466
|
+
min-width: 100%;
|
|
467
|
+
width: fit-content!important;
|
|
468
|
+
max-width: rem(300);
|
|
469
|
+
background: white;
|
|
470
|
+
padding: 1rem;
|
|
471
|
+
box-shadow: 0 4px 20px -10px rgb(51 51 51 / 15%);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
details[open] {
|
|
478
|
+
.link:not(.text-decoration-none):not(.btn) {
|
|
479
|
+
|
|
480
|
+
&:before {
|
|
481
|
+
width: 100%;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
details:hover,
|
|
487
|
+
details:focus,
|
|
488
|
+
details:focus-within {
|
|
489
|
+
|
|
490
|
+
.link:not(.text-decoration-none):not(.btn) {
|
|
491
|
+
|
|
492
|
+
&:before {
|
|
493
|
+
width: 100%;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
&::details-content { display: contents; }
|
|
497
|
+
.inner {
|
|
498
|
+
display: block!important;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
// #endregion
|
|
507
|
+
|
|
508
|
+
// #region Mega menu
|
|
509
|
+
.nav__menu .list-unstyled > li details.nav__mega-menu {
|
|
510
|
+
|
|
511
|
+
@include media-breakpoint-up(md) {
|
|
512
|
+
|
|
513
|
+
position: static;
|
|
514
|
+
|
|
515
|
+
height: 4.5rem;
|
|
516
|
+
margin-bottom: -5rem;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.inner {
|
|
520
|
+
|
|
521
|
+
[class*="bg-"]{
|
|
522
|
+
|
|
523
|
+
--bs-bg-opacity: 0;
|
|
524
|
+
@include media-breakpoint-up(md) {
|
|
525
|
+
--bs-bg-opacity: 1;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
@include media-breakpoint-up(md) {
|
|
531
|
+
|
|
532
|
+
--bs-bg-opacity: 1;
|
|
533
|
+
position: absolute;
|
|
534
|
+
top: 100%;
|
|
535
|
+
left: 50%;
|
|
536
|
+
width: 100vw;
|
|
537
|
+
-webkit-transform: translateX(-50%);
|
|
538
|
+
-ms-transform: translateX(-50%);
|
|
539
|
+
transform: translateX(-50%);
|
|
540
|
+
|
|
541
|
+
background: rgba(0,0,0,.6);
|
|
542
|
+
height: calc(100vh - 8rem);
|
|
543
|
+
|
|
544
|
+
pointer-events: none;
|
|
545
|
+
padding-top: 0;
|
|
546
|
+
|
|
547
|
+
.container {
|
|
548
|
+
padding: 0 rem(60 - 36) 1rem rem(60 - 36)!important;
|
|
549
|
+
max-width: rem(1440)!important;
|
|
550
|
+
text-align: left;
|
|
551
|
+
pointer-events: all;
|
|
552
|
+
display: flex;
|
|
553
|
+
|
|
554
|
+
> div {
|
|
555
|
+
padding: rem(36);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
// #endregion
|
|
562
|
+
|
|
563
|
+
// #region inline search
|
|
564
|
+
.nav--inline-search {
|
|
565
|
+
|
|
566
|
+
.nav__menu form {
|
|
567
|
+
position: relative;
|
|
568
|
+
.form-control__wrapper .form-control {
|
|
569
|
+
padding-right: 3rem;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
button {
|
|
573
|
+
position: absolute;
|
|
574
|
+
bottom: 0;
|
|
575
|
+
right: 0;
|
|
576
|
+
margin: 0;
|
|
577
|
+
z-index: 1;
|
|
578
|
+
border-color: transparent;
|
|
579
|
+
background: transparent;
|
|
580
|
+
padding: 0.85rem 0rem;
|
|
581
|
+
|
|
582
|
+
.icon {
|
|
583
|
+
stroke: currentColor;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
@include media-breakpoint-up(md) {
|
|
589
|
+
.nav__menu > .list-unstyled {
|
|
590
|
+
text-align: left;
|
|
591
|
+
margin-right: 0!important;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.nav__menu form {
|
|
595
|
+
min-width: rem(350);
|
|
596
|
+
position: relative;
|
|
597
|
+
|
|
598
|
+
.form-control__wrapper {
|
|
599
|
+
margin-bottom: 0;
|
|
600
|
+
display: flex;
|
|
601
|
+
align-items: center;
|
|
602
|
+
|
|
603
|
+
label {
|
|
604
|
+
white-space: nowrap;
|
|
605
|
+
padding-right: 1rem;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.form-control {
|
|
609
|
+
padding: rem(7) 3rem rem(7) 1rem;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
button {
|
|
614
|
+
padding: rem(8) 0rem;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
// #endregion
|