bobjoll 1.0.3
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 +35 -0
- package/package.json +25 -0
- package/scss/layout/_footer.scss +10 -0
- package/scss/layout/_header.scss +10 -0
- package/scss/modules/_fonts.scss +26 -0
- package/scss/modules/_reset.scss +219 -0
- package/scss/modules/bourbon/addons/_clearfix.scss +25 -0
- package/scss/modules/bourbon/addons/_ellipsis.scss +30 -0
- package/scss/modules/bourbon/addons/_position.scss +48 -0
- package/scss/modules/bourbon/addons/_prefixer.scss +66 -0
- package/scss/modules/bourbon/addons/_size.scss +51 -0
- package/scss/modules/bourbon/addons/_timing-functions.scss +34 -0
- package/scss/modules/bourbon/addons/_triangle.scss +63 -0
- package/scss/modules/bourbon/css3/_calc.scss +4 -0
- package/scss/modules/bourbon/css3/_flex-box.scss +287 -0
- package/scss/modules/bourbon/css3/_keyframes.scss +36 -0
- package/scss/modules/bourbon/css3/_linear-gradient.scss +38 -0
- package/scss/modules/bourbon/css3/_placeholder.scss +8 -0
- package/scss/modules/bourbon/css3/_selection.scss +42 -0
- package/scss/modules/bourbon/css3/_transition.scss +71 -0
- package/scss/modules/mixins/_component.scss +9 -0
- package/scss/modules/mixins/_grid.scss +75 -0
- package/scss/modules/mixins/_helpers.scss +224 -0
- package/scss/modules/variables/_colors.scss +447 -0
- package/scss/modules/variables/_general.scss +235 -0
- package/scss/partials/_accordion-v1-0.scss +165 -0
- package/scss/partials/_autocomplete-v1-0.scss +55 -0
- package/scss/partials/_general-v1-0.scss +51 -0
- package/scss/partials/_grid-v1-0.scss +109 -0
- package/scss/partials/_helper-v1-0.scss +299 -0
- package/scss/partials/_icon-v2-0.scss +323 -0
- package/scss/partials/_list-v1-0.scss +100 -0
- package/scss/partials/_modal-v1-0.scss +159 -0
- package/scss/partials/_notification-v1-1.scss +297 -0
- package/scss/partials/_progress-bar-v1.0.scss +25 -0
- package/scss/partials/_range-v1.0.scss +75 -0
- package/scss/partials/_tooltipFixed-v1.0.scss +128 -0
- package/scss/partials/_typography-v1-0.scss +201 -0
- package/scss/partials/animations/_fade.scss +23 -0
- package/scss/partials/animations/_rotate.scss +11 -0
- package/scss/partials/animations/_scale.scss +23 -0
- package/scss/partials/animations/_slide.scss +31 -0
- package/scss/partials/button-v4-0/_component.scss +304 -0
- package/scss/partials/form/_checkbox-and-radio-v1-0.scss +187 -0
- package/scss/partials/form/_dropdowns-v1-0.scss +323 -0
- package/scss/partials/form/_general-v1-0.scss +166 -0
- package/scss/partials/form/_group-v1-0.scss +157 -0
- package/scss/partials/form/_password-v1-0.scss +28 -0
- package/scss/partials/form/_switch-v1-0.scss +128 -0
- package/scss/partials/form/_upload-v1-0.scss +91 -0
- package/ts/library/common.ts +30 -0
- package/ts/library/cookie.ts +47 -0
- package/ts/library/delegate.ts +122 -0
- package/ts/library/dom.ts +124 -0
- package/ts/library/event.ts +138 -0
- package/ts/library/extend.js +32 -0
- package/ts/library/gr/dom.q.ts +12 -0
- package/ts/library/gr/social/dependency/twitter_pu.js +66 -0
- package/ts/library/gr/social/facebook.ts +154 -0
- package/ts/library/gr/social/google.ts +127 -0
- package/ts/library/gr/social/index.ts +35 -0
- package/ts/library/gr/social/twitter.ts +65 -0
- package/ts/library/helpers.ts +9 -0
- package/ts/library/number-abbreviate.js +57 -0
- package/ts/library/settings.ts +7 -0
- package/ts/library/storage.ts +131 -0
- package/ts/library/svg4everybody.legacy.js +122 -0
- package/ts/partials/accordion-v1.0.ts +104 -0
- package/ts/partials/accordionTabs-v1.0.ts +27 -0
- package/ts/partials/alert-v1.0.ts +51 -0
- package/ts/partials/copy-v1.0.ts +17 -0
- package/ts/partials/countdown-v1.0.ts +119 -0
- package/ts/partials/dropdown-v1.0.ts +247 -0
- package/ts/partials/hbs-v1.0.ts +9 -0
- package/ts/partials/modal-v1.0.ts +213 -0
- package/ts/partials/notifications-v1.1.ts +376 -0
- package/ts/partials/notify-v1.0.ts +746 -0
- package/ts/partials/password-v1.0.ts +19 -0
- package/ts/partials/popover-v1.0.ts +125 -0
- package/ts/partials/progress-bar-v1.0.ts +29 -0
- package/ts/partials/scroll-v1.0.ts +169 -0
- package/ts/partials/scrollable-v1.0.ts +90 -0
- package/ts/partials/tabs-v1.0.ts +79 -0
- package/ts/partials/tags-v1.0.ts +21 -0
- package/ts/partials/trigger-v2.0.ts +155 -0
- package/ts/partials/upload-v1.0.ts +17 -0
- package/ts/views/hbs/alert-v1.0/element.html.hbs +35 -0
- package/ts/views/hbs/countdown-v1.0/countdown-inner.hbs +39 -0
- package/ts/views/hbs/countdown-v1.0/countdown.hbs +4 -0
- package/ts/views/hbs/dropdown-v1.0/element.html.hbs +70 -0
- package/ts/views/hbs/helpers.js +58 -0
- package/ts/views/hbs/modal-v1.0/element.html.hbs +17 -0
- package/ts/views/hbs/notification-v1.1/element-disable.html.hbs +26 -0
- package/ts/views/hbs/notification-v1.1/element.html.hbs +43 -0
- package/ts/views/hbs/notification-v1.1/wrapper.html.hbs +4 -0
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
// Aspect ratio
|
|
2
|
+
$aspect-ratios: (
|
|
3
|
+
'100': (100, 100),
|
|
4
|
+
'75': (100, 75),
|
|
5
|
+
'16-9': (16, 9),
|
|
6
|
+
'4-3': (4, 3)
|
|
7
|
+
) !default;
|
|
8
|
+
|
|
9
|
+
// Profile login
|
|
10
|
+
$profile-login-max-width: 560px !default;
|
|
11
|
+
|
|
12
|
+
// Avatar
|
|
13
|
+
$avatar-width-xs: 36px !default;
|
|
14
|
+
$avatar-height-xs: $avatar-width-xs !default;
|
|
15
|
+
$avatar-width-sm: 44px !default;
|
|
16
|
+
$avatar-height-sm: $avatar-width-sm !default;
|
|
17
|
+
$avatar-width-md: 64px !default;
|
|
18
|
+
$avatar-height-md: $avatar-width-md !default;
|
|
19
|
+
$avatar-width-lg: 128px !default;
|
|
20
|
+
$avatar-height-lg: $avatar-width-lg !default;
|
|
21
|
+
$avatar-width-xl: 164px !default;
|
|
22
|
+
$avatar-height-xl: $avatar-width-xl !default;
|
|
23
|
+
|
|
24
|
+
// Sizes
|
|
25
|
+
$sizes: 'xs', 'sm', 'md', 'lg', 'xl' !default;
|
|
26
|
+
|
|
27
|
+
// Base dimensions
|
|
28
|
+
$extra-large-element-height: 64px !default;
|
|
29
|
+
$large-element-height: 54px !default;
|
|
30
|
+
$base-element-height: 44px !default;
|
|
31
|
+
$small-element-height: 34px !default;
|
|
32
|
+
$extra-small-element-height: 24px !default;
|
|
33
|
+
$base-sizes: (
|
|
34
|
+
'xs': $extra-small-element-height,
|
|
35
|
+
'sm': $small-element-height,
|
|
36
|
+
'md': $base-element-height,
|
|
37
|
+
'lg': $large-element-height,
|
|
38
|
+
'xl': $extra-large-element-height
|
|
39
|
+
) !default;
|
|
40
|
+
|
|
41
|
+
// Grid Settings
|
|
42
|
+
$grid-columns: 12 !default;
|
|
43
|
+
$grid-columns-spacing: 5px !default;
|
|
44
|
+
|
|
45
|
+
// Shadow
|
|
46
|
+
$base-box-shadow: 0 0 60px color('shadow', 'general', .25) !default;
|
|
47
|
+
$inner-box-shadow: inset $base-box-shadow !default;
|
|
48
|
+
|
|
49
|
+
// Buttons
|
|
50
|
+
$extra-large-button-height: $extra-large-element-height !default;
|
|
51
|
+
$large-button-height: $large-element-height !default;
|
|
52
|
+
$base-button-height: $base-element-height !default;
|
|
53
|
+
$small-button-height: $small-element-height !default;
|
|
54
|
+
$extra-small-button-height: $extra-small-element-height !default;
|
|
55
|
+
$button-sizes: (
|
|
56
|
+
'xs': $extra-small-button-height,
|
|
57
|
+
'sm': $small-button-height,
|
|
58
|
+
'md': $base-button-height,
|
|
59
|
+
'lg': $large-button-height,
|
|
60
|
+
'xl': $extra-large-button-height
|
|
61
|
+
) !default;
|
|
62
|
+
|
|
63
|
+
// Border
|
|
64
|
+
$base-border-width: 1px !default;
|
|
65
|
+
$base-border-radius: 3px !default;
|
|
66
|
+
$base-border-style: solid !default;
|
|
67
|
+
$base-border: $base-border-width $base-border-style color('border', 'general') !default;
|
|
68
|
+
|
|
69
|
+
// Typography
|
|
70
|
+
$base-font-family: 'Proxima Nova', 'Verdana', 'Avenir Next' !default;
|
|
71
|
+
$title-font-family: $base-font-family !default;
|
|
72
|
+
|
|
73
|
+
// Typography Sizes
|
|
74
|
+
$extra-large-font-size: 22px !default;
|
|
75
|
+
$large-font-size: 18px !default;
|
|
76
|
+
$base-font-size: 16px !default;
|
|
77
|
+
$small-font-size: 14px !default;
|
|
78
|
+
$extra-small-font-size: 13px !default;
|
|
79
|
+
|
|
80
|
+
$h1-font-size: (
|
|
81
|
+
'min-vw': map-get($breakpoints, 'xs'),
|
|
82
|
+
'max-vw': map-get($breakpoints, 'xl'),
|
|
83
|
+
'min-value': 40px,
|
|
84
|
+
'max-value': 46px,
|
|
85
|
+
) !default;
|
|
86
|
+
$h2-font-size: (
|
|
87
|
+
'min-vw': map-get($breakpoints, 'xs'),
|
|
88
|
+
'max-vw': map-get($breakpoints, 'xl'),
|
|
89
|
+
'min-value': 36px,
|
|
90
|
+
'max-value': 42px,
|
|
91
|
+
) !default;
|
|
92
|
+
$h3-font-size: (
|
|
93
|
+
'min-vw': map-get($breakpoints, 'xs'),
|
|
94
|
+
'max-vw': map-get($breakpoints, 'xl'),
|
|
95
|
+
'min-value': 32px,
|
|
96
|
+
'max-value': 38px,
|
|
97
|
+
) !default;
|
|
98
|
+
$h4-font-size: (
|
|
99
|
+
'min-vw': map-get($breakpoints, 'xs'),
|
|
100
|
+
'max-vw': map-get($breakpoints, 'xl'),
|
|
101
|
+
'min-value': 28px,
|
|
102
|
+
'max-value': 34px,
|
|
103
|
+
) !default;
|
|
104
|
+
$h5-font-size: (
|
|
105
|
+
'min-vw': map-get($breakpoints, 'xs'),
|
|
106
|
+
'max-vw': map-get($breakpoints, 'xl'),
|
|
107
|
+
'min-value': 24px,
|
|
108
|
+
'max-value': 30px,
|
|
109
|
+
) !default;
|
|
110
|
+
$h6-font-size: (
|
|
111
|
+
'min-vw': map-get($breakpoints, 'xs'),
|
|
112
|
+
'max-vw': map-get($breakpoints, 'xl'),
|
|
113
|
+
'min-value': 20px,
|
|
114
|
+
'max-value': 26px,
|
|
115
|
+
) !default;
|
|
116
|
+
|
|
117
|
+
$font-sizes: (
|
|
118
|
+
'xs': $extra-small-font-size,
|
|
119
|
+
'sm': $small-font-size,
|
|
120
|
+
'md': $base-font-size,
|
|
121
|
+
'lg': $large-font-size,
|
|
122
|
+
'xl': $extra-large-font-size
|
|
123
|
+
) !default;
|
|
124
|
+
|
|
125
|
+
// Typography Weight
|
|
126
|
+
$normal-font-weight: 400 !default;
|
|
127
|
+
$semi-font-weight: 500 !default;
|
|
128
|
+
$bold-font-weight: 600 !default;
|
|
129
|
+
|
|
130
|
+
$font-weights: (
|
|
131
|
+
'normal': $normal-font-weight,
|
|
132
|
+
'semi': $semi-font-weight,
|
|
133
|
+
'bold': $bold-font-weight,
|
|
134
|
+
) !default;
|
|
135
|
+
|
|
136
|
+
// Icons
|
|
137
|
+
$extra-large-icon-width: 24px !default;
|
|
138
|
+
$extra-large-icon-height: $extra-large-icon-width !default;
|
|
139
|
+
$large-icon-width: 20px !default;
|
|
140
|
+
$large-icon-height: $large-icon-width !default;
|
|
141
|
+
$base-large-icon-width: 18px !default;
|
|
142
|
+
$base-large-icon-height: $base-large-icon-width !default;
|
|
143
|
+
$base-icon-width: 16px !default;
|
|
144
|
+
$base-icon-height: $base-icon-width !default;
|
|
145
|
+
$small-icon-width: 14px !default;
|
|
146
|
+
$small-icon-height: $small-icon-width !default;
|
|
147
|
+
$extra-small-icon-width: 12px !default;
|
|
148
|
+
$extra-small-icon-height: $extra-small-icon-width !default;
|
|
149
|
+
|
|
150
|
+
$icon-sizes: (
|
|
151
|
+
'xs': (
|
|
152
|
+
'width': $extra-small-icon-width,
|
|
153
|
+
'height': $extra-small-icon-height
|
|
154
|
+
),
|
|
155
|
+
'sm': (
|
|
156
|
+
'width': $small-icon-width,
|
|
157
|
+
'height': $small-icon-width
|
|
158
|
+
),
|
|
159
|
+
'md': (
|
|
160
|
+
'width': $base-icon-width,
|
|
161
|
+
'height': $base-icon-height
|
|
162
|
+
),
|
|
163
|
+
'lg': (
|
|
164
|
+
'width': $large-icon-width,
|
|
165
|
+
'height': $large-icon-height
|
|
166
|
+
),
|
|
167
|
+
'xl': (
|
|
168
|
+
'width': $extra-large-icon-width,
|
|
169
|
+
'height': $extra-large-icon-height
|
|
170
|
+
)
|
|
171
|
+
) !default;
|
|
172
|
+
|
|
173
|
+
// Inputs
|
|
174
|
+
$extra-large-input-height: $extra-large-element-height !default;
|
|
175
|
+
$large-input-height: $large-element-height !default;
|
|
176
|
+
$base-input-height: $base-element-height !default;
|
|
177
|
+
$small-input-height: $small-element-height !default;
|
|
178
|
+
$extra-small-input-height: $extra-small-element-height !default;
|
|
179
|
+
$input-sizes: (
|
|
180
|
+
'xs': $extra-small-input-height,
|
|
181
|
+
'sm': $small-input-height,
|
|
182
|
+
'md': $base-input-height,
|
|
183
|
+
'lg': $large-input-height,
|
|
184
|
+
'xl': $extra-large-input-height
|
|
185
|
+
) !default;
|
|
186
|
+
|
|
187
|
+
$extra-large-input-ui-height: 44px !default;
|
|
188
|
+
$large-input-ui-height: 36px !default;
|
|
189
|
+
$base-input-ui-height: 30px !default;
|
|
190
|
+
$small-input-ui-height: 20px !default;
|
|
191
|
+
$extra-small-input-ui-height: 16px !default;
|
|
192
|
+
$input-ui-sizes: (
|
|
193
|
+
'xs': $extra-small-input-ui-height,
|
|
194
|
+
'sm': $small-input-ui-height,
|
|
195
|
+
'md': $base-input-ui-height,
|
|
196
|
+
'lg': $large-input-ui-height,
|
|
197
|
+
'xl': $extra-large-input-ui-height
|
|
198
|
+
) !default;
|
|
199
|
+
|
|
200
|
+
// Line Height
|
|
201
|
+
$base-line-height: 1.6 !default;
|
|
202
|
+
$extra-large-line-height: 2 !default;
|
|
203
|
+
$large-line-height: 1.8 !default;
|
|
204
|
+
$small-line-height: 1.4 !default;
|
|
205
|
+
$extra-small-line-height: 1.2 !default;
|
|
206
|
+
$title-line-height: 1.4 !default;
|
|
207
|
+
$line-height-sizes: (
|
|
208
|
+
'xs': $extra-small-line-height,
|
|
209
|
+
'sm': $small-line-height,
|
|
210
|
+
'md': $base-line-height,
|
|
211
|
+
'lg': $large-line-height,
|
|
212
|
+
'xl': $extra-large-line-height
|
|
213
|
+
) !default;
|
|
214
|
+
|
|
215
|
+
// Spacing
|
|
216
|
+
$extra-large-spacing: 50px !default;
|
|
217
|
+
$large-spacing: 30px !default;
|
|
218
|
+
$base-spacing: 20px !default;
|
|
219
|
+
$small-spacing: 10px !default;
|
|
220
|
+
$extra-small-spacing: 5px !default;
|
|
221
|
+
$spacing-sizes: (
|
|
222
|
+
'xs': $extra-small-spacing,
|
|
223
|
+
'sm': $small-spacing,
|
|
224
|
+
'md': $base-spacing,
|
|
225
|
+
'lg': $large-spacing,
|
|
226
|
+
'xl': $extra-large-spacing
|
|
227
|
+
) !default;
|
|
228
|
+
|
|
229
|
+
// Triangle
|
|
230
|
+
$base-triangle-size: 10px !default;
|
|
231
|
+
|
|
232
|
+
// Shadow
|
|
233
|
+
$base-box-shadow: 0 0 60px color('shadow', 'general', .25);
|
|
234
|
+
$small-box-shadow: 0 0 30px color('shadow', 'general', .25);
|
|
235
|
+
$inner-box-shadow: inset $base-box-shadow;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
@if $accordion-v1-0 {
|
|
2
|
+
.accordion {
|
|
3
|
+
@include clearfix;
|
|
4
|
+
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
|
|
9
|
+
margin: 0 0 $base-spacing;
|
|
10
|
+
padding: 0;
|
|
11
|
+
|
|
12
|
+
line-height: $base-line-height;
|
|
13
|
+
|
|
14
|
+
&:not(.accordion--ready) {
|
|
15
|
+
.accordion__mobile-nav {
|
|
16
|
+
position: absolute;
|
|
17
|
+
|
|
18
|
+
visibility: hidden;
|
|
19
|
+
|
|
20
|
+
border-bottom: $base-border;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.accordion__container > a,
|
|
24
|
+
.accordion__container > button {
|
|
25
|
+
visibility: hidden;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&--tabs:not(data-disable-mobile-select) {
|
|
30
|
+
@include breakpoint('xs', 'min') {
|
|
31
|
+
.accordion__container {
|
|
32
|
+
display: inline;
|
|
33
|
+
|
|
34
|
+
border: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.accordion__content {
|
|
38
|
+
float: left;
|
|
39
|
+
|
|
40
|
+
border-top: $base-border;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.accordion__link {
|
|
44
|
+
&:not(.nostyle) {
|
|
45
|
+
display: inline-block;
|
|
46
|
+
|
|
47
|
+
&.active {
|
|
48
|
+
border-bottom: 1px solid color('text', 'general');
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__container {
|
|
56
|
+
margin: 0 0 $small-spacing;
|
|
57
|
+
|
|
58
|
+
list-style: none;
|
|
59
|
+
|
|
60
|
+
&:last-child {
|
|
61
|
+
margin-bottom: 0;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__content {
|
|
66
|
+
@include position(absolute, 100% null null 0);
|
|
67
|
+
|
|
68
|
+
width: 100%;
|
|
69
|
+
|
|
70
|
+
padding: $small-spacing $base-spacing;
|
|
71
|
+
padding-top: 0;
|
|
72
|
+
|
|
73
|
+
p:last-child {
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__mobile-nav {
|
|
79
|
+
padding: 0 $base-spacing;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&__select {
|
|
83
|
+
@include appearance(none);
|
|
84
|
+
|
|
85
|
+
height: $base-element-height;
|
|
86
|
+
|
|
87
|
+
border: none;
|
|
88
|
+
|
|
89
|
+
background: transparent;
|
|
90
|
+
|
|
91
|
+
text-align: center;
|
|
92
|
+
|
|
93
|
+
&__wrapper {
|
|
94
|
+
position: relative;
|
|
95
|
+
|
|
96
|
+
display: inline-block;
|
|
97
|
+
|
|
98
|
+
padding: 0 ($base-triangle-size + $extra-small-spacing) 0 0;
|
|
99
|
+
|
|
100
|
+
&::after {
|
|
101
|
+
@include triangle($base-triangle-size, color('text', 'general'), down);
|
|
102
|
+
|
|
103
|
+
position: absolute;
|
|
104
|
+
top: 50%;
|
|
105
|
+
right: 0;
|
|
106
|
+
|
|
107
|
+
transform: translateY(-50%);
|
|
108
|
+
|
|
109
|
+
content: '';
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&__link {
|
|
115
|
+
&:not(.nostyle) {
|
|
116
|
+
display: block;
|
|
117
|
+
padding: $small-spacing $small-spacing $small-spacing $base-spacing;
|
|
118
|
+
text-decoration: none;
|
|
119
|
+
color: color('accordion', 'general');
|
|
120
|
+
|
|
121
|
+
.icon {
|
|
122
|
+
color: color('accordion', 'general');
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.state--active {
|
|
126
|
+
display: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.active {
|
|
130
|
+
color: color('link', 'general');
|
|
131
|
+
|
|
132
|
+
.icon {
|
|
133
|
+
color: color('link', 'general');
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.state--active {
|
|
137
|
+
display: block;
|
|
138
|
+
}
|
|
139
|
+
.state--inactive {
|
|
140
|
+
display: none;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.active + .accordion__content {
|
|
146
|
+
position: relative;
|
|
147
|
+
|
|
148
|
+
display: block;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&--inverted {
|
|
153
|
+
color: color('text-inverted', 'general');
|
|
154
|
+
|
|
155
|
+
a:not(.button) {
|
|
156
|
+
color: color('link-inverted', 'general', 0.75);
|
|
157
|
+
|
|
158
|
+
&:hover,
|
|
159
|
+
&.active {
|
|
160
|
+
color: color('link-inverted', 'general');
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
} // End if
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@if $accordion-v1-0 {
|
|
2
|
+
.autocomplete {
|
|
3
|
+
@include position(absolute, null null null null);
|
|
4
|
+
|
|
5
|
+
overflow: auto;
|
|
6
|
+
|
|
7
|
+
display: none;
|
|
8
|
+
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
border-bottom-left-radius: $base-border-radius;
|
|
12
|
+
border-bottom-right-radius: $base-border-radius;
|
|
13
|
+
|
|
14
|
+
transform: translateY(-1px);
|
|
15
|
+
|
|
16
|
+
background-color: color('input', 'background');
|
|
17
|
+
|
|
18
|
+
box-shadow: $base-box-shadow;
|
|
19
|
+
|
|
20
|
+
z-index: 100;
|
|
21
|
+
|
|
22
|
+
@include breakpoint('md') {
|
|
23
|
+
height: ($small-element-height * 5) + ($small-element-height / 2);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@include element('item') {
|
|
27
|
+
height: $small-element-height;
|
|
28
|
+
|
|
29
|
+
padding: 0 $base-spacing;
|
|
30
|
+
|
|
31
|
+
color: color('text-secondary', 'general');
|
|
32
|
+
text-align: left;
|
|
33
|
+
text-transform: lowercase;
|
|
34
|
+
line-height: $small-element-height;
|
|
35
|
+
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
background-color: color('border', 'general', 1, -4);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.selected {
|
|
43
|
+
background-color: color('border', 'general', 1, -1);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
b {
|
|
47
|
+
color: color('text', 'general');
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@include modifier('show') {
|
|
52
|
+
display: block;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@if $general-v1-0 {
|
|
2
|
+
body {
|
|
3
|
+
@include prefixer(align-items, flex-start, spec ms);
|
|
4
|
+
@include prefixer(display, flex, spec ms);
|
|
5
|
+
@include prefixer(flex-direction, column, spec ms);
|
|
6
|
+
@include prefixer(flex-wrap, wrap, spec ms);
|
|
7
|
+
|
|
8
|
+
overflow: auto;
|
|
9
|
+
|
|
10
|
+
height: auto;
|
|
11
|
+
min-height: 100vh !important;
|
|
12
|
+
|
|
13
|
+
background-color: color('body', 'background');
|
|
14
|
+
|
|
15
|
+
color: color('text', 'general');
|
|
16
|
+
font-family: $base-font-family;
|
|
17
|
+
font-size: $base-font-size;
|
|
18
|
+
line-height: $base-line-height;
|
|
19
|
+
|
|
20
|
+
-webkit-font-smoothing: antialiased;
|
|
21
|
+
|
|
22
|
+
// IE 11
|
|
23
|
+
@media all and (-ms-high-contrast:none) {
|
|
24
|
+
display: block;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& > * {
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
main {
|
|
33
|
+
@include prefixer(flex, 1, spec ms);
|
|
34
|
+
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
|
|
37
|
+
& > :last-child {
|
|
38
|
+
margin-bottom: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
section {
|
|
42
|
+
margin: 0 0 $large-spacing;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
* {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
|
|
49
|
+
outline: none;
|
|
50
|
+
}
|
|
51
|
+
} // End if
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
%row-flexbox {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
%col {
|
|
8
|
+
@if $grid-mode == 'float' {
|
|
9
|
+
float: left;
|
|
10
|
+
|
|
11
|
+
min-height: 1px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
margin: 0 0 $grid-columns-spacing * 2;
|
|
17
|
+
padding: 0 $grid-columns-spacing;
|
|
18
|
+
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.row {
|
|
23
|
+
@if $grid-mode == 'flexbox' {
|
|
24
|
+
@extend %row-flexbox;
|
|
25
|
+
|
|
26
|
+
@include modifier('space-between') {
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@include modifier('horizontal-center') {
|
|
31
|
+
justify-content: center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@include modifier('vertical-center') {
|
|
35
|
+
align-items: center;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@include modifier('left') {
|
|
39
|
+
justify-content: flex-start;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include modifier('right') {
|
|
43
|
+
justify-content: flex-end;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@include modifier('nowrap') {
|
|
47
|
+
flex-wrap: nowrap;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.col {
|
|
53
|
+
@extend %col;
|
|
54
|
+
|
|
55
|
+
flex: 1;
|
|
56
|
+
|
|
57
|
+
&--center {
|
|
58
|
+
align-self: center;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&--top {
|
|
62
|
+
align-self: flex-start;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--bottom {
|
|
66
|
+
align-self: flex-end;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&--stretch {
|
|
70
|
+
align-self: stretch;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@if $grid-v1-0 {
|
|
75
|
+
.container-fluid {
|
|
76
|
+
@include clearfix;
|
|
77
|
+
|
|
78
|
+
padding: 0 $base-spacing;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.container {
|
|
82
|
+
@include clearfix;
|
|
83
|
+
|
|
84
|
+
max-width: map-get($breakpoints, 'xl');
|
|
85
|
+
|
|
86
|
+
margin: 0 auto;
|
|
87
|
+
padding: 0 $base-spacing;
|
|
88
|
+
|
|
89
|
+
@include modifier('sm') {
|
|
90
|
+
max-width: map-get($breakpoints, 'lg');
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.row {
|
|
95
|
+
@if $grid-mode == 'flexbox' {
|
|
96
|
+
@include grid($grid-columns);
|
|
97
|
+
} @else if $grid-mode == 'float' {
|
|
98
|
+
@include clearfix;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
margin: 0 ($grid-columns-spacing * -1);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.col {
|
|
105
|
+
@extend %col;
|
|
106
|
+
|
|
107
|
+
flex: 1;
|
|
108
|
+
}
|
|
109
|
+
} // End if
|