henry-search 1.0.14 → 1.0.15
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/dist/HenrySearch.css +1 -1
- package/dist/HenrySearch.js +6970 -6979
- package/dist/HenrySearch.umd.cjs +79 -79
- package/package.json +7 -1
- package/src/components/AudioLinks.vue +6 -6
- package/src/components/EventLinks.vue +12 -12
- package/src/components/Search.vue +88 -86
- package/src/components/SearchDetail.vue +35 -33
- package/src/components/SearchTab.vue +69 -82
- package/src/main.js +1 -0
- package/src/styles/atoms/audioLinks/index.scss +46 -0
- package/src/styles/atoms/breadCrumb/index.scss +12 -0
- package/src/styles/atoms/checkBoxes/index.scss +34 -0
- package/src/styles/atoms/clearRefinements/index.scss +2 -0
- package/src/styles/atoms/eventLinks/index.scss +22 -0
- package/src/styles/atoms/index.scss +7 -0
- package/src/styles/atoms/label/index.scss +6 -0
- package/src/styles/atoms/menuSelect/index.scss +28 -0
- package/src/styles/config/index.scss +180 -0
- package/src/styles/index.scss +8 -0
- package/src/styles/molecules/accordion/accordion.html +97 -0
- package/src/styles/molecules/accordion/index.scss +76 -0
- package/src/styles/molecules/currentRefinements/index.scss +22 -0
- package/src/styles/molecules/dateRange/index.scss +184 -0
- package/src/styles/molecules/headerLinks/index.scss +40 -0
- package/src/styles/molecules/index.scss +7 -0
- package/src/styles/molecules/pagination/index.scss +44 -0
- package/src/styles/molecules/resultActions/index.scss +42 -0
- package/src/styles/molecules/searchBox/index.scss +69 -0
- package/src/styles/organisms/activeFilters/index.scss +49 -0
- package/src/styles/organisms/filters/index.scss +241 -0
- package/src/styles/organisms/index.scss +4 -0
- package/src/styles/organisms/performanceGrid/index.scss +121 -0
- package/src/styles/organisms/resultsGrid/index.scss +157 -0
- package/src/styles/templates/eventsSearch/index.scss +381 -0
- package/src/styles/templates/history/index.scss +32 -0
- package/src/styles/templates/index.scss +3 -0
- package/src/styles/templates/performance/index.scss +74 -0
- package/src/components/HelloWorld.vue +0 -43
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.ais-MenuSelect {
|
|
2
|
+
.multiselect {
|
|
3
|
+
border: thin solid var(--color-gray-400);
|
|
4
|
+
margin-bottom: 0.3rem;
|
|
5
|
+
&.is-open {
|
|
6
|
+
border: thin solid var(--color-turquoise);
|
|
7
|
+
box-shadow: none;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.multiselect-caret {
|
|
11
|
+
width: 0.5rem;
|
|
12
|
+
}
|
|
13
|
+
.multiselect-placeholder {
|
|
14
|
+
color: var(--color-dark-blue);
|
|
15
|
+
font-weight: 100;
|
|
16
|
+
}
|
|
17
|
+
.multiselect-dropdown {
|
|
18
|
+
border: thin solid var(--color-gray-400);
|
|
19
|
+
box-shadow: var(--color-gray-400);
|
|
20
|
+
margin-top: 0.5rem;
|
|
21
|
+
margin-left: 0.1rem;
|
|
22
|
+
}
|
|
23
|
+
.multiselect-option {
|
|
24
|
+
border-bottom: thin solid var(--color-gray-400);
|
|
25
|
+
font-size: 0.9rem;
|
|
26
|
+
padding-left: 1.5rem;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
@use "@imarc/pronto/resources/styles/imported" as *;
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @imports
|
|
5
|
+
*/
|
|
6
|
+
@import url("https://fonts.googleapis.com/css2?family=Gloock&family=Inter:wght@100..900&display=swap");
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
/**
|
|
10
|
+
* Typography
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
--root-font-family: Aeonik;
|
|
14
|
+
--root-font-family-heading: Aeonik;
|
|
15
|
+
|
|
16
|
+
--root-font-size-h1: #{fluid-rems( 2, 2.5, 3)};
|
|
17
|
+
--root-font-size-h2: #{fluid-rems( 1.25, 1.5, 2)};
|
|
18
|
+
--root-font-size-h3: #{fluid-rems( 1.25, 1.5, 2)};
|
|
19
|
+
--root-font-size-h4: #{fluid-rems(1.125, 1.25, 1.5)};
|
|
20
|
+
--root-font-size-h5: #{fluid-rems( 1, 1.125, 1.25)};
|
|
21
|
+
|
|
22
|
+
--root-font-size-sm: .75rem;
|
|
23
|
+
--root-font-size-lg: 1.5rem;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Colors
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* a default neutral color scale.
|
|
32
|
+
*/
|
|
33
|
+
--color-gray-50: #f2f2f2;
|
|
34
|
+
--color-gray-100: #e5e5e5;
|
|
35
|
+
--color-gray-200: #cccccc;
|
|
36
|
+
--color-gray-300: #b3b3b3;
|
|
37
|
+
--color-gray-400: #999999;
|
|
38
|
+
--color-gray-500: #808080;
|
|
39
|
+
--color-gray-600: #666666;
|
|
40
|
+
--color-gray-700: #4c4c4c;
|
|
41
|
+
--color-gray-800: #333333;
|
|
42
|
+
--color-gray-900: #1a1a1a;
|
|
43
|
+
--color-gray-950: #0d0d0d;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Site/brand colors. Add more as needed.
|
|
47
|
+
*/
|
|
48
|
+
--color-purple: #9933ff;
|
|
49
|
+
--color-blue: #0066FF;
|
|
50
|
+
--color-blue-700: #003D99;
|
|
51
|
+
--color-aqua: #00CCCC;
|
|
52
|
+
--color-aqua-700: #009999;
|
|
53
|
+
--color-dark-blue: #14284E;
|
|
54
|
+
--color-white: #ffffff;
|
|
55
|
+
--color-mid-blue: #12305A;
|
|
56
|
+
--color-light-gray: #F5F5F5;
|
|
57
|
+
--color-light-gold: #FBF4EF;
|
|
58
|
+
--color-dark-gray: #686F73;
|
|
59
|
+
--color-turquoise: #01ABE6;
|
|
60
|
+
--color-black:#000000;
|
|
61
|
+
--color-mid-gray: #686F73;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Default accent color.
|
|
65
|
+
*/
|
|
66
|
+
--accent-color: var(--color-dark-blue);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Primary text color.
|
|
70
|
+
*/
|
|
71
|
+
--root-color: #666666;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Text color to use when placed on a light color. See --accent-color-text.
|
|
75
|
+
*/
|
|
76
|
+
--accent-color-dark: #222222;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Default heading text color.
|
|
80
|
+
*/
|
|
81
|
+
--root-color-headings: #222222;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Default border color.
|
|
85
|
+
*/
|
|
86
|
+
--root-border-color: #b3b3b3;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* default background color.
|
|
90
|
+
*/
|
|
91
|
+
--root-background-color: #ffffff;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* default colors for inactive elements.
|
|
95
|
+
*/
|
|
96
|
+
--root-color-inactive: #999999;
|
|
97
|
+
--root-background-color-inactive: #cccccc;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Icon defaults.
|
|
101
|
+
*/
|
|
102
|
+
--icon-fill-color: var(--root-icon-fill-color);
|
|
103
|
+
--icon-stroke-color: var(--root-icon-stroke-color);
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* default accent colors for errors and destructive (danger) buttons.
|
|
107
|
+
*/
|
|
108
|
+
--root-color-error-50: #fff3f1;
|
|
109
|
+
--root-color-error: #e53411;
|
|
110
|
+
--root-color-error-900: #320800;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* default accent colors for warnings.
|
|
114
|
+
*/
|
|
115
|
+
--root-color-warning-50: #fff8ea;
|
|
116
|
+
--root-color-warning: #f2a60f;
|
|
117
|
+
--root-color-warning-900: #322100;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* default accent colors for success messages.
|
|
121
|
+
*/
|
|
122
|
+
--root-color-success-50: #ebffee;
|
|
123
|
+
--root-color-success: #28c642;
|
|
124
|
+
--root-color-success-900: #003208;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* default accent colors for notices and info messages.
|
|
128
|
+
*/
|
|
129
|
+
--root-color-info-50: #ebf8ff;
|
|
130
|
+
--root-color-info: #1ba9f0;
|
|
131
|
+
--root-color-info-900: #002233;
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Easings
|
|
136
|
+
*/
|
|
137
|
+
--root-ease-in-fast: var(--root-duration-fast) var(--root-ease-in);
|
|
138
|
+
--root-ease-in-moderate: var(--root-duration-moderate) var(--root-ease-in);
|
|
139
|
+
--root-ease-in-slow: var(--root-duration-slow) var(--root-ease-in);
|
|
140
|
+
--root-ease-out-fast: var(--root-duration-fast) var(--root-ease-out);
|
|
141
|
+
--root-ease-out-moderate: var(--root-duration-moderate) var(--root-ease-out);
|
|
142
|
+
--root-ease-out-slow: var(--root-duration-slow) var(--root-ease-out);
|
|
143
|
+
--root-ease-in-out-fast: var(--root-duration-fast) var(--root-ease-in-out);
|
|
144
|
+
--root-ease-in-out-moderate: var(--root-duration-moderate) var(--root-ease-in-out);
|
|
145
|
+
--root-ease-in-out-slow: var(--root-duration-slow) var(--root-ease-in-out);
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Breakpoints
|
|
150
|
+
*/
|
|
151
|
+
|
|
152
|
+
@include setBreakpoints((
|
|
153
|
+
sm: 320px,
|
|
154
|
+
md: 744px,
|
|
155
|
+
lg: 1300px
|
|
156
|
+
));
|
|
157
|
+
|
|
158
|
+
--root-gap: 16px;
|
|
159
|
+
|
|
160
|
+
/* should be max mobile width + tablet outer gutters */
|
|
161
|
+
@media (min-width: 368px) {
|
|
162
|
+
--root-gap: 24px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* should be max tablet width + desktop outer gutters */
|
|
166
|
+
@media (min-width: 808px) {
|
|
167
|
+
--root-gap: 32px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Prefers Reduced Motion
|
|
172
|
+
*/
|
|
173
|
+
@media (prefers-reduced-motion: reduce) {
|
|
174
|
+
--root-duration-fast: 0;
|
|
175
|
+
--root-duration-moderate: 0;
|
|
176
|
+
--root-duration-slow: 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<div style="display: grid; gap: 1rem">
|
|
2
|
+
|
|
3
|
+
<p-accordion name="example" class="accordion">
|
|
4
|
+
<summary class="accordion__summary">
|
|
5
|
+
<h3 class="accordion__heading">
|
|
6
|
+
Why do we need to use Vue for an accordion element?
|
|
7
|
+
</h3>
|
|
8
|
+
<div class="accordion__iconWrapper">
|
|
9
|
+
<svg class="accordion__icon icon icon--chevron-right" aria-hidden="true" role="presentation">
|
|
10
|
+
<use href="/main-icons-sprite.svg#chevron-right" />
|
|
11
|
+
</svg>
|
|
12
|
+
</div>
|
|
13
|
+
</summary>
|
|
14
|
+
<div class="accordion__content">
|
|
15
|
+
<p>
|
|
16
|
+
Technically you don't – the functionality in Pronto does not require <code>p-accordion</code> to be
|
|
17
|
+
used.
|
|
18
|
+
</p>
|
|
19
|
+
<p>
|
|
20
|
+
However, without JS, the height of the collapsed details element only allows for one row of
|
|
21
|
+
summary text, and it's not possible to animate closing the details element.
|
|
22
|
+
</p>
|
|
23
|
+
</div>
|
|
24
|
+
</p-accordion>
|
|
25
|
+
|
|
26
|
+
<p-accordion name="example" class="warning">
|
|
27
|
+
<summary class="accordion__summary">
|
|
28
|
+
<h3 class="accordion__heading">
|
|
29
|
+
Why do we need a FAQ style module?
|
|
30
|
+
</h3>
|
|
31
|
+
<div class="accordion__iconWrapper">
|
|
32
|
+
<svg class="accordion__icon icon icon--chevron-right" aria-hidden="true" role="presentation">
|
|
33
|
+
<use href="/main-icons-sprite.svg#chevron-right" />
|
|
34
|
+
</svg>
|
|
35
|
+
</div>
|
|
36
|
+
</summary>
|
|
37
|
+
<div class="accordion__content">
|
|
38
|
+
<p>
|
|
39
|
+
Donec mattis consequat libero at fermentum. Phasellus ultricies ultrices felis eu dapibus. Donec nec pellentesque eros. Proin cursus, felis eu sollicitudin sodales, mi tellus posuere risus, id vehicula enim nisi id risus. Praesent ultrices, eros tempor tincidunt vehicula, sem orci imperdiet ante, iaculis egestas arcu dolor pretium dui. Nullam egestas cursus diam quis ultrices. Praesent mollis ligula vel lorem gravida, at commodo nibh posuere. Maecenas id mollis metus, sit amet ultricies urna. Pellentesque congue elementum massa, a tristique sem feugiat ac.
|
|
40
|
+
</p>
|
|
41
|
+
</div>
|
|
42
|
+
</p-accordion>
|
|
43
|
+
|
|
44
|
+
<p-accordion name="example" class="accordion">
|
|
45
|
+
<summary class="accordion__summary">
|
|
46
|
+
<h3 class="accordion__heading">
|
|
47
|
+
Is this considered a frequently asked question?
|
|
48
|
+
</h3>
|
|
49
|
+
<div class="accordion__iconWrapper">
|
|
50
|
+
<svg class="accordion__icon icon icon--chevron-right" aria-hidden="true" role="presentation">
|
|
51
|
+
<use href="/main-icons-sprite.svg#chevron-right" />
|
|
52
|
+
</svg>
|
|
53
|
+
</div>
|
|
54
|
+
</summary>
|
|
55
|
+
<div class="accordion__content">
|
|
56
|
+
<p>
|
|
57
|
+
Donec mattis consequat libero at fermentum. Phasellus ultricies ultrices felis eu dapibus. Donec nec pellentesque eros. Proin cursus, felis eu sollicitudin sodales, mi tellus posuere risus, id vehicula enim nisi id risus. Praesent ultrices, eros tempor tincidunt vehicula, sem orci imperdiet ante, iaculis egestas arcu dolor pretium dui. Nullam egestas cursus diam quis ultrices. Praesent mollis ligula vel lorem gravida, at commodo nibh posuere. Maecenas id mollis metus, sit amet ultricies urna. Pellentesque congue elementum massa, a tristique sem feugiat ac.
|
|
58
|
+
</p>
|
|
59
|
+
</div>
|
|
60
|
+
</p-accordion>
|
|
61
|
+
|
|
62
|
+
<p-accordion name="example" class="accordion">
|
|
63
|
+
<summary class="accordion__summary">
|
|
64
|
+
<h3 class="accordion__heading">
|
|
65
|
+
Can this be used in more general situations?
|
|
66
|
+
</h3>
|
|
67
|
+
<div class="accordion__iconWrapper">
|
|
68
|
+
<svg class="accordion__icon icon icon--chevron-right" aria-hidden="true" role="presentation">
|
|
69
|
+
<use href="/main-icons-sprite.svg#chevron-right" />
|
|
70
|
+
</svg>
|
|
71
|
+
</div>
|
|
72
|
+
</summary>
|
|
73
|
+
<div class="accordion__content">
|
|
74
|
+
<p>
|
|
75
|
+
Donec mattis consequat libero at fermentum. Phasellus ultricies ultrices felis eu dapibus. Donec nec pellentesque eros. Proin cursus, felis eu sollicitudin sodales, mi tellus posuere risus, id vehicula enim nisi id risus. Praesent ultrices, eros tempor tincidunt vehicula, sem orci imperdiet ante, iaculis egestas arcu dolor pretium dui. Nullam egestas cursus diam quis ultrices. Praesent mollis ligula vel lorem gravida, at commodo nibh posuere. Maecenas id mollis metus, sit amet ultricies urna. Pellentesque congue elementum massa, a tristique sem feugiat ac.
|
|
76
|
+
</p>
|
|
77
|
+
</div>
|
|
78
|
+
</p-accordion>
|
|
79
|
+
|
|
80
|
+
<p-accordion name="example" class="accordion">
|
|
81
|
+
<summary class="accordion__summary">
|
|
82
|
+
<h3 class="accordion__heading">
|
|
83
|
+
Why use a different color for interactions vs. navigation?
|
|
84
|
+
</h3>
|
|
85
|
+
<div class="accordion__iconWrapper">
|
|
86
|
+
<svg class="accordion__icon icon icon--chevron-right" aria-hidden="true" role="presentation">
|
|
87
|
+
<use href="/main-icons-sprite.svg#chevron-right" />
|
|
88
|
+
</svg>
|
|
89
|
+
</div>
|
|
90
|
+
</summary>
|
|
91
|
+
<div class="accordion__content">
|
|
92
|
+
<p>
|
|
93
|
+
Donec mattis consequat libero at fermentum. Phasellus ultricies ultrices felis eu dapibus. Donec nec pellentesque eros. Proin cursus, felis eu sollicitudin sodales, mi tellus posuere risus, id vehicula enim nisi id risus. Praesent ultrices, eros tempor tincidunt vehicula, sem orci imperdiet ante, iaculis egestas arcu dolor pretium dui. Nullam egestas cursus diam quis ultrices. Praesent mollis ligula vel lorem gravida, at commodo nibh posuere. Maecenas id mollis metus, sit amet ultricies urna. Pellentesque congue elementum massa, a tristique sem feugiat ac.
|
|
94
|
+
</p>
|
|
95
|
+
</div>
|
|
96
|
+
</p-accordion>
|
|
97
|
+
</div>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uses PAccordion
|
|
3
|
+
*/
|
|
4
|
+
.accordion {
|
|
5
|
+
$b: &;
|
|
6
|
+
|
|
7
|
+
--accordion-height-closed: calc(2rem + var(--root-font-size-h3));
|
|
8
|
+
background: white;
|
|
9
|
+
//box-shadow: var(--root-box-shadow-low);
|
|
10
|
+
height: var(--accordion-height-closed);
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
transition: height var(--root-duration-moderate) var(--root-ease-out);
|
|
13
|
+
border-top: thin solid var(--color-gray-300);
|
|
14
|
+
|
|
15
|
+
&__summary {
|
|
16
|
+
align-items: center;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-auto-flow: column;
|
|
20
|
+
justify-items: start;
|
|
21
|
+
list-style: none;
|
|
22
|
+
outline-offset: -2px;
|
|
23
|
+
padding: .5rem 0;
|
|
24
|
+
user-select: none;
|
|
25
|
+
|
|
26
|
+
&::-webkit-details-marker {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__heading {
|
|
32
|
+
margin: 0;
|
|
33
|
+
padding: .25rem 1rem .25rem 0;
|
|
34
|
+
&.-thin {
|
|
35
|
+
font-weight: 100;
|
|
36
|
+
color: var(--color-mid-gray);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__iconWrapper {
|
|
41
|
+
background: var(--color-white);
|
|
42
|
+
display: grid;
|
|
43
|
+
justify-self: end;
|
|
44
|
+
padding: .5rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__icon {
|
|
48
|
+
--icon-color: var(--color-dark-blue);
|
|
49
|
+
aspect-ratio: 1;
|
|
50
|
+
height: var(--root-font-size-h6);
|
|
51
|
+
transition: transform var(--root-duration-moderate) var(--root-ease-out);
|
|
52
|
+
padding: 0.15rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__content {
|
|
56
|
+
padding: 0 .5rem 1.5rem 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&[open]:not(&.-closing) {
|
|
60
|
+
height: fit-content;
|
|
61
|
+
//box-shadow: var(--root-box-shadow-high);
|
|
62
|
+
|
|
63
|
+
// #{$b}__iconWrapper {
|
|
64
|
+
// background: var(--color-gray-200);
|
|
65
|
+
// }
|
|
66
|
+
|
|
67
|
+
#{$b}__icon {
|
|
68
|
+
//--icon-color: #000;
|
|
69
|
+
transform: rotate(90deg);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.-gray {
|
|
74
|
+
color: var(--color-gray-200);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@use "@imarc/pronto/resources/styles/imported" as *;
|
|
2
|
+
|
|
3
|
+
.ais-CurrentRefinements {
|
|
4
|
+
border: none;
|
|
5
|
+
padding: 0 1.5rem;
|
|
6
|
+
@include at(lg) {
|
|
7
|
+
padding: 0;
|
|
8
|
+
border-top: thin solid var(--color-gray-200);
|
|
9
|
+
}
|
|
10
|
+
grid-area: filters;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ais-CurrentRefinements--noRefinement {
|
|
14
|
+
border: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ais-RefinementList {
|
|
18
|
+
padding: 0 0.5rem;
|
|
19
|
+
@include at(lg) {
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
@use "@imarc/pronto/resources/styles/imported" as *;
|
|
2
|
+
|
|
3
|
+
.dateRange {
|
|
4
|
+
grid-area: date;
|
|
5
|
+
.ais-RangeInput {
|
|
6
|
+
display: flex;
|
|
7
|
+
gap: 1rem;
|
|
8
|
+
justify-content: flex-start;
|
|
9
|
+
align-content: space-around;
|
|
10
|
+
}
|
|
11
|
+
.dp__input_wrap {
|
|
12
|
+
height: 40px !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.dp__input {
|
|
16
|
+
height: 40px !important;
|
|
17
|
+
border: 1px solid #D6D6D6 !important;
|
|
18
|
+
border-radius: 5px !important;
|
|
19
|
+
background: #FDF9F7 !important;
|
|
20
|
+
padding: 0 2.5rem !important;
|
|
21
|
+
font-size: 14px !important;
|
|
22
|
+
box-sizing: border-box !important;
|
|
23
|
+
display: flex !important;
|
|
24
|
+
align-items: center !important;
|
|
25
|
+
|
|
26
|
+
&::placeholder {
|
|
27
|
+
color: #666;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media screen and (min-width: 1070px) {
|
|
31
|
+
font-size: 16px !important;
|
|
32
|
+
padding: 0 2.75rem !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dp__input_icon {
|
|
37
|
+
margin-left: 8px !important;
|
|
38
|
+
flex-shrink: 0 !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Mobile fullscreen date picker styles
|
|
42
|
+
@media screen and (max-width: 767px) {
|
|
43
|
+
.dp__menu {
|
|
44
|
+
position: fixed !important;
|
|
45
|
+
top: 60px !important; // Leave space for custom header
|
|
46
|
+
left: 0 !important;
|
|
47
|
+
right: 0 !important;
|
|
48
|
+
bottom: 0 !important;
|
|
49
|
+
width: 100vw !important;
|
|
50
|
+
height: calc(100vh - 60px) !important; // Adjust for header
|
|
51
|
+
max-width: none !important;
|
|
52
|
+
max-height: none !important;
|
|
53
|
+
border-radius: 0 !important;
|
|
54
|
+
z-index: 9999 !important;
|
|
55
|
+
background: white !important;
|
|
56
|
+
box-shadow: none !important;
|
|
57
|
+
border: none !important;
|
|
58
|
+
margin: 0 !important;
|
|
59
|
+
padding: 0 !important;
|
|
60
|
+
display: flex !important;
|
|
61
|
+
flex-direction: column !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
.dp__menu_inner {
|
|
66
|
+
flex: 1 !important;
|
|
67
|
+
display: flex !important;
|
|
68
|
+
flex-direction: column !important;
|
|
69
|
+
padding: 1rem !important;
|
|
70
|
+
height: 100% !important;
|
|
71
|
+
box-sizing: border-box !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.dp__calendar_header {
|
|
75
|
+
padding: 1rem 0 !important;
|
|
76
|
+
border-bottom: 1px solid #e0e0e0 !important;
|
|
77
|
+
margin-bottom: 1rem !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.dp__calendar_header_item {
|
|
81
|
+
font-size: 18px !important;
|
|
82
|
+
font-weight: 600 !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.dp__calendar_wrap {
|
|
86
|
+
flex: 1 !important;
|
|
87
|
+
display: flex !important;
|
|
88
|
+
flex-direction: column !important;
|
|
89
|
+
justify-content: flex-start !important;
|
|
90
|
+
overflow: hidden !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.dp__calendar {
|
|
94
|
+
width: 100% !important;
|
|
95
|
+
max-width: none !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Force single month display
|
|
99
|
+
.dp__instance_calendar {
|
|
100
|
+
width: 95% !important;
|
|
101
|
+
@include at(lg) {
|
|
102
|
+
width: 100% !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&:not(:first-child) {
|
|
106
|
+
display: none !important;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// Hide multi-calendar controls if they exist
|
|
111
|
+
.dp__calendar_header_separator,
|
|
112
|
+
.dp__calendar_next,
|
|
113
|
+
.dp__calendar_prev {
|
|
114
|
+
display: none !important;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.dp__calendar_row {
|
|
118
|
+
margin-bottom: 0.5rem !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.dp__calendar_item {
|
|
122
|
+
height: 48px !important;
|
|
123
|
+
width: 48px !important;
|
|
124
|
+
font-size: 16px !important;
|
|
125
|
+
margin: 2px !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// Essential dp__ button styles for functionality
|
|
129
|
+
.dp__action_button {
|
|
130
|
+
height: 200%;
|
|
131
|
+
cursor: pointer !important;
|
|
132
|
+
border: none !important;
|
|
133
|
+
padding: 0.75rem 1.5rem !important;
|
|
134
|
+
border-radius: 0.375rem !important;
|
|
135
|
+
font-weight: 500 !important;
|
|
136
|
+
transition: all 0.2s ease !important;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.dp__action_select,
|
|
140
|
+
.dp__select {
|
|
141
|
+
background: var(--color-turquoise) !important;
|
|
142
|
+
color: white !important;
|
|
143
|
+
border: none !important;
|
|
144
|
+
|
|
145
|
+
&:hover {
|
|
146
|
+
background: var(--c-brand-dark, var(--color-dark-blue)) !important;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.dp__action_cancel {
|
|
151
|
+
background: #f5f5f5 !important;
|
|
152
|
+
color: #333 !important;
|
|
153
|
+
border: 1px solid #ddd !important;
|
|
154
|
+
|
|
155
|
+
&:hover {
|
|
156
|
+
background: #e8e8e8 !important;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// Hide original action row positioning to prevent flash
|
|
161
|
+
.dp__action_row {
|
|
162
|
+
&:not(.dp__action_row--repositioned) {
|
|
163
|
+
//opacity: 0 !important;
|
|
164
|
+
//transition: opacity 0.1s ease !important;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// Note: CSS styles don't work for modals inserted outside component scope
|
|
169
|
+
// Using inline styles in JavaScript instead
|
|
170
|
+
|
|
171
|
+
// Add overlay backdrop
|
|
172
|
+
.dp__overlay {
|
|
173
|
+
position: fixed !important;
|
|
174
|
+
top: 0 !important;
|
|
175
|
+
left: 0 !important;
|
|
176
|
+
right: 0 !important;
|
|
177
|
+
bottom: 0 !important;
|
|
178
|
+
background: rgba(0, 0, 0, 0.5) !important;
|
|
179
|
+
z-index: 9998 !important;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@use "@imarc/pronto/resources/styles/imported" as *;
|
|
2
|
+
|
|
3
|
+
.headerLinks {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
width: 100%;
|
|
7
|
+
border-bottom:1px solid var(--color-light-gray);
|
|
8
|
+
padding: 1.5rem 0;
|
|
9
|
+
.audioLinks__box.-open {
|
|
10
|
+
position: absolute;
|
|
11
|
+
margin-top: 2.5rem;
|
|
12
|
+
z-index: 100;
|
|
13
|
+
display: block;
|
|
14
|
+
@include at(md) {
|
|
15
|
+
left: 7rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.audioLinks__links {
|
|
19
|
+
width: 18rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&__media {
|
|
23
|
+
display: flex;
|
|
24
|
+
justify-content: left;
|
|
25
|
+
background-color: white;
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
gap: 2rem;
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
a {
|
|
31
|
+
font-size: 1.25rem;
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
gap: 0.2rem;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
&__icon {
|
|
37
|
+
height: 1.5rem;
|
|
38
|
+
width: 1.5rem;
|
|
39
|
+
}
|
|
40
|
+
}
|