@frankenstyle/uikit 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierignore +15 -0
- package/.prettierrc.json +12 -0
- package/BACKERS.md +5 -0
- package/CHANGELOG.md +3759 -0
- package/CONTRIBUTING.md +96 -0
- package/LICENSE.md +7 -0
- package/README.md +65 -0
- package/build/build.js +95 -0
- package/build/icons.js +35 -0
- package/build/less.js +95 -0
- package/build/package.json +4 -0
- package/build/prefix.js +76 -0
- package/build/publishDev.js +33 -0
- package/build/release.js +123 -0
- package/build/scope.js +106 -0
- package/build/scss/mixin.scss +32 -0
- package/build/scss.js +252 -0
- package/build/util.js +288 -0
- package/build/wrapper/component.js +7 -0
- package/build/wrapper/icons.js +13 -0
- package/composer.json +17 -0
- package/dist/css/uikit-rtl.css +13333 -0
- package/dist/css/uikit-rtl.min.css +1 -0
- package/dist/css/uikit.css +13333 -0
- package/dist/css/uikit.min.css +1 -0
- package/dist/js/components/.gitkeep +0 -0
- package/dist/js/components/countdown.js +112 -0
- package/dist/js/components/countdown.min.js +1 -0
- package/dist/js/components/filter.js +527 -0
- package/dist/js/components/filter.min.js +1 -0
- package/dist/js/components/lightbox-panel.js +1695 -0
- package/dist/js/components/lightbox-panel.min.js +1 -0
- package/dist/js/components/lightbox.js +1783 -0
- package/dist/js/components/lightbox.min.js +1 -0
- package/dist/js/components/notification.js +127 -0
- package/dist/js/components/notification.min.js +1 -0
- package/dist/js/components/parallax.js +726 -0
- package/dist/js/components/parallax.min.js +1 -0
- package/dist/js/components/slider-parallax.js +637 -0
- package/dist/js/components/slider-parallax.min.js +1 -0
- package/dist/js/components/slider.js +1731 -0
- package/dist/js/components/slider.min.js +1 -0
- package/dist/js/components/slideshow-parallax.js +637 -0
- package/dist/js/components/slideshow-parallax.min.js +1 -0
- package/dist/js/components/slideshow.js +1555 -0
- package/dist/js/components/slideshow.min.js +1 -0
- package/dist/js/components/sortable.js +680 -0
- package/dist/js/components/sortable.min.js +1 -0
- package/dist/js/components/tooltip.js +446 -0
- package/dist/js/components/tooltip.min.js +1 -0
- package/dist/js/components/upload.js +235 -0
- package/dist/js/components/upload.min.js +1 -0
- package/dist/js/uikit-core.js +6726 -0
- package/dist/js/uikit-core.min.js +1 -0
- package/dist/js/uikit-icons.js +184 -0
- package/dist/js/uikit-icons.min.js +1 -0
- package/dist/js/uikit.js +10077 -0
- package/dist/js/uikit.min.js +1 -0
- package/eslint.config.mjs +35 -0
- package/jsconfig.json +9 -0
- package/package.json +66 -0
- package/src/images/backgrounds/accordion-close.svg +4 -0
- package/src/images/backgrounds/accordion-open.svg +3 -0
- package/src/images/backgrounds/divider-icon.svg +3 -0
- package/src/images/backgrounds/form-checkbox-indeterminate.svg +3 -0
- package/src/images/backgrounds/form-checkbox.svg +3 -0
- package/src/images/backgrounds/form-datalist.svg +3 -0
- package/src/images/backgrounds/form-radio.svg +3 -0
- package/src/images/backgrounds/form-select.svg +4 -0
- package/src/images/backgrounds/list-bullet.svg +3 -0
- package/src/images/components/close-icon.svg +1 -0
- package/src/images/components/close-large.svg +1 -0
- package/src/images/components/drop-parent-icon.svg +1 -0
- package/src/images/components/marker.svg +1 -0
- package/src/images/components/nav-parent-icon-large.svg +1 -0
- package/src/images/components/nav-parent-icon.svg +1 -0
- package/src/images/components/navbar-parent-icon.svg +1 -0
- package/src/images/components/navbar-toggle-icon.svg +34 -0
- package/src/images/components/overlay-icon.svg +1 -0
- package/src/images/components/pagination-next.svg +1 -0
- package/src/images/components/pagination-previous.svg +1 -0
- package/src/images/components/search-icon.svg +1 -0
- package/src/images/components/search-large.svg +1 -0
- package/src/images/components/search-medium.svg +1 -0
- package/src/images/components/slidenav-next-large.svg +1 -0
- package/src/images/components/slidenav-next.svg +1 -0
- package/src/images/components/slidenav-previous-large.svg +1 -0
- package/src/images/components/slidenav-previous.svg +1 -0
- package/src/images/components/spinner.svg +3 -0
- package/src/images/components/totop.svg +1 -0
- package/src/images/icons/500px.svg +30 -0
- package/src/images/icons/album.svg +5 -0
- package/src/images/icons/android-robot.svg +6 -0
- package/src/images/icons/android.svg +3 -0
- package/src/images/icons/apple.svg +3 -0
- package/src/images/icons/arrow-down-arrow-up.svg +6 -0
- package/src/images/icons/arrow-down.svg +4 -0
- package/src/images/icons/arrow-left.svg +4 -0
- package/src/images/icons/arrow-right.svg +4 -0
- package/src/images/icons/arrow-up-right.svg +4 -0
- package/src/images/icons/arrow-up.svg +4 -0
- package/src/images/icons/bag.svg +4 -0
- package/src/images/icons/ban.svg +4 -0
- package/src/images/icons/behance.svg +5 -0
- package/src/images/icons/bell.svg +4 -0
- package/src/images/icons/bluesky.svg +3 -0
- package/src/images/icons/bold.svg +3 -0
- package/src/images/icons/bolt.svg +3 -0
- package/src/images/icons/bookmark.svg +3 -0
- package/src/images/icons/calendar.svg +5 -0
- package/src/images/icons/camera.svg +4 -0
- package/src/images/icons/cart.svg +5 -0
- package/src/images/icons/check.svg +3 -0
- package/src/images/icons/chevron-double-left.svg +4 -0
- package/src/images/icons/chevron-double-right.svg +4 -0
- package/src/images/icons/chevron-down.svg +3 -0
- package/src/images/icons/chevron-left.svg +3 -0
- package/src/images/icons/chevron-right.svg +3 -0
- package/src/images/icons/chevron-up.svg +3 -0
- package/src/images/icons/clock.svg +5 -0
- package/src/images/icons/close-circle.svg +5 -0
- package/src/images/icons/close.svg +4 -0
- package/src/images/icons/cloud-download.svg +5 -0
- package/src/images/icons/cloud-upload.svg +5 -0
- package/src/images/icons/code.svg +4 -0
- package/src/images/icons/cog.svg +4 -0
- package/src/images/icons/comment.svg +3 -0
- package/src/images/icons/commenting.svg +6 -0
- package/src/images/icons/comments.svg +4 -0
- package/src/images/icons/copy.svg +4 -0
- package/src/images/icons/credit-card.svg +4 -0
- package/src/images/icons/crosshairs.svg +7 -0
- package/src/images/icons/database.svg +6 -0
- package/src/images/icons/desktop.svg +6 -0
- package/src/images/icons/discord.svg +3 -0
- package/src/images/icons/download.svg +5 -0
- package/src/images/icons/dribbble.svg +6 -0
- package/src/images/icons/etsy.svg +3 -0
- package/src/images/icons/expand.svg +6 -0
- package/src/images/icons/eye-slash.svg +5 -0
- package/src/images/icons/eye.svg +4 -0
- package/src/images/icons/facebook.svg +3 -0
- package/src/images/icons/file-edit.svg +4 -0
- package/src/images/icons/file-pdf.svg +4 -0
- package/src/images/icons/file-text.svg +7 -0
- package/src/images/icons/file.svg +3 -0
- package/src/images/icons/flickr.svg +4 -0
- package/src/images/icons/folder.svg +3 -0
- package/src/images/icons/forward.svg +3 -0
- package/src/images/icons/foursquare.svg +3 -0
- package/src/images/icons/future.svg +6 -0
- package/src/images/icons/git-branch.svg +6 -0
- package/src/images/icons/git-fork.svg +6 -0
- package/src/images/icons/github-alt.svg +3 -0
- package/src/images/icons/github.svg +3 -0
- package/src/images/icons/gitter.svg +6 -0
- package/src/images/icons/google.svg +3 -0
- package/src/images/icons/grid.svg +11 -0
- package/src/images/icons/happy.svg +6 -0
- package/src/images/icons/hashtag.svg +3 -0
- package/src/images/icons/heart.svg +3 -0
- package/src/images/icons/history.svg +6 -0
- package/src/images/icons/home.svg +5 -0
- package/src/images/icons/image.svg +6 -0
- package/src/images/icons/info.svg +4 -0
- package/src/images/icons/instagram.svg +5 -0
- package/src/images/icons/italic.svg +3 -0
- package/src/images/icons/joomla.svg +6 -0
- package/src/images/icons/laptop.svg +4 -0
- package/src/images/icons/lifesaver.svg +12 -0
- package/src/images/icons/link-external.svg +5 -0
- package/src/images/icons/link.svg +5 -0
- package/src/images/icons/linkedin.svg +4 -0
- package/src/images/icons/list.svg +8 -0
- package/src/images/icons/location.svg +4 -0
- package/src/images/icons/lock.svg +4 -0
- package/src/images/icons/mail.svg +4 -0
- package/src/images/icons/mastodon.svg +3 -0
- package/src/images/icons/menu.svg +5 -0
- package/src/images/icons/microphone.svg +6 -0
- package/src/images/icons/microsoft.svg +3 -0
- package/src/images/icons/minus-circle.svg +4 -0
- package/src/images/icons/minus.svg +3 -0
- package/src/images/icons/more-vertical.svg +5 -0
- package/src/images/icons/more.svg +5 -0
- package/src/images/icons/move.svg +8 -0
- package/src/images/icons/nut.svg +4 -0
- package/src/images/icons/paint-bucket.svg +6 -0
- package/src/images/icons/pencil.svg +4 -0
- package/src/images/icons/phone-landscape.svg +4 -0
- package/src/images/icons/phone.svg +4 -0
- package/src/images/icons/pinterest.svg +3 -0
- package/src/images/icons/play-circle.svg +4 -0
- package/src/images/icons/play.svg +3 -0
- package/src/images/icons/plus-circle.svg +5 -0
- package/src/images/icons/plus.svg +4 -0
- package/src/images/icons/print.svg +7 -0
- package/src/images/icons/pull.svg +5 -0
- package/src/images/icons/push.svg +5 -0
- package/src/images/icons/question.svg +5 -0
- package/src/images/icons/quote-right.svg +4 -0
- package/src/images/icons/receiver.svg +3 -0
- package/src/images/icons/reddit.svg +6 -0
- package/src/images/icons/refresh.svg +4 -0
- package/src/images/icons/reply.svg +3 -0
- package/src/images/icons/rss.svg +5 -0
- package/src/images/icons/search.svg +4 -0
- package/src/images/icons/server.svg +15 -0
- package/src/images/icons/settings.svg +11 -0
- package/src/images/icons/shrink.svg +6 -0
- package/src/images/icons/sign-in.svg +5 -0
- package/src/images/icons/sign-out.svg +5 -0
- package/src/images/icons/signal.svg +3 -0
- package/src/images/icons/social.svg +7 -0
- package/src/images/icons/sorting.svg +6 -0
- package/src/images/icons/soundcloud.svg +6 -0
- package/src/images/icons/star.svg +3 -0
- package/src/images/icons/strikethrough.svg +4 -0
- package/src/images/icons/table.svg +6 -0
- package/src/images/icons/tablet-landscape.svg +4 -0
- package/src/images/icons/tablet.svg +4 -0
- package/src/images/icons/tag.svg +4 -0
- package/src/images/icons/telegram.svg +3 -0
- package/src/images/icons/threads.svg +3 -0
- package/src/images/icons/thumbnails.svg +6 -0
- package/src/images/icons/tiktok.svg +3 -0
- package/src/images/icons/trash.svg +7 -0
- package/src/images/icons/triangle-down.svg +3 -0
- package/src/images/icons/triangle-left.svg +3 -0
- package/src/images/icons/triangle-right.svg +3 -0
- package/src/images/icons/triangle-up.svg +3 -0
- package/src/images/icons/tripadvisor.svg +19 -0
- package/src/images/icons/tumblr.svg +3 -0
- package/src/images/icons/tv.svg +4 -0
- package/src/images/icons/twitch.svg +5 -0
- package/src/images/icons/twitter.svg +3 -0
- package/src/images/icons/uikit.svg +4 -0
- package/src/images/icons/unlock.svg +4 -0
- package/src/images/icons/upload.svg +5 -0
- package/src/images/icons/user.svg +4 -0
- package/src/images/icons/users.svg +5 -0
- package/src/images/icons/video-camera.svg +3 -0
- package/src/images/icons/vimeo.svg +3 -0
- package/src/images/icons/warning.svg +5 -0
- package/src/images/icons/whatsapp.svg +3 -0
- package/src/images/icons/wordpress.svg +3 -0
- package/src/images/icons/world.svg +7 -0
- package/src/images/icons/x.svg +3 -0
- package/src/images/icons/xing.svg +4 -0
- package/src/images/icons/yelp.svg +15 -0
- package/src/images/icons/yootheme.svg +3 -0
- package/src/images/icons/youtube.svg +3 -0
- package/src/js/api/app.js +12 -0
- package/src/js/api/boot.js +84 -0
- package/src/js/api/component.js +84 -0
- package/src/js/api/computed.js +80 -0
- package/src/js/api/events.js +33 -0
- package/src/js/api/global.js +74 -0
- package/src/js/api/hooks.js +51 -0
- package/src/js/api/index.js +8 -0
- package/src/js/api/instance.js +66 -0
- package/src/js/api/log.js +10 -0
- package/src/js/api/observables.js +132 -0
- package/src/js/api/observer.js +64 -0
- package/src/js/api/options.js +180 -0
- package/src/js/api/props.js +107 -0
- package/src/js/api/state.js +65 -0
- package/src/js/api/update.js +66 -0
- package/src/js/api/watch.js +30 -0
- package/src/js/components/countdown.js +113 -0
- package/src/js/components/filter.js +211 -0
- package/src/js/components/index.js +13 -0
- package/src/js/components/internal/lightbox-animations.js +40 -0
- package/src/js/components/internal/slider-preload.js +14 -0
- package/src/js/components/internal/slider-transitioner.js +186 -0
- package/src/js/components/internal/slideshow-animations.js +100 -0
- package/src/js/components/lightbox-panel.js +482 -0
- package/src/js/components/lightbox.js +136 -0
- package/src/js/components/notification.js +134 -0
- package/src/js/components/parallax.js +86 -0
- package/src/js/components/slider-parallax.js +81 -0
- package/src/js/components/slider.js +388 -0
- package/src/js/components/slideshow-parallax.js +1 -0
- package/src/js/components/slideshow.js +44 -0
- package/src/js/components/sortable.js +448 -0
- package/src/js/components/tooltip.js +183 -0
- package/src/js/components/upload.js +248 -0
- package/src/js/core/accordion.js +244 -0
- package/src/js/core/alert.js +59 -0
- package/src/js/core/cover.js +57 -0
- package/src/js/core/drop.js +514 -0
- package/src/js/core/dropnav.js +449 -0
- package/src/js/core/form-custom.js +74 -0
- package/src/js/core/grid.js +210 -0
- package/src/js/core/height-match.js +79 -0
- package/src/js/core/height-placeholder.js +35 -0
- package/src/js/core/height-viewport.js +98 -0
- package/src/js/core/icon.js +285 -0
- package/src/js/core/img.js +157 -0
- package/src/js/core/index.js +49 -0
- package/src/js/core/inverse.js +173 -0
- package/src/js/core/leader.js +52 -0
- package/src/js/core/margin.js +125 -0
- package/src/js/core/modal.js +179 -0
- package/src/js/core/nav.js +11 -0
- package/src/js/core/navbar.js +96 -0
- package/src/js/core/offcanvas.js +178 -0
- package/src/js/core/overflow-auto.js +50 -0
- package/src/js/core/overflow-fade.js +67 -0
- package/src/js/core/responsive.js +10 -0
- package/src/js/core/scroll.js +71 -0
- package/src/js/core/scrollspy-nav.js +112 -0
- package/src/js/core/scrollspy.js +141 -0
- package/src/js/core/sticky.js +509 -0
- package/src/js/core/svg.js +101 -0
- package/src/js/core/switcher.js +246 -0
- package/src/js/core/tab.js +31 -0
- package/src/js/core/toggle.js +225 -0
- package/src/js/core/video.js +128 -0
- package/src/js/mixin/animate.js +34 -0
- package/src/js/mixin/class.js +7 -0
- package/src/js/mixin/container.js +17 -0
- package/src/js/mixin/event.js +5 -0
- package/src/js/mixin/i18n.js +21 -0
- package/src/js/mixin/internal/animate-fade.js +141 -0
- package/src/js/mixin/internal/animate-slide.js +163 -0
- package/src/js/mixin/internal/slideshow-animations.js +28 -0
- package/src/js/mixin/internal/slideshow-transitioner.js +73 -0
- package/src/js/mixin/media.js +53 -0
- package/src/js/mixin/modal.js +313 -0
- package/src/js/mixin/parallax.js +408 -0
- package/src/js/mixin/position.js +113 -0
- package/src/js/mixin/slider-autoplay.js +71 -0
- package/src/js/mixin/slider-drag.js +236 -0
- package/src/js/mixin/slider-nav.js +248 -0
- package/src/js/mixin/slider-parallax.js +147 -0
- package/src/js/mixin/slider-reactive.js +19 -0
- package/src/js/mixin/slider.js +228 -0
- package/src/js/mixin/slideshow.js +46 -0
- package/src/js/mixin/svg.js +121 -0
- package/src/js/mixin/togglable.js +258 -0
- package/src/js/uikit-core.js +11 -0
- package/src/js/uikit.js +7 -0
- package/src/js/util/animation.js +122 -0
- package/src/js/util/attr.js +42 -0
- package/src/js/util/await.js +7 -0
- package/src/js/util/class.js +53 -0
- package/src/js/util/dimensions.js +220 -0
- package/src/js/util/dom.js +118 -0
- package/src/js/util/env.js +12 -0
- package/src/js/util/event.js +142 -0
- package/src/js/util/fastdom.js +62 -0
- package/src/js/util/filter.js +91 -0
- package/src/js/util/index.js +17 -0
- package/src/js/util/keys.js +11 -0
- package/src/js/util/lang.js +280 -0
- package/src/js/util/mouse.js +80 -0
- package/src/js/util/observer.js +49 -0
- package/src/js/util/player.js +98 -0
- package/src/js/util/position.js +235 -0
- package/src/js/util/scroll.js +64 -0
- package/src/js/util/selector.js +143 -0
- package/src/js/util/style.js +96 -0
- package/src/js/util/svg.js +10 -0
- package/src/js/util/viewport.js +251 -0
- package/src/less/components/_import.less +96 -0
- package/src/less/components/accordion.less +122 -0
- package/src/less/components/alert.less +146 -0
- package/src/less/components/align.less +142 -0
- package/src/less/components/animation.less +283 -0
- package/src/less/components/article.less +110 -0
- package/src/less/components/background.less +140 -0
- package/src/less/components/badge.less +90 -0
- package/src/less/components/base.less +740 -0
- package/src/less/components/breadcrumb.less +157 -0
- package/src/less/components/button.less +540 -0
- package/src/less/components/card.less +441 -0
- package/src/less/components/close.less +67 -0
- package/src/less/components/column.less +143 -0
- package/src/less/components/comment.less +160 -0
- package/src/less/components/container.less +185 -0
- package/src/less/components/countdown.less +112 -0
- package/src/less/components/cover.less +76 -0
- package/src/less/components/description-list.less +71 -0
- package/src/less/components/divider.less +176 -0
- package/src/less/components/dotnav.less +177 -0
- package/src/less/components/drop.less +78 -0
- package/src/less/components/dropbar.less +131 -0
- package/src/less/components/dropdown.less +213 -0
- package/src/less/components/dropnav.less +43 -0
- package/src/less/components/flex.less +308 -0
- package/src/less/components/form-range.less +191 -0
- package/src/less/components/form.less +930 -0
- package/src/less/components/grid.less +419 -0
- package/src/less/components/heading.less +289 -0
- package/src/less/components/height.less +57 -0
- package/src/less/components/icon.less +313 -0
- package/src/less/components/iconnav.less +163 -0
- package/src/less/components/inverse.less +64 -0
- package/src/less/components/label.less +110 -0
- package/src/less/components/leader.less +75 -0
- package/src/less/components/lightbox.less +215 -0
- package/src/less/components/link.less +167 -0
- package/src/less/components/list.less +245 -0
- package/src/less/components/margin.less +263 -0
- package/src/less/components/marker.less +74 -0
- package/src/less/components/mixin.less +20 -0
- package/src/less/components/modal.less +366 -0
- package/src/less/components/nav.less +755 -0
- package/src/less/components/navbar.less +681 -0
- package/src/less/components/notification.less +191 -0
- package/src/less/components/offcanvas.less +329 -0
- package/src/less/components/overlay.less +92 -0
- package/src/less/components/padding.less +81 -0
- package/src/less/components/pagination.less +159 -0
- package/src/less/components/placeholder.less +45 -0
- package/src/less/components/position.less +241 -0
- package/src/less/components/print.less +61 -0
- package/src/less/components/progress.less +83 -0
- package/src/less/components/search.less +488 -0
- package/src/less/components/section.less +257 -0
- package/src/less/components/slidenav.less +137 -0
- package/src/less/components/slider.less +123 -0
- package/src/less/components/slideshow.less +93 -0
- package/src/less/components/sortable.less +90 -0
- package/src/less/components/spinner.less +74 -0
- package/src/less/components/sticky.less +65 -0
- package/src/less/components/subnav.less +317 -0
- package/src/less/components/svg.less +36 -0
- package/src/less/components/switcher.less +47 -0
- package/src/less/components/tab.less +222 -0
- package/src/less/components/table.less +352 -0
- package/src/less/components/text.less +296 -0
- package/src/less/components/thumbnav.less +133 -0
- package/src/less/components/tile.less +247 -0
- package/src/less/components/tooltip.less +79 -0
- package/src/less/components/totop.less +86 -0
- package/src/less/components/transition.less +172 -0
- package/src/less/components/utility.less +584 -0
- package/src/less/components/variables.less +123 -0
- package/src/less/components/visibility.less +164 -0
- package/src/less/components/width.less +489 -0
- package/src/less/theme/_import.less +82 -0
- package/src/less/theme/accordion.less +82 -0
- package/src/less/theme/alert.less +76 -0
- package/src/less/theme/align.less +14 -0
- package/src/less/theme/animation.less +14 -0
- package/src/less/theme/article.less +60 -0
- package/src/less/theme/background.less +14 -0
- package/src/less/theme/badge.less +29 -0
- package/src/less/theme/base.less +134 -0
- package/src/less/theme/breadcrumb.less +45 -0
- package/src/less/theme/button.less +212 -0
- package/src/less/theme/card.less +236 -0
- package/src/less/theme/close.less +32 -0
- package/src/less/theme/column.less +14 -0
- package/src/less/theme/comment.less +72 -0
- package/src/less/theme/container.less +14 -0
- package/src/less/theme/countdown.less +53 -0
- package/src/less/theme/description-list.less +36 -0
- package/src/less/theme/divider.less +49 -0
- package/src/less/theme/dotnav.less +57 -0
- package/src/less/theme/drop.less +14 -0
- package/src/less/theme/dropbar.less +44 -0
- package/src/less/theme/dropdown.less +59 -0
- package/src/less/theme/form-range.less +57 -0
- package/src/less/theme/form.less +154 -0
- package/src/less/theme/grid.less +28 -0
- package/src/less/theme/heading.less +71 -0
- package/src/less/theme/height.less +14 -0
- package/src/less/theme/icon.less +67 -0
- package/src/less/theme/iconnav.less +44 -0
- package/src/less/theme/inverse.less +14 -0
- package/src/less/theme/label.less +46 -0
- package/src/less/theme/leader.less +26 -0
- package/src/less/theme/lightbox.less +32 -0
- package/src/less/theme/link.less +55 -0
- package/src/less/theme/list.less +50 -0
- package/src/less/theme/margin.less +14 -0
- package/src/less/theme/marker.less +31 -0
- package/src/less/theme/modal.less +102 -0
- package/src/less/theme/nav.less +142 -0
- package/src/less/theme/navbar.less +179 -0
- package/src/less/theme/notification.less +44 -0
- package/src/less/theme/offcanvas.less +32 -0
- package/src/less/theme/overlay.less +33 -0
- package/src/less/theme/padding.less +14 -0
- package/src/less/theme/pagination.less +41 -0
- package/src/less/theme/placeholder.less +29 -0
- package/src/less/theme/position.less +14 -0
- package/src/less/theme/progress.less +27 -0
- package/src/less/theme/search.less +121 -0
- package/src/less/theme/section.less +32 -0
- package/src/less/theme/slidenav.less +52 -0
- package/src/less/theme/slider.less +14 -0
- package/src/less/theme/sortable.less +38 -0
- package/src/less/theme/spinner.less +14 -0
- package/src/less/theme/sticky.less +14 -0
- package/src/less/theme/subnav.less +79 -0
- package/src/less/theme/tab.less +138 -0
- package/src/less/theme/table.less +86 -0
- package/src/less/theme/text.less +61 -0
- package/src/less/theme/thumbnav.less +65 -0
- package/src/less/theme/tile.less +52 -0
- package/src/less/theme/tooltip.less +20 -0
- package/src/less/theme/totop.less +32 -0
- package/src/less/theme/transition.less +14 -0
- package/src/less/theme/utility.less +52 -0
- package/src/less/theme/variables.less +36 -0
- package/src/less/theme/width.less +14 -0
- package/src/less/uikit.less +5 -0
- package/src/less/uikit.theme.less +11 -0
- package/src/scss/components/_import.scss +96 -0
- package/src/scss/components/accordion.scss +100 -0
- package/src/scss/components/alert.scss +133 -0
- package/src/scss/components/align.scss +141 -0
- package/src/scss/components/animation.scss +278 -0
- package/src/scss/components/article.scss +93 -0
- package/src/scss/components/background.scss +138 -0
- package/src/scss/components/badge.scss +71 -0
- package/src/scss/components/base.scss +561 -0
- package/src/scss/components/breadcrumb.scss +115 -0
- package/src/scss/components/button.scss +374 -0
- package/src/scss/components/card.scss +379 -0
- package/src/scss/components/close.scss +53 -0
- package/src/scss/components/column.scss +136 -0
- package/src/scss/components/comment.scss +153 -0
- package/src/scss/components/container.scss +180 -0
- package/src/scss/components/countdown.scss +93 -0
- package/src/scss/components/cover.scss +78 -0
- package/src/scss/components/description-list.scss +68 -0
- package/src/scss/components/divider.scss +137 -0
- package/src/scss/components/dotnav.scss +144 -0
- package/src/scss/components/drop.scss +75 -0
- package/src/scss/components/dropbar.scss +123 -0
- package/src/scss/components/dropdown.scss +192 -0
- package/src/scss/components/dropnav.scss +44 -0
- package/src/scss/components/flex.scss +310 -0
- package/src/scss/components/form-range.scss +147 -0
- package/src/scss/components/form.scss +771 -0
- package/src/scss/components/grid.scss +394 -0
- package/src/scss/components/heading.scss +227 -0
- package/src/scss/components/height.scss +56 -0
- package/src/scss/components/icon.scss +228 -0
- package/src/scss/components/iconnav.scss +140 -0
- package/src/scss/components/inverse.scss +51 -0
- package/src/scss/components/label.scss +90 -0
- package/src/scss/components/leader.scss +69 -0
- package/src/scss/components/lightbox.scss +205 -0
- package/src/scss/components/link.scss +131 -0
- package/src/scss/components/list.scss +199 -0
- package/src/scss/components/margin.scss +257 -0
- package/src/scss/components/marker.scss +56 -0
- package/src/scss/components/mixin.scss +34 -0
- package/src/scss/components/modal.scss +336 -0
- package/src/scss/components/nav.scss +533 -0
- package/src/scss/components/navbar.scss +579 -0
- package/src/scss/components/notification.scss +178 -0
- package/src/scss/components/offcanvas.scss +318 -0
- package/src/scss/components/overlay.scss +88 -0
- package/src/scss/components/padding.scss +78 -0
- package/src/scss/components/pagination.scss +127 -0
- package/src/scss/components/placeholder.scss +43 -0
- package/src/scss/components/position.scss +240 -0
- package/src/scss/components/print.scss +63 -0
- package/src/scss/components/progress.scss +81 -0
- package/src/scss/components/search.scss +367 -0
- package/src/scss/components/section.scss +243 -0
- package/src/scss/components/slidenav.scss +112 -0
- package/src/scss/components/slider.scss +121 -0
- package/src/scss/components/slideshow.scss +95 -0
- package/src/scss/components/sortable.scss +89 -0
- package/src/scss/components/spinner.scss +73 -0
- package/src/scss/components/sticky.scss +64 -0
- package/src/scss/components/subnav.scss +222 -0
- package/src/scss/components/svg.scss +38 -0
- package/src/scss/components/switcher.scss +49 -0
- package/src/scss/components/tab.scss +186 -0
- package/src/scss/components/table.scss +293 -0
- package/src/scss/components/text.scss +256 -0
- package/src/scss/components/thumbnav.scss +119 -0
- package/src/scss/components/tile.scss +230 -0
- package/src/scss/components/tooltip.scss +72 -0
- package/src/scss/components/totop.scss +64 -0
- package/src/scss/components/transition.scss +169 -0
- package/src/scss/components/utility.scss +545 -0
- package/src/scss/components/variables.scss +84 -0
- package/src/scss/components/visibility.scss +166 -0
- package/src/scss/components/width.scss +487 -0
- package/src/scss/mixins-theme.scss +2298 -0
- package/src/scss/mixins.scss +1896 -0
- package/src/scss/uikit-theme.scss +8 -0
- package/src/scss/uikit.scss +5 -0
- package/src/scss/variables-theme.scss +1325 -0
- package/src/scss/variables.scss +1190 -0
- package/tests/accordion.html +214 -0
- package/tests/alert.html +124 -0
- package/tests/align.html +133 -0
- package/tests/animation.html +252 -0
- package/tests/article.html +167 -0
- package/tests/background.html +67 -0
- package/tests/badge.html +93 -0
- package/tests/base.html +244 -0
- package/tests/breadcrumb.html +64 -0
- package/tests/button.html +257 -0
- package/tests/card.html +630 -0
- package/tests/close.html +74 -0
- package/tests/column.html +71 -0
- package/tests/comment.html +209 -0
- package/tests/container.html +266 -0
- package/tests/countdown.html +716 -0
- package/tests/cover.html +167 -0
- package/tests/description-list.html +51 -0
- package/tests/divider.html +89 -0
- package/tests/dotnav.html +139 -0
- package/tests/drop.html +782 -0
- package/tests/dropbar.html +551 -0
- package/tests/dropdown.html +286 -0
- package/tests/dropnav.html +856 -0
- package/tests/filter.html +287 -0
- package/tests/flex.html +182 -0
- package/tests/form.html +675 -0
- package/tests/grid-masonry.html +80 -0
- package/tests/grid-parallax.html +171 -0
- package/tests/grid.html +679 -0
- package/tests/heading.html +337 -0
- package/tests/height-expand.html +32 -0
- package/tests/height-viewport.html +253 -0
- package/tests/height.html +160 -0
- package/tests/icon.html +907 -0
- package/tests/iconnav.html +40 -0
- package/tests/image.html +642 -0
- package/tests/images/avatar.jpg +0 -0
- package/tests/images/dark.jpg +0 -0
- package/tests/images/icons.svg +24 -0
- package/tests/images/image-type.avif +0 -0
- package/tests/images/image-type.jpeg +0 -0
- package/tests/images/image-type.webp +0 -0
- package/tests/images/light.jpg +0 -0
- package/tests/images/photo.jpg +0 -0
- package/tests/images/photo2.jpg +0 -0
- package/tests/images/photo3.jpg +0 -0
- package/tests/images/size-h.jpg +0 -0
- package/tests/images/size-v.jpg +0 -0
- package/tests/images/size1.jpg +0 -0
- package/tests/images/size2.jpg +0 -0
- package/tests/images/slider1.jpg +0 -0
- package/tests/images/slider2.jpg +0 -0
- package/tests/images/slider3.jpg +0 -0
- package/tests/images/slider4.jpg +0 -0
- package/tests/images/slider5.jpg +0 -0
- package/tests/index.html +905 -0
- package/tests/js/index.js +171 -0
- package/tests/label.html +28 -0
- package/tests/leader.html +67 -0
- package/tests/lightbox.html +689 -0
- package/tests/link.html +121 -0
- package/tests/list.html +490 -0
- package/tests/margin.html +208 -0
- package/tests/marker.html +87 -0
- package/tests/modal.html +497 -0
- package/tests/nav.html +487 -0
- package/tests/navbar.html +2746 -0
- package/tests/notification.html +137 -0
- package/tests/offcanvas.html +780 -0
- package/tests/overlay.html +102 -0
- package/tests/padding.html +52 -0
- package/tests/pagination.html +140 -0
- package/tests/parallax.html +298 -0
- package/tests/placeholder.html +33 -0
- package/tests/position.html +436 -0
- package/tests/progress.html +59 -0
- package/tests/scroll.html +118 -0
- package/tests/scrollspy.html +593 -0
- package/tests/search.html +535 -0
- package/tests/section.html +384 -0
- package/tests/slidenav.html +333 -0
- package/tests/slider.html +661 -0
- package/tests/slideshow.html +565 -0
- package/tests/sortable.html +300 -0
- package/tests/spinner.html +25 -0
- package/tests/sticky-navbar.html +1421 -0
- package/tests/sticky-parallax.html +279 -0
- package/tests/sticky.html +429 -0
- package/tests/subnav.html +282 -0
- package/tests/svg.html +78 -0
- package/tests/switcher.html +394 -0
- package/tests/tab.html +266 -0
- package/tests/table.html +329 -0
- package/tests/text.html +155 -0
- package/tests/thumbnav.html +64 -0
- package/tests/tile.html +226 -0
- package/tests/toggle.html +186 -0
- package/tests/tooltip.html +126 -0
- package/tests/totop.html +68 -0
- package/tests/transition.html +246 -0
- package/tests/upload.html +290 -0
- package/tests/utility.html +644 -0
- package/tests/video.html +206 -0
- package/tests/visibility.html +112 -0
- package/tests/width.html +130 -0
|
@@ -0,0 +1,561 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
@use "sass:string";
|
|
3
|
+
|
|
4
|
+
// Name: Base
|
|
5
|
+
// Description: Default values for HTML elements
|
|
6
|
+
//
|
|
7
|
+
// Component: `uk-link`
|
|
8
|
+
// `uk-h1`, `uk-h2`, `uk-h3`, `uk-h4`, `uk-h5`, `uk-h6`
|
|
9
|
+
// `uk-hr`
|
|
10
|
+
//
|
|
11
|
+
// ========================================================================
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
// Variables
|
|
15
|
+
// ========================================================================
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/* ========================================================================
|
|
30
|
+
Component: Base
|
|
31
|
+
========================================================================== */
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
* 1. Set `font-size` to support `rem` units
|
|
35
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
36
|
+
* 3. Style
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
html {
|
|
40
|
+
/* 1 */
|
|
41
|
+
font-family: $base-body-font-family;
|
|
42
|
+
font-size: $base-body-font-size;
|
|
43
|
+
font-weight: $base-body-font-weight;
|
|
44
|
+
line-height: $base-body-line-height;
|
|
45
|
+
/* 2 */
|
|
46
|
+
-webkit-text-size-adjust: 100%;
|
|
47
|
+
/* 3 */
|
|
48
|
+
background: $base-body-background;
|
|
49
|
+
color: $base-body-color;
|
|
50
|
+
@if(meta.mixin-exists(hook-base-body)) {@include hook-base-body();}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* Remove the margin in all browsers.
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
body { margin: 0; }
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
/* Links
|
|
61
|
+
========================================================================== */
|
|
62
|
+
|
|
63
|
+
/*
|
|
64
|
+
* Style
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
a,
|
|
68
|
+
.uk-link {
|
|
69
|
+
color: $base-link-color;
|
|
70
|
+
text-decoration: $base-link-text-decoration;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
@if(meta.mixin-exists(hook-base-link)) {@include hook-base-link();}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
a:hover,
|
|
76
|
+
.uk-link:hover,
|
|
77
|
+
.uk-link-toggle:hover .uk-link {
|
|
78
|
+
color: $base-link-hover-color;
|
|
79
|
+
text-decoration: $base-link-hover-text-decoration;
|
|
80
|
+
@if(meta.mixin-exists(hook-base-link-hover)) {@include hook-base-link-hover();}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/*
|
|
84
|
+
* Fix text underline offset if `vertical-align`is set to `middle`
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
a:has(.uk-text-middle),
|
|
88
|
+
.uk-link:has(.uk-text-middle),
|
|
89
|
+
.uk-link-toggle:hover .uk-link:has(.uk-text-middle) { text-underline-offset: 0.1875em; }
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
/* Text-level semantics
|
|
93
|
+
========================================================================== */
|
|
94
|
+
|
|
95
|
+
/*
|
|
96
|
+
* 1. Add the correct text decoration in Edge.
|
|
97
|
+
* 2. The shorthand declaration `underline dotted` is not supported in Safari.
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
abbr[title] {
|
|
101
|
+
/* 1 */
|
|
102
|
+
text-decoration: underline dotted;
|
|
103
|
+
/* 2 */
|
|
104
|
+
-webkit-text-decoration-style: dotted;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/*
|
|
108
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
b,
|
|
112
|
+
strong { font-weight: $base-strong-font-weight; }
|
|
113
|
+
|
|
114
|
+
/*
|
|
115
|
+
* 1. Consolas has a better baseline in running text compared to `Courier`
|
|
116
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
117
|
+
* 3. Style
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
:not(pre) > code,
|
|
121
|
+
:not(pre) > kbd,
|
|
122
|
+
:not(pre) > samp {
|
|
123
|
+
/* 1 */
|
|
124
|
+
font-family: $base-code-font-family;
|
|
125
|
+
/* 2 */
|
|
126
|
+
font-size: $base-code-font-size;
|
|
127
|
+
/* 3 */
|
|
128
|
+
color: $base-code-color;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
@if(meta.mixin-exists(hook-base-code)) {@include hook-base-code();}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/*
|
|
134
|
+
* Emphasize
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
em { color: $base-em-color; }
|
|
138
|
+
|
|
139
|
+
/*
|
|
140
|
+
* Insert
|
|
141
|
+
*/
|
|
142
|
+
|
|
143
|
+
ins {
|
|
144
|
+
background: $base-ins-background;
|
|
145
|
+
color: $base-ins-color;
|
|
146
|
+
text-decoration: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/*
|
|
150
|
+
* Mark
|
|
151
|
+
*/
|
|
152
|
+
|
|
153
|
+
mark {
|
|
154
|
+
background: $base-mark-background;
|
|
155
|
+
color: $base-mark-color;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
* Quote
|
|
160
|
+
*/
|
|
161
|
+
|
|
162
|
+
q { font-style: $base-quote-font-style; }
|
|
163
|
+
|
|
164
|
+
/*
|
|
165
|
+
* Add the correct font size in all browsers.
|
|
166
|
+
*/
|
|
167
|
+
|
|
168
|
+
small { font-size: $base-small-font-size; }
|
|
169
|
+
|
|
170
|
+
/*
|
|
171
|
+
* Prevents `sub` and `sup` affecting `line-height` in all browsers.
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
sub,
|
|
175
|
+
sup {
|
|
176
|
+
font-size: 75%;
|
|
177
|
+
line-height: 0;
|
|
178
|
+
position: relative;
|
|
179
|
+
vertical-align: baseline;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
sup { top: -0.5em; }
|
|
183
|
+
sub { bottom: -0.25em; }
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
/* Embedded content
|
|
187
|
+
========================================================================== */
|
|
188
|
+
|
|
189
|
+
/*
|
|
190
|
+
* Remove the gap between the element and the bottom of its parent container.
|
|
191
|
+
*/
|
|
192
|
+
|
|
193
|
+
audio,
|
|
194
|
+
canvas,
|
|
195
|
+
iframe,
|
|
196
|
+
img,
|
|
197
|
+
svg,
|
|
198
|
+
video { vertical-align: middle; }
|
|
199
|
+
|
|
200
|
+
/*
|
|
201
|
+
* 1. Constrain the element to its parent width.
|
|
202
|
+
* 2. Take border and padding into account.
|
|
203
|
+
* 3. Reset `height` attribute if present to scale the height based on the intrinsic aspect ratio.
|
|
204
|
+
* 4. Scale height based on the extrinsic aspect ratio. Works only in Chrome yet.
|
|
205
|
+
* 5. Size image to fill the element's content box.
|
|
206
|
+
* Note: Add `iframe` as soon as `attr` is supported in all browsers and remove `uk-responsive`.
|
|
207
|
+
*/
|
|
208
|
+
|
|
209
|
+
canvas,
|
|
210
|
+
img,
|
|
211
|
+
svg,
|
|
212
|
+
video {
|
|
213
|
+
/* 1 */
|
|
214
|
+
max-width: 100%;
|
|
215
|
+
/* 2 */
|
|
216
|
+
box-sizing: border-box;
|
|
217
|
+
/* 3 */
|
|
218
|
+
height: auto;
|
|
219
|
+
/* 4 */
|
|
220
|
+
aspect-ratio: string.unquote('attr(width type(<number>)) / attr(height type(<number>))');
|
|
221
|
+
/* 5 */
|
|
222
|
+
object-fit: cover;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/*
|
|
226
|
+
* Deprecated: only needed for `img` elements with `uk-img`
|
|
227
|
+
* 1. Hide `alt` text for lazy load images.
|
|
228
|
+
* 2. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
|
|
229
|
+
*/
|
|
230
|
+
|
|
231
|
+
img:not([src]) {
|
|
232
|
+
/* 1 */
|
|
233
|
+
visibility: hidden;
|
|
234
|
+
/* 2 */
|
|
235
|
+
min-width: 1px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/*
|
|
239
|
+
* Iframe
|
|
240
|
+
* Remove border in all browsers
|
|
241
|
+
*/
|
|
242
|
+
|
|
243
|
+
iframe { border: 0; }
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
/* Block elements
|
|
247
|
+
========================================================================== */
|
|
248
|
+
|
|
249
|
+
/*
|
|
250
|
+
* Margins
|
|
251
|
+
*/
|
|
252
|
+
|
|
253
|
+
p,
|
|
254
|
+
ul,
|
|
255
|
+
ol,
|
|
256
|
+
dl,
|
|
257
|
+
pre,
|
|
258
|
+
address,
|
|
259
|
+
fieldset,
|
|
260
|
+
figure { margin: 0 0 $base-margin-vertical 0; }
|
|
261
|
+
|
|
262
|
+
/* Add margin if adjacent element */
|
|
263
|
+
* + p,
|
|
264
|
+
* + ul,
|
|
265
|
+
* + ol,
|
|
266
|
+
* + dl,
|
|
267
|
+
* + pre,
|
|
268
|
+
* + address,
|
|
269
|
+
* + fieldset,
|
|
270
|
+
* + figure { margin-top: $base-margin-vertical; }
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
/* Headings
|
|
274
|
+
========================================================================== */
|
|
275
|
+
|
|
276
|
+
h1, .uk-h1,
|
|
277
|
+
h2, .uk-h2,
|
|
278
|
+
h3, .uk-h3,
|
|
279
|
+
h4, .uk-h4,
|
|
280
|
+
h5, .uk-h5,
|
|
281
|
+
h6, .uk-h6,
|
|
282
|
+
.uk-heading-small,
|
|
283
|
+
.uk-heading-medium,
|
|
284
|
+
.uk-heading-large,
|
|
285
|
+
.uk-heading-xlarge,
|
|
286
|
+
.uk-heading-2xlarge,
|
|
287
|
+
.uk-heading-3xlarge {
|
|
288
|
+
margin: 0 0 $base-margin-vertical 0;
|
|
289
|
+
font-family: $base-heading-font-family;
|
|
290
|
+
font-weight: $base-heading-font-weight;
|
|
291
|
+
color: $base-heading-color;
|
|
292
|
+
text-transform: $base-heading-text-transform;
|
|
293
|
+
@if(meta.mixin-exists(hook-base-heading)) {@include hook-base-heading();}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/* Add margin if adjacent element */
|
|
297
|
+
* + h1, * + .uk-h1,
|
|
298
|
+
* + h2, * + .uk-h2,
|
|
299
|
+
* + h3, * + .uk-h3,
|
|
300
|
+
* + h4, * + .uk-h4,
|
|
301
|
+
* + h5, * + .uk-h5,
|
|
302
|
+
* + h6, * + .uk-h6,
|
|
303
|
+
* + .uk-heading-small,
|
|
304
|
+
* + .uk-heading-medium,
|
|
305
|
+
* + .uk-heading-large,
|
|
306
|
+
* + .uk-heading-xlarge,
|
|
307
|
+
* + .uk-heading-2xlarge,
|
|
308
|
+
* + .uk-heading-3xlarge { margin-top: $base-heading-margin-top; }
|
|
309
|
+
|
|
310
|
+
/*
|
|
311
|
+
* Sizes
|
|
312
|
+
*/
|
|
313
|
+
|
|
314
|
+
h1, .uk-h1 {
|
|
315
|
+
font-size: $base-h1-font-size;
|
|
316
|
+
line-height: $base-h1-line-height;
|
|
317
|
+
@if(meta.mixin-exists(hook-base-h1)) {@include hook-base-h1();}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
h2, .uk-h2 {
|
|
321
|
+
font-size: $base-h2-font-size;
|
|
322
|
+
line-height: $base-h2-line-height;
|
|
323
|
+
@if(meta.mixin-exists(hook-base-h2)) {@include hook-base-h2();}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
h3, .uk-h3 {
|
|
327
|
+
font-size: $base-h3-font-size;
|
|
328
|
+
line-height: $base-h3-line-height;
|
|
329
|
+
@if(meta.mixin-exists(hook-base-h3)) {@include hook-base-h3();}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
h4, .uk-h4 {
|
|
333
|
+
font-size: $base-h4-font-size;
|
|
334
|
+
line-height: $base-h4-line-height;
|
|
335
|
+
@if(meta.mixin-exists(hook-base-h4)) {@include hook-base-h4();}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
h5, .uk-h5 {
|
|
339
|
+
font-size: $base-h5-font-size;
|
|
340
|
+
line-height: $base-h5-line-height;
|
|
341
|
+
@if(meta.mixin-exists(hook-base-h5)) {@include hook-base-h5();}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
h6, .uk-h6 {
|
|
345
|
+
font-size: $base-h6-font-size;
|
|
346
|
+
line-height: $base-h6-line-height;
|
|
347
|
+
@if(meta.mixin-exists(hook-base-h6)) {@include hook-base-h6();}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/* Tablet landscape and bigger */
|
|
351
|
+
@media (min-width: $breakpoint-medium) {
|
|
352
|
+
|
|
353
|
+
h1, .uk-h1 { font-size: $base-h1-font-size-m; }
|
|
354
|
+
h2, .uk-h2 { font-size: $base-h2-font-size-m; }
|
|
355
|
+
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
/* Lists
|
|
360
|
+
========================================================================== */
|
|
361
|
+
|
|
362
|
+
ul,
|
|
363
|
+
ol { padding-left: $base-list-padding-left; }
|
|
364
|
+
|
|
365
|
+
/*
|
|
366
|
+
* Reset margin for nested lists
|
|
367
|
+
*/
|
|
368
|
+
|
|
369
|
+
ul > li > ul,
|
|
370
|
+
ul > li > ol,
|
|
371
|
+
ol > li > ol,
|
|
372
|
+
ol > li > ul { margin: 0; }
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
/* Description lists
|
|
376
|
+
========================================================================== */
|
|
377
|
+
|
|
378
|
+
dt { font-weight: bold; }
|
|
379
|
+
dd { margin-left: 0; }
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
/* Horizontal rules
|
|
383
|
+
========================================================================== */
|
|
384
|
+
|
|
385
|
+
/*
|
|
386
|
+
* 1. Show the overflow in Chrome, Edge and IE.
|
|
387
|
+
* 2. Add the correct text-align in Edge and IE.
|
|
388
|
+
* 3. Style
|
|
389
|
+
*/
|
|
390
|
+
|
|
391
|
+
hr, .uk-hr {
|
|
392
|
+
/* 1 */
|
|
393
|
+
overflow: visible;
|
|
394
|
+
/* 2 */
|
|
395
|
+
text-align: inherit;
|
|
396
|
+
/* 3 */
|
|
397
|
+
margin: 0 0 $base-hr-margin-vertical 0;
|
|
398
|
+
border: 0;
|
|
399
|
+
border-top: $base-hr-border-width solid $base-hr-border;
|
|
400
|
+
@if(meta.mixin-exists(hook-base-hr)) {@include hook-base-hr();}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/* Add margin if adjacent element */
|
|
404
|
+
* + hr,
|
|
405
|
+
* + .uk-hr { margin-top: $base-hr-margin-vertical; }
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
/* Address
|
|
409
|
+
========================================================================== */
|
|
410
|
+
|
|
411
|
+
address { font-style: normal; }
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
/* Blockquotes
|
|
415
|
+
========================================================================== */
|
|
416
|
+
|
|
417
|
+
blockquote {
|
|
418
|
+
margin: 0 0 $base-blockquote-margin-vertical 0;
|
|
419
|
+
font-size: $base-blockquote-font-size;
|
|
420
|
+
line-height: $base-blockquote-line-height;
|
|
421
|
+
font-style: $base-blockquote-font-style;
|
|
422
|
+
@if(meta.mixin-exists(hook-base-blockquote)) {@include hook-base-blockquote();}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/* Add margin if adjacent element */
|
|
426
|
+
* + blockquote { margin-top: $base-blockquote-margin-vertical; }
|
|
427
|
+
|
|
428
|
+
/*
|
|
429
|
+
* Content
|
|
430
|
+
*/
|
|
431
|
+
|
|
432
|
+
blockquote p:last-of-type { margin-bottom: 0; }
|
|
433
|
+
|
|
434
|
+
blockquote footer {
|
|
435
|
+
margin-top: $base-blockquote-footer-margin-top;
|
|
436
|
+
font-size: $base-blockquote-footer-font-size;
|
|
437
|
+
line-height: $base-blockquote-footer-line-height;
|
|
438
|
+
@if(meta.mixin-exists(hook-base-blockquote-footer)) {@include hook-base-blockquote-footer();}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
/* Preformatted text
|
|
443
|
+
========================================================================== */
|
|
444
|
+
|
|
445
|
+
/*
|
|
446
|
+
* 1. Contain overflow in all browsers.
|
|
447
|
+
*/
|
|
448
|
+
|
|
449
|
+
pre {
|
|
450
|
+
font: $base-pre-font-size string.unquote("/") $base-pre-line-height $base-pre-font-family;
|
|
451
|
+
color: $base-pre-color;
|
|
452
|
+
-moz-tab-size: 4;
|
|
453
|
+
tab-size: 4;
|
|
454
|
+
/* 1 */
|
|
455
|
+
overflow: auto;
|
|
456
|
+
@if(meta.mixin-exists(hook-base-pre)) {@include hook-base-pre();}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
pre code { font-family: $base-pre-font-family; }
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
/* Focus
|
|
463
|
+
========================================================================== */
|
|
464
|
+
|
|
465
|
+
:focus { outline: none; }
|
|
466
|
+
|
|
467
|
+
:focus-visible { outline: $base-focus-outline-width $base-focus-outline-style $base-focus-outline; }
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
/* Selection pseudo-element
|
|
471
|
+
========================================================================== */
|
|
472
|
+
|
|
473
|
+
::selection {
|
|
474
|
+
background: $base-selection-background;
|
|
475
|
+
color: $base-selection-color;
|
|
476
|
+
text-shadow: none;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
/* HTML5 elements
|
|
481
|
+
========================================================================== */
|
|
482
|
+
|
|
483
|
+
/*
|
|
484
|
+
* 1. Add the correct display in Edge, IE 10+, and Firefox.
|
|
485
|
+
* 2. Add the correct display in IE.
|
|
486
|
+
*/
|
|
487
|
+
|
|
488
|
+
details, /* 1 */
|
|
489
|
+
main { /* 2 */
|
|
490
|
+
display: block;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/*
|
|
494
|
+
* Add the correct display in all browsers.
|
|
495
|
+
*/
|
|
496
|
+
|
|
497
|
+
summary { display: list-item; }
|
|
498
|
+
|
|
499
|
+
/*
|
|
500
|
+
* Add the correct display in IE.
|
|
501
|
+
*/
|
|
502
|
+
|
|
503
|
+
template { display: none; }
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
/* Pass media breakpoints to JS
|
|
507
|
+
========================================================================== */
|
|
508
|
+
|
|
509
|
+
/*
|
|
510
|
+
* Breakpoints
|
|
511
|
+
*/
|
|
512
|
+
|
|
513
|
+
:root {
|
|
514
|
+
--uk-breakpoint-s: #{$breakpoint-small};
|
|
515
|
+
--uk-breakpoint-m: #{$breakpoint-medium};
|
|
516
|
+
--uk-breakpoint-l: #{$breakpoint-large};
|
|
517
|
+
--uk-breakpoint-xl: #{$breakpoint-xlarge};
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
// Hooks
|
|
521
|
+
// ========================================================================
|
|
522
|
+
|
|
523
|
+
@if(meta.mixin-exists(hook-base-misc)) {@include hook-base-misc();}
|
|
524
|
+
|
|
525
|
+
// @mixin hook-base-body(){}
|
|
526
|
+
// @mixin hook-base-link(){}
|
|
527
|
+
// @mixin hook-base-link-hover(){}
|
|
528
|
+
// @mixin hook-base-code(){}
|
|
529
|
+
// @mixin hook-base-heading(){}
|
|
530
|
+
// @mixin hook-base-h1(){}
|
|
531
|
+
// @mixin hook-base-h2(){}
|
|
532
|
+
// @mixin hook-base-h3(){}
|
|
533
|
+
// @mixin hook-base-h4(){}
|
|
534
|
+
// @mixin hook-base-h5(){}
|
|
535
|
+
// @mixin hook-base-h6(){}
|
|
536
|
+
// @mixin hook-base-hr(){}
|
|
537
|
+
// @mixin hook-base-blockquote(){}
|
|
538
|
+
// @mixin hook-base-blockquote-footer(){}
|
|
539
|
+
// @mixin hook-base-pre(){}
|
|
540
|
+
// @mixin hook-base-misc(){}
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
// Inverse
|
|
544
|
+
// ========================================================================
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
// @mixin hook-inverse-base-link(){}
|
|
550
|
+
// @mixin hook-inverse-base-link-hover(){}
|
|
551
|
+
// @mixin hook-inverse-base-code(){}
|
|
552
|
+
// @mixin hook-inverse-base-heading(){}
|
|
553
|
+
// @mixin hook-inverse-base-h1(){}
|
|
554
|
+
// @mixin hook-inverse-base-h2(){}
|
|
555
|
+
// @mixin hook-inverse-base-h3(){}
|
|
556
|
+
// @mixin hook-inverse-base-h4(){}
|
|
557
|
+
// @mixin hook-inverse-base-h5(){}
|
|
558
|
+
// @mixin hook-inverse-base-h6(){}
|
|
559
|
+
// @mixin hook-inverse-base-blockquote(){}
|
|
560
|
+
// @mixin hook-inverse-base-blockquote-footer(){}
|
|
561
|
+
// @mixin hook-inverse-base-hr(){}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
3
|
+
// Name: Breadcrumb
|
|
4
|
+
// Description: Component to create a breadcrumb navigation
|
|
5
|
+
//
|
|
6
|
+
// Component: `uk-breadcrumb`
|
|
7
|
+
//
|
|
8
|
+
// States: `uk-disabled`
|
|
9
|
+
//
|
|
10
|
+
// ========================================================================
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
// Variables
|
|
14
|
+
// ========================================================================
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
/* ========================================================================
|
|
20
|
+
Component: Breadcrumb
|
|
21
|
+
========================================================================== */
|
|
22
|
+
|
|
23
|
+
/*
|
|
24
|
+
* 1. Reset list
|
|
25
|
+
* 2. Remove space between elements
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
.uk-breadcrumb {
|
|
29
|
+
/* 1 */
|
|
30
|
+
padding: 0;
|
|
31
|
+
list-style: none;
|
|
32
|
+
/* 2 */
|
|
33
|
+
font-size: 0;
|
|
34
|
+
@if(meta.mixin-exists(hook-breadcrumb)) {@include hook-breadcrumb();}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/*
|
|
38
|
+
* 1. Doesn't generate any box and replaced by child boxes
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
.uk-breadcrumb > * { display: contents; }
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
/* Items
|
|
45
|
+
========================================================================== */
|
|
46
|
+
|
|
47
|
+
.uk-breadcrumb > * > * {
|
|
48
|
+
font-size: $breadcrumb-item-font-size;
|
|
49
|
+
color: $breadcrumb-item-color;
|
|
50
|
+
@if(meta.mixin-exists(hook-breadcrumb-item)) {@include hook-breadcrumb-item();}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Hover */
|
|
54
|
+
.uk-breadcrumb > * > :hover {
|
|
55
|
+
color: $breadcrumb-item-hover-color;
|
|
56
|
+
text-decoration: $breadcrumb-item-hover-text-decoration;
|
|
57
|
+
@if(meta.mixin-exists(hook-breadcrumb-item-hover)) {@include hook-breadcrumb-item-hover();}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Disabled */
|
|
61
|
+
.uk-breadcrumb > .uk-disabled > * {
|
|
62
|
+
@if(meta.mixin-exists(hook-breadcrumb-item-disabled)) {@include hook-breadcrumb-item-disabled();}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Active */
|
|
66
|
+
.uk-breadcrumb > :last-child > span,
|
|
67
|
+
.uk-breadcrumb > :last-child > a:not([href]) {
|
|
68
|
+
color: $breadcrumb-item-active-color;
|
|
69
|
+
@if(meta.mixin-exists(hook-breadcrumb-item-active)) {@include hook-breadcrumb-item-active();}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/*
|
|
73
|
+
* Divider
|
|
74
|
+
* `nth-child` makes it also work without JS if it's only one row
|
|
75
|
+
* 1. Remove space between inline block elements.
|
|
76
|
+
* 2. Style
|
|
77
|
+
*/
|
|
78
|
+
|
|
79
|
+
.uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before {
|
|
80
|
+
content: $breadcrumb-divider;
|
|
81
|
+
display: inline-block;
|
|
82
|
+
/* 1 */
|
|
83
|
+
margin: 0 $breadcrumb-divider-margin-horizontal;
|
|
84
|
+
/* 2 */
|
|
85
|
+
font-size: $breadcrumb-divider-font-size;
|
|
86
|
+
color: $breadcrumb-divider-color;
|
|
87
|
+
@if(meta.mixin-exists(hook-breadcrumb-divider)) {@include hook-breadcrumb-divider();}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// Hooks
|
|
92
|
+
// ========================================================================
|
|
93
|
+
|
|
94
|
+
@if(meta.mixin-exists(hook-breadcrumb-misc)) {@include hook-breadcrumb-misc();}
|
|
95
|
+
|
|
96
|
+
// @mixin hook-breadcrumb(){}
|
|
97
|
+
// @mixin hook-breadcrumb-item(){}
|
|
98
|
+
// @mixin hook-breadcrumb-item-hover(){}
|
|
99
|
+
// @mixin hook-breadcrumb-item-disabled(){}
|
|
100
|
+
// @mixin hook-breadcrumb-item-active(){}
|
|
101
|
+
// @mixin hook-breadcrumb-divider(){}
|
|
102
|
+
// @mixin hook-breadcrumb-misc(){}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
// Inverse
|
|
106
|
+
// ========================================================================
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
// @mixin hook-inverse-breadcrumb-item(){}
|
|
112
|
+
// @mixin hook-inverse-breadcrumb-item-hover(){}
|
|
113
|
+
// @mixin hook-inverse-breadcrumb-item-disabled(){}
|
|
114
|
+
// @mixin hook-inverse-breadcrumb-item-active(){}
|
|
115
|
+
// @mixin hook-inverse-breadcrumb-divider(){}
|