stargazer-ui 1.2.1 → 1.2.2

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 (349) hide show
  1. package/Bar/Bar.type.d.ts +6 -0
  2. package/Bar/index.js +2 -0
  3. package/Bar/index.js.map +1 -0
  4. package/Bar/package.json +1 -0
  5. package/Button/Button.js +12 -0
  6. package/Button/Button.js.map +1 -0
  7. package/{types/components/Button → Button}/Button.types.d.ts +1 -2
  8. package/Button/index.d.ts +3 -0
  9. package/Button/index.js +7 -0
  10. package/Button/index.js.map +1 -0
  11. package/Button/package.json +1 -0
  12. package/ButtonGroup/ButtonGroup.d.ts +4 -0
  13. package/ButtonGroup/ButtonGroup.js +10 -0
  14. package/ButtonGroup/ButtonGroup.js.map +1 -0
  15. package/ButtonGroup/ButtonGroup.types.d.ts +7 -0
  16. package/ButtonGroup/index.d.ts +3 -0
  17. package/ButtonGroup/index.js +7 -0
  18. package/ButtonGroup/index.js.map +1 -0
  19. package/ButtonGroup/package.json +1 -0
  20. package/Card/Card.js +41 -0
  21. package/Card/Card.js.map +1 -0
  22. package/{types/components/Card → Card}/Card.types.d.ts +3 -1
  23. package/Card/index.d.ts +3 -0
  24. package/Card/index.js +7 -0
  25. package/Card/index.js.map +1 -0
  26. package/Card/package.json +1 -0
  27. package/CloseButton/CloseButton.js +11 -0
  28. package/CloseButton/CloseButton.js.map +1 -0
  29. package/{types/components/CloseButton → CloseButton}/CloseButton.types.d.ts +1 -1
  30. package/CloseButton/index.d.ts +3 -0
  31. package/CloseButton/index.js +7 -0
  32. package/CloseButton/index.js.map +1 -0
  33. package/CloseButton/package.json +1 -0
  34. package/Dropdown/Dropdown.js +301 -0
  35. package/Dropdown/Dropdown.js.map +1 -0
  36. package/{types/components/Dropdown → Dropdown}/Dropdown.types.d.ts +3 -10
  37. package/Dropdown/index.d.ts +4 -0
  38. package/Dropdown/index.js +8 -0
  39. package/Dropdown/index.js.map +1 -0
  40. package/Dropdown/package.json +1 -0
  41. package/FileUploadButton/FileUploadButton.d.ts +4 -0
  42. package/FileUploadButton/FileUploadButton.js +21 -0
  43. package/FileUploadButton/FileUploadButton.js.map +1 -0
  44. package/FileUploadButton/FileUploadButton.types.d.ts +7 -0
  45. package/FileUploadButton/index.d.ts +3 -0
  46. package/FileUploadButton/index.js +7 -0
  47. package/FileUploadButton/index.js.map +1 -0
  48. package/FileUploadButton/package.json +1 -0
  49. package/FloatingLabel/FloatingLabel.js +17 -0
  50. package/FloatingLabel/FloatingLabel.js.map +1 -0
  51. package/{types/components/FloatingLabel → FloatingLabel}/FloatingLabel.types.d.ts +1 -1
  52. package/FloatingLabel/index.d.ts +3 -0
  53. package/FloatingLabel/index.js +7 -0
  54. package/FloatingLabel/index.js.map +1 -0
  55. package/FloatingLabel/package.json +1 -0
  56. package/Form/Form.d.ts +38 -0
  57. package/Form/Form.js +308 -0
  58. package/Form/Form.js.map +1 -0
  59. package/Form/Form.types.d.ts +105 -0
  60. package/Form/index.d.ts +4 -0
  61. package/Form/index.js +8 -0
  62. package/Form/index.js.map +1 -0
  63. package/Form/package.json +1 -0
  64. package/InputGroup/InputGroup.d.ts +7 -0
  65. package/InputGroup/InputGroup.js +31 -0
  66. package/InputGroup/InputGroup.js.map +1 -0
  67. package/InputGroup/InputGroup.types.d.ts +16 -0
  68. package/InputGroup/index.d.ts +4 -0
  69. package/InputGroup/index.js +7 -0
  70. package/InputGroup/index.js.map +1 -0
  71. package/InputGroup/package.json +1 -0
  72. package/List/List.d.ts +14 -0
  73. package/List/List.js +76 -0
  74. package/List/List.js.map +1 -0
  75. package/List/List.types.d.ts +28 -0
  76. package/List/index.d.ts +3 -0
  77. package/List/index.js +7 -0
  78. package/List/index.js.map +1 -0
  79. package/List/package.json +1 -0
  80. package/{types/components/Modal → Modal}/Modal.d.ts +1 -1
  81. package/Modal/Modal.js +160 -0
  82. package/Modal/Modal.js.map +1 -0
  83. package/{types/components/Modal → Modal}/Modal.types.d.ts +3 -2
  84. package/Modal/index.d.ts +3 -0
  85. package/Modal/index.js +7 -0
  86. package/Modal/index.js.map +1 -0
  87. package/Modal/package.json +1 -0
  88. package/Nav/Nav.js +28 -0
  89. package/Nav/Nav.js.map +1 -0
  90. package/{types/components/Nav → Nav}/Nav.types.d.ts +1 -1
  91. package/Nav/index.d.ts +4 -0
  92. package/Nav/index.js +7 -0
  93. package/Nav/index.js.map +1 -0
  94. package/Nav/package.json +1 -0
  95. package/{types/components/NavBar → NavBar}/Navbar.d.ts +1 -2
  96. package/NavBar/Navbar.js +36 -0
  97. package/NavBar/Navbar.js.map +1 -0
  98. package/{types/components/NavBar → NavBar}/Navbar.types.d.ts +2 -1
  99. package/NavBar/index.d.ts +4 -0
  100. package/NavBar/index.js +8 -0
  101. package/NavBar/index.js.map +1 -0
  102. package/NavBar/package.json +1 -0
  103. package/{types/components/NavDropdown → NavDropdown}/NavDropdown.d.ts +2 -2
  104. package/NavDropdown/NavDropdown.js +77 -0
  105. package/NavDropdown/NavDropdown.js.map +1 -0
  106. package/NavDropdown/index.d.ts +3 -0
  107. package/NavDropdown/index.js +7 -0
  108. package/NavDropdown/index.js.map +1 -0
  109. package/NavDropdown/package.json +1 -0
  110. package/Overlay/Overlay.d.ts +4 -0
  111. package/Overlay/Overlay.js +228 -0
  112. package/Overlay/Overlay.js.map +1 -0
  113. package/Overlay/Overlay.types.d.ts +18 -0
  114. package/{src/Overlay/index.ts → Overlay/index.d.ts} +3 -3
  115. package/Overlay/index.js +7 -0
  116. package/Overlay/index.js.map +1 -0
  117. package/Overlay/package.json +1 -0
  118. package/Popout/Popout.js +110 -0
  119. package/Popout/Popout.js.map +1 -0
  120. package/{types/components/Popout → Popout}/Popout.types.d.ts +1 -1
  121. package/Popout/index.d.ts +3 -0
  122. package/Popout/index.js +7 -0
  123. package/Popout/index.js.map +1 -0
  124. package/Popout/package.json +1 -0
  125. package/Spinner/Spinner.js +12 -0
  126. package/Spinner/Spinner.js.map +1 -0
  127. package/Spinner/index.d.ts +3 -0
  128. package/Spinner/index.js +7 -0
  129. package/Spinner/index.js.map +1 -0
  130. package/Spinner/package.json +1 -0
  131. package/Table/Table.js +11 -0
  132. package/Table/Table.js.map +1 -0
  133. package/{types/components/Table → Table}/Table.types.d.ts +1 -1
  134. package/Table/index.d.ts +3 -0
  135. package/Table/index.js +7 -0
  136. package/Table/index.js.map +1 -0
  137. package/Table/package.json +1 -0
  138. package/Tabs/Tabs.js +158 -0
  139. package/Tabs/Tabs.js.map +1 -0
  140. package/{types/components/Tabs → Tabs}/Tabs.types.d.ts +9 -1
  141. package/Tabs/index.d.ts +3 -0
  142. package/Tabs/index.js +7 -0
  143. package/Tabs/index.js.map +1 -0
  144. package/Tabs/package.json +1 -0
  145. package/ToggleButton/ToggleButton.d.ts +4 -0
  146. package/ToggleButton/ToggleButton.js +17 -0
  147. package/ToggleButton/ToggleButton.js.map +1 -0
  148. package/ToggleButton/ToggleButton.types.d.ts +7 -0
  149. package/ToggleButton/index.d.ts +3 -0
  150. package/ToggleButton/index.js +7 -0
  151. package/ToggleButton/index.js.map +1 -0
  152. package/ToggleButton/package.json +1 -0
  153. package/{src/hooks/index.ts → hooks/index.d.ts} +5 -6
  154. package/hooks/index.js +6 -0
  155. package/hooks/index.js.map +1 -0
  156. package/hooks/package.json +1 -0
  157. package/hooks/useClassname.d.ts +2 -0
  158. package/hooks/useClassname.js +7 -0
  159. package/hooks/useClassname.js.map +1 -0
  160. package/hooks/useDraggable.d.ts +23 -0
  161. package/hooks/useDraggable.js +147 -0
  162. package/hooks/useDraggable.js.map +1 -0
  163. package/hooks/useKeepElementFocused.d.ts +2 -0
  164. package/hooks/useKeepElementFocused.js +37 -0
  165. package/hooks/useKeepElementFocused.js.map +1 -0
  166. package/hooks/useScreenSize.d.ts +5 -0
  167. package/hooks/useScreenSize.js +21 -0
  168. package/hooks/useScreenSize.js.map +1 -0
  169. package/index.d.ts +18 -0
  170. package/index.js +19 -0
  171. package/index.js.map +1 -0
  172. package/package.json +1 -79
  173. package/{dev → styles}/stargazerui.css +3099 -395
  174. package/styles/stargazerui.css.map +1 -0
  175. package/{src/utils/BaseTypes.ts → utils/BaseTypes.d.ts} +23 -30
  176. package/utils/ContrastingColor.d.ts +1 -0
  177. package/utils/MergeClassnames.d.ts +2 -0
  178. package/utils/MergeClassnames.js +7 -0
  179. package/utils/MergeClassnames.js.map +1 -0
  180. package/utils/MergeRefs.d.ts +2 -0
  181. package/utils/MergeRefs.js +16 -0
  182. package/utils/MergeRefs.js.map +1 -0
  183. package/.babelrc.json +0 -10
  184. package/.eslintrc.cjs +0 -18
  185. package/.gitattributes +0 -2
  186. package/LICENSE +0 -21
  187. package/dev/index.html +0 -12
  188. package/dev/index.jsx +0 -49
  189. package/dev/index.scss +0 -59
  190. package/dev/pages/ButtonPage.jsx +0 -44
  191. package/dev/pages/CardPage.jsx +0 -81
  192. package/dev/pages/DropdownPage.jsx +0 -31
  193. package/dev/pages/FormPage.jsx +0 -130
  194. package/dev/pages/ListPage.jsx +0 -52
  195. package/dev/pages/ModalPage.jsx +0 -37
  196. package/dev/pages/OverlayPage.jsx +0 -35
  197. package/dev/pages/components.jsx +0 -19
  198. package/dev/stargazerui.css.map +0 -1
  199. package/dev/test.jsx +0 -88
  200. package/rollup.config.js +0 -140
  201. package/scripts/writePackageJsons.js +0 -42
  202. package/src/Bar/Bar.tsx +0 -0
  203. package/src/Bar/Bar.type.ts +0 -9
  204. package/src/Bar/index.ts +0 -0
  205. package/src/Button/Button.tsx +0 -17
  206. package/src/Button/Button.types.ts +0 -8
  207. package/src/Button/index.ts +0 -3
  208. package/src/ButtonGroup/ButtonGroup.tsx +0 -14
  209. package/src/ButtonGroup/ButtonGroup.types.ts +0 -8
  210. package/src/ButtonGroup/index.ts +0 -3
  211. package/src/Card/Card.tsx +0 -70
  212. package/src/Card/Card.types.ts +0 -33
  213. package/src/Card/index.ts +0 -3
  214. package/src/CloseButton/CloseButton.tsx +0 -14
  215. package/src/CloseButton/CloseButton.types.ts +0 -6
  216. package/src/CloseButton/index.ts +0 -3
  217. package/src/Dropdown/Dropdown.tsx +0 -358
  218. package/src/Dropdown/Dropdown.types.ts +0 -52
  219. package/src/Dropdown/index.ts +0 -4
  220. package/src/FileUploadButton/FileUploadButton.tsx +0 -27
  221. package/src/FileUploadButton/FileUploadButton.types.ts +0 -9
  222. package/src/FileUploadButton/index.ts +0 -3
  223. package/src/FloatingLabel/FloatingLabel.tsx +0 -22
  224. package/src/FloatingLabel/FloatingLabel.types.ts +0 -11
  225. package/src/FloatingLabel/index.ts +0 -3
  226. package/src/Form/Form.tsx +0 -445
  227. package/src/Form/Form.types.ts +0 -117
  228. package/src/Form/index.ts +0 -4
  229. package/src/InputGroup/InputGroup.tsx +0 -46
  230. package/src/InputGroup/InputGroup.types.ts +0 -21
  231. package/src/InputGroup/index.ts +0 -4
  232. package/src/List/List.tsx +0 -112
  233. package/src/List/List.types.ts +0 -34
  234. package/src/List/index.ts +0 -4
  235. package/src/Modal/Modal.tsx +0 -220
  236. package/src/Modal/Modal.types.ts +0 -49
  237. package/src/Modal/index.ts +0 -4
  238. package/src/Nav/Nav.tsx +0 -43
  239. package/src/Nav/Nav.types.ts +0 -21
  240. package/src/Nav/index.ts +0 -4
  241. package/src/NavBar/Navbar.tsx +0 -57
  242. package/src/NavBar/Navbar.types.ts +0 -24
  243. package/src/NavBar/index.ts +0 -4
  244. package/src/NavDropdown/NavDropdown.tsx +0 -93
  245. package/src/NavDropdown/NavDropdown.types.ts +0 -6
  246. package/src/NavDropdown/index.ts +0 -3
  247. package/src/Overlay/Overlay.tsx +0 -277
  248. package/src/Overlay/Overlay.types.ts +0 -20
  249. package/src/Popout/Popout.tsx +0 -155
  250. package/src/Popout/Popout.types.ts +0 -42
  251. package/src/Popout/index.ts +0 -3
  252. package/src/Spinner/Spinner.tsx +0 -15
  253. package/src/Spinner/Spinner.types.ts +0 -7
  254. package/src/Spinner/index.ts +0 -3
  255. package/src/Table/Table.tsx +0 -16
  256. package/src/Table/Table.types.ts +0 -9
  257. package/src/Table/index.ts +0 -3
  258. package/src/Tabs/Tabs.tsx +0 -215
  259. package/src/Tabs/Tabs.types.ts +0 -49
  260. package/src/Tabs/index.ts +0 -3
  261. package/src/ToggleButton/ToggleButton.tsx +0 -21
  262. package/src/ToggleButton/ToggleButton.types.ts +0 -8
  263. package/src/ToggleButton/index.ts +0 -3
  264. package/src/hooks/useClassname.ts +0 -5
  265. package/src/hooks/useDraggable.ts +0 -186
  266. package/src/hooks/useKeepElementFocused.ts +0 -37
  267. package/src/hooks/useScreenSize.ts +0 -24
  268. package/src/index.ts +0 -21
  269. package/src/styles/_Card.scss +0 -166
  270. package/src/styles/_CloseButton.scss +0 -51
  271. package/src/styles/_CustomButton.scss +0 -132
  272. package/src/styles/_Dropdown.scss +0 -120
  273. package/src/styles/_FloatingLabel.scss +0 -56
  274. package/src/styles/_Forms.scss +0 -7
  275. package/src/styles/_Grid.scss +0 -178
  276. package/src/styles/_InputGroup.scss +0 -71
  277. package/src/styles/_List.scss +0 -62
  278. package/src/styles/_Modal.scss +0 -234
  279. package/src/styles/_ModalOld.scss +0 -242
  280. package/src/styles/_Nav.scss +0 -36
  281. package/src/styles/_NavBar.scss +0 -116
  282. package/src/styles/_NavDropdown.scss +0 -34
  283. package/src/styles/_OffCanvas.scss +0 -260
  284. package/src/styles/_OverLay.scss +0 -56
  285. package/src/styles/_Popout.scss +0 -75
  286. package/src/styles/_Spinner.scss +0 -19
  287. package/src/styles/_Table.scss +0 -34
  288. package/src/styles/_Tabs.scss +0 -129
  289. package/src/styles/_colors.scss +0 -510
  290. package/src/styles/_components.scss +0 -40
  291. package/src/styles/_functions.scss +0 -134
  292. package/src/styles/_mixins.scss +0 -26
  293. package/src/styles/_reset.scss +0 -231
  294. package/src/styles/_utilities.scss +0 -2480
  295. package/src/styles/_variables.scss +0 -146
  296. package/src/styles/forms/_FormCheck.scss +0 -269
  297. package/src/styles/forms/_FormControl.scss +0 -102
  298. package/src/styles/forms/_FormGroup.scss +0 -21
  299. package/src/styles/forms/_FormLabel.scss +0 -3
  300. package/src/styles/forms/_FormSelect.scss +0 -164
  301. package/src/styles/forms/_FormSlider.scss +0 -116
  302. package/src/styles/forms/_FormText.scss +0 -6
  303. package/src/utils/ContrastingColor.ts +0 -25
  304. package/src/utils/FileImportExport.js +0 -50
  305. package/src/utils/MergeClassnames.ts +0 -5
  306. package/src/utils/MergeRefs.ts +0 -12
  307. package/src/vite-env.d.ts +0 -1
  308. package/tsconfig-build.json +0 -4
  309. package/tsconfig.json +0 -79
  310. package/tsconfig.node.json +0 -10
  311. package/types/BaseTypes.d.ts +0 -19
  312. package/types/components/Button/index.d.ts +0 -1
  313. package/types/components/Card/index.d.ts +0 -1
  314. package/types/components/CloseButton/index.d.ts +0 -1
  315. package/types/components/Dropdown/index.d.ts +0 -1
  316. package/types/components/FloatingLabel/index.d.ts +0 -1
  317. package/types/components/Form/Form.d.ts +0 -17
  318. package/types/components/Form/Form.types.d.ts +0 -50
  319. package/types/components/Form/index.d.ts +0 -1
  320. package/types/components/InputGroup/InputGroup.d.ts +0 -6
  321. package/types/components/InputGroup/InputGroup.types.d.ts +0 -10
  322. package/types/components/InputGroup/index.d.ts +0 -1
  323. package/types/components/Modal/index.d.ts +0 -1
  324. package/types/components/Nav/index.d.ts +0 -1
  325. package/types/components/NavBar/index.d.ts +0 -1
  326. package/types/components/NavDropdown/index.d.ts +0 -1
  327. package/types/components/Popout/index.d.ts +0 -1
  328. package/types/components/Spinner/index.d.ts +0 -1
  329. package/types/components/Table/index.d.ts +0 -1
  330. package/types/components/Tabs/index.d.ts +0 -1
  331. package/types/components/ToggleButton/ToggleButton.d.ts +0 -9
  332. package/types/components/ToggleButton/ToggleButton.types.d.ts +0 -0
  333. package/types/components/ToggleButton/index.d.ts +0 -1
  334. package/types/components/index.d.ts +0 -16
  335. package/types/index.d.ts +0 -1
  336. package/vite.config.js +0 -57
  337. package/vite.config.js.timestamp-1708777378490-e94428ceb2bf9.mjs +0 -42
  338. /package/{types/components/Button → Button}/Button.d.ts +0 -0
  339. /package/{types/components/Card → Card}/Card.d.ts +0 -0
  340. /package/{types/components/CloseButton → CloseButton}/CloseButton.d.ts +0 -0
  341. /package/{types/components/Dropdown → Dropdown}/Dropdown.d.ts +0 -0
  342. /package/{types/components/FloatingLabel → FloatingLabel}/FloatingLabel.d.ts +0 -0
  343. /package/{types/components/Nav → Nav}/Nav.d.ts +0 -0
  344. /package/{types/components/NavDropdown → NavDropdown}/NavDropdown.types.d.ts +0 -0
  345. /package/{types/components/Popout → Popout}/Popout.d.ts +0 -0
  346. /package/{types/components/Spinner → Spinner}/Spinner.d.ts +0 -0
  347. /package/{types/components/Spinner → Spinner}/Spinner.types.d.ts +0 -0
  348. /package/{types/components/Table → Table}/Table.d.ts +0 -0
  349. /package/{types/components/Tabs → Tabs}/Tabs.d.ts +0 -0
