@bridgeline-digital/hawksearch-handlebars-ui 1.0.0-beta.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/.eslintignore +2 -0
- package/.eslintrc.json +153 -0
- package/.husky/pre-commit +5 -0
- package/.lintstagedrc.json +4 -0
- package/.prettierignore +7 -0
- package/.prettierrc.json +19 -0
- package/.vscode/launch.json +15 -0
- package/custom1.html +52 -0
- package/custom2.html +44 -0
- package/gulpfile.js +73 -0
- package/index.html +39 -0
- package/package.json +57 -0
- package/src/assets/icons/chevron-back.svg +4 -0
- package/src/assets/icons/chevron-down.svg +3 -0
- package/src/assets/icons/chevron-forward.svg +4 -0
- package/src/assets/icons/chevron-left.svg +3 -0
- package/src/assets/icons/chevron-right.svg +3 -0
- package/src/assets/icons/chevron-up.svg +3 -0
- package/src/assets/icons/cross.svg +3 -0
- package/src/assets/icons/help.svg +4 -0
- package/src/assets/icons/minus.svg +3 -0
- package/src/assets/icons/plus.svg +7 -0
- package/src/assets/images/icons.svg +1 -0
- package/src/assets/images/placeholder.png +0 -0
- package/src/components/autocomplete/autocomplete.component.hbs +60 -0
- package/src/components/autocomplete/autocomplete.component.ts +124 -0
- package/src/components/base.component.ts +120 -0
- package/src/components/facet-types/base-facet.component.ts +114 -0
- package/src/components/facet-types/checkbox-list-facet/checkbox-list-facet.component.hbs +6 -0
- package/src/components/facet-types/checkbox-list-facet/checkbox-list-facet.component.ts +73 -0
- package/src/components/facet-types/checkbox-list-facet/checkbox-list.partial.hbs +42 -0
- package/src/components/facet-types/color-facet/color-facet.component.hbs +29 -0
- package/src/components/facet-types/color-facet/color-facet.component.ts +26 -0
- package/src/components/facet-types/index.ts +6 -0
- package/src/components/facet-types/linked-list-facet/link-list-facet.component.hbs +17 -0
- package/src/components/facet-types/linked-list-facet/link-list-facet.component.ts +32 -0
- package/src/components/facet-types/range-slider-facet/range-slider-facet.component.hbs +11 -0
- package/src/components/facet-types/range-slider-facet/range-slider-facet.component.ts +107 -0
- package/src/components/facet-types/search-within-facet/search-within-facet.component.hbs +3 -0
- package/src/components/facet-types/search-within-facet/search-within-facet.component.ts +33 -0
- package/src/components/facet-types/size-facet/size-facet.component.hbs +29 -0
- package/src/components/facet-types/size-facet/size-facet.component.ts +30 -0
- package/src/components/facet-wrapper/facet-wrapper.component.hbs +36 -0
- package/src/components/facet-wrapper/facet-wrapper.component.ts +62 -0
- package/src/components/facets-list/facets-list.component.hbs +11 -0
- package/src/components/facets-list/facets-list.component.ts +92 -0
- package/src/components/icon/icon.component.hbs +3 -0
- package/src/components/icon/icon.component.ts +40 -0
- package/src/components/index.ts +18 -0
- package/src/components/modified-query/modified-query.component.hbs +7 -0
- package/src/components/modified-query/modified-query.component.ts +38 -0
- package/src/components/page-size/page-size.component.hbs +7 -0
- package/src/components/page-size/page-size.component.ts +35 -0
- package/src/components/pagination/pagination.component.hbs +34 -0
- package/src/components/pagination/pagination.component.ts +85 -0
- package/src/components/query-suggestions/query-suggestions.component.hbs +3 -0
- package/src/components/query-suggestions/query-suggestions.component.ts +66 -0
- package/src/components/range-slider/range-slider.component.hbs +9 -0
- package/src/components/range-slider/range-slider.component.ts +190 -0
- package/src/components/search/search.component.hbs +4 -0
- package/src/components/search/search.component.ts +93 -0
- package/src/components/search-results/search-results.component.hbs +29 -0
- package/src/components/search-results/search-results.component.ts +17 -0
- package/src/components/search-results-item/search-results-item.component.hbs +23 -0
- package/src/components/search-results-item/search-results-item.component.ts +99 -0
- package/src/components/search-results-list/search-results-list.component.hbs +15 -0
- package/src/components/search-results-list/search-results-list.component.ts +24 -0
- package/src/components/selected-facets/selected-facets.component.hbs +11 -0
- package/src/components/selected-facets/selected-facets.component.ts +81 -0
- package/src/components/sorting/sorting.component.hbs +7 -0
- package/src/components/sorting/sorting.component.ts +33 -0
- package/src/components/tabs/tabs.component.hbs +7 -0
- package/src/components/tabs/tabs.component.ts +35 -0
- package/src/components/tooltip/tooltip.component.hbs +6 -0
- package/src/components/tooltip/tooltip.component.ts +48 -0
- package/src/helpers/formatters.ts +15 -0
- package/src/helpers/index.ts +1 -0
- package/src/index.ts +125 -0
- package/src/models/autocomplete.models.ts +71 -0
- package/src/models/component.models.ts +27 -0
- package/src/models/global.models.ts +78 -0
- package/src/models/index.ts +7 -0
- package/src/models/raw-autocomplete.models.ts +46 -0
- package/src/models/raw-search.models.ts +130 -0
- package/src/models/search.models.ts +144 -0
- package/src/models/tracking.models.ts +33 -0
- package/src/scss/components/_autocomplete.scss +55 -0
- package/src/scss/components/_facets.scss +287 -0
- package/src/scss/components/_icons.scss +17 -0
- package/src/scss/components/_modified-query.scss +11 -0
- package/src/scss/components/_page-size.scss +2 -0
- package/src/scss/components/_pagination.scss +23 -0
- package/src/scss/components/_query-suggestions.scss +7 -0
- package/src/scss/components/_range-slider.scss +50 -0
- package/src/scss/components/_search-results-item.scss +64 -0
- package/src/scss/components/_search.scss +4 -0
- package/src/scss/components/_selected-facets.scss +24 -0
- package/src/scss/components/_sorting.scss +2 -0
- package/src/scss/components/_tabs.scss +51 -0
- package/src/scss/components/_tooltips.scss +29 -0
- package/src/scss/general/_forms.scss +82 -0
- package/src/scss/general/_grid-layout.scss +44 -0
- package/src/scss/general/_images.scss +3 -0
- package/src/scss/general/_typography.scss +15 -0
- package/src/scss/hawksearch.scss +35 -0
- package/src/scss/includes/_breakpoints.scss +51 -0
- package/src/scss/includes/_components.scss +14 -0
- package/src/scss/includes/_general.scss +4 -0
- package/src/scss/includes/_reset.scss +203 -0
- package/src/scss/includes/_utility-classes.scss +85 -0
- package/src/services/autocomplete.service.ts +104 -0
- package/src/services/base.service.ts +93 -0
- package/src/services/index.ts +3 -0
- package/src/services/search.service.ts +754 -0
- package/src/services/tracking.service.ts +136 -0
- package/tsconfig.json +22 -0
- package/typings.d.ts +21 -0
- package/webpack.config.js +75 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.range-slider {
|
|
2
|
+
padding: 0 12px;
|
|
3
|
+
|
|
4
|
+
&__container {
|
|
5
|
+
position: relative;
|
|
6
|
+
padding: 8px 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&__bar {
|
|
10
|
+
position: relative;
|
|
11
|
+
border: var(--container-border);
|
|
12
|
+
height: 8px;
|
|
13
|
+
background: var(--container-background);
|
|
14
|
+
|
|
15
|
+
&__active {
|
|
16
|
+
position: absolute;
|
|
17
|
+
left: 0;
|
|
18
|
+
right: 0;
|
|
19
|
+
height: 100%;
|
|
20
|
+
background: var(--color-accent);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__handle {
|
|
25
|
+
display: block;
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 0;
|
|
28
|
+
outline: solid 1px var(--color-accent);
|
|
29
|
+
margin-left: -12px;
|
|
30
|
+
border: solid 3px var(--color-background);
|
|
31
|
+
border-radius: 100%;
|
|
32
|
+
width: 24px;
|
|
33
|
+
height: 24px;
|
|
34
|
+
padding: 4px;
|
|
35
|
+
background: var(--color-accent);
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
|
|
38
|
+
&--min {
|
|
39
|
+
left: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--max {
|
|
43
|
+
left: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover {
|
|
47
|
+
outline-width: 2px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
hawksearch-results-item {
|
|
2
|
+
height: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.search-results-item {
|
|
6
|
+
&__sale-indicator {
|
|
7
|
+
position: absolute;
|
|
8
|
+
top: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
padding: 5px;
|
|
11
|
+
background: var(--container-background--alternate);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__image {
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
padding: 0 var(--padding) var(--padding) var(--padding);
|
|
19
|
+
height: 200px;
|
|
20
|
+
|
|
21
|
+
img {
|
|
22
|
+
margin: 0;
|
|
23
|
+
max-height: 100%;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__title {
|
|
28
|
+
display: block;
|
|
29
|
+
margin: 0 0 var(--padding-sm) 0;
|
|
30
|
+
font-size: 1.125rem;
|
|
31
|
+
font-weight: bold;
|
|
32
|
+
|
|
33
|
+
&:last-child {
|
|
34
|
+
margin-bottom: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__price {
|
|
39
|
+
display: block;
|
|
40
|
+
|
|
41
|
+
&__original {
|
|
42
|
+
text-decoration: line-through;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--content {
|
|
47
|
+
border-bottom: var(--container-border);
|
|
48
|
+
padding: 0 0 var(--padding) 0;
|
|
49
|
+
|
|
50
|
+
&:last-child {
|
|
51
|
+
border-bottom: 0;
|
|
52
|
+
padding-bottom: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&--product {
|
|
57
|
+
position: relative;
|
|
58
|
+
height: 100%;
|
|
59
|
+
padding: var(--padding);
|
|
60
|
+
border: var(--container-border);
|
|
61
|
+
background: var(--container-background);
|
|
62
|
+
text-align: center;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.selected-facet {
|
|
2
|
+
padding: var(--padding-xs);
|
|
3
|
+
background: var(--container-background--alternate);
|
|
4
|
+
white-space: nowrap;
|
|
5
|
+
|
|
6
|
+
&__field {
|
|
7
|
+
font-weight: bold;
|
|
8
|
+
|
|
9
|
+
&:after {
|
|
10
|
+
content: ':';
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__value {
|
|
15
|
+
&--excluded {
|
|
16
|
+
text-decoration: line-through;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
hawksearch-icon {
|
|
21
|
+
position: relative;
|
|
22
|
+
top: -1px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@use '../includes/breakpoints';
|
|
2
|
+
|
|
3
|
+
.tabs {
|
|
4
|
+
$root: &;
|
|
5
|
+
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
gap: var(--padding-xs);
|
|
10
|
+
margin: 0 0 var(--padding) 0;
|
|
11
|
+
|
|
12
|
+
&__item {
|
|
13
|
+
display: block;
|
|
14
|
+
margin: 0 0 -1px 0;
|
|
15
|
+
border: var(--container-border);
|
|
16
|
+
padding: var(--padding-sm) var(--padding);
|
|
17
|
+
background: var(--container-background--alternate);
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
|
|
21
|
+
&--selected {
|
|
22
|
+
background: var(--container-background);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:hover {
|
|
26
|
+
color: var(--color-accent);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@include breakpoints.small {
|
|
31
|
+
& {
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@include breakpoints.medium {
|
|
37
|
+
& {
|
|
38
|
+
&:not(&--list) {
|
|
39
|
+
border-bottom: var(--container-border);
|
|
40
|
+
border-bottom-color: var(--container-background--alternate);
|
|
41
|
+
padding: 0 var(--padding);
|
|
42
|
+
|
|
43
|
+
#{$root}__item {
|
|
44
|
+
&--selected {
|
|
45
|
+
border-bottom-color: var(--container-background);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.tooltip {
|
|
2
|
+
$root: &;
|
|
3
|
+
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
|
|
7
|
+
&__icon {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&__content {
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:hover {
|
|
15
|
+
#{$root} {
|
|
16
|
+
&__content {
|
|
17
|
+
display: block;
|
|
18
|
+
position: fixed;
|
|
19
|
+
margin: calc(-0.5 * var(--padding) - 1px) 0 0 2rem;
|
|
20
|
+
box-shadow: 0 0 5px rgb(0 0 0 / 10%);
|
|
21
|
+
max-width: 350px;
|
|
22
|
+
border: var(--container-border);
|
|
23
|
+
padding: calc(var(--padding) / 2);
|
|
24
|
+
background: var(--container-background);
|
|
25
|
+
z-index: 1;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
.label {
|
|
2
|
+
display: block;
|
|
3
|
+
margin: 0 0 5px 0;
|
|
4
|
+
text-align: left;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
input[type='text'],
|
|
8
|
+
input[type='number'],
|
|
9
|
+
input[type='search'],
|
|
10
|
+
select {
|
|
11
|
+
display: block;
|
|
12
|
+
outline: none;
|
|
13
|
+
width: 100%;
|
|
14
|
+
border: var(--form-element-border);
|
|
15
|
+
border-radius: var(--form-element-border-radius);
|
|
16
|
+
padding: var(--padding-sm);
|
|
17
|
+
background: var(--form-element-background);
|
|
18
|
+
font-family: var(--default-font-family);
|
|
19
|
+
font-size: 1rem;
|
|
20
|
+
line-height: 1;
|
|
21
|
+
color: var(--default-font-color);
|
|
22
|
+
|
|
23
|
+
&:hover,
|
|
24
|
+
&:focus {
|
|
25
|
+
border: var(--form-element-border--focus);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
select {
|
|
30
|
+
padding-right: var(--padding);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
::placeholder {
|
|
34
|
+
color: var(--form-element-placeholder-color);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
input[type='checkbox'] {
|
|
38
|
+
$size: 16px;
|
|
39
|
+
|
|
40
|
+
position: absolute;
|
|
41
|
+
width: $size;
|
|
42
|
+
height: $size;
|
|
43
|
+
clip: rect(0, 0, 0, 0);
|
|
44
|
+
|
|
45
|
+
+ label {
|
|
46
|
+
display: block;
|
|
47
|
+
position: relative;
|
|
48
|
+
margin: 0 0 5px 0;
|
|
49
|
+
padding: 0 0 0 calc($size + var(--padding-sm));
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
|
|
52
|
+
&:before {
|
|
53
|
+
content: '';
|
|
54
|
+
display: block;
|
|
55
|
+
position: absolute;
|
|
56
|
+
top: 0;
|
|
57
|
+
left: 0;
|
|
58
|
+
height: $size;
|
|
59
|
+
width: $size;
|
|
60
|
+
border: var(--form-element-border);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
&:before {
|
|
65
|
+
border-color: var(--color-accent);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:last-child {
|
|
70
|
+
margin-bottom: 0;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&:checked {
|
|
75
|
+
+ label {
|
|
76
|
+
&:before {
|
|
77
|
+
border-color: var(--color-accent);
|
|
78
|
+
background: var(--color-accent);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../includes/breakpoints';
|
|
3
|
+
|
|
4
|
+
.row {
|
|
5
|
+
@include breakpoints.all {
|
|
6
|
+
--gap: var(--padding);
|
|
7
|
+
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
gap: var(--gap);
|
|
12
|
+
margin: 0 0 var(--margin) 0;
|
|
13
|
+
|
|
14
|
+
&:last-child {
|
|
15
|
+
margin-bottom: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--tight {
|
|
19
|
+
--gap: var(--padding-xs);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--reverse {
|
|
23
|
+
flex-direction: row-reverse;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.column {
|
|
29
|
+
@include breakpoints.all {
|
|
30
|
+
flex-grow: 0;
|
|
31
|
+
flex-shrink: 0;
|
|
32
|
+
width: 100%;
|
|
33
|
+
|
|
34
|
+
@for $i from 1 through 12 {
|
|
35
|
+
&--#{$i} {
|
|
36
|
+
flex-basis: calc(#{math.div(100%, 12) * $i} - (#{math.div(12 - $i, 12)} * var(--gap)));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&--pull-right {
|
|
41
|
+
margin-left: auto;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use './includes/reset';
|
|
2
|
+
@use './includes/general';
|
|
3
|
+
@use './includes/components';
|
|
4
|
+
@use './includes/utility-classes';
|
|
5
|
+
|
|
6
|
+
:host {
|
|
7
|
+
--color-accent: var(--hawksearch-color-accent, #119ff7);
|
|
8
|
+
--color-secondary: var(--hawksearch-color-secondary, #ccc);
|
|
9
|
+
--color-secondary-light: var(--hawksearch-color-secondary-light, #f1f1f1);
|
|
10
|
+
--color-secondary-dark: var(--hawksearch-color-secondary-dark, #a0a0a0);
|
|
11
|
+
--color-background: var(--hawksearch-color-background, #fff);
|
|
12
|
+
--container-background: var(--hawksearch-container-background, var(--color-background));
|
|
13
|
+
--container-background--alternate: var(--hawksearch-container-background--alternate, var(--color-secondary-light));
|
|
14
|
+
--container-border: var(--hawksearch-container-border, solid 1px var(--color-secondary));
|
|
15
|
+
--default-line-height: var(--hawksearch-default-line-height, 1.25);
|
|
16
|
+
--default-font-color: var(--hawksearch-default-font-color, #333);
|
|
17
|
+
--default-font-family: var(--hawksearch-default-font-family, Arial, sans-serif);
|
|
18
|
+
--default-font-size: var(--hawksearch-default-font-size, 16px);
|
|
19
|
+
--form-element-background: var(--hawksearch-form-element-background, var(--color-background));
|
|
20
|
+
--form-element-border: var(--hawksearch-form-element-border, solid 1px var(--color-secondary));
|
|
21
|
+
--form-element-border--focus: var(--hawksearch-form-element-border--focus, solid 1px var(--color-accent));
|
|
22
|
+
--form-element-border-radius: var(--hawksearch-form-element-border-radius, 0);
|
|
23
|
+
--form-element-placeholder-color: var(--hawksearch-form-element-placeholder-color, var(--color-secondary-dark));
|
|
24
|
+
--margin: var(--hawksearch-margin, 32px);
|
|
25
|
+
--margin-sm: var(--hawksearch-margin-sm, calc(var(--margin) / 2));
|
|
26
|
+
--padding: var(--hawksearch-padding, 24px);
|
|
27
|
+
--padding-xs: var(--hawksearch-padding-xs, calc(var(--padding) / 4));
|
|
28
|
+
--padding-sm: var(--hawksearch-padding-sm, calc(var(--padding) / 2));
|
|
29
|
+
--secondary-font-color: var(--hawksearch-secondary-font-color, var(--color-secondary-dark));
|
|
30
|
+
|
|
31
|
+
font-family: var(--default-font-family);
|
|
32
|
+
font-size: var(--default-font-size);
|
|
33
|
+
color: var(--default-font-color);
|
|
34
|
+
line-height: var(--default-line-height);
|
|
35
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@mixin small {
|
|
2
|
+
@media (min-width: 740px) {
|
|
3
|
+
@content;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@mixin medium {
|
|
8
|
+
@media (min-width: 990px) {
|
|
9
|
+
@content;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin large {
|
|
14
|
+
@media (min-width: 1260px) {
|
|
15
|
+
@content;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin extra-large {
|
|
20
|
+
@media (min-width: 1800px) {
|
|
21
|
+
@content;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin all {
|
|
26
|
+
@content;
|
|
27
|
+
|
|
28
|
+
@include small {
|
|
29
|
+
&-sm {
|
|
30
|
+
@content;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@include medium {
|
|
35
|
+
&-md {
|
|
36
|
+
@content;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@include large {
|
|
41
|
+
&-lg {
|
|
42
|
+
@content;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@include extra-large {
|
|
47
|
+
&-xl {
|
|
48
|
+
@content;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use '../components/autocomplete';
|
|
2
|
+
@use '../components/facets';
|
|
3
|
+
@use '../components/icons';
|
|
4
|
+
@use '../components/modified-query';
|
|
5
|
+
@use '../components/page-size';
|
|
6
|
+
@use '../components/pagination';
|
|
7
|
+
@use '../components/query-suggestions';
|
|
8
|
+
@use '../components/range-slider';
|
|
9
|
+
@use '../components/search';
|
|
10
|
+
@use '../components/search-results-item';
|
|
11
|
+
@use '../components/selected-facets';
|
|
12
|
+
@use '../components/sorting';
|
|
13
|
+
@use '../components/tabs';
|
|
14
|
+
@use '../components/tooltips';
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/***************
|
|
2
|
+
CSS Reset
|
|
3
|
+
http://meyerweb.com/eric/tools/css/reset/
|
|
4
|
+
v2.0 | 20110126
|
|
5
|
+
License: none (public domain)
|
|
6
|
+
***************/
|
|
7
|
+
|
|
8
|
+
html,
|
|
9
|
+
body,
|
|
10
|
+
div,
|
|
11
|
+
span,
|
|
12
|
+
applet,
|
|
13
|
+
object,
|
|
14
|
+
iframe,
|
|
15
|
+
h1,
|
|
16
|
+
h2,
|
|
17
|
+
h3,
|
|
18
|
+
h4,
|
|
19
|
+
h5,
|
|
20
|
+
h6,
|
|
21
|
+
p,
|
|
22
|
+
blockquote,
|
|
23
|
+
pre,
|
|
24
|
+
a,
|
|
25
|
+
abbr,
|
|
26
|
+
acronym,
|
|
27
|
+
address,
|
|
28
|
+
big,
|
|
29
|
+
cite,
|
|
30
|
+
code,
|
|
31
|
+
del,
|
|
32
|
+
dfn,
|
|
33
|
+
em,
|
|
34
|
+
img,
|
|
35
|
+
ins,
|
|
36
|
+
kbd,
|
|
37
|
+
q,
|
|
38
|
+
s,
|
|
39
|
+
samp,
|
|
40
|
+
small,
|
|
41
|
+
strike,
|
|
42
|
+
strong,
|
|
43
|
+
sub,
|
|
44
|
+
sup,
|
|
45
|
+
tt,
|
|
46
|
+
var,
|
|
47
|
+
b,
|
|
48
|
+
u,
|
|
49
|
+
i,
|
|
50
|
+
center,
|
|
51
|
+
dl,
|
|
52
|
+
dt,
|
|
53
|
+
dd,
|
|
54
|
+
ol,
|
|
55
|
+
ul,
|
|
56
|
+
li,
|
|
57
|
+
fieldset,
|
|
58
|
+
form,
|
|
59
|
+
label,
|
|
60
|
+
legend,
|
|
61
|
+
table,
|
|
62
|
+
caption,
|
|
63
|
+
tbody,
|
|
64
|
+
tfoot,
|
|
65
|
+
thead,
|
|
66
|
+
tr,
|
|
67
|
+
th,
|
|
68
|
+
td,
|
|
69
|
+
article,
|
|
70
|
+
aside,
|
|
71
|
+
canvas,
|
|
72
|
+
details,
|
|
73
|
+
embed,
|
|
74
|
+
figure,
|
|
75
|
+
figcaption,
|
|
76
|
+
footer,
|
|
77
|
+
header,
|
|
78
|
+
hgroup,
|
|
79
|
+
menu,
|
|
80
|
+
nav,
|
|
81
|
+
output,
|
|
82
|
+
ruby,
|
|
83
|
+
section,
|
|
84
|
+
summary,
|
|
85
|
+
time,
|
|
86
|
+
mark,
|
|
87
|
+
audio,
|
|
88
|
+
video {
|
|
89
|
+
box-shadow: none;
|
|
90
|
+
margin: 0;
|
|
91
|
+
padding: 0;
|
|
92
|
+
border: 0;
|
|
93
|
+
font-size: 100%;
|
|
94
|
+
font-weight: normal;
|
|
95
|
+
font: inherit;
|
|
96
|
+
vertical-align: baseline;
|
|
97
|
+
color: inherit;
|
|
98
|
+
text-transform: none;
|
|
99
|
+
text-shadow: none;
|
|
100
|
+
background: transparent;
|
|
101
|
+
}
|
|
102
|
+
/* HTML5 display-role reset for older browsers */
|
|
103
|
+
article,
|
|
104
|
+
aside,
|
|
105
|
+
details,
|
|
106
|
+
figcaption,
|
|
107
|
+
figure,
|
|
108
|
+
footer,
|
|
109
|
+
header,
|
|
110
|
+
hgroup,
|
|
111
|
+
menu,
|
|
112
|
+
nav,
|
|
113
|
+
section {
|
|
114
|
+
display: block;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
body {
|
|
118
|
+
line-height: 1;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
ol,
|
|
122
|
+
ul {
|
|
123
|
+
list-style: none;
|
|
124
|
+
width: auto;
|
|
125
|
+
|
|
126
|
+
li {
|
|
127
|
+
list-style: none;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
blockquote,
|
|
132
|
+
q {
|
|
133
|
+
quotes: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
blockquote:before,
|
|
137
|
+
blockquote:after,
|
|
138
|
+
q:before,
|
|
139
|
+
q:after {
|
|
140
|
+
content: '';
|
|
141
|
+
content: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
table {
|
|
145
|
+
border-collapse: collapse;
|
|
146
|
+
border-spacing: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
img {
|
|
150
|
+
display: inline-block;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**************
|
|
154
|
+
Clearfix
|
|
155
|
+
**************/
|
|
156
|
+
|
|
157
|
+
.clearfix,
|
|
158
|
+
%clearfix {
|
|
159
|
+
&:after {
|
|
160
|
+
content: '';
|
|
161
|
+
display: table;
|
|
162
|
+
clear: both;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**********
|
|
167
|
+
Base
|
|
168
|
+
**********/
|
|
169
|
+
|
|
170
|
+
*,
|
|
171
|
+
*:before,
|
|
172
|
+
*:after {
|
|
173
|
+
box-sizing: border-box !important;
|
|
174
|
+
transition: none;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
b,
|
|
178
|
+
strong {
|
|
179
|
+
font-weight: bold;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
i,
|
|
183
|
+
em {
|
|
184
|
+
font-style: italic;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
u {
|
|
188
|
+
text-decoration: underline;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
sup {
|
|
192
|
+
vertical-align: super;
|
|
193
|
+
font-size: 75%;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
sub {
|
|
197
|
+
vertical-align: sub;
|
|
198
|
+
font-size: 75%;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
a {
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
}
|