@collectionspace/cspace-public-browser 1.5.1

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.
Files changed (233) hide show
  1. package/LICENSE.md +71 -0
  2. package/README.md +38 -0
  3. package/dist/cspacePublicBrowser.js +4680 -0
  4. package/dist/cspacePublicBrowser.min.js +2 -0
  5. package/dist/cspacePublicBrowser.min.js.LICENSE.txt +56 -0
  6. package/images/check.svg +3 -0
  7. package/images/close.svg +3 -0
  8. package/images/collapse.svg +3 -0
  9. package/images/collapseActive.svg +3 -0
  10. package/images/expand.svg +3 -0
  11. package/images/expandActive.svg +3 -0
  12. package/images/filter.svg +4 -0
  13. package/images/hideLeft.svg +4 -0
  14. package/images/linkBack.svg +4 -0
  15. package/images/linkDown.svg +4 -0
  16. package/images/linkNext.svg +4 -0
  17. package/images/linkPrev.svg +4 -0
  18. package/images/openNew.svg +4 -0
  19. package/images/search.svg +4 -0
  20. package/images/select.svg +4 -0
  21. package/images/top.svg +1 -0
  22. package/lib/actions/detailActions.js +177 -0
  23. package/lib/actions/filterActions.js +16 -0
  24. package/lib/actions/mediaActions.js +63 -0
  25. package/lib/actions/prefsActions.js +84 -0
  26. package/lib/actions/searchActions.js +140 -0
  27. package/lib/actions/searchEntryFormActions.js +19 -0
  28. package/lib/components/App.js +24 -0
  29. package/lib/components/detail/DetailNavBar.js +98 -0
  30. package/lib/components/detail/DetailPanel.js +171 -0
  31. package/lib/components/detail/DetailPanelContainer.js +22 -0
  32. package/lib/components/detail/ExhibitionSection.js +54 -0
  33. package/lib/components/detail/FieldList.js +95 -0
  34. package/lib/components/detail/FieldValueList.js +30 -0
  35. package/lib/components/detail/ImageGallery.js +137 -0
  36. package/lib/components/detail/ImageGalleryContainer.js +19 -0
  37. package/lib/components/detail/InstitutionHoldingList.js +155 -0
  38. package/lib/components/detail/InstitutionHoldingListContainer.js +22 -0
  39. package/lib/components/detail/InstitutionIndex.js +53 -0
  40. package/lib/components/detail/InstitutionIndexContainer.js +15 -0
  41. package/lib/components/detail/InstitutionSection.js +44 -0
  42. package/lib/components/detail/InstitutionSectionContainer.js +15 -0
  43. package/lib/components/layout/Fixed.js +26 -0
  44. package/lib/components/layout/IconButton.js +41 -0
  45. package/lib/components/layout/Panel.js +56 -0
  46. package/lib/components/layout/PanelContainer.js +19 -0
  47. package/lib/components/layout/PanelTitle.js +38 -0
  48. package/lib/components/layout/ScrollTopButton.js +70 -0
  49. package/lib/components/layout/ToggleFilterPanelButton.js +42 -0
  50. package/lib/components/pages/DetailPage.js +93 -0
  51. package/lib/components/pages/DetailPageContainer.js +20 -0
  52. package/lib/components/pages/RootPage.js +41 -0
  53. package/lib/components/pages/SearchPage.js +130 -0
  54. package/lib/components/pages/SearchPageContainer.js +23 -0
  55. package/lib/components/search/entry/SearchEntryForm.js +74 -0
  56. package/lib/components/search/entry/SearchEntryFormContainer.js +20 -0
  57. package/lib/components/search/entry/SearchEntryPanel.js +30 -0
  58. package/lib/components/search/entry/SearchQueryInput.js +89 -0
  59. package/lib/components/search/entry/SearchSubmitButton.js +22 -0
  60. package/lib/components/search/entry/SortSelect.js +89 -0
  61. package/lib/components/search/entry/SortSelectContainer.js +15 -0
  62. package/lib/components/search/result/ClearSearchParamsLink.js +42 -0
  63. package/lib/components/search/result/Filter.js +186 -0
  64. package/lib/components/search/result/FilterContainer.js +22 -0
  65. package/lib/components/search/result/FilterGroup.js +72 -0
  66. package/lib/components/search/result/FilterList.js +48 -0
  67. package/lib/components/search/result/FilterPanel.js +115 -0
  68. package/lib/components/search/result/FilterPanelContainer.js +16 -0
  69. package/lib/components/search/result/FilterSearchInput.js +63 -0
  70. package/lib/components/search/result/RemoveSearchParamLink.js +66 -0
  71. package/lib/components/search/result/SearchError.js +29 -0
  72. package/lib/components/search/result/SearchLoadMore.js +36 -0
  73. package/lib/components/search/result/SearchParamList.js +41 -0
  74. package/lib/components/search/result/SearchPending.js +21 -0
  75. package/lib/components/search/result/SearchResultImage.js +227 -0
  76. package/lib/components/search/result/SearchResultList.js +119 -0
  77. package/lib/components/search/result/SearchResultPanel.js +139 -0
  78. package/lib/components/search/result/SearchResultPanelContainer.js +23 -0
  79. package/lib/components/search/result/SearchResultStats.js +39 -0
  80. package/lib/components/search/result/SearchResultTile.js +61 -0
  81. package/lib/config/anthro.js +123 -0
  82. package/lib/config/bonsai.js +50 -0
  83. package/lib/config/botgarden.js +10 -0
  84. package/lib/config/default.js +530 -0
  85. package/lib/config/fcart.js +36 -0
  86. package/lib/config/herbarium.js +10 -0
  87. package/lib/config/index.js +53 -0
  88. package/lib/config/lhmc.js +10 -0
  89. package/lib/config/materials.js +982 -0
  90. package/lib/config/publicart.js +10 -0
  91. package/lib/constants/actionCodes.js +46 -0
  92. package/lib/constants/ids.js +12 -0
  93. package/lib/helpers/bodyClassName.js +11 -0
  94. package/lib/helpers/esQueryHelpers.js +206 -0
  95. package/lib/helpers/formatHelpers.js +293 -0
  96. package/lib/helpers/searchDimensions.js +28 -0
  97. package/lib/helpers/urlHelpers.js +43 -0
  98. package/lib/index.js +53 -0
  99. package/lib/intl/index.js +16 -0
  100. package/lib/reducers/detailReducer.js +145 -0
  101. package/lib/reducers/filterReducer.js +22 -0
  102. package/lib/reducers/index.js +66 -0
  103. package/lib/reducers/mediaReducer.js +43 -0
  104. package/lib/reducers/prefsReducer.js +27 -0
  105. package/lib/reducers/searchEntryFormReducer.js +24 -0
  106. package/lib/reducers/searchReducer.js +88 -0
  107. package/package.json +118 -0
  108. package/src/actions/detailActions.js +231 -0
  109. package/src/actions/filterActions.js +10 -0
  110. package/src/actions/mediaActions.js +65 -0
  111. package/src/actions/prefsActions.js +95 -0
  112. package/src/actions/searchActions.js +188 -0
  113. package/src/actions/searchEntryFormActions.js +15 -0
  114. package/src/components/App.jsx +18 -0
  115. package/src/components/detail/DetailNavBar.jsx +132 -0
  116. package/src/components/detail/DetailPanel.jsx +215 -0
  117. package/src/components/detail/DetailPanelContainer.js +29 -0
  118. package/src/components/detail/ExhibitionSection.jsx +71 -0
  119. package/src/components/detail/FieldList.jsx +122 -0
  120. package/src/components/detail/FieldValueList.jsx +31 -0
  121. package/src/components/detail/ImageGallery.jsx +153 -0
  122. package/src/components/detail/ImageGalleryContainer.js +17 -0
  123. package/src/components/detail/InstitutionHoldingList.jsx +188 -0
  124. package/src/components/detail/InstitutionHoldingListContainer.js +29 -0
  125. package/src/components/detail/InstitutionIndex.jsx +57 -0
  126. package/src/components/detail/InstitutionIndexContainer.js +11 -0
  127. package/src/components/detail/InstitutionSection.jsx +48 -0
  128. package/src/components/detail/InstitutionSectionContainer.js +11 -0
  129. package/src/components/layout/Fixed.jsx +29 -0
  130. package/src/components/layout/IconButton.jsx +41 -0
  131. package/src/components/layout/Panel.jsx +60 -0
  132. package/src/components/layout/PanelContainer.js +20 -0
  133. package/src/components/layout/PanelTitle.jsx +43 -0
  134. package/src/components/layout/ScrollTopButton.jsx +76 -0
  135. package/src/components/layout/ToggleFilterPanelButton.jsx +43 -0
  136. package/src/components/pages/DetailPage.jsx +101 -0
  137. package/src/components/pages/DetailPageContainer.js +18 -0
  138. package/src/components/pages/RootPage.jsx +37 -0
  139. package/src/components/pages/SearchPage.jsx +160 -0
  140. package/src/components/pages/SearchPageContainer.js +21 -0
  141. package/src/components/search/entry/SearchEntryForm.jsx +82 -0
  142. package/src/components/search/entry/SearchEntryFormContainer.js +22 -0
  143. package/src/components/search/entry/SearchEntryPanel.jsx +28 -0
  144. package/src/components/search/entry/SearchQueryInput.jsx +95 -0
  145. package/src/components/search/entry/SearchSubmitButton.jsx +22 -0
  146. package/src/components/search/entry/SortSelect.jsx +104 -0
  147. package/src/components/search/entry/SortSelectContainer.js +12 -0
  148. package/src/components/search/result/ClearSearchParamsLink.jsx +43 -0
  149. package/src/components/search/result/Filter.jsx +226 -0
  150. package/src/components/search/result/FilterContainer.js +20 -0
  151. package/src/components/search/result/FilterGroup.jsx +83 -0
  152. package/src/components/search/result/FilterList.jsx +51 -0
  153. package/src/components/search/result/FilterPanel.jsx +143 -0
  154. package/src/components/search/result/FilterPanelContainer.js +16 -0
  155. package/src/components/search/result/FilterSearchInput.jsx +68 -0
  156. package/src/components/search/result/RemoveSearchParamLink.jsx +79 -0
  157. package/src/components/search/result/SearchError.jsx +30 -0
  158. package/src/components/search/result/SearchLoadMore.jsx +37 -0
  159. package/src/components/search/result/SearchParamList.jsx +47 -0
  160. package/src/components/search/result/SearchPending.jsx +19 -0
  161. package/src/components/search/result/SearchResultImage.jsx +275 -0
  162. package/src/components/search/result/SearchResultList.jsx +144 -0
  163. package/src/components/search/result/SearchResultPanel.jsx +169 -0
  164. package/src/components/search/result/SearchResultPanelContainer.js +31 -0
  165. package/src/components/search/result/SearchResultStats.jsx +38 -0
  166. package/src/components/search/result/SearchResultTile.jsx +70 -0
  167. package/src/config/anthro.js +153 -0
  168. package/src/config/bonsai.js +50 -0
  169. package/src/config/botgarden.js +3 -0
  170. package/src/config/default.js +604 -0
  171. package/src/config/fcart.js +38 -0
  172. package/src/config/herbarium.js +3 -0
  173. package/src/config/index.js +51 -0
  174. package/src/config/lhmc.js +3 -0
  175. package/src/config/materials.js +1173 -0
  176. package/src/config/publicart.js +3 -0
  177. package/src/constants/actionCodes.js +26 -0
  178. package/src/constants/ids.js +3 -0
  179. package/src/helpers/bodyClassName.js +5 -0
  180. package/src/helpers/esQueryHelpers.js +224 -0
  181. package/src/helpers/formatHelpers.jsx +361 -0
  182. package/src/helpers/searchDimensions.js +21 -0
  183. package/src/helpers/urlHelpers.js +49 -0
  184. package/src/index.jsx +59 -0
  185. package/src/intl/index.js +16 -0
  186. package/src/reducers/detailReducer.js +201 -0
  187. package/src/reducers/filterReducer.js +16 -0
  188. package/src/reducers/index.js +56 -0
  189. package/src/reducers/mediaReducer.js +44 -0
  190. package/src/reducers/prefsReducer.js +24 -0
  191. package/src/reducers/searchEntryFormReducer.js +19 -0
  192. package/src/reducers/searchReducer.js +118 -0
  193. package/styles/colors.css +7 -0
  194. package/styles/cspace/DetailNavBar.css +17 -0
  195. package/styles/cspace/DetailPage.css +3 -0
  196. package/styles/cspace/DetailPanel.css +69 -0
  197. package/styles/cspace/ExhibitionSection.css +9 -0
  198. package/styles/cspace/FieldList.css +15 -0
  199. package/styles/cspace/FieldListField.css +7 -0
  200. package/styles/cspace/FieldListGroup.css +27 -0
  201. package/styles/cspace/FieldValueList.css +19 -0
  202. package/styles/cspace/Filter.css +64 -0
  203. package/styles/cspace/FilterGroup.css +21 -0
  204. package/styles/cspace/FilterPanel.css +45 -0
  205. package/styles/cspace/FilterSearchInput.css +13 -0
  206. package/styles/cspace/Fixed.css +8 -0
  207. package/styles/cspace/IconButton.css +11 -0
  208. package/styles/cspace/ImageGallery.css +43 -0
  209. package/styles/cspace/InstitutionHoldingList.css +109 -0
  210. package/styles/cspace/InstitutionIndex.css +13 -0
  211. package/styles/cspace/InstitutionSection.css +4 -0
  212. package/styles/cspace/Link.css +39 -0
  213. package/styles/cspace/Panel.css +53 -0
  214. package/styles/cspace/PanelTitle.css +48 -0
  215. package/styles/cspace/RemoveSearchParamLink.css +15 -0
  216. package/styles/cspace/RootPage.css +60 -0
  217. package/styles/cspace/ScrollTopButton.css +32 -0
  218. package/styles/cspace/SearchEntryForm.css +4 -0
  219. package/styles/cspace/SearchEntryPanel.css +11 -0
  220. package/styles/cspace/SearchPage.css +2 -0
  221. package/styles/cspace/SearchParamLink.css +21 -0
  222. package/styles/cspace/SearchParamList.css +6 -0
  223. package/styles/cspace/SearchQueryInput.css +30 -0
  224. package/styles/cspace/SearchResultImage.css +29 -0
  225. package/styles/cspace/SearchResultList.css +10 -0
  226. package/styles/cspace/SearchResultPanel.css +31 -0
  227. package/styles/cspace/SearchResultStats.css +4 -0
  228. package/styles/cspace/SearchResultTile.css +67 -0
  229. package/styles/cspace/SearchStatus.css +12 -0
  230. package/styles/cspace/SearchSubmitButton.css +3 -0
  231. package/styles/cspace/SortSelect.css +19 -0
  232. package/styles/cspace/ToggleFilterPanelButton.css +44 -0
  233. package/styles/dimensions.css +9 -0