@@ -1,3 +1,684 @@
1
+ :root {
2
+ --sg-body-bg: #212529;
3
+ --sg-body-color: white;
4
+ --sg-nav-color: #1a1b1d;
5
+ --sg-code-color: #fc5d5d;
6
+ --sg-font-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
7
+ --sg-highlight-bg: #fff3cd;
8
+ --sg-link-color: #fc5d5d;
9
+ --sg-link-hover-color: color.mix(black, #E15554, 15%);
10
+ --sg-primary: rgb(73, 149, 213);
11
+ --sg-secondary: rgb(108, 117, 125);
12
+ --sg-success: rgb(31, 173, 97);
13
+ --sg-info: rgb(145, 132, 189);
14
+ --sg-warning: rgb(224, 188, 41);
15
+ --sg-danger: rgb(252, 95, 95);
16
+ --sg-light: rgb(248, 249, 250);
17
+ --sg-dark: rgb(33, 37, 41);
18
+ --red-2: rgb(248, 113, 113);
19
+ --orange-2: rgb(251 146 60);
20
+ --yellow-2: rgb(251 191 36);
21
+ --nav-bar-height: 3.5rem;
22
+ --tab-controls-height: 2.5rem;
23
+ --column-header-height: 2rem;
24
+ font-size: 18px;
25
+ line-height: 1.4;
26
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
27
+ -webkit-font-smoothing: antialiased;
28
+ -moz-osx-font-smoothing: grayscale;
29
+ }
30
+
31
+ body {
32
+ margin: 0;
33
+ padding: 0;
34
+ height: 100dvh;
35
+ color: var(--sg-body-color);
36
+ background-color: var(--sg-body-bg);
37
+ }
38
+
39
+ #root {
40
+ height: 100%;
41
+ overflow: auto;
42
+ }
43
+
44
+ .visually-hidden {
45
+ border: 0;
46
+ clip: rect(0 0 0 0);
47
+ height: auto;
48
+ margin: 0;
49
+ overflow: hidden;
50
+ padding: 0;
51
+ position: absolute;
52
+ width: 1px;
53
+ white-space: nowrap;
54
+ }
55
+
56
+ ::-webkit-scrollbar {
57
+ display: none;
58
+ }
59
+
60
+ .full-width {
61
+ width: 100%;
62
+ }
63
+
64
+ .top-left-grid {
65
+ border-top-left-radius: 0.375rem;
66
+ border-bottom-left-radius: 0;
67
+ }
68
+
69
+ .top-right-grid {
70
+ border-top-right-radius: 0.375rem;
71
+ border-bottom-right-radius: 0;
72
+ }
73
+
74
+ .middle-grid {
75
+ border-radius: 0;
76
+ }
77
+
78
+ .bottom-left-grid {
79
+ border-bottom-left-radius: 0.375rem;
80
+ border-top-left-radius: 0;
81
+ }
82
+
83
+ .bottom-right-grid {
84
+ border-bottom-right-radius: 0.375rem;
85
+ border-top-right-radius: 0;
86
+ }
87
+
88
+ .flex-column {
89
+ display: flex;
90
+ flex-direction: column;
91
+ }
92
+
93
+ .flex-row {
94
+ display: flex;
95
+ flex-direction: row;
96
+ }
97
+
98
+ .test-red {
99
+ background-color: red;
100
+ }
101
+
102
+ * {
103
+ box-sizing: border-box;
104
+ scrollbar-color: var(--sg-link-color) rgba(0, 0, 0, 0);
105
+ scrollbar-width: thin;
106
+ }
107
+
108
+ dialog {
109
+ padding: 0;
110
+ margin: 0;
111
+ color: inherit;
112
+ }
113
+
114
+ input, textarea, select {
115
+ font-size: 0.85rem;
116
+ }
117
+
118
+ button {
119
+ cursor: pointer;
120
+ font-size: 0.85rem;
121
+ }
122
+
123
+ hr {
124
+ margin: 0.5rem 0;
125
+ color: inherit;
126
+ border: 0;
127
+ border-top: 1px solid;
128
+ opacity: 0.25;
129
+ }
130
+
131
+ h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
132
+ margin-top: 0;
133
+ margin-bottom: 0.5rem;
134
+ font-weight: 500;
135
+ line-height: 1.2;
136
+ }
137
+
138
+ h1, .h1 {
139
+ --unit: 1rem;
140
+ font-size: calc(1.375 * var(--unit) + 1.5vw);
141
+ }
142
+
143
+ @media (min-width: 1200px) {
144
+ h1, .h1 {
145
+ font-size: calc(2.5 * var(--unit));
146
+ }
147
+ }
148
+ h2, .h2 {
149
+ --unit: 1rem;
150
+ font-size: calc(1.325 * var(--unit) + 0.9vw);
151
+ }
152
+
153
+ @media (min-width: 1200px) {
154
+ h2, .h2 {
155
+ font-size: calc(2 * var(--unit));
156
+ }
157
+ }
158
+ h3, .h3 {
159
+ --unit: 1rem;
160
+ font-size: calc(1.3 * var(--unit) + 0.6vw);
161
+ }
162
+
163
+ @media (min-width: 1200px) {
164
+ h3, .h3 {
165
+ font-size: calc(1.75 * var(--unit));
166
+ }
167
+ }
168
+ h4, .h4 {
169
+ --unit: 1rem;
170
+ font-size: calc(1.275 * var(--unit) + 0.3vw);
171
+ }
172
+
173
+ @media (min-width: 1200px) {
174
+ h4, .h4 {
175
+ font-size: calc(1.5 * var(--unit));
176
+ }
177
+ }
178
+ h5, .h5 {
179
+ --unit: 1rem;
180
+ font-size: calc(1.25 * var(--unit));
181
+ }
182
+
183
+ h6, .h6 {
184
+ --unit: 1rem;
185
+ font-size: calc(1 * var(--unit));
186
+ }
187
+
188
+ p {
189
+ margin-top: 0;
190
+ margin-bottom: 1rem;
191
+ }
192
+
193
+ ol, ul, dl {
194
+ margin-top: 0;
195
+ margin-bottom: 0;
196
+ }
197
+
198
+ dt {
199
+ font-weight: 700;
200
+ }
201
+
202
+ dd {
203
+ margin-bottom: 0.5rem;
204
+ margin-left: 0;
205
+ }
206
+
207
+ b, strong {
208
+ font-weight: bolder;
209
+ }
210
+
211
+ a {
212
+ color: var(--sg-link-color);
213
+ text-decoration: underline;
214
+ }
215
+
216
+ a:hover {
217
+ color: var(--sg-link-hover-color);
218
+ }
219
+
220
+ img, svg {
221
+ vertical-align: middle;
222
+ }
223
+
224
+ label {
225
+ display: inline-block;
226
+ }
227
+
228
+ :root, .dark, .dark-theme {
229
+ --red-1: #2b2221;
230
+ --red-2: #322321;
231
+ --red-3: #4e201f;
232
+ --red-4: #641c1d;
233
+ --red-5: #732122;
234
+ --red-6: #832c2c;
235
+ --red-7: #9b3a39;
236
+ --red-8: #c44848;
237
+ --red-9: #fc5f5f;
238
+ --red-10: #ee5254;
239
+ --red-11: #ff918b;
240
+ --red-12: #ffd1cd;
241
+ --red-a1: #f600000c;
242
+ --red-a2: #fa0c0014;
243
+ --red-a3: #fe0d0034;
244
+ --red-a4: #ff08024d;
245
+ --red-a5: #fd1b175f;
246
+ --red-a6: #ff353071;
247
+ --red-a7: #fe4b468d;
248
+ --red-a8: #fe5453bc;
249
+ --red-a9: #ff6060fc;
250
+ --red-a10: #ff5558ec;
251
+ --red-a11: #ff918b;
252
+ --red-a12: #ffd1cd;
253
+ --red-contrast: #fff;
254
+ --red-surface: #43221a80;
255
+ --red-indicator: #fc5f5f;
256
+ --red-track: #fc5f5f;
257
+ --blue-1: #1e252c;
258
+ --blue-2: #212931;
259
+ --blue-3: #22384b;
260
+ --blue-4: #20425f;
261
+ --blue-5: #274d6d;
262
+ --blue-6: #315a7d;
263
+ --blue-7: #3d6a91;
264
+ --blue-8: #487ead;
265
+ --blue-9: #4995d5;
266
+ --blue-10: #5288b8;
267
+ --blue-11: #83bff6;
268
+ --blue-12: #c9e4fe;
269
+ --blue-a1: #0025e904;
270
+ --blue-a2: #218cf60a;
271
+ --blue-a3: #289cfd29;
272
+ --blue-a4: #1e97fd41;
273
+ --blue-a5: #34a2fd52;
274
+ --blue-a6: #4aabfd65;
275
+ --blue-a7: #5bb3ff7c;
276
+ --blue-a8: #60b5fe9e;
277
+ --blue-a9: #53b1ffcd;
278
+ --blue-a10: #6ab9feab;
279
+ --blue-a11: #87c6fef5;
280
+ --blue-a12: #cae5fffe;
281
+ --blue-contrast: #fff;
282
+ --blue-surface: #212d3980;
283
+ --blue-indicator: #4995d5;
284
+ --blue-track: #4995d5;
285
+ --green-1: #1f2721;
286
+ --green-2: #222b25;
287
+ --green-3: #263b2c;
288
+ --green-4: #254a31;
289
+ --green-5: #295639;
290
+ --green-6: #2e6441;
291
+ --green-7: #33734a;
292
+ --green-8: #368453;
293
+ --green-9: #1fad61;
294
+ --green-10: #00a055;
295
+ --green-11: #57d688;
296
+ --green-12: #b3f3c5;
297
+ --green-a1: #00d00003;
298
+ --green-a2: #41e50008;
299
+ --green-a3: #53fd471a;
300
+ --green-a4: #39fc582c;
301
+ --green-a5: #45fc703a;
302
+ --green-a6: #4eff7c4a;
303
+ --green-a7: #53fd855c;
304
+ --green-a8: #50fd8970;
305
+ --green-a9: #1efe83a0;
306
+ --green-a10: #00ff7790;
307
+ --green-a11: #63fe9dd0;
308
+ --green-a12: #bbffcef1;
309
+ --green-contrast: #fff;
310
+ --green-surface: #23312280;
311
+ --green-indicator: #1fad61;
312
+ --green-track: #1fad61;
313
+ --yellow-1: #26241f;
314
+ --yellow-2: #2c2a21;
315
+ --yellow-3: #3a331c;
316
+ --yellow-4: #463a0f;
317
+ --yellow-5: #51430f;
318
+ --yellow-6: #5c4f1f;
319
+ --yellow-7: #6d5f2d;
320
+ --yellow-8: #867537;
321
+ --yellow-9: #e0bc29;
322
+ --yellow-10: #d5b112;
323
+ --yellow-11: #f8d44f;
324
+ --yellow-12: #f7eabb;
325
+ --yellow-a1: #f6000006;
326
+ --yellow-a2: #f988000d;
327
+ --yellow-a3: #fda1001d;
328
+ --yellow-a4: #fda2002b;
329
+ --yellow-a5: #fcae0038;
330
+ --yellow-a6: #ffc30444;
331
+ --yellow-a7: #fdce3558;
332
+ --yellow-a8: #fdd44875;
333
+ --yellow-a9: #fed429dc;
334
+ --yellow-a10: #ffd20dcf;
335
+ --yellow-a11: #ffda51f7;
336
+ --yellow-a12: #fff2c1f6;
337
+ --yellow-contrast: #282109;
338
+ --yellow-surface: #372f1a80;
339
+ --yellow-indicator: #e0bc29;
340
+ --yellow-track: #e0bc29;
341
+ --gray-1: #242427;
342
+ --gray-2: #2b2b2d;
343
+ --gray-3: #333336;
344
+ --gray-4: #38393d;
345
+ --gray-5: #3d3e43;
346
+ --gray-6: #45464c;
347
+ --gray-7: #505259;
348
+ --gray-8: #676973;
349
+ --gray-9: #73757f;
350
+ --gray-10: #7e808b;
351
+ --gray-11: #b4b6c0;
352
+ --gray-12: #eeeef0;
353
+ --gray-a1: #e1000004;
354
+ --gray-a2: #f6a57e0c;
355
+ --gray-a3: #fccfc715;
356
+ --gray-a4: #fae2e61b;
357
+ --gray-a5: #fae7f221;
358
+ --gray-a6: #fbeefe2a;
359
+ --gray-a7: #f0ebfc3a;
360
+ --gray-a8: #eae8fd59;
361
+ --gray-a9: #ececfe67;
362
+ --gray-a10: #ececff75;
363
+ --gray-a11: #f1f2ffb4;
364
+ --gray-a12: #fdfdfeee;
365
+ --gray-contrast: #FFFFFF;
366
+ --gray-surface: rgba(0, 0, 0, 0.05);
367
+ --gray-indicator: #73757f;
368
+ --gray-track: #73757f;
369
+ --violet-1: #25232b;
370
+ --violet-2: #2a2831;
371
+ --violet-3: #353143;
372
+ --violet-4: #3c3651;
373
+ --violet-5: #433c59;
374
+ --violet-6: #4b4463;
375
+ --violet-7: #585073;
376
+ --violet-8: #6e648f;
377
+ --violet-9: #9184bd;
378
+ --violet-10: #8578b0;
379
+ --violet-11: #b9afdf;
380
+ --violet-12: #eae7f6;
381
+ --violet-a1: #ee009005;
382
+ --violet-a2: #f26be30b;
383
+ --violet-a3: #c687ff1f;
384
+ --violet-a4: #b180fe30;
385
+ --violet-a5: #b78afc3a;
386
+ --violet-a6: #ba96fd46;
387
+ --violet-a7: #bfa1fd59;
388
+ --violet-a8: #c2a9ff7a;
389
+ --violet-a9: #c3aefeb1;
390
+ --violet-a10: #c0a8ffa1;
391
+ --violet-a11: #d4c7ffd9;
392
+ --violet-a12: #f3effef5;
393
+ --violet-contrast: #fff;
394
+ --violet-surface: #332b3980;
395
+ --violet-indicator: #9184bd;
396
+ --violet-track: #9184bd;
397
+ --dark-1: #0f1114;
398
+ --dark-2: #17191c;
399
+ --dark-3: #1f2327;
400
+ --dark-4: #252a2f;
401
+ --dark-5: #2b3137;
402
+ --dark-6: #343a41;
403
+ --dark-7: #41484f;
404
+ --dark-8: #5a6168;
405
+ --dark-9: #686f76;
406
+ --dark-10: #5a6168;
407
+ --dark-11: #adb4bc;
408
+ --dark-12: #eceef1;
409
+ --dark-a1: #0011d104;
410
+ --dark-a2: #91bcfb0c;
411
+ --dark-a3: #a6d1fb18;
412
+ --dark-a4: #acd3f921;
413
+ --dark-a5: #b3d9fe29;
414
+ --dark-a6: #bcdafc34;
415
+ --dark-a7: #c7e2fd43;
416
+ --dark-a8: #d7eafd5e;
417
+ --dark-a9: #ddedfd6d;
418
+ --dark-a10: #d7eafd5e;
419
+ --dark-a11: #e9f3feb8;
420
+ --dark-a12: #fafcfff0;
421
+ --dark-contrast: #fff;
422
+ --dark-surface: #1d212780;
423
+ --dark-indicator: #686f76;
424
+ --dark-track: #686f76;
425
+ --light-1: #101112;
426
+ --light-2: #18191a;
427
+ --light-3: #222324;
428
+ --light-4: #292a2b;
429
+ --light-5: #303132;
430
+ --light-6: #393b3c;
431
+ --light-7: #474849;
432
+ --light-8: #606162;
433
+ --light-9: #f8f9fa;
434
+ --light-10: #eff0f1;
435
+ --light-11: #b3b4b6;
436
+ --light-12: #edeeef;
437
+ --light-a1: #00119102;
438
+ --light-a2: #c4def70a;
439
+ --light-a3: #e0ecf815;
440
+ --light-a4: #ecf5fe1c;
441
+ --light-a5: #edf4fb24;
442
+ --light-a6: #ebf5fb2f;
443
+ --light-a7: #f7fbff3c;
444
+ --light-a8: #f9fcff57;
445
+ --light-a9: #fdfefffa;
446
+ --light-a10: #fdfefff0;
447
+ --light-a11: #fbfcffb1;
448
+ --light-a12: #fdfeffee;
449
+ --light-contrast: #112334;
450
+ --light-surface: #1f212380;
451
+ --light-indicator: #f8f9fa;
452
+ --light-track: #f8f9fa;
453
+ }
454
+
455
+ .light, .light-theme {
456
+ --red-1: #fffcfc;
457
+ --red-2: #fff6f6;
458
+ --red-3: #ffebe9;
459
+ --red-4: #ffdad6;
460
+ --red-5: #ffcac5;
461
+ --red-6: #ffbbb5;
462
+ --red-7: #f7a8a2;
463
+ --red-8: #ee8d88;
464
+ --red-9: #fc5f5f;
465
+ --red-10: #ef5053;
466
+ --red-11: #d1353c;
467
+ --red-12: #602221;
468
+ --red-a1: #ff000003;
469
+ --red-a2: #ff000009;
470
+ --red-a3: #ff180016;
471
+ --red-a4: #ff190029;
472
+ --red-a5: #ff16003a;
473
+ --red-a6: #ff15014a;
474
+ --red-a7: #ea11005d;
475
+ --red-a8: #db0b0077;
476
+ --red-a9: #fb0000a0;
477
+ --red-a10: #e80005af;
478
+ --red-a11: #c50009ca;
479
+ --red-a12: #480100de;
480
+ --red-contrast: #fff;
481
+ --red-surface: #fff4f4cc;
482
+ --red-indicator: #fc5f5f;
483
+ --red-track: #fc5f5f;
484
+ --blue-1: #fbfdff;
485
+ --blue-2: #f5f9fe;
486
+ --blue-3: #e7f3ff;
487
+ --blue-4: #d8ecff;
488
+ --blue-5: #c8e2fb;
489
+ --blue-6: #b4d6f4;
490
+ --blue-7: #9bc5eb;
491
+ --blue-8: #74ade1;
492
+ --blue-9: #4995d5;
493
+ --blue-10: #4289c4;
494
+ --blue-11: #2675b3;
495
+ --blue-12: #1c3750;
496
+ --blue-a1: #0080ff04;
497
+ --blue-a2: #0066e60a;
498
+ --blue-a3: #0080ff18;
499
+ --blue-a4: #0083ff27;
500
+ --blue-a5: #0079ed37;
501
+ --blue-a6: #0174da4b;
502
+ --blue-a7: #006ccc64;
503
+ --blue-a8: #0069c88b;
504
+ --blue-a9: #006bc4b6;
505
+ --blue-a10: #0060b0bd;
506
+ --blue-a11: #005da6d9;
507
+ --blue-a12: #001e3ae3;
508
+ --blue-contrast: #fff;
509
+ --blue-surface: #f3f8fecc;
510
+ --blue-indicator: #4995d5;
511
+ --blue-track: #4995d5;
512
+ --green-1: #fafefb;
513
+ --green-2: #f4fbf6;
514
+ --green-3: #e6f7ea;
515
+ --green-4: #d6f2dd;
516
+ --green-5: #c2eacd;
517
+ --green-6: #a9e0b9;
518
+ --green-7: #87d19e;
519
+ --green-8: #50bd79;
520
+ --green-9: #1fad61;
521
+ --green-10: #12a057;
522
+ --green-11: #008141;
523
+ --green-12: #1a3d26;
524
+ --green-a1: #00cc3305;
525
+ --green-a2: #00a32f0b;
526
+ --green-a3: #00ae2919;
527
+ --green-a4: #00af2c29;
528
+ --green-a5: #00a82e3d;
529
+ --green-a6: #00a43056;
530
+ --green-a7: #009e3178;
531
+ --green-a8: #009f3caf;
532
+ --green-a9: #00a24be0;
533
+ --green-a10: #00994aed;
534
+ --green-a11: #008141;
535
+ --green-a12: #00270de5;
536
+ --green-contrast: #fff;
537
+ --green-surface: #f1faf4cc;
538
+ --green-indicator: #1fad61;
539
+ --green-track: #1fad61;
540
+ --yellow-1: #fefdf9;
541
+ --yellow-2: #fffbe4;
542
+ --yellow-3: #fff6c9;
543
+ --yellow-4: #ffeda3;
544
+ --yellow-5: #ffe36b;
545
+ --yellow-6: #fcd539;
546
+ --yellow-7: #e9c537;
547
+ --yellow-8: #d5ae00;
548
+ --yellow-9: #ffd800;
549
+ --yellow-10: #fbce00;
550
+ --yellow-11: #917500;
551
+ --yellow-12: #463b14;
552
+ --yellow-a1: #d5aa0006;
553
+ --yellow-a2: #ffda001b;
554
+ --yellow-a3: #ffd50036;
555
+ --yellow-a4: #ffce005c;
556
+ --yellow-a5: #ffcf0094;
557
+ --yellow-a6: #fbc900c6;
558
+ --yellow-a7: #e3b500c8;
559
+ --yellow-a8: #d5ae00;
560
+ --yellow-a9: #ffd800;
561
+ --yellow-a10: #fbce00;
562
+ --yellow-a11: #917500;
563
+ --yellow-a12: #362a00eb;
564
+ --yellow-contrast: #282109;
565
+ --yellow-surface: #fffaddcc;
566
+ --yellow-indicator: #ffd800;
567
+ --yellow-track: #ffd800;
568
+ --gray-1: #fcfcfd;
569
+ --gray-2: #f9f9fb;
570
+ --gray-3: #eff0f3;
571
+ --gray-4: #e7e8ec;
572
+ --gray-5: #e0e1e6;
573
+ --gray-6: #d8d9e0;
574
+ --gray-7: #cdced7;
575
+ --gray-8: #b9bbc6;
576
+ --gray-9: #8b8d98;
577
+ --gray-10: #80828d;
578
+ --gray-11: #62636c;
579
+ --gray-12: #1e1f24;
580
+ --gray-a1: #00005503;
581
+ --gray-a2: #00005506;
582
+ --gray-a3: #00104010;
583
+ --gray-a4: #000b3618;
584
+ --gray-a5: #0009321f;
585
+ --gray-a6: #00073527;
586
+ --gray-a7: #00063332;
587
+ --gray-a8: #00083046;
588
+ --gray-a9: #00051d74;
589
+ --gray-a10: #00051b7f;
590
+ --gray-a11: #0002119d;
591
+ --gray-a12: #000107e1;
592
+ --gray-contrast: #FFFFFF;
593
+ --gray-surface: #ffffffcc;
594
+ --gray-indicator: #8b8d98;
595
+ --gray-track: #8b8d98;
596
+ --violet-1: #fcfcfe;
597
+ --violet-2: #faf9fd;
598
+ --violet-3: #f1f0f8;
599
+ --violet-4: #e9e6f6;
600
+ --violet-5: #e1ddf2;
601
+ --violet-6: #d8d3ed;
602
+ --violet-7: #cbc5e5;
603
+ --violet-8: #b7aed8;
604
+ --violet-9: #9184bd;
605
+ --violet-10: #8578af;
606
+ --violet-11: #675c8b;
607
+ --violet-12: #27203a;
608
+ --violet-a1: #0000aa03;
609
+ --violet-a2: #2b00aa06;
610
+ --violet-a3: #1100880f;
611
+ --violet-a4: #1f00a419;
612
+ --violet-a5: #1e009e22;
613
+ --violet-a6: #1d00972c;
614
+ --violet-a7: #1b008d3a;
615
+ --violet-a8: #1d008551;
616
+ --violet-a9: #1b01777b;
617
+ --violet-a10: #19006887;
618
+ --violet-a11: #11004aa3;
619
+ --violet-a12: #08001edf;
620
+ --violet-contrast: #fff;
621
+ --violet-surface: #f9f8fdcc;
622
+ --violet-indicator: #9184bd;
623
+ --violet-track: #9184bd
624
+ --dark-1: #fcfcfd;
625
+ --dark-2: #f8fafb;
626
+ --dark-3: #eef0f3;
627
+ --dark-4: #e5e8eb;
628
+ --dark-5: #dde1e5;
629
+ --dark-6: #d5d9dd;
630
+ --dark-7: #c9ced3;
631
+ --dark-8: #b4bbc1;
632
+ --dark-9: #212529;
633
+ --dark-10: #353a3e;
634
+ --dark-11: #60656b;
635
+ --dark-12: #1f2327;
636
+ --dark-a1: #00005503;
637
+ --dark-a2: #00496e07;
638
+ --dark-a3: #001e4b11;
639
+ --dark-a4: #001e3b1a;
640
+ --dark-a5: #001e3c22;
641
+ --dark-a6: #0019312a;
642
+ --dark-a7: #00183036;
643
+ --dark-a8: #01182d4b;
644
+ --dark-a9: #000509de;
645
+ --dark-a10: #00060bca;
646
+ --dark-a11: #0008129f;
647
+ --dark-a12: #000509e0;
648
+ --dark-contrast: #fff;
649
+ --dark-surface: #f6f9facc;
650
+ --dark-indicator: #212529;
651
+ --dark-track: #212529;
652
+ --light-1: #fcfcfc;
653
+ --light-2: #f8f9fa;
654
+ --light-3: #eef0f1;
655
+ --light-4: #e7e8e9;
656
+ --light-5: #dfe0e2;
657
+ --light-6: #d6d8d9;
658
+ --light-7: #cbccce;
659
+ --light-8: #b7b8ba;
660
+ --light-9: #88898b;
661
+ --light-10: #7c7d7e;
662
+ --light-11: #636466;
663
+ --light-12: #212223;
664
+ --light-a1: #00000003;
665
+ --light-a2: #00254907;
666
+ --light-a3: #001e2d11;
667
+ --light-a4: #000b1618;
668
+ --light-a5: #00081820;
669
+ --light-a6: #000d1329;
670
+ --light-a7: #00050f34;
671
+ --light-a8: #00040b48;
672
+ --light-a9: #00030777;
673
+ --light-a10: #00020483;
674
+ --light-a11: #0002059c;
675
+ --light-a12: #000102de;
676
+ --light-contrast: #fff;
677
+ --light-surface: #f6f8f9cc;
678
+ --light-indicator: #88898b;
679
+ --light-track: #88898b;
680
+ }
681
+
1
682
  @media (min-width: 576px) {
2
683
  .float-sm-start {
3
684
  float: left !important;
@@ -2478,6 +3159,11 @@
2478
3159
  text-align: center !important;
2479
3160
  }
2480
3161
  }
