visiomatic 3.0.0__py3-none-any.whl

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 (247) hide show
  1. visiomatic/__init__.py +9 -0
  2. visiomatic/client/css/spectrum.css +643 -0
  3. visiomatic/client/css/themes.css +199 -0
  4. visiomatic/client/css/visiomatic.css +1785 -0
  5. visiomatic/client/dist/visiomatic.js +63 -0
  6. visiomatic/client/images/activity.svg +21 -0
  7. visiomatic/client/images/cds.png +0 -0
  8. visiomatic/client/images/cfht-logo.svg +6 -0
  9. visiomatic/client/images/directory.png +0 -0
  10. visiomatic/client/images/file.png +0 -0
  11. visiomatic/client/images/folder_open.png +0 -0
  12. visiomatic/client/images/icon-backward.svg +6 -0
  13. visiomatic/client/images/icon-backward2.svg +6 -0
  14. visiomatic/client/images/icon-camera.svg +8 -0
  15. visiomatic/client/images/icon-clipboard.svg +8 -0
  16. visiomatic/client/images/icon-cog.svg +7 -0
  17. visiomatic/client/images/icon-cold.svg +10 -0
  18. visiomatic/client/images/icon-contrast.svg +14 -0
  19. visiomatic/client/images/icon-equalizer2.svg +6 -0
  20. visiomatic/client/images/icon-first.svg +6 -0
  21. visiomatic/client/images/icon-fullscreen.svg +14 -0
  22. visiomatic/client/images/icon-grey.svg +10 -0
  23. visiomatic/client/images/icon-home.svg +7 -0
  24. visiomatic/client/images/icon-hot.svg +12 -0
  25. visiomatic/client/images/icon-image.svg +9 -0
  26. visiomatic/client/images/icon-info.svg +8 -0
  27. visiomatic/client/images/icon-jet.svg +14 -0
  28. visiomatic/client/images/icon-last.svg +6 -0
  29. visiomatic/client/images/icon-left.svg +7 -0
  30. visiomatic/client/images/icon-location.svg +7 -0
  31. visiomatic/client/images/icon-magicwand.svg +10 -0
  32. visiomatic/client/images/icon-magnifyminus.svg +5 -0
  33. visiomatic/client/images/icon-magnifyplus.svg +6 -0
  34. visiomatic/client/images/icon-make-group.svg +10 -0
  35. visiomatic/client/images/icon-map.svg +9 -0
  36. visiomatic/client/images/icon-menu.svg +7 -0
  37. visiomatic/client/images/icon-minus.svg +6 -0
  38. visiomatic/client/images/icon-next.svg +5 -0
  39. visiomatic/client/images/icon-palette.svg +17 -0
  40. visiomatic/client/images/icon-pause.svg +6 -0
  41. visiomatic/client/images/icon-pdf.svg +8 -0
  42. visiomatic/client/images/icon-play.svg +6 -0
  43. visiomatic/client/images/icon-plot.svg +5 -0
  44. visiomatic/client/images/icon-plus.svg +6 -0
  45. visiomatic/client/images/icon-previous.svg +6 -0
  46. visiomatic/client/images/icon-print.svg +8 -0
  47. visiomatic/client/images/icon-reset.svg +10 -0
  48. visiomatic/client/images/icon-reverse.svg +6 -0
  49. visiomatic/client/images/icon-right.svg +7 -0
  50. visiomatic/client/images/icon-settings.svg +7 -0
  51. visiomatic/client/images/icon-shrink.svg +6 -0
  52. visiomatic/client/images/icon-stack.svg +7 -0
  53. visiomatic/client/images/icon-trash.svg +7 -0
  54. visiomatic/client/images/icon-windowed.svg +15 -0
  55. visiomatic/client/images/iip.png +0 -0
  56. visiomatic/client/images/imcce.svg +42 -0
  57. visiomatic/client/images/leaflet.svg +28 -0
  58. visiomatic/client/images/mast.png +0 -0
  59. visiomatic/client/images/picture.png +0 -0
  60. visiomatic/client/images/reticle.svg +16 -0
  61. visiomatic/client/images/toggle.png +0 -0
  62. visiomatic/client/images/visiomatic.png +0 -0
  63. visiomatic/client/images/vizier.png +0 -0
  64. visiomatic/client/js/Visiomatic.js +14 -0
  65. visiomatic/client/js/VisiomaticGlobal.js +30 -0
  66. visiomatic/client/js/catalog/Catalog.js +266 -0
  67. visiomatic/client/js/catalog/catalogs.js +473 -0
  68. visiomatic/client/js/catalog/index.js +10 -0
  69. visiomatic/client/js/control/CatalogUI.js +387 -0
  70. visiomatic/client/js/control/ChannelUI.js +794 -0
  71. visiomatic/client/js/control/Coords.js +404 -0
  72. visiomatic/client/js/control/DocUI.js +226 -0
  73. visiomatic/client/js/control/ExtraMap.js +568 -0
  74. visiomatic/client/js/control/FullScreen.js +257 -0
  75. visiomatic/client/js/control/ImageUI.js +216 -0
  76. visiomatic/client/js/control/PixelValues.js +261 -0
  77. visiomatic/client/js/control/PreferencesUI.js +124 -0
  78. visiomatic/client/js/control/ProfileUI.js +623 -0
  79. visiomatic/client/js/control/RegionUI.js +272 -0
  80. visiomatic/client/js/control/Reticle.js +76 -0
  81. visiomatic/client/js/control/Scale.js +300 -0
  82. visiomatic/client/js/control/Sidebar.js +363 -0
  83. visiomatic/client/js/control/SnapshotUI.js +190 -0
  84. visiomatic/client/js/control/UI.js +865 -0
  85. visiomatic/client/js/control/index.js +24 -0
  86. visiomatic/client/js/control/logo.js +56 -0
  87. visiomatic/client/js/control/widget/FlipSwitch.js +108 -0
  88. visiomatic/client/js/control/widget/Spinbox.js +392 -0
  89. visiomatic/client/js/control/widget/index.js +10 -0
  90. visiomatic/client/js/copyright.js +27 -0
  91. visiomatic/client/js/crs/Conical.js +157 -0
  92. visiomatic/client/js/crs/Cylindrical.js +178 -0
  93. visiomatic/client/js/crs/Pixel.js +84 -0
  94. visiomatic/client/js/crs/Projection.js +658 -0
  95. visiomatic/client/js/crs/WCS.js +509 -0
  96. visiomatic/client/js/crs/Zenithal.js +412 -0
  97. visiomatic/client/js/crs/index.js +13 -0
  98. visiomatic/client/js/layer/VTileLayer.js +1100 -0
  99. visiomatic/client/js/layer/index.js +9 -0
  100. visiomatic/client/js/util/RGB.js +104 -0
  101. visiomatic/client/js/util/VUtil.js +247 -0
  102. visiomatic/client/js/util/fileTree.js +111 -0
  103. visiomatic/client/js/util/index.js +10 -0
  104. visiomatic/client/js/vector/Ellipse.js +160 -0
  105. visiomatic/client/js/vector/EllipseMarker.js +286 -0
  106. visiomatic/client/js/vector/index.js +10 -0
  107. visiomatic/client/jsdoc.json +20 -0
  108. visiomatic/client/package-lock.json +4892 -0
  109. visiomatic/client/package.json +85 -0
  110. visiomatic/cmd/__init__.py +6 -0
  111. visiomatic/cmd/start.py +121 -0
  112. visiomatic/doc/html/.buildinfo +4 -0
  113. visiomatic/doc/html/.nojekyll +0 -0
  114. visiomatic/doc/html/_images/advanced_menu.png +0 -0
  115. visiomatic/doc/html/_images/catalog_overlays.png +0 -0
  116. visiomatic/doc/html/_images/channel_mixing.png +0 -0
  117. visiomatic/doc/html/_images/icon-camera.svg +8 -0
  118. visiomatic/doc/html/_images/icon-cog.svg +7 -0
  119. visiomatic/doc/html/_images/icon-contrast.svg +14 -0
  120. visiomatic/doc/html/_images/icon-equalizer2.svg +6 -0
  121. visiomatic/doc/html/_images/icon-fullscreen.svg +14 -0
  122. visiomatic/doc/html/_images/icon-info.svg +8 -0
  123. visiomatic/doc/html/_images/icon-location.svg +7 -0
  124. visiomatic/doc/html/_images/icon-magnifyminus.svg +5 -0
  125. visiomatic/doc/html/_images/icon-magnifyplus.svg +6 -0
  126. visiomatic/doc/html/_images/icon-make-group.svg +10 -0
  127. visiomatic/doc/html/_images/icon-menu.svg +7 -0
  128. visiomatic/doc/html/_images/icon-palette.svg +17 -0
  129. visiomatic/doc/html/_images/icon-pdf.svg +8 -0
  130. visiomatic/doc/html/_images/icon-plot.svg +5 -0
  131. visiomatic/doc/html/_images/icon-trash.svg +7 -0
  132. visiomatic/doc/html/_images/icon-windowed.svg +15 -0
  133. visiomatic/doc/html/_images/image_prefs.png +0 -0
  134. visiomatic/doc/html/_images/navigation.png +0 -0
  135. visiomatic/doc/html/_images/visiomatic-banner.png +0 -0
  136. visiomatic/doc/html/_images/visiomatic-chart.svg +3 -0
  137. visiomatic/doc/html/_images/web_interface.png +0 -0
  138. visiomatic/doc/html/_modules/index.html +112 -0
  139. visiomatic/doc/html/_modules/visiomatic/cmd/start.html +233 -0
  140. visiomatic/doc/html/_modules/visiomatic/server/app.html +590 -0
  141. visiomatic/doc/html/_modules/visiomatic/server/cache.html +581 -0
  142. visiomatic/doc/html/_modules/visiomatic/server/config.html +450 -0
  143. visiomatic/doc/html/_modules/visiomatic/server/image.html +394 -0
  144. visiomatic/doc/html/_modules/visiomatic/server/settings.html +345 -0
  145. visiomatic/doc/html/_modules/visiomatic/server/tiled.html +1319 -0
  146. visiomatic/doc/html/_sources/api/client/catalogs.rst.txt +40 -0
  147. visiomatic/doc/html/_sources/api/client/geometry.rst.txt +15 -0
  148. visiomatic/doc/html/_sources/api/client/index.rst.txt +13 -0
  149. visiomatic/doc/html/_sources/api/client/layers.rst.txt +13 -0
  150. visiomatic/doc/html/_sources/api/client/ui.rst.txt +164 -0
  151. visiomatic/doc/html/_sources/api/client/utils.rst.txt +34 -0
  152. visiomatic/doc/html/_sources/api/client/wcs.rst.txt +63 -0
  153. visiomatic/doc/html/_sources/api/server/app.rst.txt +8 -0
  154. visiomatic/doc/html/_sources/api/server/cache.rst.txt +7 -0
  155. visiomatic/doc/html/_sources/api/server/cmd.rst.txt +11 -0
  156. visiomatic/doc/html/_sources/api/server/config.rst.txt +8 -0
  157. visiomatic/doc/html/_sources/api/server/image.rst.txt +8 -0
  158. visiomatic/doc/html/_sources/api/server/index.rst.txt +14 -0
  159. visiomatic/doc/html/_sources/api/server/settings.rst.txt +8 -0
  160. visiomatic/doc/html/_sources/api/server/tiled.rst.txt +9 -0
  161. visiomatic/doc/html/_sources/api.rst.txt +12 -0
  162. visiomatic/doc/html/_sources/index.rst.txt +19 -0
  163. visiomatic/doc/html/_sources/interface.rst.txt +260 -0
  164. visiomatic/doc/html/_sources/intro.rst.txt +16 -0
  165. visiomatic/doc/html/_sources/overview.rst.txt +75 -0
  166. visiomatic/doc/html/_sources/references.rst.txt +8 -0
  167. visiomatic/doc/html/_sources/setup.rst.txt +428 -0
  168. visiomatic/doc/html/_static/_sphinx_javascript_frameworks_compat.js +123 -0
  169. visiomatic/doc/html/_static/basic.css +925 -0
  170. visiomatic/doc/html/_static/css/badge_only.css +1 -0
  171. visiomatic/doc/html/_static/css/custom.css +175 -0
  172. visiomatic/doc/html/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
  173. visiomatic/doc/html/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  174. visiomatic/doc/html/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
  175. visiomatic/doc/html/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  176. visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.eot +0 -0
  177. visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.svg +2671 -0
  178. visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.ttf +0 -0
  179. visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.woff +0 -0
  180. visiomatic/doc/html/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
  181. visiomatic/doc/html/_static/css/fonts/lato-bold-italic.woff +0 -0
  182. visiomatic/doc/html/_static/css/fonts/lato-bold-italic.woff2 +0 -0
  183. visiomatic/doc/html/_static/css/fonts/lato-bold.woff +0 -0
  184. visiomatic/doc/html/_static/css/fonts/lato-bold.woff2 +0 -0
  185. visiomatic/doc/html/_static/css/fonts/lato-normal-italic.woff +0 -0
  186. visiomatic/doc/html/_static/css/fonts/lato-normal-italic.woff2 +0 -0
  187. visiomatic/doc/html/_static/css/fonts/lato-normal.woff +0 -0
  188. visiomatic/doc/html/_static/css/fonts/lato-normal.woff2 +0 -0
  189. visiomatic/doc/html/_static/css/theme.css +4 -0
  190. visiomatic/doc/html/_static/doctools.js +156 -0
  191. visiomatic/doc/html/_static/documentation_options.js +13 -0
  192. visiomatic/doc/html/_static/file.png +0 -0
  193. visiomatic/doc/html/_static/jquery.js +2 -0
  194. visiomatic/doc/html/_static/js/badge_only.js +1 -0
  195. visiomatic/doc/html/_static/js/html5shiv-printshiv.min.js +4 -0
  196. visiomatic/doc/html/_static/js/html5shiv.min.js +4 -0
  197. visiomatic/doc/html/_static/js/theme.js +1 -0
  198. visiomatic/doc/html/_static/language_data.js +199 -0
  199. visiomatic/doc/html/_static/minus.png +0 -0
  200. visiomatic/doc/html/_static/plus.png +0 -0
  201. visiomatic/doc/html/_static/pygments.css +75 -0
  202. visiomatic/doc/html/_static/searchtools.js +619 -0
  203. visiomatic/doc/html/_static/sphinx_highlight.js +154 -0
  204. visiomatic/doc/html/api/client/catalogs.html +400 -0
  205. visiomatic/doc/html/api/client/geometry.html +336 -0
  206. visiomatic/doc/html/api/client/index.html +575 -0
  207. visiomatic/doc/html/api/client/layers.html +477 -0
  208. visiomatic/doc/html/api/client/ui.html +2257 -0
  209. visiomatic/doc/html/api/client/utils.html +301 -0
  210. visiomatic/doc/html/api/client/wcs.html +1444 -0
  211. visiomatic/doc/html/api/server/app.html +139 -0
  212. visiomatic/doc/html/api/server/cache.html +266 -0
  213. visiomatic/doc/html/api/server/cmd.html +161 -0
  214. visiomatic/doc/html/api/server/config.html +240 -0
  215. visiomatic/doc/html/api/server/image.html +277 -0
  216. visiomatic/doc/html/api/server/index.html +341 -0
  217. visiomatic/doc/html/api/server/settings.html +294 -0
  218. visiomatic/doc/html/api/server/tiled.html +1785 -0
  219. visiomatic/doc/html/api.html +219 -0
  220. visiomatic/doc/html/genindex.html +1279 -0
  221. visiomatic/doc/html/index.html +146 -0
  222. visiomatic/doc/html/interface.html +306 -0
  223. visiomatic/doc/html/intro.html +120 -0
  224. visiomatic/doc/html/objects.inv +0 -0
  225. visiomatic/doc/html/overview.html +180 -0
  226. visiomatic/doc/html/py-modindex.html +160 -0
  227. visiomatic/doc/html/references.html +140 -0
  228. visiomatic/doc/html/search.html +125 -0
  229. visiomatic/doc/html/searchindex.js +1 -0
  230. visiomatic/doc/html/setup.html +483 -0
  231. visiomatic/package.py +58 -0
  232. visiomatic/py.typed +0 -0
  233. visiomatic/server/__init__.py +6 -0
  234. visiomatic/server/app.py +481 -0
  235. visiomatic/server/app.py.2 +418 -0
  236. visiomatic/server/cache.py +442 -0
  237. visiomatic/server/config.py +317 -0
  238. visiomatic/server/image.py +264 -0
  239. visiomatic/server/settings.py +221 -0
  240. visiomatic/server/tiled.py +1132 -0
  241. visiomatic/templates/banner.html +19 -0
  242. visiomatic/templates/base.html +65 -0
  243. visiomatic-3.0.0.dist-info/METADATA +130 -0
  244. visiomatic-3.0.0.dist-info/RECORD +247 -0
  245. visiomatic-3.0.0.dist-info/WHEEL +4 -0
  246. visiomatic-3.0.0.dist-info/entry_points.txt +3 -0
  247. visiomatic-3.0.0.dist-info/licenses/LICENSE +21 -0