@@ -0,0 +1,27 @@
1
+ .common + .common {
2
+ margin-top: 16px;
3
+ }
4
+
5
+ .common > div {
6
+ display: grid;
7
+ grid-template-columns: 33% auto;
8
+ grid-auto-rows: min-content;
9
+ align-items: baseline;
10
+ }
11
+
12
+ .common > div > h4 {
13
+ font: inherit;
14
+ margin: 0 6px 0 0;
15
+ }
16
+
17
+ .common > div > h4::after {
18
+ content: ':';
19
+ }
20
+
21
+ .common > div > * {
22
+ margin-bottom: 4px;
23
+ }
24
+
25
+ .inline > div {
26
+ grid-auto-flow: column;
27
+ }
@@ -0,0 +1,19 @@
1
+ .common {
2
+ list-style: none;
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+
7
+ .common > li {
8
+ margin-bottom: 4px;
9
+ }
10
+
11
+ .inline {
12
+ display: flex;
13
+ flex-wrap: wrap;
14
+ }
15
+
16
+ .inline > li {
17
+ margin-right: 1em;
18
+ white-space: nowrap;
19
+ }
@@ -0,0 +1,64 @@
1
+ @value highlightColor, inputBgColor, inputBorderColor, panelBorderColor from '../colors.css';
2
+
3
+ .common {
4
+ padding: 2px 20px 18px 20px;
5
+ }
6
+
7
+ .common > ul {
8
+ list-style: none;
9
+ margin: 0;
10
+ padding: 4px 0 0 0;
11
+ max-height: 150px;
12
+ overflow: auto;
13
+ }
14
+
15
+ .common li {
16
+ margin: 0;
17
+ }
18
+
19
+ .common li > label > div {
20
+ padding: 4px;
21
+ }
22
+
23
+ .common li > label:hover > input + div::before {
24
+ border-color: #424242;
25
+ background-color: rgb(248, 248, 248);
26
+ }
27
+
28
+ .common li input {
29
+ width: 1px;
30
+ height: 1px;
31
+ opacity: 0;
32
+ box-sizing: border-box;
33
+ position: absolute;
34
+ }
35
+
36
+ .common li input + div {
37
+ display: flex;
38
+ align-items: center;
39
+ }
40
+
41
+ .common li input + div::before {
42
+ flex: 0 0 auto;
43
+ content: '';
44
+ width: 18px;
45
+ height: 18px;
46
+ margin-right: 4px;
47
+ border: 1px solid inputBorderColor;
48
+ background-color: inputBgColor;
49
+ background-repeat: none;
50
+ background-position: center center;
51
+ outline-offset: -1px;
52
+ }
53
+
54
+ .common li input:focus + div::before {
55
+ outline: 2px solid highlightColor;
56
+ }
57
+
58
+ .common li input:checked + div::before {
59
+ background-image: url(../../images/check.svg);
60
+ }
61
+
62
+ .common li label > div > span > span {
63
+ color: #808080;
64
+ }
@@ -0,0 +1,21 @@
1
+
2
+ @value panelBorderColor from '../colors.css';
3
+ @value filterPanelWidth from '../dimensions.css';
4
+
5
+ .common {
6
+ border-top: 1px solid panelBorderColor;
7
+ font-size: .85rem;
8
+ }
9
+
10
+ .common > h1 {
11
+ margin: 0;
12
+ border-bottom: 1px solid panelBorderColor;
13
+ padding: 18px 20px;
14
+ background-color: rgb(230, 230, 230);
15
+ font-size: inherit;
16
+ text-transform: uppercase;
17
+ }
18
+
19
+ .empty {
20
+ display: none;
21
+ }
@@ -0,0 +1,45 @@
1
+ @value inputBgColor, inputBorderColor, panelBorderColor from '../colors.css';
2
+ @value filterPanelCutoffWidth, filterPanelWidth, filterPanelCollapsedLeft, searchInputHeight, searchInputPaddingHeight, searchInputBorderWidth from '../dimensions.css';
3
+
4
+ .common {
5
+ position: absolute;
6
+ width: filterPanelWidth;
7
+ height: 100px;
8
+ overflow-y: auto;
9
+ background-color: rgb(245, 245, 245);
10
+ z-index: 1;
11
+ transition: left 0.3s;
12
+ scroll-behavior: smooth;
13
+ }
14
+
15
+ .common > div > header {
16
+ margin-bottom: 1px;
17
+ padding: 18px 20px;
18
+ font-size: .85rem;
19
+ white-space: nowrap;
20
+ transition: padding 0.3s;
21
+ }
22
+
23
+ .collapsed {
24
+ composes: common;
25
+ }
26
+
27
+ .expanded {
28
+ composes: common;
29
+ }
30
+
31
+ @media only screen
32
+ and (max-width: filterPanelCutoffWidth) {
33
+ .collapsed {
34
+ left: filterPanelCollapsedLeft;
35
+ }
36
+
37
+ .expanded {
38
+ left: 0;
39
+ box-shadow: 0 0 9px 3px panelBorderColor;
40
+ }
41
+
42
+ .common > div > header {
43
+ padding-left: 78px;
44
+ }
45
+ }
@@ -0,0 +1,13 @@
1
+ @value highlightColor, inputBgColor, inputBorderColor from '../colors.css';
2
+
3
+ .common {
4
+ width: 100%;
5
+ margin: 0;
6
+ border: 1px solid inputBorderColor;
7
+ background: inputBgColor;
8
+ padding: 8px;
9
+ }
10
+
11
+ .common:focus {
12
+ outline: 2px solid highlightColor;
13
+ }
@@ -0,0 +1,8 @@
1
+ .common {
2
+ position: sticky;
3
+ position: -webkit-sticky;
4
+ top: 0;
5
+ left: 0;
6
+ width: 100%;
7
+ z-index: 11;
8
+ }
@@ -0,0 +1,11 @@
1
+ .common > span {
2
+ border: 0;
3
+ clip: rect(0 0 0 0);
4
+ height: 1px;
5
+ margin: -1px;
6
+ overflow: hidden;
7
+ padding: 0;
8
+ position: absolute;
9
+ white-space: nowrap;
10
+ width: 1px;
11
+ }
@@ -0,0 +1,43 @@
1
+ .common {
2
+ display: flex;
3
+ justify-content: center;
4
+ margin-bottom: 16px;
5
+ width: 100%;
6
+ }
7
+
8
+ .common :global(.image-gallery) {
9
+ width: 100%;
10
+ }
11
+
12
+ .common :global(.image-gallery-left-nav),
13
+ .common :global(.image-gallery-right-nav) {
14
+ padding: 0;
15
+ }
16
+
17
+ .common :global(.image-gallery-thumbnails) {
18
+ padding-bottom: 0;
19
+ }
20
+
21
+ .common :global(.image-gallery-thumbnail) {
22
+ width: 25%;
23
+ max-width: 100px;
24
+ }
25
+
26
+ .common :global(.image-gallery-slide) {
27
+ display: flex;
28
+ justify-content: center;
29
+ }
30
+
31
+ .common :global(.image-gallery-slide img) {
32
+ max-width: 420px;
33
+ }
34
+
35
+ .common button:focus, .common button:focus:hover {
36
+ background-color: rgba(255, 255, 255, .5);
37
+ outline: 1px dotted black;
38
+ outline-offset: -1px;
39
+ }
40
+
41
+ .common button:hover {
42
+ background-color: inherit;
43
+ }
@@ -0,0 +1,109 @@
1
+ @value panelBorderColor from '../colors.css';
2
+
3
+ .common {
4
+ border-top: 1px solid panelBorderColor;
5
+ }
6
+
7
+ .common:last-child {
8
+ border-bottom: 1px solid panelBorderColor;
9
+ }
10
+
11
+ .common > button:focus {
12
+ background-color: inherit;
13
+ outline: 1px dotted black;
14
+ outline-offset: 1px;
15
+ }
16
+
17
+ .expanded {
18
+ composes: common;
19
+ }
20
+
21
+ .collapsed {
22
+ composes: common;
23
+ }
24
+
25
+ .common h3 {
26
+ margin: 0 0 10px 0;
27
+ font-weight: 600;
28
+ }
29
+
30
+ .common :global(.cspace-FieldListGroup--common) + :global(.cspace-FieldListGroup--common) {
31
+ margin-top: 2px;
32
+ }
33
+
34
+ .common :global(.cspace-FieldListGroup--common) > div > h4 {
35
+ font-weight: 600;
36
+ }
37
+
38
+ .common > div {
39
+ display: grid;
40
+ grid-template-columns: 210px auto;
41
+ grid-template-areas: 'gallery holdings';
42
+ grid-column-gap: 16px;
43
+ margin-top: 2px;
44
+ padding-bottom: 16px;
45
+ }
46
+
47
+ .common :global(.image-gallery-slide img) {
48
+ max-width: 210px;
49
+ }
50
+
51
+ .common :global(.image-gallery-slide img) {
52
+ max-width: 210px;
53
+ }
54
+
55
+ .common :global(.image-gallery-thumbnail) {
56
+ max-width: 50px;
57
+ }
58
+
59
+ .common > div > ul {
60
+ grid-area: holdings;
61
+ margin: 0;
62
+ padding: 0;
63
+ list-style: none;
64
+ }
65
+
66
+ .common > div > ul > li {
67
+ display: grid;
68
+ grid-template-areas: 'fields1';
69
+ }
70
+
71
+ .common > div > ul > li > h3 {
72
+ margin-right: 16px;
73
+ }
74
+
75
+ .common > div > ul > li + li {
76
+ margin-top: 10px;
77
+ border-top: 1px solid panelBorderColor;
78
+ padding-top: 16px;
79
+ }
80
+
81
+ .common > div > ul > li > h4 + dl {
82
+ margin-left: 10px;
83
+ }
84
+
85
+ .common > div > ul > li p,
86
+ .common > div > ul > li dl {
87
+ margin: 0;
88
+ }
89
+
90
+ .common > div > ul > li p + p,
91
+ .common > div > ul > li p + dl {
92
+ margin-top: 4px;
93
+ }
94
+
95
+ .common :global(.cspace-FieldList--common) dt {
96
+ font-weight: 600;
97
+ }
98
+
99
+ .common :global(.image-gallery-svg){
100
+ width: 30px;
101
+ height: 60px;
102
+ }
103
+
104
+ @media only screen
105
+ and (max-width: 640px) {
106
+ .common > div {
107
+ display: block;
108
+ }
109
+ }
@@ -0,0 +1,13 @@
1
+ .common {
2
+ margin-top: 16px;
3
+ }
4
+
5
+ .common > ul {
6
+ list-style: none;
7
+ padding: 0;
8
+ margin: 0;
9
+ }
10
+
11
+ .common > ul > li + li {
12
+ margin-top: 4px;
13
+ }
@@ -0,0 +1,4 @@
1
+ .common {
2
+ grid-area: inst;
3
+ margin-top: 32px;
4
+ }
@@ -0,0 +1,39 @@
1
+ .common {
2
+ background-repeat: no-repeat;
3
+ background-size: 16px;
4
+ }
5
+
6
+ .external {
7
+ composes: common;
8
+ padding-right: 20px;
9
+ background-position: right center;
10
+ background-image: url(../../images/openNew.svg);
11
+ }
12
+
13
+ .hash {
14
+ composes: common;
15
+ padding-right: 20px;
16
+ background-position: right center;
17
+ background-image: url(../../images/linkDown.svg);
18
+ }
19
+
20
+ .back {
21
+ composes: common;
22
+ padding-left: 20px;
23
+ background-position: left center;
24
+ background-image: url(../../images/linkBack.svg);
25
+ }
26
+
27
+ .prev {
28
+ composes: common;
29
+ padding-left: 16px;
30
+ background-position: left center;
31
+ background-image: url(../../images/linkPrev.svg);
32
+ }
33
+
34
+ .next {
35
+ composes: common;
36
+ padding-right: 16px;
37
+ background-position: right center;
38
+ background-image: url(../../images/linkNext.svg);
39
+ }
@@ -0,0 +1,53 @@
1
+ @value highlightColor, panelBorderColor from '../colors.css';
2
+
3
+ .common {
4
+
5
+ }
6
+
7
+ .common + .common {
8
+ border-top: 1px solid panelBorderColor;
9
+ ;
10
+ }
11
+
12
+ .expanded {
13
+ composes: common;
14
+ }
15
+
16
+ .collapsed {
17
+ composes: common;
18
+ }
19
+
20
+ .common > header > button {
21
+ display: block;
22
+ width: 100%;
23
+ border: none;
24
+ padding: 18px 42px 18px 20px;
25
+ background-color: inherit !important;
26
+ text-align: left;
27
+ color: #424242;
28
+ background-position: calc(100% - 12px) center;
29
+ background-repeat: no-repeat;
30
+ font-weight: 600;
31
+ outline-offset: -6px;
32
+ }
33
+
34
+ .common > header > button:focus {
35
+ outline: 2px solid #424242;
36
+ box-shadow: none;
37
+ }
38
+
39
+ .expanded > header > button {
40
+ background-image: url(../../images/collapse.svg);
41
+ }
42
+
43
+ .expanded > header > button:hover {
44
+ background-image: url(../../images/collapseActive.svg);
45
+ }
46
+
47
+ .collapsed > header > button {
48
+ background-image: url(../../images/expand.svg);
49
+ }
50
+
51
+ .collapsed > header > button:hover {
52
+ background-image: url(../../images/expandActive.svg);
53
+ }
@@ -0,0 +1,48 @@
1
+ @value panelBorderColor from '../colors.css';
2
+
3
+ .common {
4
+ display: block;
5
+ width: 100%;
6
+ border: none;
7
+ margin: 0;
8
+ padding: 0;
9
+ background-color: inherit;
10
+ text-align: left;
11
+ color: #424242;
12
+ font: inherit;
13
+ }
14
+
15
+ .common:focus {
16
+ outline: none;
17
+ }
18
+
19
+ .expanded {
20
+ composes: common;
21
+ }
22
+
23
+ .collapsed {
24
+ composes: common;
25
+ }
26
+
27
+ .common > div {
28
+ padding: 10px 32px 10px 0;
29
+ font-weight: bold;
30
+ background-position: right center;
31
+ background-repeat: no-repeat;
32
+ }
33
+
34
+ .expanded > div {
35
+ background-image: url(../../images/collapse.svg);
36
+ }
37
+
38
+ .expanded:hover > div {
39
+ background-image: url(../../images/collapseActive.svg);
40
+ }
41
+
42
+ .collapsed > div {
43
+ background-image: url(../../images/expand.svg);
44
+ }
45
+
46
+ .collapsed:hover > div {
47
+ background-image: url(../../images/expandActive.svg);
48
+ }
@@ -0,0 +1,15 @@
1
+ .common {
2
+ composes: common from './SearchParamLink.css';
3
+ max-width: 300px;
4
+ overflow: hidden;
5
+ text-overflow: ellipsis;
6
+ padding-right: 24px;
7
+ background-image: url(../../images/close.svg);
8
+ background-repeat: no-repeat;
9
+ background-position: calc(100% - 4px) center;
10
+ background-size: 16px;
11
+ }
12
+
13
+ .common:hover {
14
+ text-decoration: line-through;
15
+ }
@@ -0,0 +1,60 @@
1
+ @value buttonBgColor, buttonBgHoverColor, highlightColor from '../colors.css';
2
+
3
+ html {
4
+ scroll-behavior: smooth;
5
+ }
6
+
7
+ body {
8
+ padding: 0;
9
+ margin: 0;
10
+ color: #424242;
11
+ }
12
+
13
+ a {
14
+ text-decoration: none;
15
+ color: highlightColor;
16
+ }
17
+
18
+ a:hover {
19
+ text-decoration: underline;
20
+ }
21
+
22
+ a:focus {
23
+ outline: 1px dotted highlightColor;
24
+ outline-offset: 1px;
25
+ }
26
+
27
+ p {
28
+ margin: 16px 0;
29
+ }
30
+
31
+ p:first-child {
32
+ margin-top: 0;
33
+ }
34
+
35
+ input {
36
+ outline-offset: -2px;
37
+ }
38
+
39
+ input, button {
40
+ color: inherit;
41
+ font: inherit;
42
+ }
43
+
44
+ button {
45
+ border: none;
46
+ border-radius: 3px;
47
+ background-color: buttonBgColor;
48
+ color: white;
49
+ outline-offset: -2px;
50
+ }
51
+
52
+ button:hover {
53
+ background-color: buttonBgHoverColor;
54
+ color: buttonBgColor;
55
+ }
56
+
57
+ button:focus {
58
+ outline-offset: 1px;
59
+ outline: 2px solid buttonBgColor;
60
+ }
@@ -0,0 +1,32 @@
1
+ @value highlightColor, panelBorderColor from '../colors.css';
2
+
3
+ .common {
4
+ position: fixed;
5
+ width: 64px;
6
+ height: 64px;
7
+ right: 20px;
8
+ bottom: 20px;
9
+ border-radius: 32px;
10
+ border: none;
11
+ padding: 0;
12
+ background: white url(../../images/top.svg) no-repeat center center;
13
+ box-shadow: 0 0 9px 3px panelBorderColor;
14
+ z-index: 15;
15
+ transition: opacity 1s;
16
+ }
17
+
18
+ .common:focus {
19
+ outline: none;
20
+ border: 2px solid highlightColor;
21
+ box-shadow: 0 0 9px 3px highlightColor;
22
+ }
23
+
24
+ .common:hover {
25
+ background-color: rgb(248, 248, 248);
26
+ }
27
+
28
+ .hidden {
29
+ composes: common;
30
+ opacity: 0;
31
+ visibility: hidden;
32
+ }
@@ -0,0 +1,4 @@
1
+ .common {
2
+ margin: 0;
3
+ padding: 10px;
4
+ }
@@ -0,0 +1,11 @@
1
+ @value panelBorderColor from '../colors.css';
2
+ @value searchInputBorderWidth from '../dimensions.css';
3
+
4
+ .common {
5
+ display: flex;
6
+ flex-direction: column;
7
+ width: 100%;
8
+ background-color: white;
9
+ border-bottom: searchInputBorderWidth solid panelBorderColor;
10
+ z-index: 11;
11
+ }
@@ -0,0 +1,2 @@
1
+ .common {
2
+ }
@@ -0,0 +1,21 @@
1
+ @value highlightColor from '../colors.css';
2
+
3
+ .common {
4
+ cursor: pointer;
5
+ padding: 8px;
6
+ border-radius: 3px;
7
+ text-decoration: none;
8
+ color: inherit;
9
+ white-space: nowrap;
10
+ margin: 4px 4px 0 0;
11
+ background-color: rgb(245, 245, 245);
12
+ outline-offset: -2px;
13
+ }
14
+
15
+ .common:hover {
16
+ background-color: rgb(238, 238, 238);
17
+ }
18
+
19
+ .common:focus {
20
+ outline: 2px solid highlightColor;
21
+ }
@@ -0,0 +1,6 @@
1
+ .common {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ align-items: baseline;
5
+ margin-bottom: 4px;
6
+ }