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.
- package/Bar/Bar.type.d.ts +6 -0
- package/Bar/index.js +2 -0
- package/Bar/index.js.map +1 -0
- package/Bar/package.json +1 -0
- package/Button/Button.js +12 -0
- package/Button/Button.js.map +1 -0
- package/{types/components/Button → Button}/Button.types.d.ts +1 -2
- package/Button/index.d.ts +3 -0
- package/Button/index.js +7 -0
- package/Button/index.js.map +1 -0
- package/Button/package.json +1 -0
- package/ButtonGroup/ButtonGroup.d.ts +4 -0
- package/ButtonGroup/ButtonGroup.js +10 -0
- package/ButtonGroup/ButtonGroup.js.map +1 -0
- package/ButtonGroup/ButtonGroup.types.d.ts +7 -0
- package/ButtonGroup/index.d.ts +3 -0
- package/ButtonGroup/index.js +7 -0
- package/ButtonGroup/index.js.map +1 -0
- package/ButtonGroup/package.json +1 -0
- package/Card/Card.js +41 -0
- package/Card/Card.js.map +1 -0
- package/{types/components/Card → Card}/Card.types.d.ts +3 -1
- package/Card/index.d.ts +3 -0
- package/Card/index.js +7 -0
- package/Card/index.js.map +1 -0
- package/Card/package.json +1 -0
- package/CloseButton/CloseButton.js +11 -0
- package/CloseButton/CloseButton.js.map +1 -0
- package/{types/components/CloseButton → CloseButton}/CloseButton.types.d.ts +1 -1
- package/CloseButton/index.d.ts +3 -0
- package/CloseButton/index.js +7 -0
- package/CloseButton/index.js.map +1 -0
- package/CloseButton/package.json +1 -0
- package/Dropdown/Dropdown.js +301 -0
- package/Dropdown/Dropdown.js.map +1 -0
- package/{types/components/Dropdown → Dropdown}/Dropdown.types.d.ts +3 -10
- package/Dropdown/index.d.ts +4 -0
- package/Dropdown/index.js +8 -0
- package/Dropdown/index.js.map +1 -0
- package/Dropdown/package.json +1 -0
- package/FileUploadButton/FileUploadButton.d.ts +4 -0
- package/FileUploadButton/FileUploadButton.js +21 -0
- package/FileUploadButton/FileUploadButton.js.map +1 -0
- package/FileUploadButton/FileUploadButton.types.d.ts +7 -0
- package/FileUploadButton/index.d.ts +3 -0
- package/FileUploadButton/index.js +7 -0
- package/FileUploadButton/index.js.map +1 -0
- package/FileUploadButton/package.json +1 -0
- package/FloatingLabel/FloatingLabel.js +17 -0
- package/FloatingLabel/FloatingLabel.js.map +1 -0
- package/{types/components/FloatingLabel → FloatingLabel}/FloatingLabel.types.d.ts +1 -1
- package/FloatingLabel/index.d.ts +3 -0
- package/FloatingLabel/index.js +7 -0
- package/FloatingLabel/index.js.map +1 -0
- package/FloatingLabel/package.json +1 -0
- package/Form/Form.d.ts +38 -0
- package/Form/Form.js +308 -0
- package/Form/Form.js.map +1 -0
- package/Form/Form.types.d.ts +105 -0
- package/Form/index.d.ts +4 -0
- package/Form/index.js +8 -0
- package/Form/index.js.map +1 -0
- package/Form/package.json +1 -0
- package/InputGroup/InputGroup.d.ts +7 -0
- package/InputGroup/InputGroup.js +31 -0
- package/InputGroup/InputGroup.js.map +1 -0
- package/InputGroup/InputGroup.types.d.ts +16 -0
- package/InputGroup/index.d.ts +4 -0
- package/InputGroup/index.js +7 -0
- package/InputGroup/index.js.map +1 -0
- package/InputGroup/package.json +1 -0
- package/List/List.d.ts +14 -0
- package/List/List.js +76 -0
- package/List/List.js.map +1 -0
- package/List/List.types.d.ts +28 -0
- package/List/index.d.ts +3 -0
- package/List/index.js +7 -0
- package/List/index.js.map +1 -0
- package/List/package.json +1 -0
- package/{types/components/Modal → Modal}/Modal.d.ts +1 -1
- package/Modal/Modal.js +160 -0
- package/Modal/Modal.js.map +1 -0
- package/{types/components/Modal → Modal}/Modal.types.d.ts +3 -2
- package/Modal/index.d.ts +3 -0
- package/Modal/index.js +7 -0
- package/Modal/index.js.map +1 -0
- package/Modal/package.json +1 -0
- package/Nav/Nav.js +28 -0
- package/Nav/Nav.js.map +1 -0
- package/{types/components/Nav → Nav}/Nav.types.d.ts +1 -1
- package/Nav/index.d.ts +4 -0
- package/Nav/index.js +7 -0
- package/Nav/index.js.map +1 -0
- package/Nav/package.json +1 -0
- package/{types/components/NavBar → NavBar}/Navbar.d.ts +1 -2
- package/NavBar/Navbar.js +36 -0
- package/NavBar/Navbar.js.map +1 -0
- package/{types/components/NavBar → NavBar}/Navbar.types.d.ts +2 -1
- package/NavBar/index.d.ts +4 -0
- package/NavBar/index.js +8 -0
- package/NavBar/index.js.map +1 -0
- package/NavBar/package.json +1 -0
- package/{types/components/NavDropdown → NavDropdown}/NavDropdown.d.ts +2 -2
- package/NavDropdown/NavDropdown.js +77 -0
- package/NavDropdown/NavDropdown.js.map +1 -0
- package/NavDropdown/index.d.ts +3 -0
- package/NavDropdown/index.js +7 -0
- package/NavDropdown/index.js.map +1 -0
- package/NavDropdown/package.json +1 -0
- package/Overlay/Overlay.d.ts +4 -0
- package/Overlay/Overlay.js +228 -0
- package/Overlay/Overlay.js.map +1 -0
- package/Overlay/Overlay.types.d.ts +18 -0
- package/{src/Overlay/index.ts → Overlay/index.d.ts} +3 -3
- package/Overlay/index.js +7 -0
- package/Overlay/index.js.map +1 -0
- package/Overlay/package.json +1 -0
- package/Popout/Popout.js +110 -0
- package/Popout/Popout.js.map +1 -0
- package/{types/components/Popout → Popout}/Popout.types.d.ts +1 -1
- package/Popout/index.d.ts +3 -0
- package/Popout/index.js +7 -0
- package/Popout/index.js.map +1 -0
- package/Popout/package.json +1 -0
- package/Spinner/Spinner.js +12 -0
- package/Spinner/Spinner.js.map +1 -0
- package/Spinner/index.d.ts +3 -0
- package/Spinner/index.js +7 -0
- package/Spinner/index.js.map +1 -0
- package/Spinner/package.json +1 -0
- package/Table/Table.js +11 -0
- package/Table/Table.js.map +1 -0
- package/{types/components/Table → Table}/Table.types.d.ts +1 -1
- package/Table/index.d.ts +3 -0
- package/Table/index.js +7 -0
- package/Table/index.js.map +1 -0
- package/Table/package.json +1 -0
- package/Tabs/Tabs.js +158 -0
- package/Tabs/Tabs.js.map +1 -0
- package/{types/components/Tabs → Tabs}/Tabs.types.d.ts +9 -1
- package/Tabs/index.d.ts +3 -0
- package/Tabs/index.js +7 -0
- package/Tabs/index.js.map +1 -0
- package/Tabs/package.json +1 -0
- package/ToggleButton/ToggleButton.d.ts +4 -0
- package/ToggleButton/ToggleButton.js +17 -0
- package/ToggleButton/ToggleButton.js.map +1 -0
- package/ToggleButton/ToggleButton.types.d.ts +7 -0
- package/ToggleButton/index.d.ts +3 -0
- package/ToggleButton/index.js +7 -0
- package/ToggleButton/index.js.map +1 -0
- package/ToggleButton/package.json +1 -0
- package/{src/hooks/index.ts → hooks/index.d.ts} +5 -6
- package/hooks/index.js +6 -0
- package/hooks/index.js.map +1 -0
- package/hooks/package.json +1 -0
- package/hooks/useClassname.d.ts +2 -0
- package/hooks/useClassname.js +7 -0
- package/hooks/useClassname.js.map +1 -0
- package/hooks/useDraggable.d.ts +23 -0
- package/hooks/useDraggable.js +147 -0
- package/hooks/useDraggable.js.map +1 -0
- package/hooks/useKeepElementFocused.d.ts +2 -0
- package/hooks/useKeepElementFocused.js +37 -0
- package/hooks/useKeepElementFocused.js.map +1 -0
- package/hooks/useScreenSize.d.ts +5 -0
- package/hooks/useScreenSize.js +21 -0
- package/hooks/useScreenSize.js.map +1 -0
- package/index.d.ts +18 -0
- package/index.js +19 -0
- package/index.js.map +1 -0
- package/package.json +1 -79
- package/{dev → styles}/stargazerui.css +3099 -395
- package/styles/stargazerui.css.map +1 -0
- package/{src/utils/BaseTypes.ts → utils/BaseTypes.d.ts} +23 -30
- package/utils/ContrastingColor.d.ts +1 -0
- package/utils/MergeClassnames.d.ts +2 -0
- package/utils/MergeClassnames.js +7 -0
- package/utils/MergeClassnames.js.map +1 -0
- package/utils/MergeRefs.d.ts +2 -0
- package/utils/MergeRefs.js +16 -0
- package/utils/MergeRefs.js.map +1 -0
- package/.babelrc.json +0 -10
- package/.eslintrc.cjs +0 -18
- package/.gitattributes +0 -2
- package/LICENSE +0 -21
- package/dev/index.html +0 -12
- package/dev/index.jsx +0 -49
- package/dev/index.scss +0 -59
- package/dev/pages/ButtonPage.jsx +0 -44
- package/dev/pages/CardPage.jsx +0 -81
- package/dev/pages/DropdownPage.jsx +0 -31
- package/dev/pages/FormPage.jsx +0 -130
- package/dev/pages/ListPage.jsx +0 -52
- package/dev/pages/ModalPage.jsx +0 -37
- package/dev/pages/OverlayPage.jsx +0 -35
- package/dev/pages/components.jsx +0 -19
- package/dev/stargazerui.css.map +0 -1
- package/dev/test.jsx +0 -88
- package/rollup.config.js +0 -140
- package/scripts/writePackageJsons.js +0 -42
- package/src/Bar/Bar.tsx +0 -0
- package/src/Bar/Bar.type.ts +0 -9
- package/src/Bar/index.ts +0 -0
- package/src/Button/Button.tsx +0 -17
- package/src/Button/Button.types.ts +0 -8
- package/src/Button/index.ts +0 -3
- package/src/ButtonGroup/ButtonGroup.tsx +0 -14
- package/src/ButtonGroup/ButtonGroup.types.ts +0 -8
- package/src/ButtonGroup/index.ts +0 -3
- package/src/Card/Card.tsx +0 -70
- package/src/Card/Card.types.ts +0 -33
- package/src/Card/index.ts +0 -3
- package/src/CloseButton/CloseButton.tsx +0 -14
- package/src/CloseButton/CloseButton.types.ts +0 -6
- package/src/CloseButton/index.ts +0 -3
- package/src/Dropdown/Dropdown.tsx +0 -358
- package/src/Dropdown/Dropdown.types.ts +0 -52
- package/src/Dropdown/index.ts +0 -4
- package/src/FileUploadButton/FileUploadButton.tsx +0 -27
- package/src/FileUploadButton/FileUploadButton.types.ts +0 -9
- package/src/FileUploadButton/index.ts +0 -3
- package/src/FloatingLabel/FloatingLabel.tsx +0 -22
- package/src/FloatingLabel/FloatingLabel.types.ts +0 -11
- package/src/FloatingLabel/index.ts +0 -3
- package/src/Form/Form.tsx +0 -445
- package/src/Form/Form.types.ts +0 -117
- package/src/Form/index.ts +0 -4
- package/src/InputGroup/InputGroup.tsx +0 -46
- package/src/InputGroup/InputGroup.types.ts +0 -21
- package/src/InputGroup/index.ts +0 -4
- package/src/List/List.tsx +0 -112
- package/src/List/List.types.ts +0 -34
- package/src/List/index.ts +0 -4
- package/src/Modal/Modal.tsx +0 -220
- package/src/Modal/Modal.types.ts +0 -49
- package/src/Modal/index.ts +0 -4
- package/src/Nav/Nav.tsx +0 -43
- package/src/Nav/Nav.types.ts +0 -21
- package/src/Nav/index.ts +0 -4
- package/src/NavBar/Navbar.tsx +0 -57
- package/src/NavBar/Navbar.types.ts +0 -24
- package/src/NavBar/index.ts +0 -4
- package/src/NavDropdown/NavDropdown.tsx +0 -93
- package/src/NavDropdown/NavDropdown.types.ts +0 -6
- package/src/NavDropdown/index.ts +0 -3
- package/src/Overlay/Overlay.tsx +0 -277
- package/src/Overlay/Overlay.types.ts +0 -20
- package/src/Popout/Popout.tsx +0 -155
- package/src/Popout/Popout.types.ts +0 -42
- package/src/Popout/index.ts +0 -3
- package/src/Spinner/Spinner.tsx +0 -15
- package/src/Spinner/Spinner.types.ts +0 -7
- package/src/Spinner/index.ts +0 -3
- package/src/Table/Table.tsx +0 -16
- package/src/Table/Table.types.ts +0 -9
- package/src/Table/index.ts +0 -3
- package/src/Tabs/Tabs.tsx +0 -215
- package/src/Tabs/Tabs.types.ts +0 -49
- package/src/Tabs/index.ts +0 -3
- package/src/ToggleButton/ToggleButton.tsx +0 -21
- package/src/ToggleButton/ToggleButton.types.ts +0 -8
- package/src/ToggleButton/index.ts +0 -3
- package/src/hooks/useClassname.ts +0 -5
- package/src/hooks/useDraggable.ts +0 -186
- package/src/hooks/useKeepElementFocused.ts +0 -37
- package/src/hooks/useScreenSize.ts +0 -24
- package/src/index.ts +0 -21
- package/src/styles/_Card.scss +0 -166
- package/src/styles/_CloseButton.scss +0 -51
- package/src/styles/_CustomButton.scss +0 -132
- package/src/styles/_Dropdown.scss +0 -120
- package/src/styles/_FloatingLabel.scss +0 -56
- package/src/styles/_Forms.scss +0 -7
- package/src/styles/_Grid.scss +0 -178
- package/src/styles/_InputGroup.scss +0 -71
- package/src/styles/_List.scss +0 -62
- package/src/styles/_Modal.scss +0 -234
- package/src/styles/_ModalOld.scss +0 -242
- package/src/styles/_Nav.scss +0 -36
- package/src/styles/_NavBar.scss +0 -116
- package/src/styles/_NavDropdown.scss +0 -34
- package/src/styles/_OffCanvas.scss +0 -260
- package/src/styles/_OverLay.scss +0 -56
- package/src/styles/_Popout.scss +0 -75
- package/src/styles/_Spinner.scss +0 -19
- package/src/styles/_Table.scss +0 -34
- package/src/styles/_Tabs.scss +0 -129
- package/src/styles/_colors.scss +0 -510
- package/src/styles/_components.scss +0 -40
- package/src/styles/_functions.scss +0 -134
- package/src/styles/_mixins.scss +0 -26
- package/src/styles/_reset.scss +0 -231
- package/src/styles/_utilities.scss +0 -2480
- package/src/styles/_variables.scss +0 -146
- package/src/styles/forms/_FormCheck.scss +0 -269
- package/src/styles/forms/_FormControl.scss +0 -102
- package/src/styles/forms/_FormGroup.scss +0 -21
- package/src/styles/forms/_FormLabel.scss +0 -3
- package/src/styles/forms/_FormSelect.scss +0 -164
- package/src/styles/forms/_FormSlider.scss +0 -116
- package/src/styles/forms/_FormText.scss +0 -6
- package/src/utils/ContrastingColor.ts +0 -25
- package/src/utils/FileImportExport.js +0 -50
- package/src/utils/MergeClassnames.ts +0 -5
- package/src/utils/MergeRefs.ts +0 -12
- package/src/vite-env.d.ts +0 -1
- package/tsconfig-build.json +0 -4
- package/tsconfig.json +0 -79
- package/tsconfig.node.json +0 -10
- package/types/BaseTypes.d.ts +0 -19
- package/types/components/Button/index.d.ts +0 -1
- package/types/components/Card/index.d.ts +0 -1
- package/types/components/CloseButton/index.d.ts +0 -1
- package/types/components/Dropdown/index.d.ts +0 -1
- package/types/components/FloatingLabel/index.d.ts +0 -1
- package/types/components/Form/Form.d.ts +0 -17
- package/types/components/Form/Form.types.d.ts +0 -50
- package/types/components/Form/index.d.ts +0 -1
- package/types/components/InputGroup/InputGroup.d.ts +0 -6
- package/types/components/InputGroup/InputGroup.types.d.ts +0 -10
- package/types/components/InputGroup/index.d.ts +0 -1
- package/types/components/Modal/index.d.ts +0 -1
- package/types/components/Nav/index.d.ts +0 -1
- package/types/components/NavBar/index.d.ts +0 -1
- package/types/components/NavDropdown/index.d.ts +0 -1
- package/types/components/Popout/index.d.ts +0 -1
- package/types/components/Spinner/index.d.ts +0 -1
- package/types/components/Table/index.d.ts +0 -1
- package/types/components/Tabs/index.d.ts +0 -1
- package/types/components/ToggleButton/ToggleButton.d.ts +0 -9
- package/types/components/ToggleButton/ToggleButton.types.d.ts +0 -0
- package/types/components/ToggleButton/index.d.ts +0 -1
- package/types/components/index.d.ts +0 -16
- package/types/index.d.ts +0 -1
- package/vite.config.js +0 -57
- package/vite.config.js.timestamp-1708777378490-e94428ceb2bf9.mjs +0 -42
- /package/{types/components/Button → Button}/Button.d.ts +0 -0
- /package/{types/components/Card → Card}/Card.d.ts +0 -0
- /package/{types/components/CloseButton → CloseButton}/CloseButton.d.ts +0 -0
- /package/{types/components/Dropdown → Dropdown}/Dropdown.d.ts +0 -0
- /package/{types/components/FloatingLabel → FloatingLabel}/FloatingLabel.d.ts +0 -0
- /package/{types/components/Nav → Nav}/Nav.d.ts +0 -0
- /package/{types/components/NavDropdown → NavDropdown}/NavDropdown.types.d.ts +0 -0
- /package/{types/components/Popout → Popout}/Popout.d.ts +0 -0
- /package/{types/components/Spinner → Spinner}/Spinner.d.ts +0 -0
- /package/{types/components/Spinner → Spinner}/Spinner.types.d.ts +0 -0
- /package/{types/components/Table → Table}/Table.d.ts +0 -0
- /package/{types/components/Tabs → Tabs}/Tabs.d.ts +0 -0
package/src/styles/_NavBar.scss
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
.sg-navbar {
|
|
2
|
-
// scss-docs-start sg-navbar-css-vars
|
|
3
|
-
--sg-navbar-bg: #{$sg-nav-color};
|
|
4
|
-
--sg-navbar-text-color: #{$sg-link-hover-color};
|
|
5
|
-
--sg-navbar-link-color: #{$sg-link-color};
|
|
6
|
-
--sg-navbar-hover-color: #{$sg-link-hover-color};
|
|
7
|
-
--sg-navbar-disabled-color: #{$sg-link-disable-color};
|
|
8
|
-
--sg-navbar-active-color: #{$sg-link-hover-color};
|
|
9
|
-
|
|
10
|
-
--sg-navbar-zindex: $zindex-navbar;
|
|
11
|
-
// scss-docs-end sg-navbar-css-vars
|
|
12
|
-
background-color: var(--sg-navbar-bg);
|
|
13
|
-
background: linear-gradient(71deg,
|
|
14
|
-
var(--sg-navbar-bg),
|
|
15
|
-
color-mix(in srgb, var(--sg-navbar-bg), var(--sg-navbar-hover-color) 5%),
|
|
16
|
-
var(--sg-navbar-bg),
|
|
17
|
-
color-mix(in srgb, var(--sg-navbar-bg), var(--sg-navbar-hover-color) 5%),
|
|
18
|
-
var(--sg-navbar-bg)
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
width: 100%;
|
|
22
|
-
min-height: fit-content;
|
|
23
|
-
z-index: $zindex-navbar;
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
border: 2px outset color-mix(in srgb, white 5%, var(--sg-navbar-bg));
|
|
26
|
-
border-bottom: 2px solid var(--sg-navbar-link-color);
|
|
27
|
-
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-wrap: wrap; // allow us to do the line break for collapsing content
|
|
30
|
-
align-items: center;
|
|
31
|
-
padding: 0.5rem 0rem;
|
|
32
|
-
|
|
33
|
-
position: sticky;
|
|
34
|
-
top: 0;
|
|
35
|
-
left: 0;
|
|
36
|
-
|
|
37
|
-
// Because flex properties aren't inherited
|
|
38
|
-
%container-flex-properties {
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-wrap: inherit;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: space-between;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
> .sg-container,
|
|
46
|
-
> .sg-container-fluid {
|
|
47
|
-
@extend %container-flex-properties;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@each $breakpoint, $container-max-width in $container-max-widths {
|
|
51
|
-
> .container-#{$breakpoint} {
|
|
52
|
-
@extend %container-flex-properties;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.sg-navbar-brand {
|
|
58
|
-
padding-top: 0.25rem;
|
|
59
|
-
padding-bottom: 0.25rem;
|
|
60
|
-
margin-inline: 1rem;
|
|
61
|
-
margin-block: auto;
|
|
62
|
-
color: var(--sg-navbar-link-color);
|
|
63
|
-
text-decoration: none;
|
|
64
|
-
white-space: nowrap;
|
|
65
|
-
|
|
66
|
-
&:hover,
|
|
67
|
-
&:focus {
|
|
68
|
-
color: var(--sg-navbar-hover-color);
|
|
69
|
-
text-decoration: none;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.sg-navbar-nav {
|
|
74
|
-
// scss-docs-start sg-navbar-nav-css-vars
|
|
75
|
-
--nav-link-padding-x: 0;
|
|
76
|
-
--nav-link-padding-y: 0.5rem;
|
|
77
|
-
--nav-link-color: $sg-link-color;
|
|
78
|
-
--nav-link-hover-color: $sg-link-hover-color;
|
|
79
|
-
--nav-link-disabled-color: $sg-link-disable-color;
|
|
80
|
-
// scss-docs-end sg-navbar-nav-css-vars
|
|
81
|
-
margin: 0;
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: row; // cannot use `inherit` to get the `.sg-navbar`s value
|
|
84
|
-
flex-wrap: wrap;
|
|
85
|
-
padding-left: 0;
|
|
86
|
-
margin-bottom: 0;
|
|
87
|
-
list-style: none;
|
|
88
|
-
|
|
89
|
-
.show > .nav-link,
|
|
90
|
-
.nav-link.active {
|
|
91
|
-
color: var(--sg-navbar-active-color);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.dropdown-menu {
|
|
95
|
-
position: static;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.sg-navbar-text {
|
|
100
|
-
padding-top: 0.5rem;
|
|
101
|
-
padding-bottom: 0.5rem;
|
|
102
|
-
color: var(--sg-navbar-active-color);
|
|
103
|
-
|
|
104
|
-
a,
|
|
105
|
-
a:hover,
|
|
106
|
-
a:focus {
|
|
107
|
-
color: var(--sg-navbar-active-color);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.nav-item {
|
|
112
|
-
a {
|
|
113
|
-
color: white;
|
|
114
|
-
text-decoration: none;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.sg-nav-dropdown-toggle {
|
|
2
|
-
background-color: transparent;//#4c5055;
|
|
3
|
-
display: block;
|
|
4
|
-
padding: 0.5em 1em;
|
|
5
|
-
color: var(--sg-navbar-link-color);
|
|
6
|
-
text-decoration: none;
|
|
7
|
-
border-radius: 0;
|
|
8
|
-
border: 1px solid transparent;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
//transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
|
|
11
|
-
|
|
12
|
-
&:hover,
|
|
13
|
-
&:focus {
|
|
14
|
-
background-color: transparent;//color.mix(black, #4c5055, 15%);
|
|
15
|
-
border: 1px solid transparent;
|
|
16
|
-
color: var(--sg-navbar-hover-color);
|
|
17
|
-
}
|
|
18
|
-
&:active {
|
|
19
|
-
background-color: transparent;//color.mix(black, #4c5055, 20%);
|
|
20
|
-
}
|
|
21
|
-
&:focus-visible, &:focus {
|
|
22
|
-
border: 1px solid transparent;
|
|
23
|
-
}
|
|
24
|
-
&[aria-expanded="true"] {
|
|
25
|
-
color:var(--sg-navbar-hover-color);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// Disabled state lightens text
|
|
29
|
-
&.disabled {
|
|
30
|
-
color: rgba(0, 0, 0, 0.24);
|
|
31
|
-
pointer-events: none;
|
|
32
|
-
cursor: default;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
@use "mixins";
|
|
3
|
-
|
|
4
|
-
$sg-offCanvas-margin: 0.5em;
|
|
5
|
-
$sg-offCanvas-background-color: #2e3236;
|
|
6
|
-
$sg-offCanvas-text-color: white;
|
|
7
|
-
$sg-offCanvas-radius: 0.5em;
|
|
8
|
-
$sg-offCanvas-transition: transform .3s ease-out;
|
|
9
|
-
|
|
10
|
-
.sg-offCanvas-open {
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.sg-offCanvas-backdrop {
|
|
15
|
-
position: fixed;
|
|
16
|
-
top: 0;
|
|
17
|
-
left: 0;
|
|
18
|
-
z-index: $zindex-modal-backdrop;
|
|
19
|
-
width: 100vw;
|
|
20
|
-
height: 100vh;
|
|
21
|
-
background-color: black;
|
|
22
|
-
|
|
23
|
-
// Fade for backdrop
|
|
24
|
-
&.fadeIn {
|
|
25
|
-
animation-name: fadeInBackdrop;
|
|
26
|
-
animation-duration: .3s;
|
|
27
|
-
animation-timing-function: ease-out;
|
|
28
|
-
animation-fill-mode: forwards;
|
|
29
|
-
}
|
|
30
|
-
&.fadeOut {
|
|
31
|
-
animation-name: fadeOutBackdrop;
|
|
32
|
-
animation-duration: .3s;
|
|
33
|
-
animation-timing-function: ease-out;
|
|
34
|
-
animation-fill-mode: forwards;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
@keyframes fadeInBackdrop {
|
|
38
|
-
0% {
|
|
39
|
-
opacity: 0;
|
|
40
|
-
}
|
|
41
|
-
100% {
|
|
42
|
-
opacity: 0.5;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
@keyframes fadeOutBackdrop {
|
|
46
|
-
0% {
|
|
47
|
-
opacity: 0.5;
|
|
48
|
-
}
|
|
49
|
-
100% {
|
|
50
|
-
opacity: 0;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.sg-offCanvas { //scroll ocntainer
|
|
55
|
-
position: fixed;
|
|
56
|
-
top: 0;
|
|
57
|
-
left: 0;
|
|
58
|
-
z-index: $zindex-modal;
|
|
59
|
-
display: block;
|
|
60
|
-
width: 100%;
|
|
61
|
-
height: 100%;
|
|
62
|
-
overflow-x: hidden;
|
|
63
|
-
overflow-y: auto;
|
|
64
|
-
// Prevent Chrome on Windows from adding a focus outline. For details, see
|
|
65
|
-
// https://github.com/twbs/bootstrap/pull/10951.
|
|
66
|
-
outline: 0;
|
|
67
|
-
// We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a
|
|
68
|
-
// gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
|
|
69
|
-
// See also https://github.com/twbs/bootstrap/issues/17695
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.sg-offCanvas-dialog { //shell to position offCanvas with bottom-padding
|
|
73
|
-
z-index: calc($zindex-modal + 1);
|
|
74
|
-
position: relative;
|
|
75
|
-
width: auto;
|
|
76
|
-
max-height: 100vh;
|
|
77
|
-
// allow clicks to pass through for custom click handling to close offCanvas
|
|
78
|
-
pointer-events: none;
|
|
79
|
-
|
|
80
|
-
// slide down animation
|
|
81
|
-
.sg-offCanvas.fadeIn & {
|
|
82
|
-
animation-name: fadeIn;
|
|
83
|
-
animation-duration: .6s;
|
|
84
|
-
animation-timing-function: ease-out;
|
|
85
|
-
animation-fill-mode: forwards;
|
|
86
|
-
//transition: $sg-offCanvas-transition;
|
|
87
|
-
//transform: translate(0, -50px);
|
|
88
|
-
}
|
|
89
|
-
.sg-offCanvas.fadeOut & {
|
|
90
|
-
animation-name: fadeOut;
|
|
91
|
-
animation-duration: .3s;
|
|
92
|
-
animation-timing-function: ease-out;
|
|
93
|
-
animation-fill-mode: forwards;
|
|
94
|
-
//transition: $sg-offCanvas-transition;
|
|
95
|
-
//transform: translate(0, -50px);
|
|
96
|
-
}
|
|
97
|
-
@keyframes fadeIn {
|
|
98
|
-
0% {
|
|
99
|
-
opacity: 0;
|
|
100
|
-
}
|
|
101
|
-
100% {
|
|
102
|
-
opacity: 1;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@keyframes fadeOut {
|
|
107
|
-
0% {
|
|
108
|
-
opacity: 1;
|
|
109
|
-
}
|
|
110
|
-
100% {
|
|
111
|
-
opacity: 0;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// make offCanvas flash onBlur if static backdrop
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.sg-offCanvas-content {
|
|
119
|
-
--sg-offcanvas-size: 478px;
|
|
120
|
-
position: fixed;
|
|
121
|
-
bottom: 0;
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-direction: column;
|
|
124
|
-
max-width: 100%; // Ensure `.offCanvas-content` extends the full width of the parent `.offCanvas-dialog`
|
|
125
|
-
max-height: 100%;
|
|
126
|
-
// counteract the pointer-events: none; in the .offCanvas-dialog
|
|
127
|
-
color: $sg-offCanvas-text-color;
|
|
128
|
-
pointer-events: auto;
|
|
129
|
-
background-color: $sg-offCanvas-background-color;
|
|
130
|
-
background-clip: padding-box;
|
|
131
|
-
// Remove focus outline from opened offCanvas
|
|
132
|
-
outline: 0;
|
|
133
|
-
//visibility: hidden;
|
|
134
|
-
transition: transform 0.3s ease-in-out;
|
|
135
|
-
|
|
136
|
-
&.sg-offcanvas-start {
|
|
137
|
-
top: 0;
|
|
138
|
-
left: 0;
|
|
139
|
-
width: var(--sg-offcanvas-size);
|
|
140
|
-
border-right: 1px solid $sg-offCanvas-background-color;
|
|
141
|
-
transform: translateX(-100%);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
&.sg-offcanvas-end {
|
|
145
|
-
top: 0;
|
|
146
|
-
right: 0;
|
|
147
|
-
width: var(--sg-offcanvas-size);
|
|
148
|
-
border-left: 1px solid $sg-offCanvas-background-color;
|
|
149
|
-
transform: translateX(100%);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&.sg-offcanvas-top {
|
|
153
|
-
top: 0;
|
|
154
|
-
right: 0;
|
|
155
|
-
left: 0;
|
|
156
|
-
height: var(--sg-offcanvas-size);
|
|
157
|
-
max-height: 100%;
|
|
158
|
-
border-bottom: 1px solid $sg-offCanvas-background-color;
|
|
159
|
-
transform: translateY(-100%);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&.sg-offcanvas-bottom {
|
|
163
|
-
right: 0;
|
|
164
|
-
left: 0;
|
|
165
|
-
height: var(--sg-offcanvas-size);
|
|
166
|
-
max-height: 100%;
|
|
167
|
-
border-top: 1px solid $sg-offCanvas-background-color;
|
|
168
|
-
transform: translateY(100%);
|
|
169
|
-
}
|
|
170
|
-
&.sg-slide-in {
|
|
171
|
-
transform: none;
|
|
172
|
-
}
|
|
173
|
-
&.sg-offCanvas-static {
|
|
174
|
-
transition: $sg-offCanvas-transition;
|
|
175
|
-
transform: scaleX(1.02);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
.sg-offCanvas-header {
|
|
180
|
-
display: flex;
|
|
181
|
-
flex-shrink: 0;
|
|
182
|
-
align-items: center;
|
|
183
|
-
justify-content: space-between; // Put offCanvas header elements (title and dismiss) on opposite ends
|
|
184
|
-
padding: 1em;
|
|
185
|
-
//border-bottom: 1px solid $sg-offCanvas-text-color;
|
|
186
|
-
.sg-button-close {
|
|
187
|
-
padding: 0.5em 0.5em;
|
|
188
|
-
margin: calc(-.5 * $sg-offCanvas-margin) calc(-.5 * $sg-offCanvas-margin) calc(-.5 * $sg-offCanvas-margin) auto;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
.sg-offCanvas-title {
|
|
192
|
-
margin-bottom: 0;
|
|
193
|
-
}
|
|
194
|
-
.sg-offCanvas-body {
|
|
195
|
-
position: relative;
|
|
196
|
-
flex: 1 1 auto;
|
|
197
|
-
padding: 1em;
|
|
198
|
-
background-color: color.mix(white,$sg-offCanvas-background-color, 10%);
|
|
199
|
-
overflow: auto;
|
|
200
|
-
}
|
|
201
|
-
/*
|
|
202
|
-
&.sg-offCanvas-footer {
|
|
203
|
-
display: flex;
|
|
204
|
-
flex-shrink: 0;
|
|
205
|
-
flex-wrap: wrap;
|
|
206
|
-
align-items: center;
|
|
207
|
-
justify-content: flex-end;
|
|
208
|
-
padding: 0.75em;
|
|
209
|
-
background-color: $sg-offCanvas-background-color;
|
|
210
|
-
border-top: 1px solid $sg-offCanvas-text-color;
|
|
211
|
-
@include border-bottom-radius($sg-offCanvas-radius);
|
|
212
|
-
|
|
213
|
-
gap: 0.5em;
|
|
214
|
-
}
|
|
215
|
-
*/
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
/*
|
|
219
|
-
$offCanvas-lg: 800px !default;
|
|
220
|
-
$offCanvas-xl: 1140px !default;
|
|
221
|
-
|
|
222
|
-
$container-max-widths: ( sm: 540px, md: 720px, lg: 960px, xl: 1140px, xxl: 1320px ) !default;
|
|
223
|
-
$grid-breakpoints: (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px ) !default;
|
|
224
|
-
|
|
225
|
-
@each $breakpoint, $value in $grid-breakpoints {
|
|
226
|
-
@if $breakpoint == "xs" {
|
|
227
|
-
@media (max-width: 575px) {
|
|
228
|
-
.sg-offCanvas-dialog {
|
|
229
|
-
margin: 0.5em;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
@if $breakpoint == "sm" {
|
|
234
|
-
@media (min-width: 576px) {
|
|
235
|
-
.sg-offCanvas-dialog {
|
|
236
|
-
max-width: 500px;
|
|
237
|
-
margin-right: auto;
|
|
238
|
-
margin-left: auto;
|
|
239
|
-
}
|
|
240
|
-
.sg-offCanvas-sm {
|
|
241
|
-
max-width: 300px
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
@else if $breakpoint == "lg" {
|
|
246
|
-
@media (min-width: 992px) {
|
|
247
|
-
.offCanvas-lg, .offCanvas-xl {
|
|
248
|
-
max-width: 800px;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
@else if $breakpoint == "xl" {
|
|
253
|
-
@media (min-width: 1200px) {
|
|
254
|
-
.offCanvas-xl {
|
|
255
|
-
max-width: 1140px;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
*/
|
package/src/styles/_OverLay.scss
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
.sg-overlay-wrapper {
|
|
2
|
-
max-width: 100%;
|
|
3
|
-
max-height: 100%;
|
|
4
|
-
z-index: $zindex-popover;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.sg-overlay-arrow {
|
|
8
|
-
--width: 15px;
|
|
9
|
-
--height: 20px;
|
|
10
|
-
//points="1,6 1,16, 13,15.5, 13,20, 29,10, 13,1 13,6"
|
|
11
|
-
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="#{$sg-arrow-fill}" stroke-width="1.5" stroke="#{$sg-arrow-border}" /> </svg>');
|
|
12
|
-
background-repeat: no-repeat no-repeat;
|
|
13
|
-
background-position: center center;
|
|
14
|
-
background-size: cover;
|
|
15
|
-
height: var(--height);
|
|
16
|
-
width: var(--width);
|
|
17
|
-
z-index: $zindex-popover;
|
|
18
|
-
&.overlay-position-right {
|
|
19
|
-
transform: rotate(180deg);
|
|
20
|
-
}
|
|
21
|
-
&.overlay-position-left {
|
|
22
|
-
transform: rotate(0deg);
|
|
23
|
-
}
|
|
24
|
-
&.overlay-position-top {
|
|
25
|
-
transform: rotate(90deg);
|
|
26
|
-
}
|
|
27
|
-
&.overlay-position-bottom {
|
|
28
|
-
transform: rotate(270deg);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
.sg-tooltip-arrow {
|
|
32
|
-
--width: 10px;
|
|
33
|
-
--heigth: 15px;
|
|
34
|
-
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="#{$sg-arrow-fill}" stroke-width="1.5" stroke="#{$sg-arrow-border}" /> </svg>');
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.sg-tooltip-wrapper {
|
|
38
|
-
--input-text-color: #{$input-text-color};
|
|
39
|
-
--input-background-color: #{$input-background-color};
|
|
40
|
-
--input-border-color: #{$input-border-color};
|
|
41
|
-
font-size: 0.8rem;
|
|
42
|
-
> * {
|
|
43
|
-
font-size: 0.8rem;
|
|
44
|
-
}
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-wrap: wrap;
|
|
47
|
-
max-width: 12rem;
|
|
48
|
-
padding: $input-padding-x $input-padding-y;
|
|
49
|
-
color: var(--input-text-color);
|
|
50
|
-
background-color: var(--input-background-color);
|
|
51
|
-
border: $input-border-width $input-border-style var(--input-border-color);
|
|
52
|
-
//appearance: none;
|
|
53
|
-
border-radius: $input-border-radius;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
//<svg width="40" height="24" xmlns="http://www.w3.org/2000/svg"> <defs> <marker id="arrowhead" markerWidth="2" markerHeight="4" refX="0" refY="2" orient="auto"><polygon points="0 1, 1.8 2, 0 3" /></marker></defs> <line x1="0" y1="12" x2="25" y2="12" style="fill:rgb(0,0,255);stroke-width:8;stroke:rgb(0,0,0)" marker-end="url(#arrowhead)"/> </svg>
|
package/src/styles/_Popout.scss
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
.sg-moveable-popout {
|
|
2
|
-
--popout-index: #{$zindex-popover};
|
|
3
|
-
position: absolute;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
border-radius: 0.375em;
|
|
7
|
-
|
|
8
|
-
padding: 0;
|
|
9
|
-
margin: 0;
|
|
10
|
-
|
|
11
|
-
border: 1px solid white;
|
|
12
|
-
width: 15rem;
|
|
13
|
-
min-width: min(18rem, 100%);
|
|
14
|
-
min-height: min(9rem, 100%);
|
|
15
|
-
|
|
16
|
-
box-shadow: 0 0 0.5rem #ffffff60;
|
|
17
|
-
color: white;
|
|
18
|
-
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
|
|
21
|
-
z-index: var(--popout-index);
|
|
22
|
-
& .sg-popout-header {
|
|
23
|
-
user-select: inherit;
|
|
24
|
-
margin-bottom: 0;
|
|
25
|
-
padding: 0.25em 0.5em;
|
|
26
|
-
|
|
27
|
-
background-color: $card-header-bg-color;
|
|
28
|
-
border-bottom: 1px solid $card-border-color;
|
|
29
|
-
> *{
|
|
30
|
-
margin:0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&:first-child {
|
|
34
|
-
border-radius: 0.375em 0.375em 0 0;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
&[data-move="true"] {
|
|
38
|
-
touch-action: none;
|
|
39
|
-
& .sg-popout-header {
|
|
40
|
-
cursor: move;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
& .sg-popout-body {
|
|
44
|
-
flex: 1 1 auto;
|
|
45
|
-
padding: 0.5em;
|
|
46
|
-
user-select: inherit;
|
|
47
|
-
background-color: color-mix(in srgb, white 4%, $card-header-bg-color);
|
|
48
|
-
}
|
|
49
|
-
& .sg-popout-footer {
|
|
50
|
-
user-select: inherit;
|
|
51
|
-
padding: 0.25em 0.5em;
|
|
52
|
-
|
|
53
|
-
background-color: $card-header-bg-color;
|
|
54
|
-
border-top: 1px solid $card-border-color;
|
|
55
|
-
&:last-child {
|
|
56
|
-
border-radius: 0 0 0.375em 0.375em;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
& .sg-popout-text:last-child {
|
|
60
|
-
margin-bottom: 0;
|
|
61
|
-
}
|
|
62
|
-
&[data-resize="true"] {
|
|
63
|
-
resize: both;
|
|
64
|
-
&::before {
|
|
65
|
-
content: "";
|
|
66
|
-
position: absolute;
|
|
67
|
-
bottom: 0;
|
|
68
|
-
right: 0;
|
|
69
|
-
z-index: calc( var(--popout-index) + 1 );
|
|
70
|
-
width: 1em;
|
|
71
|
-
height: 1em;
|
|
72
|
-
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>');
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
package/src/styles/_Spinner.scss
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
.sg-spinner {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
border-radius: 50%;
|
|
4
|
-
width: 1em;
|
|
5
|
-
height: 1em;
|
|
6
|
-
border: 0.2em solid white;
|
|
7
|
-
border-right-color: transparent;
|
|
8
|
-
margin: auto;
|
|
9
|
-
animation-name: spinny;
|
|
10
|
-
animation-duration: 0.5s;
|
|
11
|
-
animation-timing-function: linear;
|
|
12
|
-
animation-iteration-count: infinite;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@keyframes spinny {
|
|
16
|
-
100% {
|
|
17
|
-
transform: rotate(360deg);
|
|
18
|
-
}
|
|
19
|
-
}
|
package/src/styles/_Table.scss
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.sg-table {
|
|
2
|
-
--sg-table-padding: $sg-table-padding;
|
|
3
|
-
width: 100%;
|
|
4
|
-
margin-bottom: 1rem;
|
|
5
|
-
color: black;
|
|
6
|
-
vertical-align: top;
|
|
7
|
-
border-color: black;
|
|
8
|
-
|
|
9
|
-
> :not(caption) > * > * {
|
|
10
|
-
padding: $sg-table-padding $sg-table-padding;
|
|
11
|
-
background-color: transparent;
|
|
12
|
-
border-bottom-width: 1px;
|
|
13
|
-
box-shadow: inset 0 0 0 9999px transparent;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
> tbody {
|
|
17
|
-
vertical-align: inherit;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
> thead {
|
|
21
|
-
vertical-align: bottom;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.sg-caption-top {
|
|
26
|
-
caption-side: top;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.sg-table-sm {
|
|
30
|
-
// stylelint-disable-next-line selector-max-universal
|
|
31
|
-
> :not(caption) > * > * {
|
|
32
|
-
padding: $sg-table-padding-sm $sg-table-padding-sm;
|
|
33
|
-
}
|
|
34
|
-
}
|