uikit3-rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +10 -0
- data/assets/images/backgrounds/accordion-close.svg +4 -0
- data/assets/images/backgrounds/accordion-open.svg +3 -0
- data/assets/images/backgrounds/divider-icon.svg +3 -0
- data/assets/images/backgrounds/form-checkbox-indeterminate.svg +3 -0
- data/assets/images/backgrounds/form-checkbox.svg +3 -0
- data/assets/images/backgrounds/form-radio.svg +3 -0
- data/assets/images/backgrounds/form-select.svg +4 -0
- data/assets/images/backgrounds/list-bullet.svg +3 -0
- data/assets/images/backgrounds/nav-parent-close.svg +3 -0
- data/assets/images/backgrounds/nav-parent-open.svg +3 -0
- data/assets/images/components/close-large.svg +4 -0
- data/assets/images/components/close.svg +4 -0
- data/assets/images/components/navbar-toggle.svg +5 -0
- data/assets/images/components/overlay.svg +4 -0
- data/assets/images/components/pagination-next.svg +3 -0
- data/assets/images/components/pagination-previous.svg +3 -0
- data/assets/images/components/search-default.svg +4 -0
- data/assets/images/components/search-large.svg +4 -0
- data/assets/images/components/search-navbar.svg +4 -0
- data/assets/images/components/slidenav-large-next.svg +3 -0
- data/assets/images/components/slidenav-large-previous.svg +3 -0
- data/assets/images/components/slidenav-next.svg +3 -0
- data/assets/images/components/slidenav-previous.svg +3 -0
- data/assets/images/components/spinner.svg +3 -0
- data/assets/images/components/totop.svg +3 -0
- data/assets/images/symbols/album.svg +5 -0
- data/assets/images/symbols/arrow-down.svg +4 -0
- data/assets/images/symbols/arrow-left.svg +4 -0
- data/assets/images/symbols/arrow-right.svg +4 -0
- data/assets/images/symbols/arrow-up.svg +4 -0
- data/assets/images/symbols/ban.svg +4 -0
- data/assets/images/symbols/behance.svg +5 -0
- data/assets/images/symbols/bell.svg +4 -0
- data/assets/images/symbols/bold.svg +3 -0
- data/assets/images/symbols/bolt.svg +3 -0
- data/assets/images/symbols/bookmark.svg +3 -0
- data/assets/images/symbols/calendar.svg +5 -0
- data/assets/images/symbols/camera.svg +4 -0
- data/assets/images/symbols/cart.svg +5 -0
- data/assets/images/symbols/check.svg +3 -0
- data/assets/images/symbols/chevron-down.svg +3 -0
- data/assets/images/symbols/chevron-left.svg +3 -0
- data/assets/images/symbols/chevron-right.svg +3 -0
- data/assets/images/symbols/chevron-up.svg +3 -0
- data/assets/images/symbols/clock.svg +5 -0
- data/assets/images/symbols/close.svg +4 -0
- data/assets/images/symbols/cloud-download.svg +5 -0
- data/assets/images/symbols/cloud-upload.svg +5 -0
- data/assets/images/symbols/code.svg +4 -0
- data/assets/images/symbols/cog.svg +4 -0
- data/assets/images/symbols/comment.svg +3 -0
- data/assets/images/symbols/commenting.svg +6 -0
- data/assets/images/symbols/comments.svg +4 -0
- data/assets/images/symbols/copy.svg +4 -0
- data/assets/images/symbols/credit-card.svg +4 -0
- data/assets/images/symbols/database.svg +6 -0
- data/assets/images/symbols/desktop.svg +6 -0
- data/assets/images/symbols/download.svg +5 -0
- data/assets/images/symbols/dribbble.svg +6 -0
- data/assets/images/symbols/expand.svg +6 -0
- data/assets/images/symbols/facebook.svg +3 -0
- data/assets/images/symbols/file-edit.svg +4 -0
- data/assets/images/symbols/file.svg +3 -0
- data/assets/images/symbols/flickr.svg +4 -0
- data/assets/images/symbols/folder.svg +3 -0
- data/assets/images/symbols/forward.svg +3 -0
- data/assets/images/symbols/foursquare.svg +3 -0
- data/assets/images/symbols/future.svg +6 -0
- data/assets/images/symbols/git-branch.svg +6 -0
- data/assets/images/symbols/git-fork.svg +6 -0
- data/assets/images/symbols/github-alt.svg +3 -0
- data/assets/images/symbols/github.svg +3 -0
- data/assets/images/symbols/google-plus.svg +4 -0
- data/assets/images/symbols/google.svg +3 -0
- data/assets/images/symbols/grid.svg +11 -0
- data/assets/images/symbols/happy.svg +6 -0
- data/assets/images/symbols/hashtag.svg +3 -0
- data/assets/images/symbols/heart.svg +3 -0
- data/assets/images/symbols/history.svg +6 -0
- data/assets/images/symbols/home.svg +5 -0
- data/assets/images/symbols/image.svg +6 -0
- data/assets/images/symbols/info.svg +4 -0
- data/assets/images/symbols/instagram.svg +5 -0
- data/assets/images/symbols/italic.svg +3 -0
- data/assets/images/symbols/joomla.svg +6 -0
- data/assets/images/symbols/laptop.svg +4 -0
- data/assets/images/symbols/lifesaver.svg +3 -0
- data/assets/images/symbols/link.svg +5 -0
- data/assets/images/symbols/linkedin.svg +4 -0
- data/assets/images/symbols/list.svg +8 -0
- data/assets/images/symbols/location.svg +4 -0
- data/assets/images/symbols/lock.svg +4 -0
- data/assets/images/symbols/mail.svg +4 -0
- data/assets/images/symbols/menu.svg +5 -0
- data/assets/images/symbols/minus-circle.svg +4 -0
- data/assets/images/symbols/minus.svg +3 -0
- data/assets/images/symbols/more-vertical.svg +5 -0
- data/assets/images/symbols/more.svg +5 -0
- data/assets/images/symbols/move.svg +8 -0
- data/assets/images/symbols/nut.svg +4 -0
- data/assets/images/symbols/pagekit.svg +3 -0
- data/assets/images/symbols/paint-bucket.svg +5 -0
- data/assets/images/symbols/pencil.svg +4 -0
- data/assets/images/symbols/phone-landscape.svg +4 -0
- data/assets/images/symbols/phone-receiver.svg +3 -0
- data/assets/images/symbols/phone.svg +4 -0
- data/assets/images/symbols/pinterest.svg +3 -0
- data/assets/images/symbols/play-circle.svg +4 -0
- data/assets/images/symbols/play.svg +3 -0
- data/assets/images/symbols/plus-circle.svg +5 -0
- data/assets/images/symbols/plus.svg +4 -0
- data/assets/images/symbols/pull.svg +5 -0
- data/assets/images/symbols/push.svg +5 -0
- data/assets/images/symbols/question.svg +5 -0
- data/assets/images/symbols/quote-right.svg +4 -0
- data/assets/images/symbols/refresh.svg +4 -0
- data/assets/images/symbols/reply.svg +3 -0
- data/assets/images/symbols/rss.svg +5 -0
- data/assets/images/symbols/search.svg +4 -0
- data/assets/images/symbols/server.svg +15 -0
- data/assets/images/symbols/settings.svg +11 -0
- data/assets/images/symbols/shrink.svg +6 -0
- data/assets/images/symbols/sign-in.svg +4 -0
- data/assets/images/symbols/sign-out.svg +4 -0
- data/assets/images/symbols/social.svg +7 -0
- data/assets/images/symbols/soundcloud.svg +6 -0
- data/assets/images/symbols/star.svg +3 -0
- data/assets/images/symbols/strikethrough.svg +4 -0
- data/assets/images/symbols/table.svg +6 -0
- data/assets/images/symbols/tablet-landscape.svg +4 -0
- data/assets/images/symbols/tablet.svg +4 -0
- data/assets/images/symbols/tag.svg +4 -0
- data/assets/images/symbols/thumbnails.svg +6 -0
- data/assets/images/symbols/trash.svg +7 -0
- data/assets/images/symbols/triangle-down.svg +3 -0
- data/assets/images/symbols/triangle-left.svg +3 -0
- data/assets/images/symbols/triangle-right.svg +3 -0
- data/assets/images/symbols/triangle-up.svg +3 -0
- data/assets/images/symbols/tumblr.svg +3 -0
- data/assets/images/symbols/tv.svg +4 -0
- data/assets/images/symbols/twitter.svg +3 -0
- data/assets/images/symbols/uikit.svg +4 -0
- data/assets/images/symbols/unlock.svg +4 -0
- data/assets/images/symbols/upload.svg +5 -0
- data/assets/images/symbols/user.svg +4 -0
- data/assets/images/symbols/users.svg +5 -0
- data/assets/images/symbols/video-camera.svg +4 -0
- data/assets/images/symbols/vimeo.svg +3 -0
- data/assets/images/symbols/warning.svg +5 -0
- data/assets/images/symbols/whatsapp.svg +3 -0
- data/assets/images/symbols/wordpress.svg +3 -0
- data/assets/images/symbols/world.svg +7 -0
- data/assets/images/symbols/xing.svg +4 -0
- data/assets/images/symbols/youtube.svg +3 -0
- data/assets/javascripts/uikit.js +6398 -0
- data/assets/stylesheets/components/_import.components.less +55 -0
- data/assets/stylesheets/components/_import.utilities.less +19 -0
- data/assets/stylesheets/components/accordion.less +110 -0
- data/assets/stylesheets/components/alert.less +147 -0
- data/assets/stylesheets/components/align.less +142 -0
- data/assets/stylesheets/components/animation.less +638 -0
- data/assets/stylesheets/components/article.less +113 -0
- data/assets/stylesheets/components/background.less +136 -0
- data/assets/stylesheets/components/badge.less +104 -0
- data/assets/stylesheets/components/base.less +737 -0
- data/assets/stylesheets/components/breadcrumb.less +150 -0
- data/assets/stylesheets/components/button.less +541 -0
- data/assets/stylesheets/components/card.less +363 -0
- data/assets/stylesheets/components/close.less +119 -0
- data/assets/stylesheets/components/column.less +285 -0
- data/assets/stylesheets/components/comment.less +171 -0
- data/assets/stylesheets/components/container.less +106 -0
- data/assets/stylesheets/components/cover.less +56 -0
- data/assets/stylesheets/components/description-list.less +71 -0
- data/assets/stylesheets/components/divider.less +147 -0
- data/assets/stylesheets/components/dotnav.less +190 -0
- data/assets/stylesheets/components/drop.less +74 -0
- data/assets/stylesheets/components/dropdown.less +150 -0
- data/assets/stylesheets/components/flex.less +335 -0
- data/assets/stylesheets/components/form.less +836 -0
- data/assets/stylesheets/components/grid.less +363 -0
- data/assets/stylesheets/components/heading.less +238 -0
- data/assets/stylesheets/components/icon.less +242 -0
- data/assets/stylesheets/components/iconnav.less +166 -0
- data/assets/stylesheets/components/inverse.less +52 -0
- data/assets/stylesheets/components/label.less +110 -0
- data/assets/stylesheets/components/link.less +91 -0
- data/assets/stylesheets/components/list.less +205 -0
- data/assets/stylesheets/components/margin.less +161 -0
- data/assets/stylesheets/components/mixin.less +20 -0
- data/assets/stylesheets/components/modal.less +403 -0
- data/assets/stylesheets/components/nav.less +438 -0
- data/assets/stylesheets/components/navbar.less +596 -0
- data/assets/stylesheets/components/notification.less +190 -0
- data/assets/stylesheets/components/offcanvas.less +250 -0
- data/assets/stylesheets/components/overlay.less +89 -0
- data/assets/stylesheets/components/padding.less +79 -0
- data/assets/stylesheets/components/pagination.less +169 -0
- data/assets/stylesheets/components/placeholder.less +45 -0
- data/assets/stylesheets/components/position.less +221 -0
- data/assets/stylesheets/components/print.less +61 -0
- data/assets/stylesheets/components/progress.less +102 -0
- data/assets/stylesheets/components/search.less +442 -0
- data/assets/stylesheets/components/section.less +230 -0
- data/assets/stylesheets/components/slidenav.less +145 -0
- data/assets/stylesheets/components/sortable.less +101 -0
- data/assets/stylesheets/components/spinner.less +103 -0
- data/assets/stylesheets/components/sticky.less +57 -0
- data/assets/stylesheets/components/subnav.less +305 -0
- data/assets/stylesheets/components/switcher.less +47 -0
- data/assets/stylesheets/components/tab.less +226 -0
- data/assets/stylesheets/components/table.less +207 -0
- data/assets/stylesheets/components/text.less +254 -0
- data/assets/stylesheets/components/tooltip.less +84 -0
- data/assets/stylesheets/components/totop.less +97 -0
- data/assets/stylesheets/components/transition.less +187 -0
- data/assets/stylesheets/components/utility.less +516 -0
- data/assets/stylesheets/components/variables.less +117 -0
- data/assets/stylesheets/components/visibility.less +109 -0
- data/assets/stylesheets/components/width.less +418 -0
- data/assets/stylesheets/theme/_import.less +72 -0
- data/assets/stylesheets/theme/accordion.less +76 -0
- data/assets/stylesheets/theme/alert.less +76 -0
- data/assets/stylesheets/theme/align.less +14 -0
- data/assets/stylesheets/theme/animation.less +14 -0
- data/assets/stylesheets/theme/article.less +60 -0
- data/assets/stylesheets/theme/background.less +14 -0
- data/assets/stylesheets/theme/badge.less +29 -0
- data/assets/stylesheets/theme/base.less +134 -0
- data/assets/stylesheets/theme/breadcrumb.less +42 -0
- data/assets/stylesheets/theme/button.less +221 -0
- data/assets/stylesheets/theme/card.less +193 -0
- data/assets/stylesheets/theme/close.less +34 -0
- data/assets/stylesheets/theme/column.less +14 -0
- data/assets/stylesheets/theme/comment.less +72 -0
- data/assets/stylesheets/theme/container.less +14 -0
- data/assets/stylesheets/theme/description-list.less +36 -0
- data/assets/stylesheets/theme/divider.less +41 -0
- data/assets/stylesheets/theme/dotnav.less +41 -0
- data/assets/stylesheets/theme/drop.less +14 -0
- data/assets/stylesheets/theme/dropdown.less +45 -0
- data/assets/stylesheets/theme/form.less +150 -0
- data/assets/stylesheets/theme/grid.less +14 -0
- data/assets/stylesheets/theme/heading.less +59 -0
- data/assets/stylesheets/theme/icon.less +55 -0
- data/assets/stylesheets/theme/iconnav.less +34 -0
- data/assets/stylesheets/theme/inverse.less +14 -0
- data/assets/stylesheets/theme/label.less +46 -0
- data/assets/stylesheets/theme/link.less +35 -0
- data/assets/stylesheets/theme/list.less +49 -0
- data/assets/stylesheets/theme/margin.less +14 -0
- data/assets/stylesheets/theme/modal.less +95 -0
- data/assets/stylesheets/theme/nav.less +94 -0
- data/assets/stylesheets/theme/navbar.less +175 -0
- data/assets/stylesheets/theme/notification.less +44 -0
- data/assets/stylesheets/theme/offcanvas.less +26 -0
- data/assets/stylesheets/theme/overlay.less +33 -0
- data/assets/stylesheets/theme/padding.less +14 -0
- data/assets/stylesheets/theme/pagination.less +44 -0
- data/assets/stylesheets/theme/placeholder.less +29 -0
- data/assets/stylesheets/theme/position.less +14 -0
- data/assets/stylesheets/theme/progress.less +27 -0
- data/assets/stylesheets/theme/search.less +67 -0
- data/assets/stylesheets/theme/section.less +34 -0
- data/assets/stylesheets/theme/slidenav.less +49 -0
- data/assets/stylesheets/theme/sortable.less +38 -0
- data/assets/stylesheets/theme/spinner.less +14 -0
- data/assets/stylesheets/theme/sticky.less +14 -0
- data/assets/stylesheets/theme/subnav.less +81 -0
- data/assets/stylesheets/theme/tab.less +139 -0
- data/assets/stylesheets/theme/table.less +65 -0
- data/assets/stylesheets/theme/text.less +60 -0
- data/assets/stylesheets/theme/tooltip.less +20 -0
- data/assets/stylesheets/theme/totop.less +35 -0
- data/assets/stylesheets/theme/transition.less +14 -0
- data/assets/stylesheets/theme/utility.less +46 -0
- data/assets/stylesheets/theme/variables.less +36 -0
- data/assets/stylesheets/theme/width.less +14 -0
- data/assets/stylesheets/uikit.less +17 -0
- data/assets/stylesheets/uikit.theme.less +23 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/uikit3/rails.rb +8 -0
- data/lib/uikit3/rails/version.rb +5 -0
- data/uikit3-rails.gemspec +29 -0
- metadata +391 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
// Base
|
2
|
+
@import "variables.less";
|
3
|
+
@import "base.less";
|
4
|
+
|
5
|
+
// Elements
|
6
|
+
@import "link.less";
|
7
|
+
@import "heading.less";
|
8
|
+
@import "divider.less";
|
9
|
+
@import "list.less";
|
10
|
+
@import "description-list.less";
|
11
|
+
@import "table.less";
|
12
|
+
@import "icon.less";
|
13
|
+
@import "form.less";
|
14
|
+
@import "button.less";
|
15
|
+
|
16
|
+
// Layout
|
17
|
+
@import "section.less";
|
18
|
+
@import "container.less";
|
19
|
+
@import "grid.less";
|
20
|
+
@import "card.less";
|
21
|
+
|
22
|
+
// Common
|
23
|
+
@import "close.less";
|
24
|
+
@import "spinner.less";
|
25
|
+
@import "totop.less";
|
26
|
+
@import "alert.less";
|
27
|
+
@import "badge.less";
|
28
|
+
@import "label.less";
|
29
|
+
@import "overlay.less";
|
30
|
+
@import "article.less";
|
31
|
+
@import "comment.less";
|
32
|
+
@import "search.less";
|
33
|
+
|
34
|
+
// Navs
|
35
|
+
@import "nav.less";
|
36
|
+
@import "navbar.less";
|
37
|
+
@import "subnav.less";
|
38
|
+
@import "breadcrumb.less";
|
39
|
+
@import "pagination.less";
|
40
|
+
@import "tab.less";
|
41
|
+
@import "slidenav.less";
|
42
|
+
@import "dotnav.less";
|
43
|
+
|
44
|
+
// JavaScript
|
45
|
+
@import "accordion.less";
|
46
|
+
@import "drop.less";
|
47
|
+
@import "dropdown.less";
|
48
|
+
@import "modal.less";
|
49
|
+
@import "sticky.less";
|
50
|
+
@import "offcanvas.less";
|
51
|
+
|
52
|
+
// Optional components
|
53
|
+
@import "iconnav.less";
|
54
|
+
@import "notification.less";
|
55
|
+
@import "tooltip.less";
|
56
|
+
@import "placeholder.less";
|
57
|
+
@import "progress.less";
|
58
|
+
@import "sortable.less";
|
59
|
+
|
60
|
+
// Utility
|
61
|
+
@import "animation.less";
|
62
|
+
@import "width.less";
|
63
|
+
@import "text.less";
|
64
|
+
@import "column.less";
|
65
|
+
@import "background.less";
|
66
|
+
@import "align.less";
|
67
|
+
@import "utility.less";
|
68
|
+
@import "margin.less";
|
69
|
+
@import "padding.less";
|
70
|
+
@import "position.less";
|
71
|
+
@import "transition.less";
|
72
|
+
@import "inverse.less";
|
@@ -0,0 +1,76 @@
|
|
1
|
+
//
|
2
|
+
// Component: Accordion
|
3
|
+
//
|
4
|
+
// ========================================================================
|
5
|
+
|
6
|
+
|
7
|
+
// Variables
|
8
|
+
// ========================================================================
|
9
|
+
|
10
|
+
//
|
11
|
+
// New
|
12
|
+
//
|
13
|
+
|
14
|
+
@accordion-icon-color: @global-color;
|
15
|
+
@internal-accordion-open-image: "../../images/backgrounds/accordion-open.svg";
|
16
|
+
@internal-accordion-close-image: "../../images/backgrounds/accordion-close.svg";
|
17
|
+
|
18
|
+
// Component
|
19
|
+
// ========================================================================
|
20
|
+
|
21
|
+
.hook-accordion() {}
|
22
|
+
|
23
|
+
|
24
|
+
// Item
|
25
|
+
// ========================================================================
|
26
|
+
|
27
|
+
.hook-accordion-item() {}
|
28
|
+
|
29
|
+
|
30
|
+
// Title
|
31
|
+
// ========================================================================
|
32
|
+
|
33
|
+
.hook-accordion-title() {
|
34
|
+
|
35
|
+
overflow: hidden;
|
36
|
+
|
37
|
+
&::after {
|
38
|
+
content: "";
|
39
|
+
width: (@accordion-title-line-height * 1em);
|
40
|
+
height: (@accordion-title-line-height * 1em);
|
41
|
+
float: right;
|
42
|
+
.svg-fill(@internal-accordion-close-image, "#000", @accordion-icon-color);
|
43
|
+
background-repeat: no-repeat;
|
44
|
+
background-position: 50% 50%;
|
45
|
+
}
|
46
|
+
|
47
|
+
.uk-open > &::after { .svg-fill(@internal-accordion-open-image, "#000", @accordion-icon-color); }
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
// Content
|
53
|
+
// ========================================================================
|
54
|
+
|
55
|
+
.hook-accordion-content() {}
|
56
|
+
|
57
|
+
|
58
|
+
// Miscellaneous
|
59
|
+
// ========================================================================
|
60
|
+
|
61
|
+
.hook-accordion-misc() {}
|
62
|
+
|
63
|
+
// Inverse
|
64
|
+
// ========================================================================
|
65
|
+
|
66
|
+
.hook-inverse-accordion-item() {}
|
67
|
+
|
68
|
+
.hook-inverse-accordion-title() {}
|
69
|
+
|
70
|
+
.hook-inverse() {
|
71
|
+
|
72
|
+
.uk-accordion-title::after { .svg-fill(@internal-accordion-close-image, "#000", @inverse-global-color); }
|
73
|
+
|
74
|
+
.uk-open > .uk-accordion-title::after { .svg-fill(@internal-accordion-open-image, "#000", @inverse-global-color); }
|
75
|
+
|
76
|
+
}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
//
|
2
|
+
// Component: Alert
|
3
|
+
//
|
4
|
+
// ========================================================================
|
5
|
+
|
6
|
+
|
7
|
+
// Variables
|
8
|
+
// ========================================================================
|
9
|
+
|
10
|
+
//
|
11
|
+
// New
|
12
|
+
//
|
13
|
+
|
14
|
+
@alert-close-opacity: 0.4;
|
15
|
+
@alert-close-hover-opacity: 0.8;
|
16
|
+
|
17
|
+
|
18
|
+
// Component
|
19
|
+
// ========================================================================
|
20
|
+
|
21
|
+
.hook-alert() {}
|
22
|
+
|
23
|
+
|
24
|
+
// Close
|
25
|
+
// ========================================================================
|
26
|
+
|
27
|
+
.hook-alert-close() {
|
28
|
+
color: inherit;
|
29
|
+
opacity: @alert-close-opacity;
|
30
|
+
}
|
31
|
+
|
32
|
+
.hook-alert-close-hover() {
|
33
|
+
color: inherit;
|
34
|
+
opacity: @alert-close-hover-opacity;
|
35
|
+
}
|
36
|
+
|
37
|
+
|
38
|
+
// Style modifiers
|
39
|
+
// ========================================================================
|
40
|
+
|
41
|
+
.hook-alert-primary() {}
|
42
|
+
|
43
|
+
.hook-alert-success() {}
|
44
|
+
|
45
|
+
.hook-alert-warning() {}
|
46
|
+
|
47
|
+
.hook-alert-danger() {}
|
48
|
+
|
49
|
+
|
50
|
+
// Miscellaneous
|
51
|
+
// ========================================================================
|
52
|
+
|
53
|
+
.hook-alert-misc() {
|
54
|
+
|
55
|
+
/*
|
56
|
+
* Content
|
57
|
+
*/
|
58
|
+
|
59
|
+
.uk-alert h1,
|
60
|
+
.uk-alert h2,
|
61
|
+
.uk-alert h3,
|
62
|
+
.uk-alert h4,
|
63
|
+
.uk-alert h5,
|
64
|
+
.uk-alert h6 { color: inherit; }
|
65
|
+
|
66
|
+
.uk-alert a:not([class]) {
|
67
|
+
color: inherit;
|
68
|
+
text-decoration: underline;
|
69
|
+
}
|
70
|
+
|
71
|
+
.uk-alert a:not([class]):hover {
|
72
|
+
color: inherit;
|
73
|
+
text-decoration: underline;
|
74
|
+
}
|
75
|
+
|
76
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
//
|
2
|
+
// Component: Align
|
3
|
+
//
|
4
|
+
// ========================================================================
|
5
|
+
|
6
|
+
|
7
|
+
// Variables
|
8
|
+
// ========================================================================
|
9
|
+
|
10
|
+
|
11
|
+
// Miscellaneous
|
12
|
+
// ========================================================================
|
13
|
+
|
14
|
+
.hook-align-misc() {}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
//
|
2
|
+
// Component: Animation
|
3
|
+
//
|
4
|
+
// ========================================================================
|
5
|
+
|
6
|
+
|
7
|
+
// Variables
|
8
|
+
// ========================================================================
|
9
|
+
|
10
|
+
|
11
|
+
// Miscellaneous
|
12
|
+
// ========================================================================
|
13
|
+
|
14
|
+
.hook-animation-misc() {}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
//
|
2
|
+
// Component: Article
|
3
|
+
//
|
4
|
+
// ========================================================================
|
5
|
+
|
6
|
+
|
7
|
+
// Variables
|
8
|
+
// ========================================================================
|
9
|
+
|
10
|
+
//
|
11
|
+
// New
|
12
|
+
//
|
13
|
+
|
14
|
+
@article-meta-link-color: @article-meta-color;
|
15
|
+
@article-meta-link-hover-color: @global-color;
|
16
|
+
|
17
|
+
|
18
|
+
// Component
|
19
|
+
// ========================================================================
|
20
|
+
|
21
|
+
.hook-article() {}
|
22
|
+
|
23
|
+
|
24
|
+
// Adjacent sibling
|
25
|
+
// ========================================================================
|
26
|
+
|
27
|
+
.hook-article-adjacent() {}
|
28
|
+
|
29
|
+
|
30
|
+
// Title
|
31
|
+
// ========================================================================
|
32
|
+
|
33
|
+
.hook-article-title() {}
|
34
|
+
|
35
|
+
|
36
|
+
// Meta
|
37
|
+
// ========================================================================
|
38
|
+
|
39
|
+
.hook-article-meta() {
|
40
|
+
|
41
|
+
a { color: @article-meta-link-color; }
|
42
|
+
|
43
|
+
a:hover {
|
44
|
+
color: @article-meta-link-hover-color;
|
45
|
+
text-decoration: none;
|
46
|
+
}
|
47
|
+
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
// Miscellaneous
|
52
|
+
// ========================================================================
|
53
|
+
|
54
|
+
.hook-article-misc() {}
|
55
|
+
|
56
|
+
|
57
|
+
// Inverse
|
58
|
+
// ========================================================================
|
59
|
+
|
60
|
+
.hook-inverse-article-meta() {}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
//
|
2
|
+
// Component: Background
|
3
|
+
//
|
4
|
+
// ========================================================================
|
5
|
+
|
6
|
+
|
7
|
+
// Variables
|
8
|
+
// ========================================================================
|
9
|
+
|
10
|
+
|
11
|
+
// Miscellaneous
|
12
|
+
// ========================================================================
|
13
|
+
|
14
|
+
.hook-background-misc() {}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
//
|
2
|
+
// Component: Badge
|
3
|
+
//
|
4
|
+
// ========================================================================
|
5
|
+
|
6
|
+
|
7
|
+
// Variables
|
8
|
+
// ========================================================================
|
9
|
+
|
10
|
+
|
11
|
+
// Component
|
12
|
+
// ========================================================================
|
13
|
+
|
14
|
+
.hook-badge() {}
|
15
|
+
|
16
|
+
.hook-badge-hover() {}
|
17
|
+
|
18
|
+
|
19
|
+
// Miscellaneous
|
20
|
+
// ========================================================================
|
21
|
+
|
22
|
+
.hook-badge-misc() {}
|
23
|
+
|
24
|
+
|
25
|
+
// Inverse
|
26
|
+
// ========================================================================
|
27
|
+
|
28
|
+
.hook-inverse-badge() {}
|
29
|
+
.hook-inverse-badge-hover() {}
|
@@ -0,0 +1,134 @@
|
|
1
|
+
//
|
2
|
+
// Component: Base
|
3
|
+
//
|
4
|
+
// ========================================================================
|
5
|
+
|
6
|
+
|
7
|
+
// Variables
|
8
|
+
// ========================================================================
|
9
|
+
|
10
|
+
//
|
11
|
+
// New
|
12
|
+
//
|
13
|
+
|
14
|
+
@base-code-padding-horizontal: 6px;
|
15
|
+
@base-code-padding-vertical: 2px;
|
16
|
+
@base-code-background: @global-muted-background;
|
17
|
+
|
18
|
+
@base-blockquote-color: @global-emphasis-color;
|
19
|
+
|
20
|
+
@base-blockquote-footer-color: @global-color;
|
21
|
+
|
22
|
+
@base-pre-padding: 10px;
|
23
|
+
@base-pre-background: @global-background;
|
24
|
+
@base-pre-border-width: @global-border-width;
|
25
|
+
@base-pre-border: @global-border;
|
26
|
+
@base-pre-border-radius: 3px;
|
27
|
+
|
28
|
+
|
29
|
+
// Body
|
30
|
+
// ========================================================================
|
31
|
+
|
32
|
+
.hook-base-body() {}
|
33
|
+
|
34
|
+
|
35
|
+
// Links
|
36
|
+
// ========================================================================
|
37
|
+
|
38
|
+
.hook-base-link() {}
|
39
|
+
|
40
|
+
.hook-base-link-hover() {}
|
41
|
+
|
42
|
+
|
43
|
+
// Text-level semantics
|
44
|
+
// ========================================================================
|
45
|
+
|
46
|
+
.hook-base-code() {
|
47
|
+
padding: @base-code-padding-vertical @base-code-padding-horizontal;
|
48
|
+
background: @base-code-background;
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
// Headings
|
53
|
+
// ========================================================================
|
54
|
+
|
55
|
+
.hook-base-heading() {}
|
56
|
+
|
57
|
+
.hook-base-h1() {}
|
58
|
+
|
59
|
+
.hook-base-h2() {}
|
60
|
+
|
61
|
+
.hook-base-h3() {}
|
62
|
+
|
63
|
+
.hook-base-h4() {}
|
64
|
+
|
65
|
+
.hook-base-h5() {}
|
66
|
+
|
67
|
+
.hook-base-h6() {}
|
68
|
+
|
69
|
+
|
70
|
+
// Horizontal rules
|
71
|
+
// ========================================================================
|
72
|
+
|
73
|
+
.hook-base-hr() {}
|
74
|
+
|
75
|
+
|
76
|
+
// Blockquotes
|
77
|
+
// ========================================================================
|
78
|
+
|
79
|
+
.hook-base-blockquote() {
|
80
|
+
color: @base-blockquote-color;
|
81
|
+
}
|
82
|
+
|
83
|
+
.hook-base-blockquote-footer() {
|
84
|
+
|
85
|
+
color: @base-blockquote-footer-color;
|
86
|
+
|
87
|
+
&::before { content: "— "; }
|
88
|
+
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
// Preformatted text
|
93
|
+
// ========================================================================
|
94
|
+
|
95
|
+
.hook-base-pre() {
|
96
|
+
padding: @base-pre-padding;
|
97
|
+
border: @base-pre-border-width solid @base-pre-border;
|
98
|
+
border-radius: @base-pre-border-radius;
|
99
|
+
background: @base-pre-background;
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
// Miscellaneous
|
104
|
+
// ========================================================================
|
105
|
+
|
106
|
+
.hook-base-misc() {}
|
107
|
+
|
108
|
+
|
109
|
+
// Inverse
|
110
|
+
// ========================================================================
|
111
|
+
|
112
|
+
@inverse-base-blockquote-color: @inverse-global-emphasis-color;
|
113
|
+
@inverse-base-blockquote-footer-color: @inverse-global-color;
|
114
|
+
|
115
|
+
.hook-inverse-base-link() {}
|
116
|
+
.hook-inverse-base-link-hover() {}
|
117
|
+
|
118
|
+
.hook-inverse-base-code() {
|
119
|
+
background: @inverse-global-muted-background;;
|
120
|
+
}
|
121
|
+
|
122
|
+
.hook-inverse-base-heading() {}
|
123
|
+
|
124
|
+
.hook-inverse-base-h1() {}
|
125
|
+
.hook-inverse-base-h2() {}
|
126
|
+
.hook-inverse-base-h3() {}
|
127
|
+
.hook-inverse-base-h4() {}
|
128
|
+
.hook-inverse-base-h5() {}
|
129
|
+
.hook-inverse-base-h6() {}
|
130
|
+
|
131
|
+
.hook-inverse-base-blockquote() { color: @inverse-base-blockquote-color; }
|
132
|
+
.hook-inverse-base-blockquote-footer() { color: @inverse-base-blockquote-footer-color; }
|
133
|
+
|
134
|
+
.hook-inverse-base-hr() {}
|