@ulu/frontend 0.1.0-beta.1 → 0.1.0-beta.10
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/CHANGELOG.md +40 -2
- package/docs-dev/assets/chunks/modulepreload-polyfill.DaKOjhqt.js +37 -0
- package/docs-dev/assets/favicons/android-chrome-192x192.png +0 -0
- package/docs-dev/assets/favicons/android-chrome-256x256.png +0 -0
- package/docs-dev/assets/favicons/apple-touch-icon.png +0 -0
- package/docs-dev/assets/favicons/browserconfig.xml +9 -0
- package/docs-dev/assets/favicons/favicon-16x16.png +0 -0
- package/docs-dev/assets/favicons/favicon-32x32.png +0 -0
- package/docs-dev/assets/favicons/favicon.ico +0 -0
- package/docs-dev/assets/favicons/mstile-150x150.png +0 -0
- package/docs-dev/assets/favicons/safari-pinned-tab.svg +1 -0
- package/docs-dev/assets/favicons/site.webmanifest +19 -0
- package/docs-dev/assets/fonts/fontawesome/fa-brands-400.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-brands-400.woff2 +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-regular-400.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-regular-400.woff2 +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-solid-900.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-solid-900.woff2 +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-v4compatibility.ttf +0 -0
- package/docs-dev/assets/fonts/fontawesome/fa-v4compatibility.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Black.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-BlackItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Bold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-BoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraLight.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ExtraLightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Italic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Light.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-LightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Medium.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-MediumItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Regular.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-SemiBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-SemiBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-Thin.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/Inter-ThinItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Black.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-BlackItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Bold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-BoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraLight.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ExtraLightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Italic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Light.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-LightItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Medium.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-MediumItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Regular.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-SemiBold.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-SemiBoldItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-Thin.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterDisplay-ThinItalic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterVariable-Italic.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/InterVariable.woff2 +0 -0
- package/docs-dev/assets/fonts/inter/LICENSE.txt +92 -0
- package/docs-dev/assets/fonts/inter/inter.css +37 -0
- package/docs-dev/assets/main.js +15657 -0
- package/docs-dev/assets/placeholder/4065947-uhd_4096_2160_25fps.credits.txt +2 -0
- package/docs-dev/assets/placeholder/4065947-uhd_4096_2160_25fps.mp4 +0 -0
- package/docs-dev/assets/placeholder/image-1-attribution.txt +7 -0
- package/docs-dev/assets/placeholder/image-1-darkened.jpg +0 -0
- package/docs-dev/assets/placeholder/image-1-lightened.jpg +0 -0
- package/docs-dev/assets/placeholder/image-1.jpg +0 -0
- package/docs-dev/assets/style.css +18702 -0
- package/docs-dev/demos/accordion/index.html +4899 -0
- package/docs-dev/demos/button/index.html +4711 -0
- package/docs-dev/demos/callout/index.html +4751 -0
- package/docs-dev/demos/captioned-figure/index.html +4773 -0
- package/docs-dev/demos/card/index.html +5130 -0
- package/docs-dev/demos/css-icons/index.html +5362 -0
- package/docs-dev/demos/data-grid/index.html +5616 -0
- package/docs-dev/demos/data-table/index.html +4787 -0
- package/docs-dev/demos/file-save/index.html +4762 -0
- package/docs-dev/demos/flipcard/index.html +5311 -0
- package/docs-dev/demos/form-theme/index.html +4942 -0
- package/docs-dev/demos/hero/index.html +301 -0
- package/docs-dev/demos/image-grid/index.html +157 -0
- package/docs-dev/demos/index.html +4700 -0
- package/docs-dev/demos/list-inline/index.html +4727 -0
- package/docs-dev/demos/list-inline.1/index.html +4727 -0
- package/docs-dev/demos/list-lines/index.html +4717 -0
- package/docs-dev/demos/menu-stack/index.html +4841 -0
- package/docs-dev/demos/modals/index.html +4808 -0
- package/docs-dev/demos/nav-strip/index.html +4812 -0
- package/docs-dev/demos/overlay-section/index.html +4718 -0
- package/docs-dev/demos/popovers/index.html +4718 -0
- package/docs-dev/demos/print/index.html +4720 -0
- package/docs-dev/demos/pull-quote/index.html +4719 -0
- package/docs-dev/demos/rule/index.html +4769 -0
- package/docs-dev/demos/scroll-slider/index.html +204 -0
- package/docs-dev/demos/scrollpoints/index.html +4738 -0
- package/docs-dev/demos/slider/index.html +164 -0
- package/docs-dev/demos/spoke-spinner/index.html +4715 -0
- package/docs-dev/demos/tabs/index.html +4804 -0
- package/docs-dev/demos/tag/index.html +4720 -0
- package/docs-dev/demos/tile-grid-overlay/index.html +382 -0
- package/docs-dev/demos/tiles/index.html +4969 -0
- package/docs-dev/demos/tooltip/index.html +4748 -0
- package/docs-dev/guide/building-stylesheet/index.html +4769 -0
- package/docs-dev/guide/developing-ulu-scss-module/index.html +4821 -0
- package/docs-dev/guide/index.html +4702 -0
- package/docs-dev/index.html +4749 -0
- package/docs-dev/javascript/events/index.html +4860 -0
- package/docs-dev/javascript/index.html +4715 -0
- package/docs-dev/javascript/ui-breakpoints/index.html +5160 -0
- package/docs-dev/javascript/ui-collapsible/index.html +4827 -0
- package/docs-dev/javascript/ui-dialog/index.html +4861 -0
- package/docs-dev/javascript/ui-flipcard/index.html +4711 -0
- package/docs-dev/javascript/ui-grid/index.html +4768 -0
- package/docs-dev/javascript/ui-modal-builder/index.html +4850 -0
- package/docs-dev/javascript/ui-overflow-scroller/index.html +4700 -0
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +4718 -0
- package/docs-dev/javascript/ui-page/index.html +4715 -0
- package/docs-dev/javascript/ui-popover/index.html +4754 -0
- package/docs-dev/javascript/ui-print/index.html +4767 -0
- package/docs-dev/javascript/ui-print-details/index.html +4730 -0
- package/docs-dev/javascript/ui-programmatic-modal/index.html +4700 -0
- package/docs-dev/javascript/ui-proxy-click/index.html +4744 -0
- package/docs-dev/javascript/ui-resizer/index.html +4770 -0
- package/docs-dev/javascript/ui-scroll-slider/index.html +4729 -0
- package/docs-dev/javascript/ui-scrollpoint/index.html +4947 -0
- package/docs-dev/javascript/ui-slider/index.html +4711 -0
- package/docs-dev/javascript/ui-tabs/index.html +4832 -0
- package/docs-dev/javascript/ui-tooltip/index.html +4847 -0
- package/docs-dev/javascript/utils-class-logger/index.html +4835 -0
- package/docs-dev/javascript/utils-dom/index.html +4880 -0
- package/docs-dev/javascript/utils-file-save/index.html +4872 -0
- package/docs-dev/javascript/utils-floating-ui/index.html +4732 -0
- package/docs-dev/javascript/utils-id/index.html +4742 -0
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +4750 -0
- package/docs-dev/sass/base/color/index.html +4733 -0
- package/docs-dev/sass/base/elements/index.html +4904 -0
- package/docs-dev/sass/base/index/index.html +4903 -0
- package/docs-dev/sass/base/index.html +4709 -0
- package/docs-dev/sass/base/keyframes/index.html +4735 -0
- package/docs-dev/sass/base/layout/index.html +4895 -0
- package/docs-dev/sass/base/normalize/index.html +4743 -0
- package/docs-dev/sass/base/print/index.html +4739 -0
- package/docs-dev/sass/base/root/index.html +4759 -0
- package/docs-dev/sass/base/typography/index.html +4759 -0
- package/docs-dev/sass/components/accordion/index.html +5061 -0
- package/docs-dev/sass/components/adaptive-spacing/index.html +5004 -0
- package/docs-dev/sass/components/badge/index.html +4952 -0
- package/docs-dev/sass/components/button/index.html +4888 -0
- package/docs-dev/sass/components/button-verbose/index.html +5000 -0
- package/docs-dev/sass/components/callout/index.html +5031 -0
- package/docs-dev/sass/components/captioned-figure/index.html +4878 -0
- package/docs-dev/sass/components/card/index.html +5236 -0
- package/docs-dev/sass/components/card-grid/index.html +4902 -0
- package/docs-dev/sass/components/css-icon/index.html +5006 -0
- package/docs-dev/sass/components/data-grid/index.html +5134 -0
- package/docs-dev/sass/components/data-table/index.html +4887 -0
- package/docs-dev/sass/components/fill-context/index.html +4768 -0
- package/docs-dev/sass/components/flipcard/index.html +5038 -0
- package/docs-dev/sass/components/flipcard-grid/index.html +4889 -0
- package/docs-dev/sass/components/form-theme/index.html +5518 -0
- package/docs-dev/sass/components/hero/index.html +4890 -0
- package/docs-dev/sass/components/horizontal-rule/index.html +4887 -0
- package/docs-dev/sass/components/image-grid/index.html +4894 -0
- package/docs-dev/sass/components/index/index.html +4939 -0
- package/docs-dev/sass/components/index.html +4709 -0
- package/docs-dev/sass/components/links/index.html +4738 -0
- package/docs-dev/sass/components/list-inline/index.html +4908 -0
- package/docs-dev/sass/components/list-lines/index.html +4929 -0
- package/docs-dev/sass/components/list-ordered/index.html +4734 -0
- package/docs-dev/sass/components/list-unordered/index.html +4738 -0
- package/docs-dev/sass/components/menu-stack/index.html +5067 -0
- package/docs-dev/sass/components/modal/index.html +5122 -0
- package/docs-dev/sass/components/nav-strip/index.html +4988 -0
- package/docs-dev/sass/components/overlay-section/index.html +4932 -0
- package/docs-dev/sass/components/pager/index.html +5050 -0
- package/docs-dev/sass/components/placeholder-block/index.html +4972 -0
- package/docs-dev/sass/components/popover/index.html +5047 -0
- package/docs-dev/sass/components/pull-quote/index.html +4946 -0
- package/docs-dev/sass/components/ratio-box/index.html +4892 -0
- package/docs-dev/sass/components/rule/index.html +4894 -0
- package/docs-dev/sass/components/scroll-slider/index.html +5005 -0
- package/docs-dev/sass/components/skip-link/index.html +4878 -0
- package/docs-dev/sass/components/slider/index.html +5014 -0
- package/docs-dev/sass/components/spoke-spinner/index.html +4952 -0
- package/docs-dev/sass/components/tabs/index.html +5028 -0
- package/docs-dev/sass/components/tag/index.html +5053 -0
- package/docs-dev/sass/components/tile-button/index.html +4933 -0
- package/docs-dev/sass/components/tile-grid/index.html +5068 -0
- package/docs-dev/sass/components/tile-grid-overlay/index.html +4869 -0
- package/docs-dev/sass/components/vignette/index.html +4882 -0
- package/docs-dev/sass/components/wysiwyg/index.html +4898 -0
- package/docs-dev/sass/core/breakpoint/index.html +5491 -0
- package/docs-dev/sass/core/button/index.html +5625 -0
- package/docs-dev/sass/core/color/index.html +5476 -0
- package/docs-dev/sass/core/cssvar/index.html +5500 -0
- package/docs-dev/sass/core/element/index.html +5623 -0
- package/docs-dev/sass/core/index.html +4698 -0
- package/docs-dev/sass/core/layout/index.html +5458 -0
- package/docs-dev/sass/core/path/index.html +4867 -0
- package/docs-dev/sass/core/selector/index.html +4946 -0
- package/docs-dev/sass/core/typography/index.html +5872 -0
- package/docs-dev/sass/core/units/index.html +4905 -0
- package/docs-dev/sass/core/utils/index.html +6346 -0
- package/docs-dev/sass/helpers/color/index.html +4733 -0
- package/docs-dev/sass/helpers/display/index.html +4738 -0
- package/docs-dev/sass/helpers/index/index.html +4900 -0
- package/docs-dev/sass/helpers/index.html +4709 -0
- package/docs-dev/sass/helpers/print/index.html +4738 -0
- package/docs-dev/sass/helpers/typography/index.html +4761 -0
- package/docs-dev/sass/helpers/units/index.html +4907 -0
- package/docs-dev/sass/helpers/utilities/index.html +4738 -0
- package/docs-dev/sass/index.html +4760 -0
- package/js/ui/modal-builder.js +1 -1
- package/js/ui/tabs.js +24 -4
- package/package.json +5 -6
- package/scss/_color.scss +2 -1
- package/scss/base/_typography.scss +7 -7
- package/scss/components/_accordion.scss +15 -15
- package/scss/components/_adaptive-spacing.scss +3 -3
- package/scss/components/_badge.scss +5 -4
- package/scss/components/_button-verbose.scss +22 -22
- package/scss/components/_button.scss +2 -0
- package/scss/components/_callout.scss +8 -7
- package/scss/components/_captioned-figure.scss +8 -8
- package/scss/components/_card-grid.scss +2 -2
- package/scss/components/_card.scss +46 -32
- package/scss/components/_css-icon.scss +18 -13
- package/scss/components/_data-grid.scss +2 -2
- package/scss/components/_data-table.scss +9 -5
- package/scss/components/_flipcard-grid.scss +2 -2
- package/scss/components/_flipcard.scss +15 -14
- package/scss/components/_form-theme.scss +30 -30
- package/scss/components/_hero.scss +2 -2
- package/scss/components/_image-grid.scss +2 -2
- package/scss/components/_index.scss +6 -0
- package/scss/components/_list-inline.scss +80 -0
- package/scss/components/_list-lines.scss +46 -35
- package/scss/components/_list-ordered.scss +0 -1
- package/scss/components/_menu-stack.scss +3 -4
- package/scss/components/_modal.scss +24 -33
- package/scss/components/_nav-strip.scss +26 -19
- package/scss/components/_overlay-section.scss +4 -4
- package/scss/components/_pager.scss +11 -11
- package/scss/components/_placeholder-block.scss +6 -6
- package/scss/components/_popover.scss +11 -11
- package/scss/components/_pull-quote.scss +2 -2
- package/scss/components/_ratio-box.scss +2 -2
- package/scss/components/_rule.scss +5 -6
- package/scss/components/_scroll-slider.scss +3 -3
- package/scss/components/_skip-link.scss +2 -1
- package/scss/components/_slider.scss +15 -51
- package/scss/components/_tabs.scss +119 -53
- package/scss/components/_tag.scss +3 -3
|
@@ -28,8 +28,6 @@ $-fallbacks: (
|
|
|
28
28
|
)
|
|
29
29
|
);
|
|
30
30
|
|
|
31
|
-
// todo [joe-check] for config options should items like 'dark-background-color' be 'background-color-dark' instead? Line 94
|
|
32
|
-
|
|
33
31
|
/// Module Settings
|
|
34
32
|
/// @type Map
|
|
35
33
|
/// @prop {CssValue} backdrop-blur [4px] Determines the blur of the backdrop.
|
|
@@ -51,22 +49,18 @@ $-fallbacks: (
|
|
|
51
49
|
/// @prop {Dimension} close-font-size [1.2rem] Font-siz of of the modal close icon font size.
|
|
52
50
|
/// @prop {Dimension} close-margin [0.5rem] The margin for the modal close icon.
|
|
53
51
|
/// @prop {Dimension} close-size [2.5rem] Size of the modal close icon.
|
|
54
|
-
/// @prop {} dark-background-color [false] @joe-check unused
|
|
55
|
-
/// @prop {} dark-color [white] @joe-check unused
|
|
56
|
-
/// @prop {} dark-header-background-color [false] @joe-check unused
|
|
57
|
-
/// @prop {} dark-header-border-bottom [false] @joe-check unused
|
|
58
|
-
/// @prop {} dark-header-color [false] @joe-check unused
|
|
59
52
|
/// @prop {Color} header-background-color [black] Background color for the header.
|
|
60
53
|
/// @prop {CssValue} header-border-bottom [none] Bottom-border on the modal header.
|
|
61
54
|
/// @prop {Color} header-color [white] Type color of the header.
|
|
62
55
|
/// @prop {Dimension} header-padding [1rem] The padding of the modal header.
|
|
63
56
|
/// @prop {Color} resizer-background-color [rgb(221, 221, 221)] The background color of the resizer.
|
|
64
|
-
/// @prop {Color} resizer-background-color-hover [rgb(
|
|
65
|
-
/// @prop {Color} resizer-color [
|
|
57
|
+
/// @prop {Color} resizer-background-color-hover [rgb(192, 192, 192)] The background color of the resizer when hovered or focused.
|
|
58
|
+
/// @prop {Color} resizer-color [rgb(99, 99, 99)] The type color of the resizer.
|
|
66
59
|
/// @prop {Color} resizer-color-hover [black] The type color of the resizer when hovered or focused.
|
|
67
60
|
/// @prop {Dimension} resizer-width [1rem] The width of the resizer.
|
|
68
61
|
/// @prop {Color} title-color [white] Type color of the title.
|
|
69
62
|
/// @prop {CssValue} title-font-weight [bold] Font weight of the title.
|
|
63
|
+
/// @prop {CssValue} title-font-family [null] Font family for title
|
|
70
64
|
/// @prop {Dimension} title-icon-margin [0.5em] The margin of the title icon
|
|
71
65
|
/// @prop {String} title-size [large] The font-size of the title. This uses typography.scss, so the value of this options should be a variable from typography.scss.
|
|
72
66
|
/// @prop {CssValue} title-text-transform [null] Transform option for the title.
|
|
@@ -82,7 +76,7 @@ $config: (
|
|
|
82
76
|
"height": 340px,
|
|
83
77
|
"height-no-header": 100px,
|
|
84
78
|
"width": 60rem,
|
|
85
|
-
|
|
79
|
+
"width-left-right" : 30rem,
|
|
86
80
|
"animation-duration" : 300ms,
|
|
87
81
|
"animation-duration-exit" : 150ms,
|
|
88
82
|
"animation-timing-function" : cubic-bezier(0, 0, .2, 1),
|
|
@@ -93,22 +87,18 @@ $config: (
|
|
|
93
87
|
"close-font-size": 1.2rem,
|
|
94
88
|
"close-margin": 0.5rem,
|
|
95
89
|
"close-size": 2.5rem,
|
|
96
|
-
"dark-background-color" : false,
|
|
97
|
-
"dark-color" : white,
|
|
98
|
-
"dark-header-border-bottom" : false,
|
|
99
|
-
"dark-header-background-color" : false,
|
|
100
|
-
"dark-header-color" : false,
|
|
101
90
|
"header-background-color": black,
|
|
102
91
|
"header-border-bottom": none,
|
|
103
92
|
"header-color": white,
|
|
104
93
|
"header-padding": 1rem,
|
|
105
94
|
"resizer-background-color": rgb(221, 221, 221),
|
|
106
|
-
"resizer-background-color-hover": rgb(
|
|
107
|
-
"resizer-color":
|
|
95
|
+
"resizer-background-color-hover": rgb(192, 192, 192),
|
|
96
|
+
"resizer-color": rgb(99, 99, 99),
|
|
108
97
|
"resizer-color-hover": black,
|
|
109
|
-
"resizer-width":
|
|
98
|
+
"resizer-width": 1.25rem,
|
|
110
99
|
"title-color": white,
|
|
111
100
|
"title-font-weight": bold,
|
|
101
|
+
"title-font-family" : null,
|
|
112
102
|
"title-icon-margin" : 0.5em,
|
|
113
103
|
"title-size" : "large",
|
|
114
104
|
"title-text-transform" : null,
|
|
@@ -121,7 +111,6 @@ $config: (
|
|
|
121
111
|
/// Change modules $config
|
|
122
112
|
/// @param {Map} $changes Map of changes
|
|
123
113
|
/// @example scss
|
|
124
|
-
/// @example
|
|
125
114
|
/// @include ulu.component-modal-set(( "property" : value ));
|
|
126
115
|
|
|
127
116
|
@mixin set($changes) {
|
|
@@ -130,7 +119,7 @@ $config: (
|
|
|
130
119
|
|
|
131
120
|
/// Get a config option
|
|
132
121
|
/// @param {Map} $name Name of property
|
|
133
|
-
/// @example
|
|
122
|
+
/// @example scss
|
|
134
123
|
/// @include ulu.component-modal-get("property");
|
|
135
124
|
|
|
136
125
|
@function get($name) {
|
|
@@ -172,7 +161,7 @@ $config: (
|
|
|
172
161
|
box-sizing: border-box;
|
|
173
162
|
box-shadow: get("box-shadow");
|
|
174
163
|
border-radius: get("border-radius");
|
|
175
|
-
background-color: get("background-color");
|
|
164
|
+
background-color: color.get(get("background-color"));
|
|
176
165
|
box-sizing: border-box;
|
|
177
166
|
animation: uluModalCenterOut get("animation-duration-exit") get("animation-timing-function");
|
|
178
167
|
&[open] {
|
|
@@ -181,7 +170,7 @@ $config: (
|
|
|
181
170
|
flex-direction: column;
|
|
182
171
|
}
|
|
183
172
|
&::backdrop {
|
|
184
|
-
background: get("backdrop-color");
|
|
173
|
+
background: color.get(get("backdrop-color"));
|
|
185
174
|
backdrop-filter: blur(get("backdrop-blur"));
|
|
186
175
|
animation: uluModalBackdropIn get("animation-duration") get("animation-timing-function");
|
|
187
176
|
}
|
|
@@ -193,8 +182,8 @@ $config: (
|
|
|
193
182
|
flex: 0;
|
|
194
183
|
padding: get("header-padding");
|
|
195
184
|
border-bottom: get("header-border-bottom");
|
|
196
|
-
background-color: get("header-background-color");
|
|
197
|
-
color: get("header-color");
|
|
185
|
+
background-color: color.get(get("header-background-color"));
|
|
186
|
+
color: color.get(get("header-color"));
|
|
198
187
|
}
|
|
199
188
|
#{ $prefix }__body {
|
|
200
189
|
flex: 1;
|
|
@@ -207,6 +196,7 @@ $config: (
|
|
|
207
196
|
margin: 0;
|
|
208
197
|
color: color.get(get("title-color"));
|
|
209
198
|
font-weight: get("title-font-weight");
|
|
199
|
+
font-family: get("title-font-family");
|
|
210
200
|
text-transform: get("title-text-transform");
|
|
211
201
|
@if (get("title-size")) {
|
|
212
202
|
@include typography.size(get("title-size"), $only-font-size: true);
|
|
@@ -221,15 +211,15 @@ $config: (
|
|
|
221
211
|
font-size: get("close-font-size");
|
|
222
212
|
width: get("close-size");
|
|
223
213
|
height: get("close-size");
|
|
224
|
-
background-color: get("close-background-color");
|
|
214
|
+
background-color: color.get(get("close-background-color"));
|
|
225
215
|
border-radius: 50%;
|
|
226
216
|
display: flex;
|
|
227
217
|
align-items: center;
|
|
228
218
|
justify-content: center;
|
|
229
|
-
color: get("close-color");
|
|
219
|
+
color: color.get(get("close-color"));
|
|
230
220
|
&:hover {
|
|
231
|
-
background-color: get("close-background-color-hover");
|
|
232
|
-
color: get("close-color-hover");
|
|
221
|
+
background-color: color.get(get("close-background-color-hover"));
|
|
222
|
+
color: color.get(get("close-color-hover"));
|
|
233
223
|
}
|
|
234
224
|
}
|
|
235
225
|
#{ $prefix }__resizer {
|
|
@@ -240,17 +230,17 @@ $config: (
|
|
|
240
230
|
width: get("resizer-width");
|
|
241
231
|
display: block;
|
|
242
232
|
cursor: col-resize;
|
|
243
|
-
background-color: get("resizer-background-color");
|
|
233
|
+
background-color: color.get(get("resizer-background-color"));
|
|
244
234
|
display: flex;
|
|
245
235
|
align-items: center;
|
|
246
236
|
justify-content: center;
|
|
247
237
|
transition-property: background-color, color;
|
|
248
238
|
transition-duration: 300ms;
|
|
249
239
|
transition-delay: 100ms;
|
|
250
|
-
color: get("resizer-color");
|
|
240
|
+
color: color.get(get("resizer-color"));
|
|
251
241
|
&:hover {
|
|
252
|
-
color: get("resizer-color-hover");
|
|
253
|
-
background-color: get("resizer-background-color-hover");
|
|
242
|
+
color: color.get(get("resizer-color-hover"));
|
|
243
|
+
background-color: color.get(get("resizer-background-color-hover"));
|
|
254
244
|
}
|
|
255
245
|
#{ $prefix }--left & {
|
|
256
246
|
left: auto;
|
|
@@ -274,6 +264,7 @@ $config: (
|
|
|
274
264
|
#{ $prefix }--left {
|
|
275
265
|
border-radius: 0;
|
|
276
266
|
height: 100vh;
|
|
267
|
+
width: get("width-left-right");
|
|
277
268
|
top: 0;
|
|
278
269
|
bottom: 0;
|
|
279
270
|
transform: none;
|
|
@@ -367,7 +358,7 @@ $config: (
|
|
|
367
358
|
backdrop-filter: blur(0);
|
|
368
359
|
}
|
|
369
360
|
100% {
|
|
370
|
-
background-color: get("backdrop-color");
|
|
361
|
+
background-color: color.get(get("backdrop-color"));
|
|
371
362
|
backdrop-filter: blur(get("backdrop-blur"));
|
|
372
363
|
}
|
|
373
364
|
}
|
|
@@ -42,18 +42,18 @@ $config: (
|
|
|
42
42
|
"padding-y" : 0.3em,
|
|
43
43
|
"padding-y-ruled" : null,
|
|
44
44
|
"nowrap" : true,
|
|
45
|
-
"rule-color" : "rule",
|
|
46
|
-
"rule-offset" :
|
|
45
|
+
"rule-color" : "rule-light",
|
|
46
|
+
"rule-offset" : 0,
|
|
47
47
|
"rule-size" : 3px,
|
|
48
|
-
"underline-color" :
|
|
49
|
-
"underline-color-hover" :
|
|
48
|
+
"underline-color" : "selected",
|
|
49
|
+
"underline-color-hover" : "rule",
|
|
50
50
|
"underline-size" : 3px,
|
|
51
51
|
) !default;
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
/// Change modules $config
|
|
55
55
|
/// @param {Map} $changes Map of changes
|
|
56
|
-
/// @example
|
|
56
|
+
/// @example scss
|
|
57
57
|
/// @include ulu.component-nav-strip-set(( "property" : value ));
|
|
58
58
|
|
|
59
59
|
@mixin set($changes) {
|
|
@@ -62,7 +62,7 @@ $config: (
|
|
|
62
62
|
|
|
63
63
|
/// Get a config option
|
|
64
64
|
/// @param {Map} $name Name of property
|
|
65
|
-
/// @example
|
|
65
|
+
/// @example scss
|
|
66
66
|
/// @include ulu.component-nav-strip-get("property");
|
|
67
67
|
|
|
68
68
|
@function get($name) {
|
|
@@ -70,12 +70,14 @@ $config: (
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/// Prints component styles
|
|
73
|
-
/// @example
|
|
73
|
+
/// @example scss
|
|
74
74
|
/// @include ulu.component-nav-strip-styles();
|
|
75
75
|
|
|
76
76
|
@mixin styles {
|
|
77
77
|
$prefix: selector.class("nav-strip");
|
|
78
|
-
|
|
78
|
+
#{ $prefix } {
|
|
79
|
+
max-width: 100%; // So ul will overflow
|
|
80
|
+
}
|
|
79
81
|
// Original thought to not limit to direct child
|
|
80
82
|
// auto is for when we don't have control over markup
|
|
81
83
|
// The list descendants will be selected that way but the list is
|
|
@@ -83,24 +85,22 @@ $config: (
|
|
|
83
85
|
#{ $prefix }__list,
|
|
84
86
|
#{ $prefix }--auto ul {
|
|
85
87
|
display: flex;
|
|
88
|
+
overflow-x: auto;
|
|
86
89
|
line-height: typography.get("line-height-dense");
|
|
90
|
+
gap: get("margin-between");
|
|
87
91
|
}
|
|
88
92
|
#{ $prefix }__item,
|
|
89
93
|
#{ $prefix }--auto li {
|
|
90
|
-
margin-right: get("margin-between");
|
|
91
94
|
// layout flex since items inside may not be the same height
|
|
92
95
|
display: flex;
|
|
93
96
|
align-items: flex-end;
|
|
94
|
-
&:last-child {
|
|
95
|
-
margin-right: 0;
|
|
96
|
-
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
#{ $prefix }__link,
|
|
100
100
|
#{ $prefix }--auto li > a,
|
|
101
101
|
#{ $prefix }--auto li > button {
|
|
102
102
|
display: block;
|
|
103
|
-
color: get("color");
|
|
103
|
+
color: color.get(get("color"));
|
|
104
104
|
padding: get("padding-y") get("padding-x");
|
|
105
105
|
border-top: get("underline-size") solid transparent;
|
|
106
106
|
border-bottom: get("underline-size") solid transparent;
|
|
@@ -110,12 +110,12 @@ $config: (
|
|
|
110
110
|
}
|
|
111
111
|
&:hover,
|
|
112
112
|
&:focus {
|
|
113
|
-
border-bottom-color: get("underline-color-hover");
|
|
114
|
-
color: get("color-hover");
|
|
113
|
+
border-bottom-color: color.get(get("underline-color-hover"));
|
|
114
|
+
color: color.get(get("color-hover"));
|
|
115
115
|
}
|
|
116
116
|
#{ get("activeSelector") } {
|
|
117
|
-
border-bottom-color: get("underline-color");
|
|
118
|
-
color: get("color-active");
|
|
117
|
+
border-bottom-color: color.get(get("underline-color"));
|
|
118
|
+
color: color.get(get("color-active"));
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -133,13 +133,20 @@ $config: (
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
#{ $prefix }--rule {
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
position: relative;
|
|
137
|
+
&::after {
|
|
138
|
+
content: "";
|
|
139
|
+
position: absolute;
|
|
140
|
+
bottom: 0;
|
|
141
|
+
left: 0;
|
|
142
|
+
right: 0;
|
|
138
143
|
border-bottom: get("rule-size") solid color.get(get("rule-color"));
|
|
139
144
|
}
|
|
140
145
|
#{ $prefix }__link,
|
|
141
146
|
&#{ $prefix }--auto li > a,
|
|
142
147
|
&#{ $prefix }--auto li > button {
|
|
148
|
+
position: relative;
|
|
149
|
+
z-index: 2;
|
|
143
150
|
margin-bottom: get("rule-offset");
|
|
144
151
|
padding-top: get("padding-y-ruled");
|
|
145
152
|
padding-bottom: get("padding-y-ruled");
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
@use "sass:map";
|
|
9
9
|
@use "../utils";
|
|
10
10
|
@use "../breakpoint";
|
|
11
|
+
@use "../color";
|
|
11
12
|
|
|
12
13
|
/// Module Settings
|
|
13
14
|
/// @type Map
|
|
@@ -41,7 +42,7 @@ $config: (
|
|
|
41
42
|
|
|
42
43
|
/// Change modules $config
|
|
43
44
|
/// @param {Map} $changes Map of changes
|
|
44
|
-
/// @example
|
|
45
|
+
/// @example scss
|
|
45
46
|
/// @include ulu.component-overlay-section-set(( "property" : value ));
|
|
46
47
|
|
|
47
48
|
@mixin set($changes) {
|
|
@@ -50,7 +51,7 @@ $config: (
|
|
|
50
51
|
|
|
51
52
|
/// Get a config option
|
|
52
53
|
/// @param {Map} $name Name of property
|
|
53
|
-
/// @example
|
|
54
|
+
/// @example scss
|
|
54
55
|
/// @include ulu.component-overlay-section-get("property");
|
|
55
56
|
|
|
56
57
|
@function get($name) {
|
|
@@ -59,7 +60,6 @@ $config: (
|
|
|
59
60
|
|
|
60
61
|
/// Prints component styles
|
|
61
62
|
/// @example scss
|
|
62
|
-
/// @example scss
|
|
63
63
|
/// @include ulu.component-overlay-section-styles();
|
|
64
64
|
|
|
65
65
|
@mixin styles {
|
|
@@ -96,7 +96,7 @@ $config: (
|
|
|
96
96
|
.overlay-section__content {
|
|
97
97
|
position: relative;
|
|
98
98
|
z-index: 2;
|
|
99
|
-
background-color: get("content-background-color");
|
|
99
|
+
background-color: color.get(get("content-background-color"));
|
|
100
100
|
border: get("content-border");
|
|
101
101
|
flex: 0 1 get("content-width");
|
|
102
102
|
padding: get("content-padding");
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
/// Module Settings
|
|
16
16
|
/// @type Map
|
|
17
17
|
/// @prop {String} background-color [link] The background color of the pager. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
18
|
-
/// @prop {String} background-color-hover [
|
|
18
|
+
/// @prop {String} background-color-hover [link-hover] The background color of the pager when hovered or focused. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
19
19
|
/// @prop {String} border-color [link] The border color of the pager item. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
20
|
-
/// @prop {String} border-color-hover [
|
|
20
|
+
/// @prop {String} border-color-hover [link-hover] The border color of the pager item when hovered or focused. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
21
21
|
/// @prop {Dimension} border-radius [50%] The border radius of the pager item.
|
|
22
22
|
/// @prop {Dimension} border-width [1px] The border width of the pager item.
|
|
23
23
|
/// @prop {Color} color [white] The type color of the pager item.
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
/// @prop {Color} active-color [type] The type color when active. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
33
33
|
/// @prop {CssValue} active-font-weight [bold] The font weight of the pager when focused or hovered.
|
|
34
34
|
/// @prop {String} action-background-color [link] The background color of the actions options of the pager. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
35
|
-
/// @prop {String} action-background-color-hover [
|
|
35
|
+
/// @prop {String} action-background-color-hover [link-hover] The background color of the actions options of the pager when focused or hovered. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
36
36
|
/// @prop {Color} action-border-color [transparent] The border color of the action options of the pager.
|
|
37
37
|
/// @prop {String} action-border-color-hover [link] The border color of the action options of the pager when focused or hovered. This uses color.scss, so the value of this options should be a color variable from color.scss.
|
|
38
38
|
/// @prop {Color} action-color [white] The type color of the actions options of the pager.
|
|
@@ -72,7 +72,7 @@ $config: (
|
|
|
72
72
|
|
|
73
73
|
/// Change modules $config
|
|
74
74
|
/// @param {Map} $changes Map of changes
|
|
75
|
-
/// @example
|
|
75
|
+
/// @example scss
|
|
76
76
|
/// @include ulu.component-pager-set(( "property" : value ));
|
|
77
77
|
|
|
78
78
|
@mixin set($changes) {
|
|
@@ -81,7 +81,7 @@ $config: (
|
|
|
81
81
|
|
|
82
82
|
/// Get a config option
|
|
83
83
|
/// @param {Map} $name Name of property
|
|
84
|
-
/// @example
|
|
84
|
+
/// @example scss
|
|
85
85
|
/// @include ulu.component-pager-get("property");
|
|
86
86
|
|
|
87
87
|
|
|
@@ -120,9 +120,9 @@ $config: (
|
|
|
120
120
|
border-radius: get("border-radius");
|
|
121
121
|
border: get("border-width") solid color.get(get("border-color"));
|
|
122
122
|
background-color: color.get(get("background-color"));
|
|
123
|
-
color: get("color");
|
|
123
|
+
color: color.get(get("color"));
|
|
124
124
|
&:hover {
|
|
125
|
-
color: get("color-hover");
|
|
125
|
+
color: color.get(get("color-hover"));
|
|
126
126
|
border-color: color.get(get("border-color-hover"));
|
|
127
127
|
background-color: color.get(get("background-color-hover"));
|
|
128
128
|
}
|
|
@@ -134,8 +134,8 @@ $config: (
|
|
|
134
134
|
span {
|
|
135
135
|
font-weight: get("font-weight");
|
|
136
136
|
color: color.get(get("active-color"));
|
|
137
|
-
background-color: get("active-background-color");
|
|
138
|
-
border-color: get("active-border-color");
|
|
137
|
+
background-color: color.get(get("active-background-color"));
|
|
138
|
+
border-color: color.get(get("active-border-color"));
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -148,14 +148,14 @@ $config: (
|
|
|
148
148
|
height: get("action-width");
|
|
149
149
|
line-height: get("action-width");
|
|
150
150
|
background-color: color.get(get("action-background-color"));
|
|
151
|
-
color: get("action-color");
|
|
151
|
+
color: color.get(get("action-color"));
|
|
152
152
|
font-size: 1.2rem;
|
|
153
153
|
line-height: 2.8rem;
|
|
154
154
|
font-weight: bold;
|
|
155
155
|
&:hover {
|
|
156
156
|
border-color: color.get(get("action-border-color-hover"));
|
|
157
157
|
background-color: color.get(get("action-background-color-hover"));
|
|
158
|
-
color: get("action-color-hover");
|
|
158
|
+
color: color.get(get("action-color-hover"));
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
}
|
|
@@ -67,7 +67,7 @@ $config: (
|
|
|
67
67
|
|
|
68
68
|
/// Change modules $config
|
|
69
69
|
/// @param {Map} $changes Map of changes
|
|
70
|
-
/// @example
|
|
70
|
+
/// @example scss
|
|
71
71
|
/// @include ulu.component-placeholder-block-set(( "property" : value ));
|
|
72
72
|
|
|
73
73
|
@mixin set($changes) {
|
|
@@ -76,7 +76,7 @@ $config: (
|
|
|
76
76
|
|
|
77
77
|
/// Get a config option
|
|
78
78
|
/// @param {Map} $name Name of property
|
|
79
|
-
/// @example
|
|
79
|
+
/// @example scss
|
|
80
80
|
/// @include ulu.component-placeholder-block-get("property");
|
|
81
81
|
|
|
82
82
|
@function get($name) {
|
|
@@ -92,20 +92,20 @@ $config: (
|
|
|
92
92
|
$prefix: selector.class("placeholder-block");
|
|
93
93
|
|
|
94
94
|
#{ $prefix } {
|
|
95
|
-
background-color: get("background-color");
|
|
95
|
+
background-color: color.get(get("background-color"));
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
justify-content: center;
|
|
99
99
|
align-items: center;
|
|
100
100
|
text-align: center;
|
|
101
101
|
padding: get("padding");
|
|
102
|
-
color: get("color");
|
|
103
|
-
border: get("border-width") get("border-style") get("border-color");
|
|
102
|
+
color: color.get(get("color"));
|
|
103
|
+
border: get("border-width") get("border-style") color.get(get("border-color"));
|
|
104
104
|
margin-bottom: get("margin-bottom");
|
|
105
105
|
border-radius: get("border-radius");
|
|
106
106
|
}
|
|
107
107
|
#{ $prefix }__icon {
|
|
108
|
-
color: get("icon-color");
|
|
108
|
+
color: color.get(get("icon-color"));
|
|
109
109
|
display: block;
|
|
110
110
|
margin: 0 auto get("icon-margin") auto;
|
|
111
111
|
font-size: get("icon-font-size");
|
|
@@ -94,7 +94,7 @@ $config: (
|
|
|
94
94
|
|
|
95
95
|
/// Change modules $config
|
|
96
96
|
/// @param {Map} $changes Map of changes
|
|
97
|
-
/// @example
|
|
97
|
+
/// @example scss
|
|
98
98
|
/// @include ulu.component-popover-set(( "property" : value ));
|
|
99
99
|
|
|
100
100
|
@mixin set($changes) {
|
|
@@ -103,7 +103,7 @@ $config: (
|
|
|
103
103
|
|
|
104
104
|
/// Get a config option
|
|
105
105
|
/// @param {Map} $name Name of property
|
|
106
|
-
/// @example
|
|
106
|
+
/// @example scss
|
|
107
107
|
/// @include ulu.component-popover-get("property");
|
|
108
108
|
|
|
109
109
|
@function get($name) {
|
|
@@ -156,8 +156,8 @@ $config: (
|
|
|
156
156
|
display: none;
|
|
157
157
|
position: absolute;
|
|
158
158
|
z-index: get("z-index") + 1;
|
|
159
|
-
background-color: get("background-color");
|
|
160
|
-
color: get("color");
|
|
159
|
+
background-color: color.get(get("background-color"));
|
|
160
|
+
color: color.get(get("color"));
|
|
161
161
|
width: get("width");
|
|
162
162
|
max-width: get("max-width");
|
|
163
163
|
box-shadow: get("box-shadow");
|
|
@@ -189,18 +189,18 @@ $config: (
|
|
|
189
189
|
#{ $prefix }__header {
|
|
190
190
|
overflow: hidden;
|
|
191
191
|
padding: get("header-padding-y") get("padding");
|
|
192
|
-
color: get("header-color");
|
|
193
|
-
background-color: get("header-background-color");
|
|
192
|
+
color: color.get(get("header-color"));
|
|
193
|
+
background-color: color.get(get("header-background-color"));
|
|
194
194
|
}
|
|
195
195
|
#{ $prefix }__header--media {
|
|
196
196
|
padding: 0;
|
|
197
|
-
background-color: get("header-media-background-color");
|
|
197
|
+
background-color: color.get(get("header-media-background-color"));
|
|
198
198
|
}
|
|
199
199
|
#{ $prefix }__footer {
|
|
200
200
|
box-shadow: get("box-shadow-footer") color.get(get("box-shadow-footer-color"));
|
|
201
201
|
padding: get("footer-padding-y") get("padding");
|
|
202
|
-
color: get("footer-color");
|
|
203
|
-
background-color: get("footer-background-color");
|
|
202
|
+
color: color.get(get("footer-color"));
|
|
203
|
+
background-color: color.get(get("footer-background-color"));
|
|
204
204
|
border-top-left-radius: 0;
|
|
205
205
|
border-top-right-radius: 0;
|
|
206
206
|
}
|
|
@@ -215,8 +215,8 @@ $config: (
|
|
|
215
215
|
#{ $prefix }--tooltip {
|
|
216
216
|
width: get("tooltip-width");
|
|
217
217
|
max-width: min(get("max-width"), get("tooltip-max-width"));
|
|
218
|
-
color: get("tooltip-color");
|
|
219
|
-
background-color: get("tooltip-background-color");
|
|
218
|
+
color: color.get(get("tooltip-color"));
|
|
219
|
+
background-color: color.get(get("tooltip-background-color"));
|
|
220
220
|
pointer-events: none;
|
|
221
221
|
#{ $prefix }__inner {
|
|
222
222
|
padding: get("tooltip-padding");
|
|
@@ -52,7 +52,7 @@ $config: (
|
|
|
52
52
|
|
|
53
53
|
/// Change modules $config
|
|
54
54
|
/// @param {Map} $changes Map of changes
|
|
55
|
-
/// @example
|
|
55
|
+
/// @example scss
|
|
56
56
|
/// @include ulu.component-pull-quote-set(( "property" : value ));
|
|
57
57
|
|
|
58
58
|
@mixin set($changes) {
|
|
@@ -61,7 +61,7 @@ $config: (
|
|
|
61
61
|
|
|
62
62
|
/// Get a config option
|
|
63
63
|
/// @param {Map} $name Name of property
|
|
64
|
-
/// @example
|
|
64
|
+
/// @example scss
|
|
65
65
|
/// @include ulu.component-pull-quote-get("property");
|
|
66
66
|
|
|
67
67
|
@function get($name) {
|
|
@@ -22,7 +22,7 @@ $config: (
|
|
|
22
22
|
|
|
23
23
|
/// Change modules $config
|
|
24
24
|
/// @param {Map} $changes Map of changes
|
|
25
|
-
/// @example
|
|
25
|
+
/// @example scss
|
|
26
26
|
/// @include ulu.component-ratio-box-set(( "property" : value ));
|
|
27
27
|
|
|
28
28
|
@mixin set($changes) {
|
|
@@ -31,7 +31,7 @@ $config: (
|
|
|
31
31
|
|
|
32
32
|
/// Get a config option
|
|
33
33
|
/// @param {Map} $name Name of property
|
|
34
|
-
/// @example
|
|
34
|
+
/// @example scss
|
|
35
35
|
/// @include ulu.component-ratio-box-get("property");
|
|
36
36
|
|
|
37
37
|
@function get($name) {
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
@use "sass:map";
|
|
6
6
|
@use "../utils";
|
|
7
7
|
@use "../element";
|
|
8
|
-
@use "../color";
|
|
9
8
|
@use "../selector";
|
|
10
9
|
|
|
11
10
|
/// Module Settings
|
|
12
11
|
/// @type Map
|
|
13
|
-
/// @prop {
|
|
14
|
-
/// @prop {
|
|
15
|
-
/// @prop {
|
|
12
|
+
/// @prop {Dimension} short-border-width [4px] Short rule width of border
|
|
13
|
+
/// @prop {Object} short-modifiers [false] Objects to adjust the styles of different short rule styles.
|
|
14
|
+
/// @prop {Dimension} short-width [2.75rem] Short rule width (like an inline rule, normally used above headings), Setting this to false will disable output
|
|
16
15
|
|
|
17
16
|
$config: (
|
|
18
17
|
"short-border-width" : 4px,
|
|
@@ -22,7 +21,7 @@ $config: (
|
|
|
22
21
|
|
|
23
22
|
/// Change modules $config
|
|
24
23
|
/// @param {Map} $changes Map of changes
|
|
25
|
-
/// @example
|
|
24
|
+
/// @example scss
|
|
26
25
|
/// @include ulu.component-rule-set(( "property" : value ));
|
|
27
26
|
|
|
28
27
|
@mixin set($changes) {
|
|
@@ -31,7 +30,7 @@ $config: (
|
|
|
31
30
|
|
|
32
31
|
/// Get a config option
|
|
33
32
|
/// @param {Map} $name Name of property
|
|
34
|
-
/// @example
|
|
33
|
+
/// @example scss
|
|
35
34
|
/// @include ulu.component-rule-get("property");
|
|
36
35
|
|
|
37
36
|
@function get($name) {
|
|
@@ -64,7 +64,7 @@ $config: (
|
|
|
64
64
|
|
|
65
65
|
/// Change modules $config
|
|
66
66
|
/// @param {Map} $changes Map of changes
|
|
67
|
-
/// @example scss
|
|
67
|
+
/// @example scss
|
|
68
68
|
/// @include ulu.component-scroll-slider-set(( "property" : value ));
|
|
69
69
|
|
|
70
70
|
@mixin set($changes) {
|
|
@@ -73,7 +73,7 @@ $config: (
|
|
|
73
73
|
|
|
74
74
|
/// Get a config option
|
|
75
75
|
/// @param {Map} $name Name of property
|
|
76
|
-
/// @example scss
|
|
76
|
+
/// @example scss
|
|
77
77
|
/// @include ulu.component-scroll-slider-get("property");
|
|
78
78
|
|
|
79
79
|
@function get($name) {
|
|
@@ -89,7 +89,7 @@ $config: (
|
|
|
89
89
|
|
|
90
90
|
#{ $prefix } {
|
|
91
91
|
position: relative; // for controls
|
|
92
|
-
background-color: get("background-color");
|
|
92
|
+
background-color: color.get(get("background-color"));
|
|
93
93
|
margin: get("margin-top") 0 get("margin-bottom") 0;
|
|
94
94
|
}
|
|
95
95
|
#{ $prefix }--cards {
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@use "sass:meta";
|
|
8
8
|
|
|
9
9
|
@use "../element";
|
|
10
|
+
@use "../color";
|
|
10
11
|
@use "../layout";
|
|
11
12
|
@use "../selector";
|
|
12
13
|
@use "../utils";
|
|
@@ -83,7 +84,7 @@ $config: (
|
|
|
83
84
|
left: 50%;
|
|
84
85
|
transform: translateX(-50%);
|
|
85
86
|
padding: get("padding");
|
|
86
|
-
background-color: get("background-color");
|
|
87
|
+
background-color: color.get(get("background-color"));
|
|
87
88
|
font-weight: bold;
|
|
88
89
|
box-shadow: get("box-shadow");
|
|
89
90
|
border-bottom-left-radius: get("border-radius");
|