visiomatic/__init__.py ADDED
@@ -0,0 +1,9 @@
1
+ """
2
+ VisiOmatic
3
+ ==========
4
+
5
+ A web application for visualizing astronomical images.
6
+ """
7
+ # Copyright CFHT/CNRS/SorbonneU
8
+ # Licensed under the MIT license
9
+
@@ -0,0 +1,643 @@
1
+ /*
2
+ # CSS definitions for Spectrum-Vanilla colorpicker
3
+ #
4
+ # This file part of: VisiOmatic
5
+ #
6
+ # Copyright: (C) 2023 Simon Asika and spectrum contributors,
7
+ # Emmanuel Bertin - CNRS/IAP/CFHT/SorbonneU
8
+ */
9
+
10
+ @media (max-width: 480px) {
11
+ .sp-container {
12
+ max-width: 210px;
13
+ }
14
+ }
15
+
16
+ .sp-container {
17
+ position: absolute;
18
+ top: -2px;
19
+ left: 10px;
20
+ display: inline-block;
21
+ z-index: 9999994;
22
+ overflow: hidden;
23
+ -webkit-box-sizing: content-box;
24
+ -moz-box-sizing: content-box;
25
+ box-sizing: content-box;
26
+ user-select: none;
27
+ }
28
+ .sp-container * {
29
+ -webkit-box-sizing: content-box;
30
+ -moz-box-sizing: content-box;
31
+ box-sizing: content-box;
32
+ }
33
+ .sp-container button {
34
+ user-select: none;
35
+ }
36
+
37
+ .sp-original-input-container {
38
+ position: relative;
39
+ display: inline-flex;
40
+ }
41
+ .sp-original-input-container input {
42
+ margin: 0 !important;
43
+ }
44
+ .sp-original-input-container .sp-add-on {
45
+ width: 40px;
46
+ border-top-right-radius: 0 !important;
47
+ border-bottom-right-radius: 0 !important;
48
+ }
49
+ .sp-original-input-container .sp-add-on .sp-colorize {
50
+ height: 100%;
51
+ width: 100%;
52
+ border-radius: inherit;
53
+ }
54
+
55
+ input.spectrum.with-add-on {
56
+ border-top-left-radius: 0;
57
+ border-bottom-left-radius: 0;
58
+ border-left: 0;
59
+ }
60
+
61
+ .sp-colorize-container {
62
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==");
63
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23ccc' fill-opacity='1'%3E%3Crect x='0' y='0' width='6' height='6' /%3E%3Crect x='6' y='6' width='6' height='6' /%3E%3C/svg%3E");
64
+ }
65
+
66
+ .sp-container.sp-flat {
67
+ position: relative;
68
+ }
69
+
70
+ .sp-top {
71
+ position: relative;
72
+ width: 100%;
73
+ height: 178px;
74
+ display: inline-block;
75
+ }
76
+
77
+ .sp-top-inner {
78
+ position: absolute;
79
+ top: 0;
80
+ left: 0;
81
+ bottom: 4px;
82
+ right: 0;
83
+ }
84
+
85
+ .sp-color {
86
+ position: absolute;
87
+ top: 0;
88
+ left: 0;
89
+ bottom: 0;
90
+ right: 25px !important;
91
+ box-shadow: 1px 1px 2px var(--shadow-color) inset;
92
+ }
93
+
94
+ .sp-hue {
95
+ position: absolute;
96
+ top: 0;
97
+ right: 0;
98
+ bottom: 0;
99
+ width: 15px;
100
+ height: 100%;
101
+ left: initial !important;
102
+ background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
103
+ background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
104
+ background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
105
+ background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
106
+ background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
107
+ background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
108
+ box-shadow: 1px 1px 2px var(--shadow-color) inset;
109
+ font-size: 15px;
110
+ box-sizing: border-box;
111
+ border-radius: 4px;
112
+ }
113
+ }
114
+
115
+ .sp-clear-enabled .sp-hue {
116
+ top: 15%;
117
+ height: 85%;
118
+ }
119
+ .sp-clear-enabled .sp-clear {
120
+ display: block;
121
+ position: absolute;
122
+ top: 3px;
123
+ right: 0;
124
+ bottom: 0;
125
+ cursor: pointer;
126
+ left: initial;
127
+ height: 14px;
128
+ width: 14px;
129
+ }
130
+
131
+ .sp-fill {
132
+ padding-top: 80%;
133
+ }
134
+
135
+ .sp-sat {
136
+ position: absolute;
137
+ top: 0;
138
+ left: 0;
139
+ right: 0;
140
+ bottom: 0;
141
+ background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
142
+ }
143
+
144
+ .sp-val {
145
+ position: absolute;
146
+ top: 0;
147
+ left: 0;
148
+ right: 0;
149
+ bottom: 0;
150
+ border-radius: 4px;
151
+ background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
152
+ }
153
+
154
+ .sp-alpha-enabled .sp-top {
155
+ margin-bottom: 28px !important;
156
+ }
157
+ .sp-alpha-enabled .sp-alpha {
158
+ display: block;
159
+ }
160
+
161
+ .sp-alpha-handle {
162
+ position: absolute;
163
+ top: -3px;
164
+ cursor: pointer;
165
+ height: 16px;
166
+ border-radius: 50%;
167
+ width: 16px;
168
+ margin-right: 5px;
169
+ left: -2px;
170
+ right: 0;
171
+ background: #f9f9f9;
172
+ box-shadow: 0 0 2px 0px #3a3a3a;
173
+ user-select: none;
174
+ }
175
+
176
+ .sp-alpha {
177
+ display: none;
178
+ position: absolute;
179
+ bottom: -18px;
180
+ right: 0;
181
+ left: 0;
182
+ height: 10px;
183
+ user-select: none;
184
+ }
185
+
186
+ .sp-alpha-inner {
187
+ border-radius: 4px;
188
+ }
189
+
190
+ .sp-clear {
191
+ display: none;
192
+ user-select: none;
193
+ }
194
+
195
+ .sp-clear.sp-clear-display {
196
+ background-position: center;
197
+ }
198
+
199
+ .sp-replacer {
200
+ user-select: none;
201
+ }
202
+
203
+ .sp-preview {
204
+ user-select: none;
205
+ }
206
+
207
+ .sp-dragger {
208
+ user-select: none;
209
+ border-radius: 10px;
210
+ height: 10px;
211
+ width: 10px;
212
+ border: 2px solid #fff;
213
+ cursor: pointer;
214
+ position: absolute;
215
+ top: 0;
216
+ left: 0;
217
+ margin-left: 5px;
218
+ margin-top: 5px;
219
+ box-shadow: 0 0 2px 1px rgba(0, 0, 0, 1.0);
220
+ }
221
+
222
+ .sp-slider {
223
+ user-select: none;
224
+ position: absolute;
225
+ top: 0;
226
+ cursor: pointer;
227
+ height: 18px;
228
+ border-radius: 50%;
229
+ width: 18px;
230
+ left: -1px;
231
+ background: var(--button-background-color);
232
+ box-shadow: -1px -1px 2px var(--shadow-color) inset;
233
+ margin-top: 10px;
234
+ margin
235
+ }
236
+
237
+ .sp-slider:hover {
238
+ background: var(--button-background-color-hover);
239
+ }
240
+
241
+ .sp-container.sp-dragging .sp-input {
242
+ user-select: none;
243
+ }
244
+
245
+ .sp-container.sp-input-disabled .sp-input-container {
246
+ display: none;
247
+ }
248
+
249
+ .sp-container.sp-buttons-disabled .sp-button-container {
250
+ display: none;
251
+ }
252
+
253
+ .sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
254
+ display: none;
255
+ }
256
+
257
+ .sp-palette-only .sp-picker-container {
258
+ display: none;
259
+ }
260
+
261
+ .sp-palette-disabled .sp-palette-container {
262
+ display: none;
263
+ }
264
+
265
+ .sp-initial-disabled .sp-initial {
266
+ display: none;
267
+ }
268
+
269
+ .sp-1 {
270
+ height: 17%;
271
+ }
272
+
273
+ .sp-2 {
274
+ height: 16%;
275
+ }
276
+
277
+ .sp-3 {
278
+ height: 17%;
279
+ }
280
+
281
+ .sp-4 {
282
+ height: 17%;
283
+ }
284
+
285
+ .sp-5 {
286
+ height: 16%;
287
+ }
288
+
289
+ .sp-6 {
290
+ height: 17%;
291
+ }
292
+
293
+ .sp-hidden {
294
+ display: none !important;
295
+ }
296
+
297
+ .sp-cf {
298
+ *zoom: 1;
299
+ }
300
+ .sp-cf:before {
301
+ content: "";
302
+ display: table;
303
+ }
304
+ .sp-cf:after {
305
+ content: "";
306
+ display: table;
307
+ clear: both;
308
+ }
309
+
310
+ @media (max-device-width: 480px) {
311
+ .sp-color {
312
+ right: 40%;
313
+ }
314
+ .sp-hue {
315
+ left: 63%;
316
+ }
317
+ .sp-fill {
318
+ padding-top: 60%;
319
+ }
320
+ }
321
+ /*
322
+ Theme authors:
323
+ Here are the basic themeable display options (colors, fonts, global widths)
324
+ */
325
+ .sp-container {
326
+ background-color: var(--dialog-background-color);
327
+ padding: 0;
328
+ border-radius: 4px;
329
+ color: black;
330
+ box-shadow: 1px 1px 4px var(--shadow-color);
331
+ font-size: 14px;
332
+ box-sizing: border-box;
333
+ }
334
+ .sp-container button {
335
+ background-color: var(--button-background-color);
336
+ color: var(--button-color);
337
+ font-size: 14px;
338
+ font-family: Trebuchet, Arial, sans-serif;
339
+ font-weight: bold;
340
+ box-sizing: border-box;
341
+ border: none;
342
+ line-height: 1;
343
+ width: 70px;
344
+ height: 31px;
345
+ margin: 1px 0px 0px 2px;
346
+ text-transform: capitalize;
347
+ text-align: center;
348
+ vertical-align: middle;
349
+ cursor: pointer;
350
+ box-shadow: 1px 1px 2px var(--shadow-color);
351
+ }
352
+ .sp-container button:hover {
353
+ background-color: var(--button-background-color-hover);
354
+ color: var(--button-color-hover);
355
+ border-width: 1px;
356
+ border-color: var(--border-color);
357
+ }
358
+ .sp-container button:active {
359
+ background-color: var(--button-background-color-checked);
360
+ color: var(--button-color-checked);
361
+ box-shadow: 1px 1px 2px var(--shadow-color) inset;
362
+ }
363
+ .sp-container input {
364
+ font-size: 14px;
365
+ box-sizing: border-box;
366
+ }
367
+ .sp-container button.sp-choose {
368
+ border-radius: 0px 4px 4px 0px;
369
+ width: 36px;
370
+ }
371
+ .sp-container button.sp-palette-toggle {
372
+ width: 100%;
373
+ background-color: #f3f3f3;
374
+ margin: 0;
375
+ }
376
+
377
+ .sp-color {
378
+ font-size: 12px;
379
+ box-sizing: border-box;
380
+ border-radius: 4px;
381
+ }
382
+
383
+ .sp-clear {
384
+ font-size: 12px;
385
+ box-sizing: border-box;
386
+ border-radius: 4px;
387
+ }
388
+
389
+ .sp-top {
390
+ margin-bottom: 10px;
391
+ }
392
+
393
+ .sp-val {
394
+ border-radius: 4px;
395
+ }
396
+
397
+ .sp-sat {
398
+ border-radius: 4px;
399
+ }
400
+
401
+ .sp-input-container {
402
+ margin-top: -5px;
403
+ }
404
+
405
+ .sp-input-container.sp-cf {
406
+ height: 32px;
407
+ float: left;
408
+ }
409
+
410
+ .sp-initial.sp-thumb.sp-cf {
411
+ height: 25px;
412
+ }
413
+
414
+ .sp-button-container.sp-cf {
415
+ }
416
+
417
+ .sp-picker-container {
418
+ float: left;
419
+ position: relative;
420
+ padding: 0px;
421
+ width: 190px;
422
+ margin: 10px 10px 10px 10px;
423
+ }
424
+ .sp-picker-container .sp-cf {
425
+ margin: 0;
426
+ }
427
+
428
+ .sp-palette-row-initial > span:first-child {
429
+ cursor: pointer;
430
+ }
431
+
432
+ .sp-initial-disabled .sp-input-container {
433
+ }
434
+
435
+ .sp-input {
436
+ padding: 0px 5px !important;
437
+ margin: 0;
438
+ width: 80px;
439
+ height: 32px;
440
+ box-shadow: 1px 1px 2px var(--shadow-color) inset;
441
+ background: var(--input-background-color);
442
+ color: var(--input-color);
443
+ border-radius: 4px 0px 0px 4px;
444
+ border-width: 0px;
445
+ text-align: center;
446
+ font-family: monospace;
447
+ font-size: 14px;
448
+ }
449
+
450
+ .sp-input:focus {
451
+ background-color: var(--input-background-color-focus);
452
+ color: var(--input-color-focus);
453
+ }
454
+
455
+ .sp-input:hover {
456
+ background-color: var(--input-background-color-hover);
457
+ color: var(--input-color-hover);
458
+ }
459
+
460
+ .sp-input.sp-validation-error {
461
+ border: 1px solid red;
462
+ background: #fdd;
463
+ }
464
+
465
+ .sp-palette-container {
466
+ float: left;
467
+ position: relative;
468
+ padding: 10px 0px 10px 10px;
469
+ width: 192px;
470
+ }
471
+
472
+ .sp-palette-only .sp-palette-container {
473
+ border: 0;
474
+ }
475
+
476
+ .sp-palette .sp-thumb-el {
477
+ display: block;
478
+ position: relative;
479
+ float: left;
480
+ cursor: pointer;
481
+ width: 24px;
482
+ height: 24px;
483
+ margin: 0px;
484
+ border: none;
485
+ }
486
+ .sp-palette .sp-thumb-el:hover {
487
+ box-shadow: 1px 1px 4px var(--shadow-color) inset;
488
+ }
489
+ .sp-palette .sp-thumb-el.sp-thumb-active {
490
+ box-shadow: 1px 1px 4px var(--shadow-color) inset;
491
+ }
492
+ .sp-palette span:hover {
493
+ box-shadow: 1px 1px 4px var(--shadow-color) inset;
494
+ }
495
+ .sp-palette span.sp-thumb-active {
496
+ box-shadow: 1px 1px 4px var(--shadow-color) inset;
497
+ }
498
+ .sp-palette .sp-thumb-inner {
499
+ background-position: 50% 50%;
500
+ background-repeat: no-repeat;
501
+ box-shadow: -1px -1px 2px var(--shadow-color);
502
+ }
503
+ .sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
504
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=");
505
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M9 16.172l10.594-10.594 1.406 1.406-12 12-5.578-5.578 1.406-1.406z' fill='%23000'%3E%3C/path%3E%3C/svg%3E");
506
+ box-shadow: 1px 1px 4px var(--shadow-color) inset;
507
+ }
508
+ .sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
509
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=");
510
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M9 16.172l10.594-10.594 1.406 1.406-12 12-5.578-5.578 1.406-1.406z'%3E%3C/path%3E%3C/svg%3E");
511
+ }
512
+
513
+ .sp-thumb-el {
514
+ position: relative;
515
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==");
516
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23ccc' fill-opacity='1'%3E%3Crect x='0' y='0' width='6' height='6' /%3E%3Crect x='6' y='6' width='6' height='6' /%3E%3C/svg%3E");
517
+ }
518
+
519
+ .sp-initial {
520
+ float: left;
521
+ }
522
+ .sp-initial span {
523
+ width: 25px;
524
+ height: 25px;
525
+ border: none;
526
+ display: block;
527
+ float: left;
528
+ margin: 0;
529
+ }
530
+ .sp-initial .spe-thumb-el.sp-thumb-active {
531
+ border-radius: 0 5px 5px 0;
532
+ }
533
+ .sp-initial .spe-thumb-el {
534
+ border-radius: 5px 0 0 5px;
535
+ }
536
+ .sp-initial .sp-clear-display {
537
+ background-position: center;
538
+ }
539
+
540
+ .sp-button-container {
541
+ }
542
+
543
+ .sp-palette-button-container {
544
+ margin-top: 10px;
545
+ }
546
+
547
+ .sp-replacer {
548
+ position: relative;
549
+ overflow: hidden;
550
+ cursor: pointer;
551
+ display: inline-block;
552
+ border-radius: 4px;
553
+ border: 1px solid #aaa;
554
+ color: #666;
555
+ transition: border-color 0.3s;
556
+ vertical-align: middle;
557
+ width: 3rem;
558
+ height: 1.5rem;
559
+ }
560
+ .sp-replacer:hover {
561
+ border: 1px solid #666;
562
+ color: black;
563
+ }
564
+
565
+ .sp-replacer.sp-active {
566
+ border: 1px solid #666;
567
+ color: black;
568
+ }
569
+
570
+ .sp-replacer.sp-disabled {
571
+ cursor: default;
572
+ border-color: silver;
573
+ color: silver;
574
+ }
575
+
576
+ .sp-dd {
577
+ position: absolute;
578
+ font-size: 10px;
579
+ right: 0;
580
+ top: 0;
581
+ bottom: 0;
582
+ padding: 0 2px;
583
+ line-height: 1.6rem;
584
+ background-color: white;
585
+ }
586
+
587
+ .sp-preview {
588
+ position: relative;
589
+ width: 100%;
590
+ height: 100%;
591
+ float: left;
592
+ z-index: 0;
593
+ position: relative;
594
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==");
595
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23ccc' fill-opacity='1'%3E%3Crect x='0' y='0' width='6' height='6' /%3E%3Crect x='6' y='6' width='6' height='6' /%3E%3C/svg%3E");
596
+ }
597
+
598
+ .sp-preview-inner {
599
+ transition: background-color 0.2s;
600
+ display: block;
601
+ position: absolute;
602
+ top: 0;
603
+ left: 0;
604
+ bottom: 0;
605
+ right: 0;
606
+ }
607
+
608
+ .sp-preview-inner.sp-clear-display {
609
+ display: none;
610
+ }
611
+
612
+ .sp-alpha {
613
+ position: relative;
614
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==");
615
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23ccc' fill-opacity='1'%3E%3Crect x='0' y='0' width='6' height='6' /%3E%3Crect x='6' y='6' width='6' height='6' /%3E%3C/svg%3E");
616
+ }
617
+
618
+ .sp-alpha-inner {
619
+ display: block;
620
+ position: absolute;
621
+ top: 0;
622
+ left: 0;
623
+ bottom: 0;
624
+ right: 0;
625
+ }
626
+
627
+ .sp-thumb-inner {
628
+ display: block;
629
+ position: absolute;
630
+ top: 0;
631
+ left: 0;
632
+ bottom: 0;
633
+ right: 0;
634
+ }
635
+
636
+ .sp-clear-display {
637
+ background-repeat: no-repeat;
638
+ background-position: center;
639
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAABe0lEQVQokYXSsUtcQRTF4d8Jj+VhHSxkEQuLsEUKK0nhTBFTmLSSUhBCMCAWsmgIwWrBLk0akfwLCaSQKBJmtrIIISwpRFKIhViETScphGMzysMtvOVwvpm5d0bGNCuGWAOPgYdl6S8wSDn9b+bUhDHEKWAdeAFMANg+l/TV9ofcz6cjMIbYBvaBMds7QCqZ58CmpBNgPuV0DvAAIMyFGugWtJr7eTv38xEwkPRPErY7QDeG2LqFkjrAgu0dSd/KDVqSNmxvAZ8lfbS9AHRuYemnLWkv5XRVBrQMbAI/gTXgEzAJtJuwBVS2L2OIle03QA/4Lmkl5XQBXEqqbFcAVYFDYChpFngiqWf7l6TXKaezMt2Zkhk24THwG+jZriX9AFZvUAyxLbRke2D75O5zPAO+ADXwEtizjaRHwDvbTyUtppwOmicCHAJvbXcl9YA1SQDjtseA97YPRz7ATcUQp2y/kjRdevsjaTfldNrMjcDGBjXA3T96L7yvrgFzP69+0Ao/HAAAAABJRU5ErkJggg==");
640
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14'%3E%3Cpath d='M12 20.016q3.281 0 5.648-2.367t2.367-5.648q0-2.672-1.734-4.922l-11.203 11.203q2.25 1.734 4.922 1.734zM3.984 12q0 2.672 1.734 4.922l11.203-11.203q-2.25-1.734-4.922-1.734-3.281 0-5.648 2.367t-2.367 5.648zM12 2.016q4.125 0 7.055 2.93t2.93 7.055-2.93 7.055-7.055 2.93-7.055-2.93-2.93-7.055 2.93-7.055 7.055-2.93z' fill='%23000'%3E%3C/path%3E%3C/svg%3E");
641
+ }
642
+
643
+ /*# sourceMappingURL=spectrum.css.map */