3162
+ :root {
3163
+ --sg-body-bg: #212529;
3164
+ --sg-body-color: white;
3165
+ }
3166
+
2481
3167
  /* Grid variables */
2482
3168
  /* z indices */
2483
3169
  /* Button */
@@ -2498,7 +3184,10 @@
2498
3184
  }
2499
3185
 
2500
3186
  /* Table */
3187
+ /* Tabs */
2501
3188
  /* Dropdown */
3189
+ /* Nav */
3190
+ /* Overlay */
2502
3191
  .sg-visually-hidden {
2503
3192
  position: absolute !important;
2504
3193
  width: 1px !important;
@@ -2512,12 +3201,22 @@
2512
3201
  }
2513
3202
 
2514
3203
  .sg-card {
3204
+ --card-border-radius: 0rem;
3205
+ --border-width: -2px;
3206
+ --border-gradient-color: color-mix(in srgb, color-mix(in hsl, white 3%, #212529), white 3%);
3207
+ --border-gradient-mix-color: color-mix(in srgb, color-mix(in hsl, white 3%, #212529), white 3%);
3208
+ --background-gradient-color: rgb(26, 27, 29);
3209
+ --background-gradient-mix-color: color-mix(in srgb, color-mix(in hsl, white 3%, #212529), white 3%);
3210
+ --divider-color: white;
2515
3211
  display: flex;
2516
3212
  flex-direction: column;
2517
- border-radius: 0.375em;
3213
+ border: calc(var(--border-width) * -1) solid transparent;
3214
+ position: relative;
3215
+ border-radius: var(--card-border-radius);
3216
+ background: linear-gradient(71deg, var(--background-gradient-color), var(--background-gradient-mix-color), var(--background-gradient-color));
3217
+ background-clip: padding-box;
2518
3218
  }
2519
3219
  .sg-card.sg-card-overlay {
2520
- background-color: #2e3236;
2521
3220
  color: white;
2522
3221
  border: 1px solid white;
2523
3222
  }
@@ -2528,24 +3227,197 @@
2528
3227
  .sg-card .sg-card-header {
2529
3228
  margin-bottom: 0;
2530
3229
  padding: 0.5em 1em;
2531
- background-color: #212529;
2532
- border-bottom: 1px solid white;
3230
+ border-bottom: 1px solid var(--divider-color);
2533
3231
  }
2534
3232
  .sg-card .sg-card-header:first-child {
2535
- border-radius: 0.375em 0.375em 0 0;
3233
+ border-top-left-radius: var(--card-border-radius);
3234
+ border-top-right-radius: var(--card-border-radius);
3235
+ }
3236
+ .sg-card .sg-card-title {
3237
+ margin: 0;
2536
3238
  }
2537
3239
  .sg-card .sg-card-footer {
2538
3240
  padding: 0.5em 1em;
2539
- background-color: #212529;
2540
- border-top: 1px solid white;
3241
+ border-top: 1px solid var(--divider-color);
2541
3242
  }
2542
3243
  .sg-card .sg-card-footer:last-child {
2543
- border-radius: 0 0 0.375em 0.375em;
3244
+ border-bottom-left-radius: var(--card-border-radius);
3245
+ border-bottom-right-radius: var(--card-border-radius);
2544
3246
  }
2545
3247
  .sg-card .sg-card-text:last-child {
2546
3248
  margin-bottom: 0;
2547
3249
  }
2548
3250
 
3251
+ .sg-card::after {
3252
+ position: absolute;
3253
+ content: "";
3254
+ top: var(--border-width);
3255
+ bottom: var(--border-width);
3256
+ right: var(--border-width);
3257
+ left: var(--border-width);
3258
+ z-index: -1;
3259
+ border-radius: var(--card-border-radius);
3260
+ background: linear-gradient(71deg, var(--border-gradient-color), var(--border-gradient-mix-color), var(--border-gradient-color));
3261
+ }
3262
+
3263
+ .primary {
3264
+ --border-gradient-mix-color: rgb(252, 95, 95);
3265
+ grid-column: 2/3;
3266
+ grid-row: 1;
3267
+ }
3268
+ .primary.inverted {
3269
+ --border-gradient-color: color-mix(in srgb, rgb(252, 95, 95), black 30%);
3270
+ --border-gradient-mix-color: rgb(252, 95, 95);
3271
+ --background-gradient-color: color-mix(in srgb, rgb(252, 95, 95), black 0%);
3272
+ --background-gradient-mix-color: rgb(252, 95, 95);
3273
+ --divider-color: color-mix(in srgb, rgb(252, 95, 95), black 15%);
3274
+ /*
3275
+ > h1, h2, h3, h4, h5, h6, span, p, small {
3276
+ background-color: $color;
3277
+ box-shadow: 1px -1px 10px $color, 1px 1px 10px $color, -1px 1px 10px $color, -1px -1px 10px $color;
3278
+ }
3279
+ */
3280
+ color: black;
3281
+ }
3282
+
3283
+ .secondary {
3284
+ --border-gradient-mix-color: #6c757d;
3285
+ grid-column: 4/5;
3286
+ grid-row: 1;
3287
+ }
3288
+ .secondary.inverted {
3289
+ --border-gradient-color: color-mix(in srgb, #6c757d, black 30%);
3290
+ --border-gradient-mix-color: #6c757d;
3291
+ --background-gradient-color: color-mix(in srgb, #6c757d, black 0%);
3292
+ --background-gradient-mix-color: #6c757d;
3293
+ --divider-color: color-mix(in srgb, #6c757d, black 15%);
3294
+ /*
3295
+ > h1, h2, h3, h4, h5, h6, span, p, small {
3296
+ background-color: $color;
3297
+ box-shadow: 1px -1px 10px $color, 1px 1px 10px $color, -1px 1px 10px $color, -1px -1px 10px $color;
3298
+ }
3299
+ */
3300
+ }
3301
+
3302
+ .success {
3303
+ --border-gradient-mix-color: #1fad61;
3304
+ grid-column: 6/7;
3305
+ grid-row: 1;
3306
+ }
3307
+ .success.inverted {
3308
+ --border-gradient-color: color-mix(in srgb, #1fad61, black 30%);
3309
+ --border-gradient-mix-color: #1fad61;
3310
+ --background-gradient-color: color-mix(in srgb, #1fad61, black 0%);
3311
+ --background-gradient-mix-color: #1fad61;
3312
+ --divider-color: color-mix(in srgb, #1fad61, black 15%);
3313
+ /*
3314
+ > h1, h2, h3, h4, h5, h6, span, p, small {
3315
+ background-color: $color;
3316
+ box-shadow: 1px -1px 10px $color, 1px 1px 10px $color, -1px 1px 10px $color, -1px -1px 10px $color;
3317
+ }
3318
+ */
3319
+ color: black;
3320
+ }
3321
+
3322
+ .info {
3323
+ --border-gradient-mix-color: #9184bd;
3324
+ grid-column: 8/9;
3325
+ grid-row: 1;
3326
+ }
3327
+ .info.inverted {
3328
+ --border-gradient-color: color-mix(in srgb, #9184bd, black 30%);
3329
+ --border-gradient-mix-color: #9184bd;
3330
+ --background-gradient-color: color-mix(in srgb, #9184bd, black 0%);
3331
+ --background-gradient-mix-color: #9184bd;
3332
+ --divider-color: color-mix(in srgb, #9184bd, black 15%);
3333
+ /*
3334
+ > h1, h2, h3, h4, h5, h6, span, p, small {
3335
+ background-color: $color;
3336
+ box-shadow: 1px -1px 10px $color, 1px 1px 10px $color, -1px 1px 10px $color, -1px -1px 10px $color;
3337
+ }
3338
+ */
3339
+ color: black;
3340
+ }
3341
+
3342
+ .warning {
3343
+ --border-gradient-mix-color: hsl(48, 75%, 52%);
3344
+ grid-column: 2/3;
3345
+ grid-row: 2;
3346
+ }
3347
+ .warning.inverted {
3348
+ --border-gradient-color: color-mix(in srgb, hsl(48, 75%, 52%), black 30%);
3349
+ --border-gradient-mix-color: hsl(48, 75%, 52%);
3350
+ --background-gradient-color: color-mix(in srgb, hsl(48, 75%, 52%), black 0%);
3351
+ --background-gradient-mix-color: hsl(48, 75%, 52%);
3352
+ --divider-color: color-mix(in srgb, hsl(48, 75%, 52%), black 15%);
3353
+ /*
3354
+ > h1, h2, h3, h4, h5, h6, span, p, small {
3355
+ background-color: $color;
3356
+ box-shadow: 1px -1px 10px $color, 1px 1px 10px $color, -1px 1px 10px $color, -1px -1px 10px $color;
3357
+ }
3358
+ */
3359
+ color: black;
3360
+ }
3361
+
3362
+ .danger {
3363
+ --border-gradient-mix-color: #4995d5;
3364
+ grid-column: 4/5;
3365
+ grid-row: 2;
3366
+ }
3367
+ .danger.inverted {
3368
+ --border-gradient-color: color-mix(in srgb, #4995d5, black 30%);
3369
+ --border-gradient-mix-color: #4995d5;
3370
+ --background-gradient-color: color-mix(in srgb, #4995d5, black 0%);
3371
+ --background-gradient-mix-color: #4995d5;
3372
+ --divider-color: color-mix(in srgb, #4995d5, black 15%);
3373
+ /*
3374
+ > h1, h2, h3, h4, h5, h6, span, p, small {
3375
+ background-color: $color;
3376
+ box-shadow: 1px -1px 10px $color, 1px 1px 10px $color, -1px 1px 10px $color, -1px -1px 10px $color;
3377
+ }
3378
+ */
3379
+ color: black;
3380
+ }
3381
+
3382
+ .light {
3383
+ --border-gradient-mix-color: #f8f9fa;
3384
+ grid-column: 6/7;
3385
+ grid-row: 2;
3386
+ }
3387
+ .light.inverted {
3388
+ --border-gradient-color: color-mix(in srgb, #f8f9fa, black 30%);
3389
+ --border-gradient-mix-color: #f8f9fa;
3390
+ --background-gradient-color: color-mix(in srgb, #f8f9fa, black 0%);
3391
+ --background-gradient-mix-color: #f8f9fa;
3392
+ --divider-color: color-mix(in srgb, #f8f9fa, black 15%);
3393
+ /*
3394
+ > h1, h2, h3, h4, h5, h6, span, p, small {
3395
+ background-color: $color;
3396
+ box-shadow: 1px -1px 10px $color, 1px 1px 10px $color, -1px 1px 10px $color, -1px -1px 10px $color;
3397
+ }
3398
+ */
3399
+ color: black;
3400
+ }
3401
+
3402
+ .dark {
3403
+ --border-gradient-mix-color: #212529;
3404
+ grid-column: 8/9;
3405
+ grid-row: 2;
3406
+ }
3407
+ .dark.inverted {
3408
+ --border-gradient-color: color-mix(in srgb, #212529, black 30%);
3409
+ --border-gradient-mix-color: #212529;
3410
+ --background-gradient-color: color-mix(in srgb, #212529, black 0%);
3411
+ --background-gradient-mix-color: #212529;
3412
+ --divider-color: color-mix(in srgb, #212529, black 15%);
3413
+ /*
3414
+ > h1, h2, h3, h4, h5, h6, span, p, small {
3415
+ background-color: $color;
3416
+ box-shadow: 1px -1px 10px $color, 1px 1px 10px $color, -1px 1px 10px $color, -1px -1px 10px $color;
3417
+ }
3418
+ */
3419
+ }
3420
+
2549
3421
  .sg-button-close {
2550
3422
  box-sizing: content-box;
2551
3423
  width: 1rem;
@@ -2601,15 +3473,22 @@
2601
3473
  --focus-visible-border-color: white;
2602
3474
  --focus-visible-outline-color: #0d6efd;
2603
3475
  --focus-visible-boxshadow-color: white;
2604
- border-radius: 0.375rem;
2605
3476
  min-width: fit-content;
2606
3477
  display: inline-block;
2607
3478
  text-align: center;
2608
3479
  vertical-align: middle;
2609
3480
  padding: 0.375rem 0.75rem;
2610
3481
  background-color: var(--bg-color);
2611
- border: 1px solid var(--border-color);
3482
+ border: 2px outset color-mix(in oklab, var(--bg-color), var(--text-color) 20%);
2612
3483
  color: var(--text-color);
3484
+ /*
3485
+ &:focus-visible {
3486
+ box-shadow: 0 0 0 3px var(--focus-visible-boxshadow-color);
3487
+ border: 1px solid var(--focus-visible-border-color);
3488
+ outline: 2px solid var(--focus-visible-outline-color);
3489
+ z-index: 5;
3490
+ }
3491
+ */
2613
3492
  }
2614
3493
  .sg-button:hover, .sg-button:focus {
2615
3494
  background-color: var(--bg-hover-color);
@@ -2618,25 +3497,20 @@
2618
3497
  .sg-button:active {
2619
3498
  background-color: var(--bg-active-color);
2620
3499
  border-color: var(--border-active-color);
2621
- }
2622
- .sg-button:focus-visible {
2623
- box-shadow: 0 0 0 3px var(--focus-visible-boxshadow-color);
2624
- border: 1px solid var(--focus-visible-border-color);
2625
- outline: 2px solid var(--focus-visible-outline-color);
2626
- z-index: 5;
3500
+ border-style: inset;
2627
3501
  }
2628
3502
 
2629
3503
  .sg-button-primary {
2630
- --text-color: white;
2631
- --bg-color: #0d6efd;
2632
- --border-color: #0d6efd;
2633
- --bg-hover-color: #0b5ed7;
2634
- --border-hover-color: #0b5ed7;
2635
- --bg-active-color: #0a58ca;
2636
- --border-active-color: #0a58ca;
2637
- --focus-visible-border-color: white;
2638
- --focus-visible-outline-color: #0d6efd;
2639
- --focus-visible-boxshadow-color: white;
3504
+ --text-color: black;
3505
+ --bg-color: rgb(252, 95, 95);
3506
+ --border-color: rgb(252, 95, 95);
3507
+ --bg-hover-color: #fc7777;
3508
+ --border-hover-color: #fc7777;
3509
+ --bg-active-color: #fd7f7f;
3510
+ --border-active-color: #fd7f7f;
3511
+ --focus-visible-border-color: black;
3512
+ --focus-visible-outline-color: rgb(252, 95, 95);
3513
+ --focus-visible-boxshadow-color: black;
2640
3514
  }
2641
3515
 
2642
3516
  .sg-button-group > .btn-primary {
@@ -2663,16 +3537,16 @@
2663
3537
  }
2664
3538
 
2665
3539
  .sg-button-success {
2666
- --text-color: white;
2667
- --bg-color: #198754;
2668
- --border-color: #198754;
2669
- --bg-hover-color: #157347;
2670
- --border-hover-color: #157347;
2671
- --bg-active-color: #146c43;
2672
- --border-active-color: #146c43;
2673
- --focus-visible-border-color: white;
2674
- --focus-visible-outline-color: #198754;
2675
- --focus-visible-boxshadow-color: white;
3540
+ --text-color: black;
3541
+ --bg-color: #1fad61;
3542
+ --border-color: #1fad61;
3543
+ --bg-hover-color: #41b979;
3544
+ --border-hover-color: #41b979;
3545
+ --bg-active-color: #4cbd81;
3546
+ --border-active-color: #4cbd81;
3547
+ --focus-visible-border-color: black;
3548
+ --focus-visible-outline-color: #1fad61;
3549
+ --focus-visible-boxshadow-color: black;
2676
3550
  }
2677
3551
 
2678
3552
  .sg-button-group > .btn-success {
@@ -2682,14 +3556,14 @@
2682
3556
 
2683
3557
  .sg-button-info {
2684
3558
  --text-color: black;
2685
- --bg-color: #0dcaf0;
2686
- --border-color: #0dcaf0;
2687
- --bg-hover-color: #31d2f2;
2688
- --border-hover-color: #31d2f2;
2689
- --bg-active-color: #3dd5f3;
2690
- --border-active-color: #3dd5f3;
3559
+ --bg-color: #9184bd;
3560
+ --border-color: #9184bd;
3561
+ --bg-hover-color: #a296c7;
3562
+ --border-hover-color: #a296c7;
3563
+ --bg-active-color: #a79dca;
3564
+ --border-active-color: #a79dca;
2691
3565
  --focus-visible-border-color: black;
2692
- --focus-visible-outline-color: #0dcaf0;
3566
+ --focus-visible-outline-color: #9184bd;
2693
3567
  --focus-visible-boxshadow-color: black;
2694
3568
  }
2695
3569
 
@@ -2700,14 +3574,14 @@
2700
3574
 
2701
3575
  .sg-button-warning {
2702
3576
  --text-color: black;
2703
- --bg-color: #ffc107;
2704
- --border-color: #ffc107;
2705
- --bg-hover-color: #ffca2c;
2706
- --border-hover-color: #ffca2c;
2707
- --bg-active-color: #ffcd39;
2708
- --border-active-color: #ffcd39;
3577
+ --bg-color: hsl(48, 75%, 52%);
3578
+ --border-color: hsl(48, 75%, 52%);
3579
+ --bg-hover-color: #e5c649;
3580
+ --border-hover-color: #e5c649;
3581
+ --bg-active-color: #e6c954;
3582
+ --border-active-color: #e6c954;
2709
3583
  --focus-visible-border-color: black;
2710
- --focus-visible-outline-color: #ffc107;
3584
+ --focus-visible-outline-color: hsl(48, 75%, 52%);
2711
3585
  --focus-visible-boxshadow-color: black;
2712
3586
  }
2713
3587
 
@@ -2717,16 +3591,16 @@
2717
3591
  }
2718
3592
 
2719
3593
  .sg-button-danger {
2720
- --text-color: white;
2721
- --bg-color: #dc3545;
2722
- --border-color: #dc3545;
2723
- --bg-hover-color: #bb2d3b;
2724
- --border-hover-color: #bb2d3b;
2725
- --bg-active-color: #b02a37;
2726
- --border-active-color: #b02a37;
2727
- --focus-visible-border-color: white;
2728
- --focus-visible-outline-color: #dc3545;
2729
- --focus-visible-boxshadow-color: white;
3594
+ --text-color: black;
3595
+ --bg-color: #4995d5;
3596
+ --border-color: #4995d5;
3597
+ --bg-hover-color: #64a5db;
3598
+ --border-hover-color: #64a5db;
3599
+ --bg-active-color: #6daadd;
3600
+ --border-active-color: #6daadd;
3601
+ --focus-visible-border-color: black;
3602
+ --focus-visible-outline-color: #4995d5;
3603
+ --focus-visible-boxshadow-color: black;
2730
3604
  }
2731
3605
 
2732
3606
  .sg-button-group > .btn-danger {
@@ -2826,25 +3700,23 @@
2826
3700
  position: relative;
2827
3701
  }
2828
3702
 
3703
+ .sg-dropdown {
3704
+ --sg-dropdown-list-bg: ${$sg-dropdown-list-bg} ;
3705
+ }
3706
+
2829
3707
  .sg-dropdown-list {
2830
3708
  position: absolute;
2831
3709
  z-index: 1000;
2832
3710
  display: none;
2833
3711
  min-width: 10rem;
2834
- padding: 0.5rem 0rem;
3712
+ padding: 0;
2835
3713
  margin: 0;
2836
3714
  text-align: left;
2837
3715
  list-style: none;
2838
- background-color: #343a40;
3716
+ background-color: #212529;
2839
3717
  color: white;
2840
3718
  background-clip: padding-box;
2841
- border: 1px solid white;
2842
- border-radius: 0.375rem;
2843
- }
2844
- .sg-dropdown-list[data-bs-popper] {
2845
- top: 100%;
2846
- left: 0;
2847
- margin-top: 0.125rem;
3719
+ border: 2px outset color-mix(in oklab, #212529, white 60%);
2848
3720
  }
2849
3721
 
2850
3722
  .sg-dropdown-list.show {
@@ -2864,6 +3736,26 @@
2864
3736
  border-bottom: 0;
2865
3737
  border-left: 0.3em solid transparent;
2866
3738
  }
3739
+ .sg-dropdown-toggle[data-drop=up]::after {
3740
+ transform: rotate(180deg);
3741
+ }
3742
+ .sg-dropdown-toggle[data-drop=right]::after {
3743
+ transform: rotate(270deg);
3744
+ }
3745
+ .sg-dropdown-toggle[data-drop=left]::after {
3746
+ display: none;
3747
+ }
3748
+ .sg-dropdown-toggle[data-drop=left]::before {
3749
+ display: inline-block;
3750
+ margin-right: 0.255em;
3751
+ vertical-align: 0.255em;
3752
+ content: "";
3753
+ border-top: 0.3em solid;
3754
+ border-right: 0.3em solid transparent;
3755
+ border-bottom: 0;
3756
+ border-left: 0.3em solid transparent;
3757
+ transform: rotate(90deg);
3758
+ }
2867
3759
 
2868
3760
  .sg-dropdown-divider {
2869
3761
  --line-color: rgba(0, 0, 0, 0.175);
@@ -2877,16 +3769,13 @@
2877
3769
  .sg-dropdown-item {
2878
3770
  display: block;
2879
3771
  width: 100%;
2880
- padding: 0.25rem 1rem;
3772
+ padding: 0.25rem 0.5rem;
2881
3773
  clear: both;
2882
3774
  text-align: inherit;
2883
3775
  white-space: nowrap;
2884
3776
  background-color: transparent;
2885
3777
  color: inherit;
2886
- border: 1px solid transparent;
2887
- }
2888
- .sg-dropdown-item:hover {
2889
- background-color: #2c3136;
3778
+ border: 2px solid transparent;
2890
3779
  }
2891
3780
  .sg-dropdown-item.active, .sg-dropdown-item:active {
2892
3781
  background-color: #2a2e33;
@@ -2896,42 +3785,53 @@
2896
3785
  opacity: 0.5;
2897
3786
  }
2898
3787
  .sg-dropdown-item.sg-dropdown-item-visual-focus {
2899
- background-color: #2c3136;
3788
+ /*
3789
+ background-color: $sg-dropdown-item-hover-bg;
2900
3790
  border-top: 1px solid white;
2901
3791
  border-bottom: 1px solid white;
3792
+ */
3793
+ background-color: color-mix(in oklab, rgb(252, 95, 95), transparent 50%);
3794
+ border: 2px outset color-mix(in oklab, rgb(252, 95, 95), currentColor 20%);
3795
+ }
3796
+
3797
+ a.sg-dropdown-item {
3798
+ cursor: pointer;
3799
+ text-decoration: none;
3800
+ }
3801
+
3802
+ [data-nav=true] .sg-dropdown-item {
3803
+ font-size: 0.85rem;
2902
3804
  }
2903
3805
 
2904
3806
  .sg-form-floating {
2905
3807
  position: relative;
2906
- --sg-form-floating-height: calc(3.5rem + 2px);
2907
- }
2908
- .sg-form-floating > .sg-form-control, .sg-form-floating > .sg-form-control-plaintext, .sg-form-floating > .sg-form-select {
2909
- height: var(--sg-form-floating-height);
3808
+ --height: calc(3rem + 2px);
3809
+ --text-color: white;
2910
3810
  }
2911
- .sg-form-floating > .sg-form-control, .sg-form-floating > .sg-form-control-plaintext {
2912
- padding-inline: 1rem;
3811
+ .sg-form-floating > .sg-form-control, .sg-form-floating > .sg-form-control-plaintext, .sg-form-floating > .sg-form-select, .sg-form-floating > .sg-form-select-tag {
3812
+ height: var(--height);
3813
+ padding-inline: 1.25rem;
2913
3814
  }
2914
- .sg-form-floating > .sg-form-control::placeholder, .sg-form-floating > .sg-form-control-plaintext::placeholder {
3815
+ .sg-form-floating > .sg-form-control::placeholder, .sg-form-floating > .sg-form-control-plaintext::placeholder, .sg-form-floating > .sg-form-select::placeholder, .sg-form-floating > .sg-form-select-tag::placeholder {
2915
3816
  color: transparent;
2916
3817
  }
2917
- .sg-form-floating > .sg-form-control:focus, .sg-form-floating > .sg-form-control:not(:placeholder-shown), .sg-form-floating > .sg-form-control-plaintext:focus, .sg-form-floating > .sg-form-control-plaintext:not(:placeholder-shown) {
2918
- padding-top: 1.5rem;
3818
+ .sg-form-floating > .sg-form-control:focus, .sg-form-floating > .sg-form-control:not(:placeholder-shown), .sg-form-floating > .sg-form-control-plaintext:focus, .sg-form-floating > .sg-form-control-plaintext:not(:placeholder-shown), .sg-form-floating > .sg-form-select:focus, .sg-form-floating > .sg-form-select:not(:placeholder-shown), .sg-form-floating > .sg-form-select-tag:focus, .sg-form-floating > .sg-form-select-tag:not(:placeholder-shown) {
3819
+ padding-top: 1.25rem;
2919
3820
  }
2920
- .sg-form-floating > .sg-form-control:-webkit-autofill, .sg-form-floating > .sg-form-control-plaintext:-webkit-autofill {
2921
- padding-top: 1.5rem;
3821
+ .sg-form-floating > .sg-form-control:-webkit-autofill, .sg-form-floating > .sg-form-control-plaintext:-webkit-autofill, .sg-form-floating > .sg-form-select:-webkit-autofill, .sg-form-floating > .sg-form-select-tag:-webkit-autofill {
3822
+ padding-top: 1.25rem;
2922
3823
  }
2923
3824
  .sg-form-floating > .sg-form-floating-label {
2924
3825
  position: absolute;
2925
3826
  top: 0;
2926
3827
  left: 0;
2927
- color: #212529;
3828
+ color: var(--text-color);
2928
3829
  width: 100%;
2929
3830
  height: 100%;
2930
3831
  padding-inline: 1rem;
2931
- padding-block: 1rem;
2932
- border-radius: 50%;
3832
+ padding-block: 0.75rem;
2933
3833
  pointer-events: none;
2934
- transition: 0.1s ease-in-out;
3834
+ transition: transform 0.1s ease-in-out;
2935
3835
  transform-origin: 0 0;
2936
3836
  z-index: 5;
2937
3837
  text-overflow: ellipsis;
@@ -2944,28 +3844,33 @@
2944
3844
  .sg-form-floating > .sg-form-control:focus ~ .sg-form-floating-label,
2945
3845
  .sg-form-floating > .sg-form-control:not(:placeholder-shown) ~ .sg-form-floating-label,
2946
3846
  .sg-form-floating > .sg-form-control-plaintext ~ .sg-form-floating-label,
2947
- .sg-form-floating > .sg-form-select ~ .sg-form-floating-label {
2948
- padding: 0.5rem 0.75rem;
3847
+ .sg-form-floating > .sg-form-select ~ .sg-form-floating-label,
3848
+ .sg-form-floating > .sg-form-select-tag ~ .sg-form-floating-label {
3849
+ font-size: 0.75rem;
3850
+ height: fit-content;
3851
+ padding: 0.5rem 0.5rem;
2949
3852
  transform: translate(0, -0.25rem);
2950
3853
  opacity: 0.75;
2951
3854
  }
2952
3855
 
2953
3856
  .sg-form-check {
3857
+ --input-background-color: rgb(26, 27, 29);
3858
+ --input-border-color: color-mix(in oklab, rgb(26, 27, 29), white 25%);
3859
+ --input-border-color-focus: rgb(252, 95, 95);
3860
+ --input-border-color-invalid: hsl(48, 75%, 52%);
2954
3861
  display: block;
2955
3862
  min-height: 1.4em;
2956
- padding-left: 1.4em;
2957
- margin-bottom: 0.125em;
3863
+ padding-bottom: 0.5rem;
2958
3864
  }
2959
3865
  .sg-form-check .sg-form-check-input {
2960
3866
  float: left;
2961
- margin-left: -1.4em;
2962
3867
  }
2963
3868
 
2964
3869
  .sg-form-check-reverse {
2965
3870
  display: block;
2966
3871
  min-height: 1.4em;
2967
3872
  padding-right: 1.4em;
2968
- margin-bottom: 0.125em;
3873
+ padding-bottom: 0.5rem;
2969
3874
  text-align: right;
2970
3875
  }
2971
3876
  .sg-form-check-reverse .sg-form-check-input {
@@ -2974,94 +3879,210 @@
2974
3879
  margin-left: 0;
2975
3880
  }
2976
3881
 
3882
+ /*
3883
+ @media (prefers-color-scheme: dark) {
3884
+ .sg-form-check {
3885
+ --input-background-color: #ffffff;
3886
+ --input-border-color: color-mix(in oklab, white, rgb(26, 27, 29) 25%);
3887
+ --input-border-color-focus: color-mix(in oklab, rgb(252, 95, 95), black 25%);
3888
+ --input-border-color-invalid: color-mix(in oklab, hsl(48, 75%, 52%), black 25%);
3889
+ }
3890
+
3891
+ }
3892
+ */
2977
3893
  .sg-form-check-input {
2978
- width: 1em;
2979
- height: 1em;
2980
- margin-top: 0.2em;
2981
- vertical-align: top;
2982
- background-color: white;
3894
+ margin-right: 1ch;
3895
+ width: calc(1.4em - 2px);
3896
+ height: calc(1.4em - 2px);
3897
+ background-color: var(--input-background-color);
2983
3898
  background-repeat: no-repeat;
2984
3899
  background-position: center;
2985
3900
  background-size: contain;
2986
- border: 1px;
2987
3901
  appearance: none;
2988
3902
  print-color-adjust: exact;
3903
+ border: 2px outset var(--input-border-color);
2989
3904
  }
2990
3905
  .sg-form-check-input[type=checkbox] {
2991
- border-radius: 0.25em;
3906
+ border-radius: 0;
3907
+ background-clip: padding-box;
3908
+ }
3909
+ .sg-form-check-input[type=checkbox]:indeterminate {
3910
+ background-color: var(--input-border-color-focus);
3911
+ border-color: var(--input-border-color-focus);
3912
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='rgb(26, 27, 29)' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>");
2992
3913
  }
2993
3914
  .sg-form-check-input[type=radio] {
2994
3915
  border-radius: 50%;
2995
3916
  }
3917
+ .sg-form-check-input[type=color] {
3918
+ width: 3em;
3919
+ height: calc(2.15em + 4px);
3920
+ padding: 0.375em;
3921
+ }
3922
+ .sg-form-check-input[type=color]:not(:disabled):not([readonly]) {
3923
+ cursor: pointer;
3924
+ }
3925
+ .sg-form-check-input[type=color]::-moz-color-swatch {
3926
+ border: 0 !important;
3927
+ border-radius: 0;
3928
+ }
3929
+ .sg-form-check-input[type=color]::-webkit-color-swatch {
3930
+ border-radius: 0;
3931
+ }
2996
3932
  .sg-form-check-input:active {
2997
3933
  filter: brightness(90%);
2998
3934
  }
2999
3935
  .sg-form-check-input:focus-visible {
3000
- box-shadow: 0 0 0 3px white;
3001
- outline: 2px solid #0d6efd;
3002
- z-index: 5;
3003
- border: 1px solid white;
3004
- }
3005
- .sg-form-check-input:checked {
3006
- background-color: #0d6efd;
3007
- border-color: #0d6efd;
3936
+ border-color: var(--input-border-color-focus);
3937
+ outline: 0;
3938
+ box-shadow: 0;
3008
3939
  }
3009
3940
  .sg-form-check-input:checked[type=checkbox] {
3010
- background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 20 20'><path fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>");
3941
+ background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><polygon style='fill:rgb(252, 95, 95);' points='11.941,28.877 0,16.935 5.695,11.24 11.941,17.486 26.305,3.123 32,8.818'/></svg>");
3011
3942
  }
3012
3943
  .sg-form-check-input:checked[type=radio] {
3013
- background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='-4 -4 8 8'><circle r='2' fill='white' /></svg>");
3944
+ background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='-4 -4 8 8'><circle r='2' fill='rgb(252, 95, 95)' /></svg>");
3014
3945
  }
3015
- .sg-form-check-input:checked:focus-visible {
3016
- border: 1px solid white;
3017
- }
3018
- .sg-form-check-input[type=checkbox]:indeterminate {
3019
- background-color: #0d6efd;
3020
- border-color: #0d6efd;
3021
- background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>");
3022
- }
3023
- .sg-form-check-input:disabled {
3024
- pointer-events: none;
3025
- filter: none;
3026
- opacity: 0.5;
3946
+ .sg-form-check-input:disabled, .sg-form-check-input .disabled {
3947
+ --input-background-color: rgba(255, 255, 255, 0.04);
3948
+ --input-text-color: color-mix(in oklab, rgba(255, 255, 255, 0.336), white 40%);
3949
+ cursor: not-allowed;
3950
+ filter: none;
3951
+ opacity: 0.5;
3027
3952
  }
3028
3953
  .sg-form-check-input[disabled] ~ .form-check-label, .sg-form-check-input:disabled ~ .form-check-label {
3029
3954
  cursor: default;
3030
3955
  opacity: 0.5;
3031
3956
  }
3957
+ .sg-form-check-input:user-invalid, .sg-form-check-input.invalid {
3958
+ box-shadow: 0 0 4px 2px var(--input-border-color-invalid);
3959
+ }
3032
3960
 
3033
- .sg-form-switch {
3034
- padding-left: 2.5em;
3961
+ .sg-form-check-label {
3962
+ display: grid;
3963
+ grid-template-columns: auto 1fr;
3964
+ align-items: center;
3035
3965
  }
3966
+
3036
3967
  .sg-form-switch .sg-form-check-input {
3037
3968
  width: 2em;
3038
- margin-left: -2.5em;
3039
- background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='rgba(0, 0, 0, 0.25)'/></svg>");
3969
+ margin-right: 1ch;
3970
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='color-mix(in oklab, rgb(26, 27, 29), white 25%)'/></svg>");
3040
3971
  background-position: left center;
3041
3972
  border-radius: 2em;
3042
3973
  transition: background-position 0.15s ease-in-out;
3043
3974
  }
3044
3975
  .sg-form-switch .sg-form-check-input:focus-visible {
3045
- box-shadow: 0 0 0 3px white;
3046
- outline: 2px solid #0d6efd;
3047
- z-index: 5;
3976
+ border-color: var(--input-border-color-focus);
3977
+ outline: 0;
3978
+ box-shadow: 0;
3048
3979
  }
3049
3980
  .sg-form-switch .sg-form-check-input:checked {
3050
3981
  background-position: right center;
3051
- background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='white'/></svg>");
3982
+ background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='rgb(252, 95, 95)'/></svg>");
3983
+ }
3984
+
3985
+ .sg-form-check-border {
3986
+ position: relative;
3987
+ padding: 2px;
3988
+ width: fit-content;
3989
+ height: fit-content;
3990
+ margin-right: 1ch;
3991
+ overflow: hidden;
3992
+ --border-opacity: 0;
3993
+ box-shadow: 50% 50% 0 white;
3994
+ }
3995
+ .sg-form-check-border:focus-within {
3996
+ --border-opacity: 1;
3997
+ }
3998
+ .sg-form-check-border::before {
3999
+ content: "";
4000
+ opacity: var(--border-opacity);
4001
+ display: block;
4002
+ position: absolute;
4003
+ top: 25%;
4004
+ left: -25%;
4005
+ width: 150%;
4006
+ height: 50%;
4007
+ background-image: conic-gradient(from 0deg, white, white 50%);
4008
+ z-index: -2;
4009
+ animation: spin 3s linear;
4010
+ animation-direction: forwards;
4011
+ animation-iteration-count: infinite;
4012
+ }
4013
+ .sg-form-check-border::after {
4014
+ content: "";
4015
+ opacity: var(--border-opacity);
4016
+ display: block;
4017
+ position: absolute;
4018
+ top: -3px;
4019
+ left: -3px;
4020
+ width: calc(4px + 100%);
4021
+ height: calc(4px + 100%);
4022
+ background-color: transparent;
4023
+ clip-path: rect(-2px 100% 100% -2px);
4024
+ z-index: -1;
4025
+ }
4026
+ @keyframes spin {
4027
+ 0% {
4028
+ transform: rotate(-45deg);
4029
+ }
4030
+ 50% {
4031
+ transform: rotate(45deg);
4032
+ }
4033
+ 100% {
4034
+ transform: rotate(-45deg);
4035
+ }
4036
+ }
4037
+ .sg-input-group-grid > .sg-form-check {
4038
+ position: relative;
4039
+ padding-bottom: 0;
4040
+ }
4041
+ .sg-input-group-grid > .sg-form-check > .sg-form-check-label {
4042
+ display: block;
4043
+ }
4044
+ .sg-input-group-grid > .sg-form-check .sg-form-check-input {
4045
+ margin: 0;
4046
+ height: 100%;
4047
+ width: auto;
4048
+ aspect-ratio: 1;
4049
+ }
4050
+ .sg-input-group-grid > .sg-form-check span {
4051
+ display: flex;
4052
+ flex: 0 1 auto;
4053
+ overflow: auto;
4054
+ width: fit-content;
4055
+ max-width: 8rem;
4056
+ align-items: center;
4057
+ text-align: center;
4058
+ font-size: 0.85rem;
4059
+ padding: 0.375em 0.5em;
4060
+ white-space: nowrap;
4061
+ background-color: color-mix(in oklab, rgb(26, 27, 29), white 25%);
4062
+ color: white;
4063
+ border: 2px outset color-mix(in oklab, rgb(26, 27, 29), white 25%);
4064
+ border-right-width: 0;
4065
+ border-radius: 0;
3052
4066
  }
3053
4067
 
3054
4068
  .sg-form-control {
4069
+ --input-text-color: white;
4070
+ --input-background-color: rgb(26, 27, 29);
4071
+ --input-border-color: color-mix(in oklab, rgb(26, 27, 29), white 25%);
4072
+ --input-border-color-focus: rgb(252, 95, 95);
4073
+ --input-border-color-invalid: hsl(48, 75%, 52%);
4074
+ --input-disabled-color: #e9ecef;
4075
+ --input-placeholder-color: rgba(255, 255, 255, 0.336);
3055
4076
  position: relative;
3056
4077
  display: block;
3057
4078
  width: 100%;
4079
+ min-width: 5rem;
3058
4080
  padding: 0.375em 0.5em;
3059
- color: #212529;
3060
- background-color: white;
3061
- background-clip: padding-box;
3062
- border: 1px solid #ced4da;
3063
- appearance: none;
3064
- border-radius: 0.375em;
4081
+ color: var(--input-text-color);
4082
+ background-color: var(--input-background-color);
4083
+ border: 2px outset var(--input-border-color);
4084
+ border-radius: 0;
4085
+ caret-color: white;
3065
4086
  transition: border-color 0.15s ease-in-out;
3066
4087
  }
3067
4088
  .sg-form-control[type=file] {
@@ -3071,19 +4092,22 @@
3071
4092
  cursor: pointer;
3072
4093
  }
3073
4094
  .sg-form-control:focus-visible {
3074
- box-shadow: 0 0 0 3px white;
3075
- outline: 2px solid #0d6efd;
3076
- z-index: 5;
4095
+ border-color: var(--input-border-color-focus);
4096
+ outline: 0;
4097
+ box-shadow: 0;
3077
4098
  }
3078
4099
  .sg-form-control::-webkit-date-and-time-value {
3079
4100
  height: 1.4em;
3080
4101
  }
3081
4102
  .sg-form-control::placeholder {
3082
- color: #6c757d;
4103
+ color: var(--input-placeholder-color);
3083
4104
  opacity: 1;
3084
4105
  }
3085
- .sg-form-control:disabled {
3086
- background-color: #e9ecef;
4106
+ .sg-form-control:disabled, .sg-form-control .disabled {
4107
+ --input-background-color: rgba(255, 255, 255, 0.04);
4108
+ --input-placeholder-color: color-mix(in oklab, rgba(255, 255, 255, 0.336), white 40%);
4109
+ --input-text-color: color-mix(in oklab, rgba(255, 255, 255, 0.336), white 40%);
4110
+ cursor: not-allowed;
3087
4111
  opacity: 1;
3088
4112
  }
3089
4113
  .sg-form-control::file-selector-button {
@@ -3094,12 +4118,15 @@
3094
4118
  border-color: inherit;
3095
4119
  border-style: solid;
3096
4120
  border-width: 0;
3097
- border-inline-end-width: 1px;
4121
+ border-inline-end-width: 2px;
3098
4122
  border-radius: 0;
3099
4123
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
3100
4124
  }
3101
4125
  .sg-form-control:hover:not(:disabled):not([readonly])::file-selector-button {
3102
- background-color: #1f2327;
4126
+ background-color: color-mix(in oklab, var(--input-text-color), black 5%);
4127
+ }
4128
+ .sg-form-control:user-invalid, .sg-form-control.invalid {
4129
+ box-shadow: 0 0 4px 2px var(--input-border-color-invalid);
3103
4130
  }
3104
4131
 
3105
4132
  .sg-form-control-plaintext {
@@ -3107,76 +4134,1099 @@
3107
4134
  width: 100%;
3108
4135
  padding: 0.375em 0;
3109
4136
  margin-bottom: 0;
3110
- color: #212529;
4137
+ color: var(--input-text-color);
3111
4138
  background-color: transparent;
3112
4139
  border: solid transparent;
3113
- border-width: 1px 0;
3114
- }
3115
- .sg-form-control-plaintext:focus-visible {
3116
- outline: 0;
4140
+ border-width: 2px 0;
3117
4141
  }
3118
4142
 
3119
4143
  textarea.sg-form-control {
3120
- min-height: calc(2.15em + 2px);
4144
+ min-height: calc(2.15em + 4px);
4145
+ margin: 0;
3121
4146
  }
3122
4147
 
3123
- .sg-form-control-color {
3124
- width: 3em;
3125
- height: calc(2.15em + 2px);
3126
- padding: 0.375em;
4148
+ .sg-form-group {
4149
+ padding-bottom: 0.5rem;
4150
+ display: flex;
4151
+ flex-direction: column;
3127
4152
  }
3128
- .sg-form-control-color:not(:disabled):not([readonly]) {
3129
- cursor: pointer;
4153
+ .sg-form-group label {
4154
+ margin-bottom: 0.5rem;
3130
4155
  }
3131
- .sg-form-control-color::-moz-color-swatch {
3132
- border: 0 !important;
3133
- border-radius: 0.375em;
4156
+ .sg-form-group.sg-form-group-vertical {
4157
+ flex-direction: row;
4158
+ align-items: center;
3134
4159
  }
3135
- .sg-form-control-color::-webkit-color-swatch {
3136
- border-radius: 0.375em;
4160
+ .sg-form-group.sg-form-group-vertical label {
4161
+ min-width: max-content;
4162
+ margin-right: 0.5rem;
4163
+ margin-bottom: 0;
4164
+ }
4165
+ .sg-form-group .sg-form-check {
4166
+ padding-bottom: 0;
3137
4167
  }
3138
4168
 
3139
4169
  .sg-form-label {
3140
4170
  margin-bottom: 0.5em;
3141
4171
  }
3142
4172
 
3143
- .sg-form-select {
4173
+ .sg-form-slider {
4174
+ --slider-height: 1.75rem;
4175
+ --slider-filled-color: rgb(252, 95, 95);
4176
+ --slider-filled-border-color: color-mix(in oklab, rgb(252, 95, 95), black 20%);
4177
+ --slider-empty-color: rgb(26, 27, 29);
4178
+ --slider-empty-border-color: color-mix(in oklab, color-mix(in oklab, rgb(26, 27, 29), white 25%), black 15%);
4179
+ --padding-block-fraction: 1/3;
4180
+ --slider-thumb-width: 1.5rem;
4181
+ --slider-thumb-height: 0.5rem;
4182
+ --slider-thumb-border-color: color-mix(in oklab, rgb(26, 27, 29), white 25%);
4183
+ --filled: 40%;
4184
+ display: grid;
4185
+ grid-template-columns: var(--filled) auto calc(100% - var(--filled));
4186
+ position: relative;
4187
+ height: var(--slider-height);
4188
+ padding-block: calc(var(--slider-height) * var(--padding-block-fraction));
4189
+ padding-inline: calc(var(--slider-thumb-width) * 0.5);
4190
+ }
4191
+ .sg-form-slider:hover {
4192
+ --slider-filled-color: color-mix(in oklab, rgb(252, 95, 95), black 15%);
4193
+ --slider-filled-border-color: color-mix(in oklab, rgb(252, 95, 95), black 35%);
4194
+ --slider-empty-color: color-mix(in oklab, rgb(26, 27, 29), black 15%);
4195
+ --slider-empty-border-color: color-mix(in oklab, color-mix(in oklab, rgb(26, 27, 29), white 25%), black 25%);
4196
+ }
4197
+ .sg-form-slider .sg-form-slider-filled {
4198
+ display: block;
4199
+ background-color: var(--slider-filled-color);
4200
+ border: 1px outset var(--slider-filled-border-color);
4201
+ border-left: none;
4202
+ border-right: none;
4203
+ height: 100%;
4204
+ width: 100%;
4205
+ }
4206
+ .sg-form-slider .sg-form-slider-filled::before {
4207
+ --cap-height: calc( 1 - 2*var(--padding-block-fraction));
4208
+ box-sizing: border-box;
4209
+ content: "";
4210
+ position: absolute;
4211
+ top: calc(100% * var(--padding-block-fraction));
4212
+ height: calc(100% * var(--cap-height));
4213
+ width: calc(var(--slider-thumb-width) * 0.5);
4214
+ background-color: var(--slider-filled-color);
4215
+ border: 1px outset var(--slider-filled-border-color);
4216
+ border-right: none;
4217
+ left: 0;
4218
+ }
4219
+ .sg-form-slider .sg-form-slider-thumb {
4220
+ cursor: grab;
4221
+ position: relative;
4222
+ display: block;
4223
+ height: 100%;
4224
+ }
4225
+ .sg-form-slider .sg-form-slider-thumb[data-grabbing=true] {
4226
+ cursor: grabbing;
4227
+ }
4228
+ .sg-form-slider .sg-form-slider-thumb:focus-visible {
4229
+ --slider-thumb-border-color: white;
4230
+ }
4231
+ .sg-form-slider .sg-form-slider-thumb::before {
4232
+ content: "";
4233
+ position: absolute;
4234
+ box-sizing: border-box;
4235
+ left: calc(var(--slider-thumb-width) * -0.5);
4236
+ top: calc(-1 * var(--padding-block-fraction) * 100%);
4237
+ height: calc((2 * var(--padding-block-fraction) + 1) * 100%);
4238
+ width: var(--slider-thumb-width);
4239
+ background-color: color-mix(in oklab, rgb(26, 27, 29), white 25%);
4240
+ border: 2px outset var(--slider-thumb-border-color);
4241
+ }
4242
+ .sg-form-slider .sg-form-slider-thumb:focus-visible {
4243
+ --focus-outline: 2px outset $danger;
4244
+ outline: 0;
4245
+ box-shadow: none;
4246
+ }
4247
+ .sg-form-slider .sg-form-slider-empty {
4248
+ display: block;
4249
+ background-color: var(--slider-empty-color);
4250
+ border: 1px outset var(--slider-empty-border-color);
4251
+ border-left: none;
4252
+ border-right: none;
4253
+ height: 100%;
4254
+ width: 100%;
4255
+ }
4256
+ .sg-form-slider .sg-form-slider-empty::after {
4257
+ --cap-height: calc( 1 - 2*var(--padding-block-fraction));
4258
+ box-sizing: border-box;
4259
+ content: "";
4260
+ position: absolute;
4261
+ top: calc(100% * var(--padding-block-fraction));
4262
+ height: calc(100% * var(--cap-height));
4263
+ width: calc(var(--slider-thumb-width) * 0.5);
4264
+ background-color: var(--slider-empty-color);
4265
+ border: 1px outset var(--slider-empty-border-color);
4266
+ border-left: none;
4267
+ right: 0;
4268
+ z-index: -1;
4269
+ }
4270
+
4271
+ .sg-form-select-tag {
4272
+ --input-text-color: white;
4273
+ --input-background-color: rgb(26, 27, 29);
4274
+ --input-border-color: color-mix(in oklab, rgb(26, 27, 29), white 25%);
4275
+ --input-border-color-focus: rgb(252, 95, 95);
4276
+ --input-border-color-invalid: hsl(48, 75%, 52%);
4277
+ --input-disabled-color: #e9ecef;
3144
4278
  position: relative;
3145
4279
  display: block;
3146
4280
  width: 100%;
3147
4281
  padding-block: 0.375em;
3148
4282
  padding-inline: 0.5em 1.5em;
3149
- color: #212529;
3150
- background-color: white;
4283
+ color: var(--input-text-color);
4284
+ background-color: var(--input-background-color);
3151
4285
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
3152
4286
  background-repeat: no-repeat;
3153
4287
  background-position: right 0.375em center;
3154
4288
  background-size: 1em 0.75em;
3155
- border: 1px solid #ced4da;
3156
- border-radius: 0.375em;
4289
+ border: 2px outset var(--input-border-color);
4290
+ border-radius: 0;
3157
4291
  appearance: none;
3158
4292
  }
3159
- .sg-form-select:focus-visible {
3160
- box-shadow: 0 0 0 3px white;
3161
- outline: 2px solid #0d6efd;
3162
- z-index: 5;
4293
+ .sg-form-select-tag:focus-visible, .sg-form-select-tag:focus {
4294
+ border-color: var(--input-border-color-focus);
4295
+ outline: 0;
4296
+ box-shadow: 0;
4297
+ }
4298
+ .sg-form-select-tag[multiple], .sg-form-select-tag[size]:not([size="1"]) {
4299
+ padding-right: 0.375em;
4300
+ background-image: none;
4301
+ }
4302
+ .sg-form-select-tag:disabled, .sg-form-select-tag .disabled {
4303
+ --input-background-color: rgba(255, 255, 255, 0.04);
4304
+ --input-placeholder-color: color-mix(in oklab, rgba(255, 255, 255, 0.336), white 40%);
4305
+ --input-text-color: color-mix(in oklab, rgba(255, 255, 255, 0.336), white 40%);
4306
+ cursor: not-allowed;
4307
+ opacity: 1;
4308
+ }
4309
+ .sg-form-select-tag.invalid, .sg-form-select-tag:user-invalid {
4310
+ box-shadow: 0 0 4px 2px var(--input-border-color-invalid);
4311
+ }
4312
+
4313
+ .sg-form-select {
4314
+ --input-text-color: white;
4315
+ --input-background-color: rgb(26, 27, 29);
4316
+ --input-border-color: color-mix(in oklab, rgb(26, 27, 29), white 25%);
4317
+ --input-border-color-focus: rgb(252, 95, 95);
4318
+ --input-border-color-invalid: hsl(48, 75%, 52%);
4319
+ --input-disabled-color: #e9ecef;
4320
+ position: relative;
4321
+ display: block;
4322
+ width: 100%;
4323
+ color: white;
4324
+ }
4325
+
4326
+ .sg-select-control {
4327
+ width: 100%;
4328
+ height: fit-content;
4329
+ padding-block: 0.375em;
4330
+ padding-inline: 0.5em 1.5em;
4331
+ color: inherit;
4332
+ background-color: rgb(26, 27, 29);
4333
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
4334
+ background-repeat: no-repeat;
4335
+ background-position: right 0.375em center;
4336
+ background-size: 1em 0.75em;
4337
+ border: 2px solid color-mix(in oklab, rgb(26, 27, 29), white 25%);
4338
+ border-radius: 0;
4339
+ }
4340
+ .sg-select-control:focus-within {
4341
+ border-color: rgb(252, 95, 95);
4342
+ outline: 0;
4343
+ box-shadow: 0;
4344
+ }
4345
+ .sg-select-control.invalid {
4346
+ border-color: hsl(48, 75%, 52%);
4347
+ }
4348
+
4349
+ .sg-select-input {
4350
+ background-color: inherit;
4351
+ border: none;
4352
+ height: 100%;
4353
+ max-width: 80%;
4354
+ color: inherit;
4355
+ }
4356
+ .sg-select-input[multiple], .sg-select-input[size]:not([size="1"]) {
4357
+ padding-right: 0.375em;
4358
+ background-image: none;
4359
+ }
4360
+ .sg-select-input:disabled {
4361
+ color: inherit;
4362
+ background-color: inherit;
4363
+ opacity: 1;
4364
+ }
4365
+ .sg-select-input:focus, .sg-select-input:focus-within, .sg-select-input:focus-visible {
4366
+ border-color: transparent;
4367
+ outline: none;
4368
+ }
4369
+ .sg-select-input::placeholder {
4370
+ color: rgba(255, 255, 255, 0.336);
4371
+ opacity: 1;
4372
+ }
4373
+
4374
+ .sg-select-list {
4375
+ --bg-color: rgb(26, 27, 29);
4376
+ --txt-color: black;
4377
+ background-color: var(--bg-color);
4378
+ color: inherit;
4379
+ position: absolute;
4380
+ top: calc(100% + 1px);
4381
+ width: 100%;
4382
+ padding: 0;
4383
+ border-radius: 0;
4384
+ border: 2px outset color-mix(in oklab, #212529, white 60%);
4385
+ list-style-type: none;
4386
+ }
4387
+
4388
+ .sg-select-list-item {
4389
+ padding: 0.25rem 0.5rem;
4390
+ font-size: 0.85rem;
4391
+ border: 2px solid transparent;
4392
+ }
4393
+ .sg-select-list-item.focus {
4394
+ background-color: color-mix(in oklab, rgb(252, 95, 95), transparent 50%);
4395
+ border: 2px outset color-mix(in oklab, rgb(252, 95, 95), currentColor 20%);
4396
+ }
4397
+ .sg-select-list-item.focus:active {
4398
+ background-color: color-mix(in oklab, rgb(252, 95, 95), transparent 60%);
4399
+ border: 2px outset color-mix(in oklab, rgb(252, 95, 95), currentColor 30%);
4400
+ }
4401
+ .sg-select-list-item:first-child {
4402
+ border-top-right-radius: inherit;
4403
+ border-top-left-radius: inherit;
4404
+ }
4405
+ .sg-select-list-item:last-child {
4406
+ border-bottom-left-radius: inherit;
4407
+ border-bottom-right-radius: inherit;
4408
+ }
4409
+
4410
+ .sg-form-text {
4411
+ font-size: 0.75em;
4412
+ padding-inline: 0.5em;
4413
+ opacity: 0.8;
4414
+ margin-top: 0.25em;
4415
+ }
4416
+
4417
+ .sg-row {
4418
+ --sg-gutter-x: 1.5rem;
4419
+ --sg-gutter-y: 0;
4420
+ display: flex;
4421
+ flex-wrap: wrap;
4422
+ margin-top: calc(-1 * var(--sg-gutter-y));
4423
+ margin-right: calc(-0.5 * var(--sg-gutter-x));
4424
+ margin-left: calc(-0.5 * var(--sg-gutter-x));
4425
+ }
4426
+ .sg-row > * {
4427
+ flex-shrink: 0;
4428
+ width: 100%;
4429
+ max-width: 100%;
4430
+ padding-right: calc(var(--sg-gutter-x) * 0.5);
4431
+ padding-left: calc(var(--sg-gutter-x) * 0.5);
4432
+ margin-top: var(--sg-gutter-y);
4433
+ }
4434
+
4435
+ .sg-col {
4436
+ flex: 1 0 0%;
4437
+ }
4438
+
4439
+ .sg-row-cols-auto > * {
4440
+ flex: 0 0 auto;
4441
+ width: auto;
4442
+ }
4443
+
4444
+ .sg-row-cols-1 > * {
4445
+ flex: 0 0 auto;
4446
+ width: 100%;
4447
+ }
4448
+
4449
+ .sg-row-cols-2 > * {
4450
+ flex: 0 0 auto;
4451
+ width: 50%;
4452
+ }
4453
+
4454
+ .sg-row-cols-3 > * {
4455
+ flex: 0 0 auto;
4456
+ width: 33.3333333333%;
4457
+ }
4458
+
4459
+ .sg-row-cols-4 > * {
4460
+ flex: 0 0 auto;
4461
+ width: 25%;
4462
+ }
4463
+
4464
+ .sg-row-cols-5 > * {
4465
+ flex: 0 0 auto;
4466
+ width: 20%;
4467
+ }
4468
+
4469
+ .sg-row-cols-6 > * {
4470
+ flex: 0 0 auto;
4471
+ width: 16.6666666667%;
4472
+ }
4473
+
4474
+ .sg-col-auto {
4475
+ flex: 0 0 auto;
4476
+ width: auto;
4477
+ }
4478
+
4479
+ .sg-col-1 {
4480
+ flex: 0 0 auto;
4481
+ width: 8.3333333333%;
4482
+ }
4483
+
4484
+ .sg-col-2 {
4485
+ flex: 0 0 auto;
4486
+ width: 16.6666666667%;
4487
+ }
4488
+
4489
+ .sg-col-3 {
4490
+ flex: 0 0 auto;
4491
+ width: 25%;
4492
+ }
4493
+
4494
+ .sg-col-4 {
4495
+ flex: 0 0 auto;
4496
+ width: 33.3333333333%;
4497
+ }
4498
+
4499
+ .sg-col-5 {
4500
+ flex: 0 0 auto;
4501
+ width: 41.6666666667%;
4502
+ }
4503
+
4504
+ .sg-col-6 {
4505
+ flex: 0 0 auto;
4506
+ width: 50%;
4507
+ }
4508
+
4509
+ .sg-col-7 {
4510
+ flex: 0 0 auto;
4511
+ width: 58.3333333333%;
4512
+ }
4513
+
4514
+ .sg-col-8 {
4515
+ flex: 0 0 auto;
4516
+ width: 66.6666666667%;
4517
+ }
4518
+
4519
+ .sg-col-9 {
4520
+ flex: 0 0 auto;
4521
+ width: 75%;
4522
+ }
4523
+
4524
+ .sg-col-10 {
4525
+ flex: 0 0 auto;
4526
+ width: 83.3333333333%;
4527
+ }
4528
+
4529
+ .sg-col-11 {
4530
+ flex: 0 0 auto;
4531
+ width: 91.6666666667%;
4532
+ }
4533
+
4534
+ .sg-col-12 {
4535
+ flex: 0 0 auto;
4536
+ width: 100%;
4537
+ }
4538
+
4539
+ .sg-offset-1 {
4540
+ margin-left: 8.3333333333%;
4541
+ }
4542
+
4543
+ .sg-offset-2 {
4544
+ margin-left: 16.6666666667%;
4545
+ }
4546
+
4547
+ .sg-offset-3 {
4548
+ margin-left: 25%;
4549
+ }
4550
+
4551
+ .sg-offset-4 {
4552
+ margin-left: 33.3333333333%;
4553
+ }
4554
+
4555
+ .sg-offset-5 {
4556
+ margin-left: 41.6666666667%;
4557
+ }
4558
+
4559
+ .sg-offset-6 {
4560
+ margin-left: 50%;
4561
+ }
4562
+
4563
+ .sg-offset-7 {
4564
+ margin-left: 58.3333333333%;
4565
+ }
4566
+
4567
+ .sg-offset-8 {
4568
+ margin-left: 66.6666666667%;
4569
+ }
4570
+
4571
+ .sg-offset-9 {
4572
+ margin-left: 75%;
4573
+ }
4574
+
4575
+ .sg-offset-10 {
4576
+ margin-left: 83.3333333333%;
4577
+ }
4578
+
4579
+ .sg-offset-11 {
4580
+ margin-left: 91.6666666667%;
4581
+ }
4582
+
4583
+ @media (min-width: 576px) {
4584
+ .sg-col-sm {
4585
+ flex: 1 0 0%;
4586
+ }
4587
+ .sg-row-cols-sm-auto > * {
4588
+ flex: 0 0 auto;
4589
+ width: auto;
4590
+ }
4591
+ .sg-row-cols-sm-1 > * {
4592
+ flex: 0 0 auto;
4593
+ width: 100%;
4594
+ }
4595
+ .sg-row-cols-sm-2 > * {
4596
+ flex: 0 0 auto;
4597
+ width: 50%;
4598
+ }
4599
+ .sg-row-cols-sm-3 > * {
4600
+ flex: 0 0 auto;
4601
+ width: 33.3333333333%;
4602
+ }
4603
+ .sg-row-cols-sm-4 > * {
4604
+ flex: 0 0 auto;
4605
+ width: 25%;
4606
+ }
4607
+ .sg-row-cols-sm-5 > * {
4608
+ flex: 0 0 auto;
4609
+ width: 20%;
4610
+ }
4611
+ .sg-row-cols-sm-6 > * {
4612
+ flex: 0 0 auto;
4613
+ width: 16.6666666667%;
4614
+ }
4615
+ .sg-col-sm-auto {
4616
+ flex: 0 0 auto;
4617
+ width: auto;
4618
+ }
4619
+ .sg-col-sm-1 {
4620
+ flex: 0 0 auto;
4621
+ width: 8.3333333333%;
4622
+ }
4623
+ .sg-col-sm-2 {
4624
+ flex: 0 0 auto;
4625
+ width: 16.6666666667%;
4626
+ }
4627
+ .sg-col-sm-3 {
4628
+ flex: 0 0 auto;
4629
+ width: 25%;
4630
+ }
4631
+ .sg-col-sm-4 {
4632
+ flex: 0 0 auto;
4633
+ width: 33.3333333333%;
4634
+ }
4635
+ .sg-col-sm-5 {
4636
+ flex: 0 0 auto;
4637
+ width: 41.6666666667%;
4638
+ }
4639
+ .sg-col-sm-6 {
4640
+ flex: 0 0 auto;
4641
+ width: 50%;
4642
+ }
4643
+ .sg-col-sm-7 {
4644
+ flex: 0 0 auto;
4645
+ width: 58.3333333333%;
4646
+ }
4647
+ .sg-col-sm-8 {
4648
+ flex: 0 0 auto;
4649
+ width: 66.6666666667%;
4650
+ }
4651
+ .sg-col-sm-9 {
4652
+ flex: 0 0 auto;
4653
+ width: 75%;
4654
+ }
4655
+ .sg-col-sm-10 {
4656
+ flex: 0 0 auto;
4657
+ width: 83.3333333333%;
4658
+ }
4659
+ .sg-col-sm-11 {
4660
+ flex: 0 0 auto;
4661
+ width: 91.6666666667%;
4662
+ }
4663
+ .sg-col-sm-12 {
4664
+ flex: 0 0 auto;
4665
+ width: 100%;
4666
+ }
4667
+ .sg-offset-sm-0 {
4668
+ margin-left: 0;
4669
+ }
4670
+ .sg-offset-sm-1 {
4671
+ margin-left: 8.3333333333%;
4672
+ }
4673
+ .sg-offset-sm-2 {
4674
+ margin-left: 16.6666666667%;
4675
+ }
4676
+ .sg-offset-sm-3 {
4677
+ margin-left: 25%;
4678
+ }
4679
+ .sg-offset-sm-4 {
4680
+ margin-left: 33.3333333333%;
4681
+ }
4682
+ .sg-offset-sm-5 {
4683
+ margin-left: 41.6666666667%;
4684
+ }
4685
+ .sg-offset-sm-6 {
4686
+ margin-left: 50%;
4687
+ }
4688
+ .sg-offset-sm-7 {
4689
+ margin-left: 58.3333333333%;
4690
+ }
4691
+ .sg-offset-sm-8 {
4692
+ margin-left: 66.6666666667%;
4693
+ }
4694
+ .sg-offset-sm-9 {
4695
+ margin-left: 75%;
4696
+ }
4697
+ .sg-offset-sm-10 {
4698
+ margin-left: 83.3333333333%;
4699
+ }
4700
+ .sg-offset-sm-11 {
4701
+ margin-left: 91.6666666667%;
4702
+ }
4703
+ }
4704
+ @media (min-width: 768px) {
4705
+ .sg-col-md {
4706
+ flex: 1 0 0%;
4707
+ }
4708
+ .sg-row-cols-md-auto > * {
4709
+ flex: 0 0 auto;
4710
+ width: auto;
4711
+ }
4712
+ .sg-row-cols-md-1 > * {
4713
+ flex: 0 0 auto;
4714
+ width: 100%;
4715
+ }
4716
+ .sg-row-cols-md-2 > * {
4717
+ flex: 0 0 auto;
4718
+ width: 50%;
4719
+ }
4720
+ .sg-row-cols-md-3 > * {
4721
+ flex: 0 0 auto;
4722
+ width: 33.3333333333%;
4723
+ }
4724
+ .sg-row-cols-md-4 > * {
4725
+ flex: 0 0 auto;
4726
+ width: 25%;
4727
+ }
4728
+ .sg-row-cols-md-5 > * {
4729
+ flex: 0 0 auto;
4730
+ width: 20%;
4731
+ }
4732
+ .sg-row-cols-md-6 > * {
4733
+ flex: 0 0 auto;
4734
+ width: 16.6666666667%;
4735
+ }
4736
+ .sg-col-md-auto {
4737
+ flex: 0 0 auto;
4738
+ width: auto;
4739
+ }
4740
+ .sg-col-md-1 {
4741
+ flex: 0 0 auto;
4742
+ width: 8.3333333333%;
4743
+ }
4744
+ .sg-col-md-2 {
4745
+ flex: 0 0 auto;
4746
+ width: 16.6666666667%;
4747
+ }
4748
+ .sg-col-md-3 {
4749
+ flex: 0 0 auto;
4750
+ width: 25%;
4751
+ }
4752
+ .sg-col-md-4 {
4753
+ flex: 0 0 auto;
4754
+ width: 33.3333333333%;
4755
+ }
4756
+ .sg-col-md-5 {
4757
+ flex: 0 0 auto;
4758
+ width: 41.6666666667%;
4759
+ }
4760
+ .sg-col-md-6 {
4761
+ flex: 0 0 auto;
4762
+ width: 50%;
4763
+ }
4764
+ .sg-col-md-7 {
4765
+ flex: 0 0 auto;
4766
+ width: 58.3333333333%;
4767
+ }
4768
+ .sg-col-md-8 {
4769
+ flex: 0 0 auto;
4770
+ width: 66.6666666667%;
4771
+ }
4772
+ .sg-col-md-9 {
4773
+ flex: 0 0 auto;
4774
+ width: 75%;
4775
+ }
4776
+ .sg-col-md-10 {
4777
+ flex: 0 0 auto;
4778
+ width: 83.3333333333%;
4779
+ }
4780
+ .sg-col-md-11 {
4781
+ flex: 0 0 auto;
4782
+ width: 91.6666666667%;
4783
+ }
4784
+ .sg-col-md-12 {
4785
+ flex: 0 0 auto;
4786
+ width: 100%;
4787
+ }
4788
+ .sg-offset-md-0 {
4789
+ margin-left: 0;
4790
+ }
4791
+ .sg-offset-md-1 {
4792
+ margin-left: 8.3333333333%;
4793
+ }
4794
+ .sg-offset-md-2 {
4795
+ margin-left: 16.6666666667%;
4796
+ }
4797
+ .sg-offset-md-3 {
4798
+ margin-left: 25%;
4799
+ }
4800
+ .sg-offset-md-4 {
4801
+ margin-left: 33.3333333333%;
4802
+ }
4803
+ .sg-offset-md-5 {
4804
+ margin-left: 41.6666666667%;
4805
+ }
4806
+ .sg-offset-md-6 {
4807
+ margin-left: 50%;
4808
+ }
4809
+ .sg-offset-md-7 {
4810
+ margin-left: 58.3333333333%;
4811
+ }
4812
+ .sg-offset-md-8 {
4813
+ margin-left: 66.6666666667%;
4814
+ }
4815
+ .sg-offset-md-9 {
4816
+ margin-left: 75%;
4817
+ }
4818
+ .sg-offset-md-10 {
4819
+ margin-left: 83.3333333333%;
4820
+ }
4821
+ .sg-offset-md-11 {
4822
+ margin-left: 91.6666666667%;
4823
+ }
4824
+ }
4825
+ @media (min-width: 992px) {
4826
+ .sg-col-lg {
4827
+ flex: 1 0 0%;
4828
+ }
4829
+ .sg-row-cols-lg-auto > * {
4830
+ flex: 0 0 auto;
4831
+ width: auto;
4832
+ }
4833
+ .sg-row-cols-lg-1 > * {
4834
+ flex: 0 0 auto;
4835
+ width: 100%;
4836
+ }
4837
+ .sg-row-cols-lg-2 > * {
4838
+ flex: 0 0 auto;
4839
+ width: 50%;
4840
+ }
4841
+ .sg-row-cols-lg-3 > * {
4842
+ flex: 0 0 auto;
4843
+ width: 33.3333333333%;
4844
+ }
4845
+ .sg-row-cols-lg-4 > * {
4846
+ flex: 0 0 auto;
4847
+ width: 25%;
4848
+ }
4849
+ .sg-row-cols-lg-5 > * {
4850
+ flex: 0 0 auto;
4851
+ width: 20%;
4852
+ }
4853
+ .sg-row-cols-lg-6 > * {
4854
+ flex: 0 0 auto;
4855
+ width: 16.6666666667%;
4856
+ }
4857
+ .sg-col-lg-auto {
4858
+ flex: 0 0 auto;
4859
+ width: auto;
4860
+ }
4861
+ .sg-col-lg-1 {
4862
+ flex: 0 0 auto;
4863
+ width: 8.3333333333%;
4864
+ }
4865
+ .sg-col-lg-2 {
4866
+ flex: 0 0 auto;
4867
+ width: 16.6666666667%;
4868
+ }
4869
+ .sg-col-lg-3 {
4870
+ flex: 0 0 auto;
4871
+ width: 25%;
4872
+ }
4873
+ .sg-col-lg-4 {
4874
+ flex: 0 0 auto;
4875
+ width: 33.3333333333%;
4876
+ }
4877
+ .sg-col-lg-5 {
4878
+ flex: 0 0 auto;
4879
+ width: 41.6666666667%;
4880
+ }
4881
+ .sg-col-lg-6 {
4882
+ flex: 0 0 auto;
4883
+ width: 50%;
4884
+ }
4885
+ .sg-col-lg-7 {
4886
+ flex: 0 0 auto;
4887
+ width: 58.3333333333%;
4888
+ }
4889
+ .sg-col-lg-8 {
4890
+ flex: 0 0 auto;
4891
+ width: 66.6666666667%;
4892
+ }
4893
+ .sg-col-lg-9 {
4894
+ flex: 0 0 auto;
4895
+ width: 75%;
4896
+ }
4897
+ .sg-col-lg-10 {
4898
+ flex: 0 0 auto;
4899
+ width: 83.3333333333%;
4900
+ }
4901
+ .sg-col-lg-11 {
4902
+ flex: 0 0 auto;
4903
+ width: 91.6666666667%;
4904
+ }
4905
+ .sg-col-lg-12 {
4906
+ flex: 0 0 auto;
4907
+ width: 100%;
4908
+ }
4909
+ .sg-offset-lg-0 {
4910
+ margin-left: 0;
4911
+ }
4912
+ .sg-offset-lg-1 {
4913
+ margin-left: 8.3333333333%;
4914
+ }
4915
+ .sg-offset-lg-2 {
4916
+ margin-left: 16.6666666667%;
4917
+ }
4918
+ .sg-offset-lg-3 {
4919
+ margin-left: 25%;
4920
+ }
4921
+ .sg-offset-lg-4 {
4922
+ margin-left: 33.3333333333%;
4923
+ }
4924
+ .sg-offset-lg-5 {
4925
+ margin-left: 41.6666666667%;
4926
+ }
4927
+ .sg-offset-lg-6 {
4928
+ margin-left: 50%;
4929
+ }
4930
+ .sg-offset-lg-7 {
4931
+ margin-left: 58.3333333333%;
4932
+ }
4933
+ .sg-offset-lg-8 {
4934
+ margin-left: 66.6666666667%;
4935
+ }
4936
+ .sg-offset-lg-9 {
4937
+ margin-left: 75%;
4938
+ }
4939
+ .sg-offset-lg-10 {
4940
+ margin-left: 83.3333333333%;
4941
+ }
4942
+ .sg-offset-lg-11 {
4943
+ margin-left: 91.6666666667%;
4944
+ }
4945
+ }
4946
+ @media (min-width: 1200px) {
4947
+ .sg-col-xl {
4948
+ flex: 1 0 0%;
4949
+ }
4950
+ .sg-row-cols-xl-auto > * {
4951
+ flex: 0 0 auto;
4952
+ width: auto;
4953
+ }
4954
+ .sg-row-cols-xl-1 > * {
4955
+ flex: 0 0 auto;
4956
+ width: 100%;
4957
+ }
4958
+ .sg-row-cols-xl-2 > * {
4959
+ flex: 0 0 auto;
4960
+ width: 50%;
4961
+ }
4962
+ .sg-row-cols-xl-3 > * {
4963
+ flex: 0 0 auto;
4964
+ width: 33.3333333333%;
4965
+ }
4966
+ .sg-row-cols-xl-4 > * {
4967
+ flex: 0 0 auto;
4968
+ width: 25%;
4969
+ }
4970
+ .sg-row-cols-xl-5 > * {
4971
+ flex: 0 0 auto;
4972
+ width: 20%;
4973
+ }
4974
+ .sg-row-cols-xl-6 > * {
4975
+ flex: 0 0 auto;
4976
+ width: 16.6666666667%;
4977
+ }
4978
+ .sg-col-xl-auto {
4979
+ flex: 0 0 auto;
4980
+ width: auto;
4981
+ }
4982
+ .sg-col-xl-1 {
4983
+ flex: 0 0 auto;
4984
+ width: 8.3333333333%;
4985
+ }
4986
+ .sg-col-xl-2 {
4987
+ flex: 0 0 auto;
4988
+ width: 16.6666666667%;
4989
+ }
4990
+ .sg-col-xl-3 {
4991
+ flex: 0 0 auto;
4992
+ width: 25%;
4993
+ }
4994
+ .sg-col-xl-4 {
4995
+ flex: 0 0 auto;
4996
+ width: 33.3333333333%;
4997
+ }
4998
+ .sg-col-xl-5 {
4999
+ flex: 0 0 auto;
5000
+ width: 41.6666666667%;
5001
+ }
5002
+ .sg-col-xl-6 {
5003
+ flex: 0 0 auto;
5004
+ width: 50%;
5005
+ }
5006
+ .sg-col-xl-7 {
5007
+ flex: 0 0 auto;
5008
+ width: 58.3333333333%;
5009
+ }
5010
+ .sg-col-xl-8 {
5011
+ flex: 0 0 auto;
5012
+ width: 66.6666666667%;
5013
+ }
5014
+ .sg-col-xl-9 {
5015
+ flex: 0 0 auto;
5016
+ width: 75%;
5017
+ }
5018
+ .sg-col-xl-10 {
5019
+ flex: 0 0 auto;
5020
+ width: 83.3333333333%;
5021
+ }
5022
+ .sg-col-xl-11 {
5023
+ flex: 0 0 auto;
5024
+ width: 91.6666666667%;
5025
+ }
5026
+ .sg-col-xl-12 {
5027
+ flex: 0 0 auto;
5028
+ width: 100%;
5029
+ }
5030
+ .sg-offset-xl-0 {
5031
+ margin-left: 0;
5032
+ }
5033
+ .sg-offset-xl-1 {
5034
+ margin-left: 8.3333333333%;
5035
+ }
5036
+ .sg-offset-xl-2 {
5037
+ margin-left: 16.6666666667%;
5038
+ }
5039
+ .sg-offset-xl-3 {
5040
+ margin-left: 25%;
5041
+ }
5042
+ .sg-offset-xl-4 {
5043
+ margin-left: 33.3333333333%;
5044
+ }
5045
+ .sg-offset-xl-5 {
5046
+ margin-left: 41.6666666667%;
5047
+ }
5048
+ .sg-offset-xl-6 {
5049
+ margin-left: 50%;
5050
+ }
5051
+ .sg-offset-xl-7 {
5052
+ margin-left: 58.3333333333%;
5053
+ }
5054
+ .sg-offset-xl-8 {
5055
+ margin-left: 66.6666666667%;
5056
+ }
5057
+ .sg-offset-xl-9 {
5058
+ margin-left: 75%;
5059
+ }
5060
+ .sg-offset-xl-10 {
5061
+ margin-left: 83.3333333333%;
5062
+ }
5063
+ .sg-offset-xl-11 {
5064
+ margin-left: 91.6666666667%;
5065
+ }
5066
+ }
5067
+ @media (min-width: 1400px) {
5068
+ .sg-col-xxl {
5069
+ flex: 1 0 0%;
5070
+ }
5071
+ .sg-row-cols-xxl-auto > * {
5072
+ flex: 0 0 auto;
5073
+ width: auto;
5074
+ }
5075
+ .sg-row-cols-xxl-1 > * {
5076
+ flex: 0 0 auto;
5077
+ width: 100%;
5078
+ }
5079
+ .sg-row-cols-xxl-2 > * {
5080
+ flex: 0 0 auto;
5081
+ width: 50%;
5082
+ }
5083
+ .sg-row-cols-xxl-3 > * {
5084
+ flex: 0 0 auto;
5085
+ width: 33.3333333333%;
5086
+ }
5087
+ .sg-row-cols-xxl-4 > * {
5088
+ flex: 0 0 auto;
5089
+ width: 25%;
5090
+ }
5091
+ .sg-row-cols-xxl-5 > * {
5092
+ flex: 0 0 auto;
5093
+ width: 20%;
5094
+ }
5095
+ .sg-row-cols-xxl-6 > * {
5096
+ flex: 0 0 auto;
5097
+ width: 16.6666666667%;
5098
+ }
5099
+ .sg-col-xxl-auto {
5100
+ flex: 0 0 auto;
5101
+ width: auto;
5102
+ }
5103
+ .sg-col-xxl-1 {
5104
+ flex: 0 0 auto;
5105
+ width: 8.3333333333%;
5106
+ }
5107
+ .sg-col-xxl-2 {
5108
+ flex: 0 0 auto;
5109
+ width: 16.6666666667%;
5110
+ }
5111
+ .sg-col-xxl-3 {
5112
+ flex: 0 0 auto;
5113
+ width: 25%;
5114
+ }
5115
+ .sg-col-xxl-4 {
5116
+ flex: 0 0 auto;
5117
+ width: 33.3333333333%;
5118
+ }
5119
+ .sg-col-xxl-5 {
5120
+ flex: 0 0 auto;
5121
+ width: 41.6666666667%;
5122
+ }
5123
+ .sg-col-xxl-6 {
5124
+ flex: 0 0 auto;
5125
+ width: 50%;
5126
+ }
5127
+ .sg-col-xxl-7 {
5128
+ flex: 0 0 auto;
5129
+ width: 58.3333333333%;
5130
+ }
5131
+ .sg-col-xxl-8 {
5132
+ flex: 0 0 auto;
5133
+ width: 66.6666666667%;
5134
+ }
5135
+ .sg-col-xxl-9 {
5136
+ flex: 0 0 auto;
5137
+ width: 75%;
5138
+ }
5139
+ .sg-col-xxl-10 {
5140
+ flex: 0 0 auto;
5141
+ width: 83.3333333333%;
5142
+ }
5143
+ .sg-col-xxl-11 {
5144
+ flex: 0 0 auto;
5145
+ width: 91.6666666667%;
5146
+ }
5147
+ .sg-col-xxl-12 {
5148
+ flex: 0 0 auto;
5149
+ width: 100%;
5150
+ }
5151
+ .sg-offset-xxl-0 {
5152
+ margin-left: 0;
5153
+ }
5154
+ .sg-offset-xxl-1 {
5155
+ margin-left: 8.3333333333%;
5156
+ }
5157
+ .sg-offset-xxl-2 {
5158
+ margin-left: 16.6666666667%;
5159
+ }
5160
+ .sg-offset-xxl-3 {
5161
+ margin-left: 25%;
5162
+ }
5163
+ .sg-offset-xxl-4 {
5164
+ margin-left: 33.3333333333%;
5165
+ }
5166
+ .sg-offset-xxl-5 {
5167
+ margin-left: 41.6666666667%;
5168
+ }
5169
+ .sg-offset-xxl-6 {
5170
+ margin-left: 50%;
5171
+ }
5172
+ .sg-offset-xxl-7 {
5173
+ margin-left: 58.3333333333%;
5174
+ }
5175
+ .sg-offset-xxl-8 {
5176
+ margin-left: 66.6666666667%;
5177
+ }
5178
+ .sg-offset-xxl-9 {
5179
+ margin-left: 75%;
5180
+ }
5181
+ .sg-offset-xxl-10 {
5182
+ margin-left: 83.3333333333%;
5183
+ }
5184
+ .sg-offset-xxl-11 {
5185
+ margin-left: 91.6666666667%;
5186
+ }
5187
+ }
5188
+ /* Containers */
5189
+ .sg-container,
5190
+ .sg-container-fluid,
5191
+ .sg-container-xxl,
5192
+ .sg-container-xl,
5193
+ .sg-container-lg,
5194
+ .sg-container-md,
5195
+ .sg-container-sm {
5196
+ --sg-gutter-x: 1.5rem;
5197
+ --sg-gutter-y: 0;
5198
+ width: 100%;
5199
+ padding-right: calc(var(--sg-gutter-x) * 0.5);
5200
+ padding-left: calc(var(--sg-gutter-x) * 0.5);
5201
+ margin-right: auto;
5202
+ margin-left: auto;
5203
+ }
5204
+
5205
+ @media (min-width: 576px) {
5206
+ .sg-container-sm, .sg-container {
5207
+ max-width: 540px;
5208
+ }
5209
+ }
5210
+ @media (min-width: 768px) {
5211
+ .sg-container-md, .sg-container-sm, .sg-container {
5212
+ max-width: 720px;
5213
+ }
3163
5214
  }
3164
- .sg-form-select[multiple], .sg-form-select[size]:not([size="1"]) {
3165
- padding-right: 0.375em;
3166
- background-image: none;
5215
+ @media (min-width: 992px) {
5216
+ .sg-container-lg, .sg-container-md, .sg-container-sm, .sg-container {
5217
+ max-width: 960px;
5218
+ }
3167
5219
  }
3168
- .sg-form-select:disabled {
3169
- background-color: #e9ecef;
3170
- opacity: 1;
5220
+ @media (min-width: 1200px) {
5221
+ .sg-container-xl, .sg-container-lg, .sg-container-md, .sg-container-sm, .sg-container {
5222
+ max-width: 1140px;
5223
+ }
3171
5224
  }
3172
-
3173
- .sg-form-text {
3174
- font-size: 0.75em;
3175
- padding-inline: 0.5em;
3176
- opacity: 0.8;
3177
- margin-top: 0.25em;
5225
+ @media (min-width: 1400px) {
5226
+ .sg-container-xxl, .sg-container-xl, .sg-container-lg, .sg-container-md, .sg-container-sm, .sg-container {
5227
+ max-width: 1320px;
5228
+ }
3178
5229
  }
3179
-
3180
5230
  .sg-input-group {
3181
5231
  display: flex;
3182
5232
  flex-wrap: wrap;
@@ -3186,10 +5236,10 @@ textarea.sg-form-control {
3186
5236
  .sg-input-group > .sg-form-control,
3187
5237
  .sg-input-group > .sg-form-control-plaintext,
3188
5238
  .sg-input-group > .sg-form-select,
3189
- .sg-input-group > .sg-form-floating {
5239
+ .sg-input-group > .sg-form-select-tag {
3190
5240
  flex: 1 1 auto;
3191
5241
  width: 1%;
3192
- min-width: 0;
5242
+ min-width: 5rem;
3193
5243
  }
3194
5244
  .sg-input-group > .sg-button, .sg-input-group > button {
3195
5245
  position: relative;
@@ -3198,81 +5248,213 @@ textarea.sg-form-control {
3198
5248
  .sg-input-group > :not(:first-child):not(:last-child) {
3199
5249
  border-radius: 0;
3200
5250
  }
3201
- .sg-input-group > :not(:first-child):not(:last-child).sg-form-floating > .sg-form-control, .sg-input-group > :not(:first-child):not(:last-child).sg-form-floating > .sg-form-select {
3202
- border-radius: 0;
3203
- }
3204
5251
  .sg-input-group > :first-child {
3205
5252
  border-top-right-radius: 0;
3206
5253
  border-bottom-right-radius: 0;
3207
5254
  }
3208
- .sg-input-group > :first-child.sg-form-floating > .sg-form-control, .sg-input-group > :first-child.sg-form-floating > .sg-form-select {
3209
- border-top-right-radius: 0;
3210
- border-bottom-right-radius: 0;
3211
- }
3212
5255
  .sg-input-group > :last-child {
3213
5256
  border-top-left-radius: 0;
3214
5257
  border-bottom-left-radius: 0;
3215
5258
  }
3216
- .sg-input-group > :last-child.sg-form-floating > .sg-form-control, .sg-input-group > :last-child.sg-form-floating > .sg-form-select {
3217
- border-top-left-radius: 0;
3218
- border-bottom-left-radius: 0;
3219
- }
3220
5259
 
3221
5260
  .sg-input-group-text {
3222
5261
  display: flex;
5262
+ flex: 0 1 auto;
5263
+ overflow: auto;
3223
5264
  width: fit-content;
5265
+ max-width: 8rem;
3224
5266
  align-items: center;
3225
5267
  text-align: center;
3226
- font-size: 0.8rem;
5268
+ font-size: 0.85rem;
3227
5269
  padding: 0.375em 0.5em;
3228
5270
  white-space: nowrap;
3229
- background-color: #e9ecef;
3230
- color: #212529;
3231
- border: 1px solid #dde0e3;
3232
- border-radius: 0.375em;
5271
+ background-color: color-mix(in oklab, rgb(26, 27, 29), white 25%);
5272
+ color: white;
5273
+ border: 2px outset color-mix(in oklab, rgb(26, 27, 29), white 25%);
5274
+ border-right-width: 0;
5275
+ border-radius: 0;
5276
+ }
5277
+
5278
+ .sg-form-control + .sg-input-group-text {
5279
+ border-left-width: 0;
5280
+ border-right-width: 2px;
5281
+ }
5282
+
5283
+ .sg-input-group-grid {
5284
+ display: flex;
5285
+ flex-wrap: wrap;
5286
+ width: 100%;
5287
+ align-items: stretch;
5288
+ padding-bottom: 0.5rem;
5289
+ }
5290
+ .sg-input-group-grid > .sg-input-group, .sg-input-group-grid > .sg-form-floating {
5291
+ flex: 1 1 auto;
5292
+ width: 1%;
5293
+ min-width: 13rem;
5294
+ padding-bottom: 0;
5295
+ }
5296
+
5297
+ .sg-list {
5298
+ --padding: 0rem;
5299
+ list-style-type: none;
5300
+ padding: 0;
5301
+ margin: 0;
5302
+ padding-left: var(--padding);
5303
+ }
5304
+ .sg-list span {
5305
+ display: list-item;
5306
+ }
5307
+ .sg-list .sg-list {
5308
+ --padding: 0.5rem;
5309
+ }
5310
+
5311
+ .sg-sublist {
5312
+ list-style-type: none;
5313
+ padding: 0;
5314
+ margin: 0;
5315
+ }
5316
+
5317
+ .sg-list-label {
5318
+ background-color: black;
5319
+ }
5320
+
5321
+ .sg-list-item {
5322
+ margin: 0;
5323
+ background-color: black;
5324
+ }
5325
+ .sg-list-item > * {
5326
+ user-select: inherit;
5327
+ }
5328
+
5329
+ .moving {
5330
+ position: absolute;
5331
+ top: 0;
5332
+ left: 0;
5333
+ z-index: 1010;
5334
+ }
5335
+
5336
+ .phantom {
5337
+ position: relative;
5338
+ display: list-item;
5339
+ border: 1px solid transparent;
5340
+ margin-left: calc((var(--depth) - 1) * 0.5rem);
5341
+ transition: all 0.2s ease-in-out;
5342
+ outline: 2px solid red;
5343
+ animation: size 0.3s ease-in-out;
3233
5344
  }
3234
5345
 
5346
+ @keyframes size {
5347
+ from {
5348
+ height: 10px;
5349
+ }
5350
+ }
3235
5351
  .sg-modal-tag::backdrop {
3236
5352
  z-index: 1060;
3237
- background: hsla(0, 0%, 0%, 0.5);
5353
+ background: hsl(0, 0%, 0%);
5354
+ opacity: 0.75;
5355
+ animation-name: fadeInBackdrop;
5356
+ animation-duration: 0.3s;
5357
+ animation-timing-function: ease-in-out;
5358
+ animation-fill-mode: forwards;
5359
+ }
5360
+ .sg-modal-tag::backdrop.close {
5361
+ background: transparent;
5362
+ opacity: 0;
5363
+ animation-name: fadeInBackdrop;
5364
+ animation-duration: 0.3s;
5365
+ animation-timing-function: ease-in-out;
5366
+ animation-fill-mode: backwards;
3238
5367
  }
3239
5368
 
5369
+ @keyframes fadeInBackdrop {
5370
+ from {
5371
+ opacity: 0;
5372
+ }
5373
+ to {
5374
+ opacity: 0.5;
5375
+ }
5376
+ }
5377
+ @keyframes fadeOutBackdrop {
5378
+ from {
5379
+ opacity: 0.5;
5380
+ }
5381
+ to {
5382
+ opacity: 0;
5383
+ }
5384
+ }
3240
5385
  .sg-modal-tag {
5386
+ --height: fit-content;
3241
5387
  z-index: 1061;
3242
5388
  padding: 0;
3243
- margin: 2rem;
3244
- width: 100%;
3245
- height: fit-content;
5389
+ top: 10%;
5390
+ height: var(--height);
5391
+ max-height: 80%;
5392
+ margin-right: auto;
5393
+ margin-left: auto;
3246
5394
  color: white;
3247
- background-color: #2e3236;
5395
+ background-color: #212529;
3248
5396
  background-clip: padding-box;
3249
- border: 1px solid white;
3250
- border-radius: 0.5rem;
3251
- outline: 0;
5397
+ border: 2px outset color-mix(in oklab, #212529, currentColor 60%);
5398
+ flex-direction: column;
5399
+ overflow: auto;
3252
5400
  }
3253
- .sg-modal.sg-modal-static .sg-modal-tag {
3254
- transition: transform 0.3s ease-out;
3255
- transform: scale(1.02);
5401
+ .sg-modal-tag[open=""] {
5402
+ display: grid;
5403
+ width: 100%;
5404
+ grid-template-rows: [header-start] auto [header-end body-start] 1fr [body-end footer-start] auto [footer-end];
5405
+ animation-name: slide-in-up;
5406
+ animation-duration: 0.3s;
5407
+ animation-timing-function: ease-in-out;
5408
+ animation-fill-mode: forwards;
5409
+ }
5410
+ .sg-modal-tag.close {
5411
+ animation: scale-down 0.3s ease-in-out;
5412
+ animation-fill-mode: forwards;
5413
+ }
5414
+ .sg-modal-tag > form {
5415
+ display: grid;
5416
+ grid-template-rows: [body-start] 1fr [body-end footer-start] auto [footer-end];
5417
+ }
5418
+ @supports (grid-template-rows: subgrid) {
5419
+ .sg-modal-tag > form {
5420
+ grid-row-start: body-start;
5421
+ grid-row-end: footer-end;
5422
+ grid-template-rows: subgrid;
5423
+ }
5424
+ }
5425
+ .sg-modal-tag > form .sg-modal-body {
5426
+ grid-row: body;
5427
+ }
5428
+ .sg-modal-tag > form .sg-moda-footer {
5429
+ grid-row: footer;
3256
5430
  }
3257
5431
 
3258
- .sg-modal-dialog-centered {
3259
- display: flex;
3260
- justify-content: center;
3261
- align-items: center;
3262
- height: 100dvh;
3263
- max-width: 100dvw;
3264
- margin: 0;
5432
+ @keyframes scale-down {
5433
+ to {
5434
+ transform: translateY(10%);
5435
+ opacity: 0;
5436
+ }
5437
+ }
5438
+ @keyframes slide-in-up {
5439
+ from {
5440
+ transform: translateY(-10%);
5441
+ opacity: 0.5;
5442
+ }
5443
+ }
5444
+ .sg-modal-fill {
5445
+ margin: auto;
5446
+ top: 0;
5447
+ height: 100%;
5448
+ width: 100%;
3265
5449
  }
3266
5450
 
3267
5451
  .sg-modal-header {
5452
+ grid-row: header;
3268
5453
  display: flex;
3269
- flex-shrink: 0;
3270
5454
  align-items: center;
3271
5455
  justify-content: space-between;
3272
5456
  padding: 0.75rem;
3273
- border-bottom: 1px solid white;
3274
- border-top-left-radius: 0.5rem;
3275
- border-top-right-radius: 0.5rem;
5457
+ margin: 0;
3276
5458
  }
3277
5459
  .sg-modal-header .sg-button-close {
3278
5460
  padding: 0.5rem 0.5rem;
@@ -3280,55 +5462,105 @@ textarea.sg-form-control {
3280
5462
  }
3281
5463
 
3282
5464
  .sg-modal-title {
3283
- margin-bottom: 0;
5465
+ margin: 0;
3284
5466
  }
3285
5467
 
3286
5468
  .sg-modal-body {
5469
+ grid-row: body;
3287
5470
  position: relative;
3288
- flex: 1 1 auto;
3289
5471
  padding: 1rem;
3290
- background-color: #43474a;
5472
+ background-color: color-mix(in oklab, #212529, currentColor 5%);
5473
+ min-height: fit-content;
5474
+ overflow: auto;
5475
+ }
5476
+ .sg-modal-body p {
5477
+ margin: 0;
3291
5478
  }
3292
5479
 
3293
5480
  .sg-modal-footer {
5481
+ grid-row: footer;
3294
5482
  display: flex;
3295
5483
  flex-shrink: 0;
3296
5484
  flex-wrap: wrap;
3297
5485
  align-items: center;
3298
5486
  justify-content: flex-end;
3299
5487
  padding: 0.75rem;
3300
- background-color: #2e3236;
3301
- border-top: 1px solid white;
3302
- border-bottom-right-radius: 0.5rem;
3303
- border-bottom-left-radius: 0.5rem;
5488
+ background-color: #212529;
3304
5489
  gap: 0.5rem;
3305
5490
  }
3306
5491
 
3307
- @media (max-width: 575px) {
3308
- .sg-modal-tag {
3309
- margin: 0.5rem;
3310
- }
5492
+ .sg-modal-sm {
5493
+ max-width: 300px;
3311
5494
  }
3312
- @media (min-width: 576px) {
5495
+
5496
+ .sg-modal-md {
5497
+ max-width: 500px;
5498
+ }
5499
+
5500
+ .sg-modal-lg {
5501
+ max-width: 700px;
5502
+ }
5503
+
5504
+ @media (max-width: 324px) {
3313
5505
  .sg-modal-tag {
3314
- max-width: 500px;
3315
- margin-right: auto;
3316
- margin-left: auto;
3317
- }
3318
- .sg-modal-sm {
3319
- max-width: 300px;
5506
+ margin: auto;
5507
+ top: 0;
5508
+ width: 100%;
3320
5509
  }
3321
5510
  }
3322
- @media (min-width: 992px) {
3323
- .modal-lg, .modal-xl {
3324
- max-width: 800px;
5511
+ @media (min-width: 325px) and (max-width: 575px) {
5512
+ .sg-modal-md, .sg-modal-lg {
5513
+ max-width: 300px;
3325
5514
  }
3326
5515
  }
3327
- @media (min-width: 1200px) {
3328
- .modal-xl {
3329
- max-width: 1140px;
5516
+ @media (min-width: 576px) and (max-width: 767px) {
5517
+ .sg-modal-lg {
5518
+ max-width: 500px;
3330
5519
  }
3331
5520
  }
5521
+ @media (min-width: 768px) {
5522
+ .sg-modal-lg {
5523
+ max-width: 700px;
5524
+ }
5525
+ }
5526
+ /*
5527
+ @each $breakpoint, $value in $grid-breakpoints {
5528
+ @if $breakpoint == "xs" {
5529
+ @media (max-width: 575px) {
5530
+ .sg-modal-tag {
5531
+ margin: 0.5rem auto;
5532
+ }
5533
+ }
5534
+ }
5535
+ @if $breakpoint == "sm" {
5536
+ @media (min-width: 576px) {
5537
+ .sg-modal-tag {
5538
+ max-width: 500px;
5539
+ margin-right: auto;
5540
+ margin-left: auto;
5541
+ }
5542
+ .sg-modal-sm {
5543
+ max-width: 300px
5544
+ }
5545
+ }
5546
+ }
5547
+ @else if $breakpoint == "lg" {
5548
+ @media (min-width: 992px) {
5549
+ .modal-lg, .modal-xl {
5550
+ max-width: 800px;
5551
+ }
5552
+ }
5553
+ }
5554
+ @else if $breakpoint == "xl" {
5555
+ @media (min-width: 1200px) {
5556
+ .modal-xl {
5557
+ max-width: 1140px;
5558
+ }
5559
+ }
5560
+ }
5561
+ }
5562
+ */
5563
+ /*
3332
5564
  .sg-modal-open {
3333
5565
  overflow: hidden;
3334
5566
  }
@@ -3337,24 +5569,25 @@ textarea.sg-form-control {
3337
5569
  position: fixed;
3338
5570
  top: 0;
3339
5571
  left: 0;
3340
- z-index: 1050;
5572
+ z-index: $zindex-modal-backdrop;
3341
5573
  width: 100vw;
3342
5574
  height: 100vh;
3343
5575
  background-color: black;
3344
- }
3345
- .sg-modal-backdrop.fadeIn {
3346
- animation-name: fadeInBackdrop;
3347
- animation-duration: 0.3s;
3348
- animation-timing-function: ease-out;
3349
- animation-fill-mode: forwards;
3350
- }
3351
- .sg-modal-backdrop.fadeOut {
3352
- animation-name: fadeOutBackdrop;
3353
- animation-duration: 0.3s;
3354
- animation-timing-function: ease-out;
3355
- animation-fill-mode: forwards;
3356
- }
3357
5576
 
5577
+ // Fade for backdrop
5578
+ &.fadeIn {
5579
+ animation-name: fadeInBackdrop;
5580
+ animation-duration: .3s;
5581
+ animation-timing-function: ease-out;
5582
+ animation-fill-mode: forwards;
5583
+ }
5584
+ &.fadeOut {
5585
+ animation-name: fadeOutBackdrop;
5586
+ animation-duration: .3s;
5587
+ animation-timing-function: ease-out;
5588
+ animation-fill-mode: forwards;
5589
+ }
5590
+ }
3358
5591
  @keyframes fadeInBackdrop {
3359
5592
  0% {
3360
5593
  opacity: 0;
@@ -3371,94 +5604,113 @@ textarea.sg-form-control {
3371
5604
  opacity: 0;
3372
5605
  }
3373
5606
  }
3374
- .sg-modal {
5607
+
5608
+ .sg-modal { //scroll ocntainer
3375
5609
  position: fixed;
3376
5610
  top: 0;
3377
5611
  left: 0;
3378
- z-index: 1060;
5612
+ z-index: $zindex-modal;
3379
5613
  display: block;
3380
5614
  width: 100%;
3381
5615
  height: 100%;
3382
5616
  overflow-x: hidden;
3383
5617
  overflow-y: auto;
5618
+ // Prevent Chrome on Windows from adding a focus outline. For details, see
5619
+ // https://github.com/twbs/bootstrap/pull/10951.
3384
5620
  outline: 0;
5621
+ // We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a
5622
+ // gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
5623
+ // See also https://github.com/twbs/bootstrap/issues/17695
3385
5624
  }
3386
5625
 
3387
- .sg-modal-dialog {
3388
- z-index: 1061;
5626
+ .sg-modal-dialog { //shell to position modal with bottom-padding
5627
+ z-index: calc($zindex-modal + 1);
3389
5628
  position: relative;
3390
5629
  width: auto;
3391
- margin: 2rem;
5630
+ margin: calc(4 * $sg-modal-margin);
5631
+ // allow clicks to pass through for custom click handling to close modal
3392
5632
  pointer-events: none;
3393
- }
3394
- .sg-modal.fadeIn .sg-modal-dialog {
3395
- animation-name: fadeIn;
3396
- animation-duration: 0.3s;
3397
- animation-timing-function: ease-out;
3398
- animation-fill-mode: forwards;
3399
- }
3400
- .sg-modal.fadeOut .sg-modal-dialog {
3401
- animation-name: fadeOut;
3402
- animation-duration: 0.3s;
3403
- animation-timing-function: ease-out;
3404
- animation-fill-mode: forwards;
3405
- }
3406
- @keyframes fadeIn {
3407
- 0% {
3408
- opacity: 0;
3409
- top: -50px;
3410
- }
3411
- 100% {
3412
- opacity: 1;
3413
- top: 0px;
5633
+
5634
+ // slide down animation
5635
+ .sg-modal.fadeIn & {
5636
+ animation-name: fadeIn;
5637
+ animation-duration: .3s;
5638
+ animation-timing-function: ease-out;
5639
+ animation-fill-mode: forwards;
5640
+ //transition: $sg-modal-transition;
5641
+ //transform: translate(0, -50px);
5642
+ }
5643
+ .sg-modal.fadeOut & {
5644
+ animation-name: fadeOut;
5645
+ animation-duration: .3s;
5646
+ animation-timing-function: ease-out;
5647
+ animation-fill-mode: forwards;
5648
+ //transition: $sg-modal-transition;
5649
+ //transform: translate(0, -50px);
5650
+ }
5651
+ @keyframes fadeIn {
5652
+ 0% {
5653
+ opacity: 0;
5654
+ top: -50px;
5655
+ }
5656
+ 100% {
5657
+ opacity: 1;
5658
+ top: 0px;
5659
+ }
3414
5660
  }
3415
- }
3416
- @keyframes fadeOut {
3417
- 0% {
3418
- opacity: 1;
3419
- top: 0px;
5661
+
5662
+ @keyframes fadeOut {
5663
+ 0% {
5664
+ opacity: 1;
5665
+ top: 0px;
5666
+ }
5667
+ 100% {
5668
+ opacity: 0;
5669
+ top: -50px;
5670
+ }
3420
5671
  }
3421
- 100% {
3422
- opacity: 0;
3423
- top: -50px;
5672
+
5673
+ // make modal flash onBlur if static backdrop
5674
+ .sg-modal.sg-modal-static & {
5675
+ transition: $sg-modal-transition;
5676
+ transform: scale(1.02);
3424
5677
  }
3425
5678
  }
3426
- .sg-modal.sg-modal-static .sg-modal-dialog {
3427
- transition: transform 0.3s ease-out;
3428
- transform: scale(1.02);
3429
- }
3430
5679
 
3431
5680
  .sg-modal-dialog-scrollable {
3432
- height: calc(100% - 1rem);
3433
- }
3434
- .sg-modal-dialog-scrollable .sg-modal-content {
3435
- max-height: 100%;
3436
- overflow: hidden;
3437
- }
3438
- .sg-modal-dialog-scrollable .sg-modal-body {
3439
- overflow-y: auto;
3440
- }
5681
+ height: calc(100% - $sg-modal-margin * 2);
5682
+
5683
+ .sg-modal-content {
5684
+ max-height: 100%;
5685
+ overflow: hidden;
5686
+ }
3441
5687
 
5688
+ .sg-modal-body {
5689
+ overflow-y: auto;
5690
+ }
5691
+ }
3442
5692
  .sg-modal-dialog-centered {
3443
5693
  display: flex;
3444
5694
  justify-content: center;
3445
5695
  align-items: center;
3446
5696
  height: 100dvh;
3447
5697
  max-width: 100dvw;
3448
- margin: 0;
5698
+ margin:0;
3449
5699
  }
3450
5700
 
3451
5701
  .sg-modal-content {
3452
5702
  position: relative;
3453
5703
  display: flex;
3454
5704
  flex-direction: column;
3455
- width: 100%;
3456
- color: white;
5705
+ width: 100%; // Ensure `.modal-content` extends the full width of the parent `.modal-dialog`
5706
+ // counteract the pointer-events: none; in the .modal-dialog
5707
+ color: $sg-modal-text-color;
3457
5708
  pointer-events: auto;
3458
- background-color: #2e3236;
5709
+ background-color: $sg-modal-background-color;
3459
5710
  background-clip: padding-box;
3460
- border: 1px solid white;
3461
- border-radius: 0.5rem;
5711
+ border: 1px solid $sg-modal-text-color;
5712
+ border-radius: $sg-modal-radius;
5713
+ // Remove focus outline from opened modal
3462
5714
  outline: 0;
3463
5715
  }
3464
5716
 
@@ -3466,17 +5718,16 @@ textarea.sg-form-control {
3466
5718
  display: flex;
3467
5719
  flex-shrink: 0;
3468
5720
  align-items: center;
3469
- justify-content: space-between;
5721
+ justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
3470
5722
  padding: 0.75rem;
3471
- border-bottom: 1px solid white;
3472
- border-top-left-radius: 0.5rem;
3473
- border-top-right-radius: 0.5rem;
3474
- }
3475
- .sg-modal-header .sg-button-close {
3476
- padding: 0.5rem 0.5rem;
3477
- margin: -0.25rem -0.25rem -0.25rem auto;
3478
- }
5723
+ border-bottom: 1px solid $sg-modal-text-color;
5724
+ @include border-top-radius($sg-modal-radius);
3479
5725
 
5726
+ .sg-button-close {
5727
+ padding: 0.5rem 0.5rem;
5728
+ margin: calc(-.5 * $sg-modal-margin) calc(-.5 * $sg-modal-margin) calc(-.5 * $sg-modal-margin) auto;
5729
+ }
5730
+ }
3480
5731
  .sg-modal-title {
3481
5732
  margin-bottom: 0;
3482
5733
  }
@@ -3485,48 +5736,64 @@ textarea.sg-form-control {
3485
5736
  position: relative;
3486
5737
  flex: 1 1 auto;
3487
5738
  padding: 1rem;
3488
- background-color: #43474a;
3489
- }
3490
-
3491
- .sg-modal-footer {
3492
- display: flex;
3493
- flex-shrink: 0;
3494
- flex-wrap: wrap;
3495
- align-items: center;
3496
- justify-content: flex-end;
3497
- padding: 0.75rem;
3498
- background-color: #2e3236;
3499
- border-top: 1px solid white;
3500
- border-bottom-right-radius: 0.5rem;
3501
- border-bottom-left-radius: 0.5rem;
3502
- gap: 0.5rem;
3503
- }
3504
-
3505
- @media (max-width: 575px) {
3506
- .sg-modal-dialog {
3507
- margin: 0.5rem;
3508
- }
3509
- }
3510
- @media (min-width: 576px) {
3511
- .sg-modal-dialog {
3512
- max-width: 500px;
3513
- margin-right: auto;
3514
- margin-left: auto;
3515
- }
3516
- .sg-modal-sm {
3517
- max-width: 300px;
3518
- }
3519
- }
3520
- @media (min-width: 992px) {
3521
- .modal-lg, .modal-xl {
3522
- max-width: 800px;
3523
- }
5739
+ background-color: color.mix(white,$sg-modal-background-color, 10%);
3524
5740
  }
3525
- @media (min-width: 1200px) {
3526
- .modal-xl {
3527
- max-width: 1140px;
3528
- }
5741
+ .sg-modal-footer {
5742
+ display: flex;
5743
+ flex-shrink: 0;
5744
+ flex-wrap: wrap;
5745
+ align-items: center;
5746
+ justify-content: flex-end;
5747
+ padding: 0.75rem;
5748
+ background-color: $sg-modal-background-color;
5749
+ border-top: 1px solid $sg-modal-text-color;
5750
+ @include border-bottom-radius($sg-modal-radius);
5751
+
5752
+ gap: 0.5rem;
3529
5753
  }
5754
+
5755
+ $modal-lg: 800px !default;
5756
+ $modal-xl: 1140px !default;
5757
+
5758
+ $container-max-widths: ( sm: 540px, md: 720px, lg: 960px, xl: 1140px, xxl: 1320px ) !default;
5759
+ $grid-breakpoints: (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px ) !default;
5760
+
5761
+ @each $breakpoint, $value in $grid-breakpoints {
5762
+ @if $breakpoint == "xs" {
5763
+ @media (max-width: 575px) {
5764
+ .sg-modal-dialog {
5765
+ margin: 0.5rem;
5766
+ }
5767
+ }
5768
+ }
5769
+ @if $breakpoint == "sm" {
5770
+ @media (min-width: 576px) {
5771
+ .sg-modal-dialog {
5772
+ max-width: 500px;
5773
+ margin-right: auto;
5774
+ margin-left: auto;
5775
+ }
5776
+ .sg-modal-sm {
5777
+ max-width: 300px
5778
+ }
5779
+ }
5780
+ }
5781
+ @else if $breakpoint == "lg" {
5782
+ @media (min-width: 992px) {
5783
+ .modal-lg, .modal-xl {
5784
+ max-width: 800px;
5785
+ }
5786
+ }
5787
+ }
5788
+ @else if $breakpoint == "xl" {
5789
+ @media (min-width: 1200px) {
5790
+ .modal-xl {
5791
+ max-width: 1140px;
5792
+ }
5793
+ }
5794
+ }
5795
+ }
5796
+ */
3530
5797
  .sg-nav {
3531
5798
  display: flex;
3532
5799
  flex-wrap: wrap;
@@ -3536,36 +5803,64 @@ textarea.sg-form-control {
3536
5803
  }
3537
5804
 
3538
5805
  .sg-nav-link {
3539
- display: block;
3540
- padding: 0.5rem 1rem;
5806
+ padding: 0.25rem 0.5rem;
3541
5807
  text-decoration: none;
5808
+ display: flex;
5809
+ align-items: center;
5810
+ gap: 0.5rem;
5811
+ margin-block: auto;
5812
+ color: var(--sg-navbar-link-color);
5813
+ font-size: 0.85rem;
5814
+ }
5815
+ .sg-nav-link:hover {
5816
+ color: var(--sg-navbar-hover-color);
3542
5817
  }
3543
5818
  .sg-nav-link.disabled {
3544
5819
  pointer-events: none;
3545
5820
  cursor: default;
3546
5821
  }
3547
5822
 
5823
+ [data-navdropdown=true] .sg-nav-link {
5824
+ color: var(--sg-navbar-hover-color);
5825
+ font-size: 0.85rem;
5826
+ text-decoration: none;
5827
+ }
5828
+
3548
5829
  .sg-nav-item {
3549
5830
  margin-block: auto;
3550
5831
  }
3551
5832
 
3552
5833
  .sg-navbar {
3553
- --sg-navbar-bg: #212529;
3554
- --sg-navbar-color: rgba(white, .55);
3555
- --sg-navbar-hover-color: rgba(white, .75);
3556
- --sg-navbar-disabled-color: rgba(white, .25);
5834
+ --sg-navbar-bg: rgb(26, 27, 29);
5835
+ --sg-navbar-text-color: white;
5836
+ --sg-navbar-link-color: rgb(252, 95, 95);
5837
+ --sg-navbar-hover-color: white;
5838
+ --sg-navbar-disabled-color: rgb(180, 180, 180);
3557
5839
  --sg-navbar-active-color: white;
3558
- --sg-navbar-brand-color: white;
3559
- --sg-navbar-brand-hover-color: white;
3560
- background-color: --sg-navbar-bg;
3561
- position: relative;
5840
+ --sg-navbar-zindex: $zindex-navbar;
5841
+ background-color: var(--sg-navbar-bg);
5842
+ background: linear-gradient(71deg, var(--sg-navbar-bg), color-mix(in srgb, var(--sg-navbar-bg), var(--sg-navbar-hover-color) 5%), var(--sg-navbar-bg), color-mix(in srgb, var(--sg-navbar-bg), var(--sg-navbar-hover-color) 5%), var(--sg-navbar-bg));
5843
+ width: 100%;
5844
+ min-height: fit-content;
5845
+ z-index: 990;
5846
+ box-sizing: border-box;
5847
+ border: 2px outset color-mix(in srgb, white 5%, var(--sg-navbar-bg));
5848
+ border-bottom: 2px solid var(--sg-navbar-link-color);
3562
5849
  display: flex;
3563
5850
  flex-wrap: wrap;
3564
5851
  align-items: center;
3565
5852
  padding: 0.5rem 0rem;
5853
+ position: sticky;
5854
+ top: 0;
5855
+ left: 0;
3566
5856
  }
3567
5857
  .sg-navbar > .container-xxl, .sg-navbar > .container-xl, .sg-navbar > .container-lg, .sg-navbar > .container-md, .sg-navbar > .container-sm, .sg-navbar > .sg-container,
3568
- .sg-navbar > .sg-container-fluid {
5858
+ .sg-navbar > .sg-container-fluid,
5859
+ .sg-navbar > .sg-container-sm,
5860
+ .sg-navbar > .sg-container-md,
5861
+ .sg-navbar > .sg-container-lg,
5862
+ .sg-navbar > .sg-container-xl,
5863
+ .sg-navbar > .sg-container-xxl {
3569
5864
  display: flex;
3570
5865
  flex-wrap: inherit;
3571
5866
  align-items: center;
@@ -3576,23 +5871,25 @@ textarea.sg-form-control {
3576
5871
  padding-bottom: 0.25rem;
3577
5872
  margin-inline: 1rem;
3578
5873
  margin-block: auto;
3579
- color: var(--sg-navbar-brand-color);
5874
+ color: var(--sg-navbar-link-color);
3580
5875
  text-decoration: none;
3581
5876
  white-space: nowrap;
3582
5877
  }
3583
5878
  .sg-navbar-brand:hover, .sg-navbar-brand:focus {
3584
- color: var(--sg-navbar-brand-hover-color);
5879
+ color: var(--sg-navbar-hover-color);
3585
5880
  text-decoration: none;
3586
5881
  }
3587
5882
 
3588
5883
  .sg-navbar-nav {
3589
5884
  --nav-link-padding-x: 0;
3590
5885
  --nav-link-padding-y: 0.5rem;
3591
- --nav-link-color: var(--sg-navbar-color);
3592
- --nav-link-hover-color: var(--sg-navbar-hover-color);
3593
- --nav-link-disabled-color: var(--sg-navbar-disabled-color);
5886
+ --nav-link-color: $sg-link-color;
5887
+ --nav-link-hover-color: $sg-link-hover-color;
5888
+ --nav-link-disabled-color: $sg-link-disable-color;
5889
+ margin: 0;
3594
5890
  display: flex;
3595
5891
  flex-direction: row;
5892
+ flex-wrap: wrap;
3596
5893
  padding-left: 0;
3597
5894
  margin-bottom: 0;
3598
5895
  list-style: none;
@@ -3608,7 +5905,7 @@ textarea.sg-form-control {
3608
5905
  .sg-navbar-text {
3609
5906
  padding-top: 0.5rem;
3610
5907
  padding-bottom: 0.5rem;
3611
- color: var(--sg-navbar-color);
5908
+ color: var(--sg-navbar-active-color);
3612
5909
  }
3613
5910
  .sg-navbar-text a,
3614
5911
  .sg-navbar-text a:hover,
@@ -3624,32 +5921,272 @@ textarea.sg-form-control {
3624
5921
  .sg-nav-dropdown-toggle {
3625
5922
  background-color: transparent;
3626
5923
  display: block;
3627
- padding: 0.25rem 0.5rem;
3628
- color: white;
5924
+ padding: 0.5em 1em;
5925
+ color: var(--sg-navbar-link-color);
3629
5926
  text-decoration: none;
3630
- border-radius: 0.375rem;
5927
+ border-radius: 0;
3631
5928
  border: 1px solid transparent;
5929
+ cursor: pointer;
3632
5930
  }
3633
5931
  .sg-nav-dropdown-toggle:hover, .sg-nav-dropdown-toggle:focus {
3634
- border-color: white;
3635
5932
  background-color: transparent;
5933
+ border: 1px solid transparent;
5934
+ color: var(--sg-navbar-hover-color);
3636
5935
  }
3637
5936
  .sg-nav-dropdown-toggle:active {
3638
5937
  background-color: transparent;
3639
5938
  }
5939
+ .sg-nav-dropdown-toggle:focus-visible, .sg-nav-dropdown-toggle:focus {
5940
+ border: 1px solid transparent;
5941
+ }
5942
+ .sg-nav-dropdown-toggle[aria-expanded=true] {
5943
+ color: var(--sg-navbar-hover-color);
5944
+ }
3640
5945
  .sg-nav-dropdown-toggle.disabled {
3641
5946
  color: rgba(0, 0, 0, 0.24);
3642
5947
  pointer-events: none;
3643
5948
  cursor: default;
3644
5949
  }
3645
5950
 
5951
+ .sg-offCanvas-open {
5952
+ overflow: hidden;
5953
+ }
5954
+
5955
+ .sg-offCanvas-backdrop {
5956
+ position: fixed;
5957
+ top: 0;
5958
+ left: 0;
5959
+ z-index: 1050;
5960
+ width: 100vw;
5961
+ height: 100vh;
5962
+ background-color: black;
5963
+ }
5964
+ .sg-offCanvas-backdrop.fadeIn {
5965
+ animation-name: fadeInBackdrop;
5966
+ animation-duration: 0.3s;
5967
+ animation-timing-function: ease-out;
5968
+ animation-fill-mode: forwards;
5969
+ }
5970
+ .sg-offCanvas-backdrop.fadeOut {
5971
+ animation-name: fadeOutBackdrop;
5972
+ animation-duration: 0.3s;
5973
+ animation-timing-function: ease-out;
5974
+ animation-fill-mode: forwards;
5975
+ }
5976
+
5977
+ @keyframes fadeInBackdrop {
5978
+ 0% {
5979
+ opacity: 0;
5980
+ }
5981
+ 100% {
5982
+ opacity: 0.5;
5983
+ }
5984
+ }
5985
+ @keyframes fadeOutBackdrop {
5986
+ 0% {
5987
+ opacity: 0.5;
5988
+ }
5989
+ 100% {
5990
+ opacity: 0;
5991
+ }
5992
+ }
5993
+ .sg-offCanvas {
5994
+ position: fixed;
5995
+ top: 0;
5996
+ left: 0;
5997
+ z-index: 1060;
5998
+ display: block;
5999
+ width: 100%;
6000
+ height: 100%;
6001
+ overflow-x: hidden;
6002
+ overflow-y: auto;
6003
+ outline: 0;
6004
+ }
6005
+
6006
+ .sg-offCanvas-dialog {
6007
+ z-index: 1061;
6008
+ position: relative;
6009
+ width: auto;
6010
+ max-height: 100vh;
6011
+ pointer-events: none;
6012
+ }
6013
+ .sg-offCanvas.fadeIn .sg-offCanvas-dialog {
6014
+ animation-name: fadeIn;
6015
+ animation-duration: 0.6s;
6016
+ animation-timing-function: ease-out;
6017
+ animation-fill-mode: forwards;
6018
+ }
6019
+ .sg-offCanvas.fadeOut .sg-offCanvas-dialog {
6020
+ animation-name: fadeOut;
6021
+ animation-duration: 0.3s;
6022
+ animation-timing-function: ease-out;
6023
+ animation-fill-mode: forwards;
6024
+ }
6025
+ @keyframes fadeIn {
6026
+ 0% {
6027
+ opacity: 0;
6028
+ }
6029
+ 100% {
6030
+ opacity: 1;
6031
+ }
6032
+ }
6033
+ @keyframes fadeOut {
6034
+ 0% {
6035
+ opacity: 1;
6036
+ }
6037
+ 100% {
6038
+ opacity: 0;
6039
+ }
6040
+ }
6041
+
6042
+ .sg-offCanvas-content {
6043
+ --sg-offcanvas-size: 478px;
6044
+ position: fixed;
6045
+ bottom: 0;
6046
+ display: flex;
6047
+ flex-direction: column;
6048
+ max-width: 100%;
6049
+ max-height: 100%;
6050
+ color: white;
6051
+ pointer-events: auto;
6052
+ background-color: #2e3236;
6053
+ background-clip: padding-box;
6054
+ outline: 0;
6055
+ transition: transform 0.3s ease-in-out;
6056
+ /*
6057
+ &.sg-offCanvas-footer {
6058
+ display: flex;
6059
+ flex-shrink: 0;
6060
+ flex-wrap: wrap;
6061
+ align-items: center;
6062
+ justify-content: flex-end;
6063
+ padding: 0.75em;
6064
+ background-color: $sg-offCanvas-background-color;
6065
+ border-top: 1px solid $sg-offCanvas-text-color;
6066
+ @include border-bottom-radius($sg-offCanvas-radius);
6067
+
6068
+ gap: 0.5em;
6069
+ }
6070
+ */
6071
+ }
6072
+ .sg-offCanvas-content.sg-offcanvas-start {
6073
+ top: 0;
6074
+ left: 0;
6075
+ width: var(--sg-offcanvas-size);
6076
+ border-right: 1px solid #2e3236;
6077
+ transform: translateX(-100%);
6078
+ }
6079
+ .sg-offCanvas-content.sg-offcanvas-end {
6080
+ top: 0;
6081
+ right: 0;
6082
+ width: var(--sg-offcanvas-size);
6083
+ border-left: 1px solid #2e3236;
6084
+ transform: translateX(100%);
6085
+ }
6086
+ .sg-offCanvas-content.sg-offcanvas-top {
6087
+ top: 0;
6088
+ right: 0;
6089
+ left: 0;
6090
+ height: var(--sg-offcanvas-size);
6091
+ max-height: 100%;
6092
+ border-bottom: 1px solid #2e3236;
6093
+ transform: translateY(-100%);
6094
+ }
6095
+ .sg-offCanvas-content.sg-offcanvas-bottom {
6096
+ right: 0;
6097
+ left: 0;
6098
+ height: var(--sg-offcanvas-size);
6099
+ max-height: 100%;
6100
+ border-top: 1px solid #2e3236;
6101
+ transform: translateY(100%);
6102
+ }
6103
+ .sg-offCanvas-content.sg-slide-in {
6104
+ transform: none;
6105
+ }
6106
+ .sg-offCanvas-content.sg-offCanvas-static {
6107
+ transition: transform 0.3s ease-out;
6108
+ transform: scaleX(1.02);
6109
+ }
6110
+ .sg-offCanvas-content .sg-offCanvas-header {
6111
+ display: flex;
6112
+ flex-shrink: 0;
6113
+ align-items: center;
6114
+ justify-content: space-between;
6115
+ padding: 1em;
6116
+ }
6117
+ .sg-offCanvas-content .sg-offCanvas-header .sg-button-close {
6118
+ padding: 0.5em 0.5em;
6119
+ margin: -0.25em -0.25em -0.25em auto;
6120
+ }
6121
+ .sg-offCanvas-content .sg-offCanvas-title {
6122
+ margin-bottom: 0;
6123
+ }
6124
+ .sg-offCanvas-content .sg-offCanvas-body {
6125
+ position: relative;
6126
+ flex: 1 1 auto;
6127
+ padding: 1em;
6128
+ background-color: #43474a;
6129
+ overflow: auto;
6130
+ }
6131
+
6132
+ /*
6133
+ $offCanvas-lg: 800px !default;
6134
+ $offCanvas-xl: 1140px !default;
6135
+
6136
+ $container-max-widths: ( sm: 540px, md: 720px, lg: 960px, xl: 1140px, xxl: 1320px ) !default;
6137
+ $grid-breakpoints: (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px ) !default;
6138
+
6139
+ @each $breakpoint, $value in $grid-breakpoints {
6140
+ @if $breakpoint == "xs" {
6141
+ @media (max-width: 575px) {
6142
+ .sg-offCanvas-dialog {
6143
+ margin: 0.5em;
6144
+ }
6145
+ }
6146
+ }
6147
+ @if $breakpoint == "sm" {
6148
+ @media (min-width: 576px) {
6149
+ .sg-offCanvas-dialog {
6150
+ max-width: 500px;
6151
+ margin-right: auto;
6152
+ margin-left: auto;
6153
+ }
6154
+ .sg-offCanvas-sm {
6155
+ max-width: 300px
6156
+ }
6157
+ }
6158
+ }
6159
+ @else if $breakpoint == "lg" {
6160
+ @media (min-width: 992px) {
6161
+ .offCanvas-lg, .offCanvas-xl {
6162
+ max-width: 800px;
6163
+ }
6164
+ }
6165
+ }
6166
+ @else if $breakpoint == "xl" {
6167
+ @media (min-width: 1200px) {
6168
+ .offCanvas-xl {
6169
+ max-width: 1140px;
6170
+ }
6171
+ }
6172
+ }
6173
+ }
6174
+ */
6175
+ .sg-overlay-wrapper {
6176
+ max-width: 100%;
6177
+ max-height: 100%;
6178
+ z-index: 1010;
6179
+ }
6180
+
3646
6181
  .sg-overlay-arrow {
6182
+ --width: 15px;
6183
+ --height: 20px;
3647
6184
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20"> <polygon points="1,1 1,19, 14,10" fill="black" stroke-width="1.5" stroke="black" /> </svg>');
3648
6185
  background-repeat: no-repeat no-repeat;
3649
6186
  background-position: center center;
3650
6187
  background-size: cover;
3651
- height: 20px;
3652
- width: 15px;
6188
+ height: var(--height);
6189
+ width: var(--width);
3653
6190
  z-index: 1010;
3654
6191
  }
3655
6192
  .sg-overlay-arrow.overlay-position-right {
@@ -3665,6 +6202,30 @@ textarea.sg-form-control {
3665
6202
  transform: rotate(270deg);
3666
6203
  }
3667
6204
 
6205
+ .sg-tooltip-arrow {
6206
+ --width: 10px;
6207
+ --heigth: 15px;
6208
+ background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 15 15"> <polygon points="1,1 1,14, 9,7" fill="black" stroke-width="1.5" stroke="black" /> </svg>');
6209
+ }
6210
+
6211
+ .sg-tooltip-wrapper {
6212
+ --input-text-color: white;
6213
+ --input-background-color: rgb(26, 27, 29);
6214
+ --input-border-color: color-mix(in oklab, rgb(26, 27, 29), white 25%);
6215
+ font-size: 0.8rem;
6216
+ display: flex;
6217
+ flex-wrap: wrap;
6218
+ max-width: 12rem;
6219
+ padding: 0.375em 0.5em;
6220
+ color: var(--input-text-color);
6221
+ background-color: var(--input-background-color);
6222
+ border: 2px outset var(--input-border-color);
6223
+ border-radius: 0;
6224
+ }
6225
+ .sg-tooltip-wrapper > * {
6226
+ font-size: 0.8rem;
6227
+ }
6228
+
3668
6229
  .sg-moveable-popout {
3669
6230
  --popout-index: 1010;
3670
6231
  position: absolute;
@@ -3686,7 +6247,7 @@ textarea.sg-form-control {
3686
6247
  user-select: inherit;
3687
6248
  margin-bottom: 0;
3688
6249
  padding: 0.25em 0.5em;
3689
- background-color: #212529;
6250
+ background-color: color-mix(in hsl, white 3%, #212529);
3690
6251
  border-bottom: 1px solid white;
3691
6252
  }
3692
6253
  .sg-moveable-popout .sg-popout-header > * {
@@ -3695,6 +6256,9 @@ textarea.sg-form-control {
3695
6256
  .sg-moveable-popout .sg-popout-header:first-child {
3696
6257
  border-radius: 0.375em 0.375em 0 0;
3697
6258
  }
6259
+ .sg-moveable-popout[data-move=true] {
6260
+ touch-action: none;
6261
+ }
3698
6262
  .sg-moveable-popout[data-move=true] .sg-popout-header {
3699
6263
  cursor: move;
3700
6264
  }
@@ -3702,12 +6266,12 @@ textarea.sg-form-control {
3702
6266
  flex: 1 1 auto;
3703
6267
  padding: 0.5em;
3704
6268
  user-select: inherit;
3705
- background-color: color-mix(in srgb, white 4%, #212529);
6269
+ background-color: color-mix(in srgb, white 4%, color-mix(in hsl, white 3%, #212529));
3706
6270
  }
3707
6271
  .sg-moveable-popout .sg-popout-footer {
3708
6272
  user-select: inherit;
3709
6273
  padding: 0.25em 0.5em;
3710
- background-color: #212529;
6274
+ background-color: color-mix(in hsl, white 3%, #212529);
3711
6275
  border-top: 1px solid white;
3712
6276
  }
3713
6277
  .sg-moveable-popout .sg-popout-footer:last-child {
@@ -3730,25 +6294,163 @@ textarea.sg-form-control {
3730
6294
  background-image: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"/><line x1="208" y1="128" x2="128" y2="208" fill="none" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="192" y1="40" x2="40" y2="192" fill="none" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/></svg>');
3731
6295
  }
3732
6296
 
6297
+ .sg-spinner {
6298
+ display: inline-block;
6299
+ border-radius: 50%;
6300
+ width: 1em;
6301
+ height: 1em;
6302
+ border: 0.2em solid white;
6303
+ border-right-color: transparent;
6304
+ margin: auto;
6305
+ animation-name: spinny;
6306
+ animation-duration: 0.5s;
6307
+ animation-timing-function: linear;
6308
+ animation-iteration-count: infinite;
6309
+ }
6310
+
6311
+ @keyframes spinny {
6312
+ 100% {
6313
+ transform: rotate(360deg);
6314
+ }
6315
+ }
6316
+ .sg-table {
6317
+ --sg-table-padding: $sg-table-padding;
6318
+ width: 100%;
6319
+ margin-bottom: 1rem;
6320
+ color: black;
6321
+ vertical-align: top;
6322
+ border-color: black;
6323
+ }
6324
+ .sg-table > :not(caption) > * > * {
6325
+ padding: 0.5rem 0.5rem;
6326
+ background-color: transparent;
6327
+ border-bottom-width: 1px;
6328
+ box-shadow: inset 0 0 0 9999px transparent;
6329
+ }
6330
+ .sg-table > tbody {
6331
+ vertical-align: inherit;
6332
+ }
6333
+ .sg-table > thead {
6334
+ vertical-align: bottom;
6335
+ }
6336
+
6337
+ .sg-caption-top {
6338
+ caption-side: top;
6339
+ }
6340
+
6341
+ .sg-table-sm > :not(caption) > * > * {
6342
+ padding: 0.25rem 0.25rem;
6343
+ }
6344
+
3733
6345
  .sg-tabs {
3734
6346
  width: 100%;
6347
+ display: grid;
6348
+ grid-template-rows: [control-start] auto [control-end page-start] 100% [page-end];
3735
6349
  }
3736
6350
 
3737
6351
  .sg-tabs-controls {
6352
+ --border-bottom-color: white;
6353
+ --border-width: 2px;
6354
+ grid-row: control;
6355
+ position: relative;
3738
6356
  display: flex;
3739
6357
  flex-direction: row;
6358
+ background-color: #212529;
6359
+ overflow-x: auto;
6360
+ scrollbar-width: none;
6361
+ }
6362
+ .sg-tabs-controls::before {
6363
+ content: "";
6364
+ position: absolute;
6365
+ bottom: 0;
6366
+ width: 100%;
6367
+ height: var(--border-width);
6368
+ background-color: var(--border-bottom-color);
6369
+ }
6370
+ @media (prefers-reduce-motion: no-preference) {
6371
+ .sg-tabs-controls {
6372
+ scroll-behavior: smooth;
6373
+ }
6374
+ }
6375
+ .sg-tabs-controls > * {
6376
+ flex: 0 0 auto;
3740
6377
  }
3741
6378
 
3742
6379
  .sg-tabs-button {
6380
+ --border-color: #212529;
6381
+ --text-color: rgb(252, 95, 95);
6382
+ --background-color: #212529;
6383
+ --hover-background-color: color-mix(in srgb, black 15%, #212529);
6384
+ --active-background-color: color-mix(in srgb, black 25%, #212529);
6385
+ position: relative;
3743
6386
  display: block;
6387
+ color: var(--text-color);
6388
+ background-color: var(--background-color);
6389
+ padding: 0.375rem 0.75rem;
6390
+ border: var(--border-width) solid var(--border-color);
6391
+ border-bottom-color: var(--border-bottom-color);
6392
+ font-size: 0.85rem;
6393
+ }
6394
+ .sg-tabs-button::after, .sg-tabs-button::before {
6395
+ content: "";
6396
+ position: absolute;
6397
+ width: var(--border-width);
6398
+ height: var(--border-width);
6399
+ bottom: calc(-1 * var(--border-width));
6400
+ left: calc(-1 * var(--border-width));
6401
+ background-color: var(--border-bottom-color);
6402
+ z-index: 2;
6403
+ }
6404
+ .sg-tabs-button::after {
6405
+ left: unset;
6406
+ right: calc(-1 * var(--border-width));
6407
+ }
6408
+ .sg-tabs-button:hover {
6409
+ background-color: var(--hover-background-color);
6410
+ }
6411
+ .sg-tabs-button:active {
6412
+ background-color: var(--active-background-color);
3744
6413
  }
3745
6414
  .sg-tabs-button.sg-active {
3746
- background-color: #202020;
3747
- color: white;
6415
+ border: 2px solid var(--border-bottom-color);
6416
+ border-bottom: 2px solid var(--sg-body-bg);
6417
+ }
6418
+ .sg-tabs-button.sg-tabs-scroll-button {
6419
+ position: sticky;
6420
+ left: 0;
6421
+ height: 100%;
6422
+ aspect-ratio: 1;
6423
+ padding: 0;
6424
+ z-index: 2;
6425
+ }
6426
+ .sg-tabs-button.sg-tabs-scroll-button svg {
6427
+ position: relative;
6428
+ top: 0;
6429
+ left: 0;
6430
+ }
6431
+ .sg-tabs-button.sg-tabs-scroll-button[data-position=right] {
6432
+ position: sticky;
6433
+ left: unset;
6434
+ right: 0;
6435
+ }
6436
+ .sg-tabs-button.sg-tabs-scroll-button:first-child {
6437
+ border-right-color: var(--border-bottom-color);
6438
+ }
6439
+ .sg-tabs-button.sg-tabs-scroll-button:first-child::after {
6440
+ bottom: unset;
6441
+ top: calc(-1 * var(--border-width));
6442
+ }
6443
+ .sg-tabs-button.sg-tabs-scroll-button:last-child {
6444
+ border-left-color: var(--border-bottom-color);
6445
+ }
6446
+ .sg-tabs-button.sg-tabs-scroll-button:last-child::before {
6447
+ bottom: unset;
6448
+ top: calc(-1 * var(--border-width));
3748
6449
  }
3749
6450
 
3750
6451
  .sg-tabs-content {
3751
6452
  width: 100%;
6453
+ grid-row: page;
3752
6454
  }
3753
6455
 
3754
6456
  .sg-tabs-page {
@@ -3756,7 +6458,9 @@ textarea.sg-form-control {
3756
6458
  }
3757
6459
  .sg-tabs-page.sg-active {
3758
6460
  display: flex;
3759
- flex-direction: row;
6461
+ flex-wrap: wrap;
6462
+ flex-direction: column;
6463
+ padding-block: 1rem;
3760
6464
  }
3761
6465
 
3762
6466
  /*# sourceMappingURL=stargazerui.css.map */