refills 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.hound.yml +3 -2
- data/.ruby-version +1 -1
- data/.scss-lint.yml +97 -24
- data/CONTRIBUTING.md +4 -3
- data/Gemfile +13 -10
- data/README.md +31 -15
- data/circle.yml +7 -0
- data/config.rb +4 -13
- data/{lib → helpers}/snippet_helpers.rb +14 -6
- data/lib/refills/version.rb +1 -1
- data/refills.gemspec +2 -2
- data/sache.json +1 -1
- data/source/_badges.html.erb +1 -1
- data/source/_cards.html.erb +1 -1
- data/source/_centered_navigation.html.erb +5 -5
- data/source/_comment.html.erb +2 -2
- data/source/_device.html.erb +0 -1
- data/source/_expander.html.erb +2 -2
- data/source/_flex_boxes.html.erb +6 -6
- data/source/_footer.html.erb +1 -1
- data/source/_footer_2.html.erb +1 -1
- data/source/_grid_items.html.erb +7 -7
- data/source/_grid_items_lines.html.erb +8 -8
- data/source/_hero.html.erb +4 -9
- data/source/_icon_bullet_points.html.erb +6 -7
- data/source/_logo_section.html.erb +8 -0
- data/source/_modal.html.erb +2 -2
- data/source/_navigation.html.erb +2 -3
- data/source/_search_bar.html.erb +1 -1
- data/source/_search_tools.html.erb +54 -52
- data/source/_side_image.html.erb +0 -1
- data/source/_sliding_panel.html.erb +13 -0
- data/source/_type_system_geometric.html.erb +4 -3
- data/source/_type_system_rounded.html.erb +3 -3
- data/source/_type_system_sans.html.erb +3 -3
- data/source/_type_system_serif.html.erb +4 -4
- data/source/_type_system_slab.html.erb +3 -3
- data/source/_type_system_traditional.html.erb +3 -3
- data/source/components.html.erb +9 -5
- data/source/images/background-image.png +0 -0
- data/source/images/cosmin_capitanu_screen.jpg +0 -0
- data/source/images/new.svg +22 -0
- data/source/images/placeholder_square.png +0 -0
- data/source/images/placeholder_wide.png +0 -0
- data/source/images/placeholder_wider.png +0 -0
- data/source/index.html.erb +10 -3
- data/source/javascripts/jquery.erToc.js +1 -6
- data/source/javascripts/refills/accordion_base.js +5 -0
- data/source/javascripts/refills/accordion_tabs.js +1 -2
- data/source/javascripts/refills/accordion_tabs_minimal.js +1 -2
- data/source/javascripts/refills/base-accordion.js +5 -0
- data/source/javascripts/refills/centered_navigation.js +27 -9
- data/source/javascripts/refills/coffeescript/accordion.coffee +3 -4
- data/source/javascripts/refills/coffeescript/accordion_base.coffee +6 -0
- data/source/javascripts/refills/coffeescript/accordion_tabs.coffee +9 -12
- data/source/javascripts/refills/coffeescript/accordion_tabs_minimal.coffee +9 -12
- data/source/javascripts/refills/coffeescript/animate.coffee +4 -7
- data/source/javascripts/refills/coffeescript/base-accordion.coffee +5 -0
- data/source/javascripts/refills/coffeescript/centered_navigation.coffee +6 -8
- data/source/javascripts/refills/coffeescript/dropdown.coffee +6 -10
- data/source/javascripts/refills/coffeescript/expander.coffee +4 -6
- data/source/javascripts/refills/coffeescript/fade_in.coffee +6 -8
- data/source/javascripts/refills/coffeescript/modal.coffee +7 -11
- data/source/javascripts/refills/coffeescript/navigation.coffee +6 -8
- data/source/javascripts/refills/coffeescript/parallax.coffee +9 -8
- data/source/javascripts/refills/coffeescript/scroll_on_page.coffee +6 -11
- data/source/javascripts/refills/coffeescript/search_tools.coffee +0 -85
- data/source/javascripts/refills/coffeescript/sliding_panel.coffee +6 -0
- data/source/javascripts/refills/coffeescript/vertical_tabs.coffee +21 -21
- data/source/javascripts/refills/dropdown.js +8 -8
- data/source/javascripts/refills/expander.js +1 -4
- data/source/javascripts/refills/modal.js +1 -1
- data/source/javascripts/refills/navigation.js +26 -7
- data/source/javascripts/refills/navigation_centered.js +13 -0
- data/source/javascripts/refills/scroll_on_page.js +8 -5
- data/source/javascripts/refills/search_tools.js +2 -2
- data/source/javascripts/refills/sliding_panel.js +6 -0
- data/source/javascripts/refills/unstyled/accordion.js +5 -0
- data/source/javascripts/refills/unstyled/accordion_tabs.js +18 -0
- data/source/javascripts/refills/unstyled/dropdown.js +12 -0
- data/source/javascripts/refills/unstyled/expander.js +8 -0
- data/source/javascripts/refills/unstyled/modal.js +17 -0
- data/source/javascripts/refills/unstyled/navigation.js +13 -0
- data/source/javascripts/refills/unstyled/navigation_centered.js +13 -0
- data/source/javascripts/refills/unstyled/scroll_on_page.js +29 -0
- data/source/javascripts/refills/unstyled/sliding_panel.js +6 -0
- data/source/javascripts/refills/unstyled/vertical_tabs.js +32 -0
- data/source/layouts/layout.erb +3 -3
- data/source/refills-hero.html.erb +6 -3
- data/source/stylesheets/_bourbon-nav.scss +14 -7
- data/source/stylesheets/_refill.scss +215 -0
- data/source/stylesheets/_refills-footer.scss +62 -0
- data/source/stylesheets/_refills-header.scss +113 -0
- data/source/stylesheets/_refills-menu.scss +91 -0
- data/source/stylesheets/_refills-nav.scss +13 -13
- data/source/stylesheets/_refills-styles.scss +8 -644
- data/source/stylesheets/_refills-variables.scss +20 -0
- data/source/stylesheets/all.css.scss +78 -0
- data/source/stylesheets/refills/_accordion-tabs-minimal.scss +9 -14
- data/source/stylesheets/refills/_accordion-tabs.scss +11 -16
- data/source/stylesheets/refills/_accordion.scss +13 -29
- data/source/stylesheets/refills/_animate.scss +9 -10
- data/source/stylesheets/refills/_badges.scss +18 -35
- data/source/stylesheets/refills/_breadcrumbs.scss +15 -19
- data/source/stylesheets/refills/_button-group.scss +6 -12
- data/source/stylesheets/refills/_cards.scss +22 -31
- data/source/stylesheets/refills/_centered-navigation.scss +16 -13
- data/source/stylesheets/refills/_comment.scss +3 -6
- data/source/stylesheets/refills/_device.scss +29 -40
- data/source/stylesheets/refills/_dropdown.scss +17 -27
- data/source/stylesheets/refills/_expander.scss +14 -21
- data/source/stylesheets/refills/_fade-in.scss +7 -11
- data/source/stylesheets/refills/_flashes.scss +21 -33
- data/source/stylesheets/refills/_flex-boxes.scss +18 -26
- data/source/stylesheets/refills/_footer-2.scss +19 -33
- data/source/stylesheets/refills/_footer.scss +15 -38
- data/source/stylesheets/refills/_grid-items-lines.scss +12 -21
- data/source/stylesheets/refills/_grid-items.scss +31 -40
- data/source/stylesheets/refills/_hero.scss +22 -55
- data/source/stylesheets/refills/_hover-tile-animation.scss +8 -17
- data/source/stylesheets/refills/_icon-bullet-points.scss +26 -35
- data/source/stylesheets/refills/_image-gradient-dynamic.scss +31 -20
- data/source/stylesheets/refills/_logo-section.scss +25 -0
- data/source/stylesheets/refills/_maps.scss +2 -2
- data/source/stylesheets/refills/_modal.scss +32 -45
- data/source/stylesheets/refills/_navigation.scss +33 -39
- data/source/stylesheets/refills/_pagination.scss +10 -23
- data/source/stylesheets/refills/_progress-bar-indication.scss +8 -15
- data/source/stylesheets/refills/_progress-bar.scss +24 -26
- data/source/stylesheets/refills/_ribbon.scss +4 -5
- data/source/stylesheets/refills/_scroll-on-page.scss +12 -15
- data/source/stylesheets/refills/_search-bar.scss +6 -13
- data/source/stylesheets/refills/_search-tools.scss +41 -42
- data/source/stylesheets/refills/_side-image.scss +8 -20
- data/source/stylesheets/refills/_sliding-panel.scss +79 -0
- data/source/stylesheets/refills/_stats.scss +2 -3
- data/source/stylesheets/refills/_switch.scss +13 -16
- data/source/stylesheets/refills/_tables-minimal.scss +12 -24
- data/source/stylesheets/refills/_tables.scss +11 -20
- data/source/stylesheets/refills/_texture-legend.scss +17 -13
- data/source/stylesheets/refills/_textures.scss +13 -9
- data/source/stylesheets/refills/_tooltip.scss +9 -16
- data/source/stylesheets/refills/_type-system-geometric.scss +14 -17
- data/source/stylesheets/refills/_type-system-rounded.scss +19 -19
- data/source/stylesheets/refills/_type-system-sans.scss +26 -26
- data/source/stylesheets/refills/_type-system-serif.scss +17 -20
- data/source/stylesheets/refills/_type-system-slab.scss +14 -17
- data/source/stylesheets/refills/_type-system-traditional.scss +18 -21
- data/source/stylesheets/refills/_vertical-tabs.scss +26 -30
- data/source/stylesheets/refills/_video.scss +1 -1
- data/source/stylesheets/refills/unstyled/_accordion-tabs.scss +36 -0
- data/source/stylesheets/refills/unstyled/_accordion.scss +17 -0
- data/source/stylesheets/refills/unstyled/_button-group.scss +30 -0
- data/source/stylesheets/refills/unstyled/_cards.scss +20 -0
- data/source/stylesheets/refills/unstyled/_comment.scss +28 -0
- data/source/stylesheets/refills/unstyled/_dropdown.scss +42 -0
- data/source/stylesheets/refills/unstyled/_expander.scss +20 -0
- data/source/stylesheets/refills/unstyled/_footer.scss +64 -0
- data/source/stylesheets/refills/unstyled/_hover-menu.scss +60 -0
- data/source/stylesheets/refills/unstyled/_modal.scss +71 -0
- data/source/stylesheets/refills/unstyled/_navigation-centered.scss +92 -0
- data/source/stylesheets/refills/unstyled/_navigation.scss +82 -0
- data/source/stylesheets/refills/unstyled/_scroll-on-page.scss +22 -0
- data/source/stylesheets/refills/unstyled/_search-bar.scss +26 -0
- data/source/stylesheets/refills/unstyled/_sliding-panel.scss +36 -0
- data/source/stylesheets/refills/unstyled/_switch.scss +50 -0
- data/source/stylesheets/refills/unstyled/_tooltip.scss +36 -0
- data/source/stylesheets/refills/unstyled/_vertical-tabs.scss +53 -0
- data/source/stylesheets/vendor/prism.css +4 -4
- data/source/svgs/_menu_icon.html.erb +6 -0
- data/source/svgs/_refills_logo.html.erb +8 -0
- data/source/type-systems.html.erb +5 -1
- data/spec/refills/import_generator_spec.rb +1 -1
- metadata +59 -19
- data/.travis.yml +0 -8
- data/source/_sliding_menu.html.erb +0 -13
- data/source/images/placeholder_logo_1.png +0 -0
- data/source/images/placeholder_logo_1_dark.png +0 -0
- data/source/images/placeholder_logo_2.png +0 -0
- data/source/images/placeholder_logo_2_dark.png +0 -0
- data/source/images/placeholder_logo_3.png +0 -0
- data/source/images/placeholder_logo_3_dark.png +0 -0
- data/source/images/placeholder_logo_4.png +0 -0
- data/source/images/placeholder_logo_4_dark.png +0 -0
- data/source/javascripts/refills/sliding_menu.js +0 -6
- data/source/stylesheets/all.scss +0 -66
- data/source/stylesheets/refills/_sliding-menu.scss +0 -86
@@ -0,0 +1,20 @@
|
|
1
|
+
$refills-serif: "Lusitana", $font-stack-georgia;
|
2
|
+
$refills-narrow-sans: "Oswald", sans-serif;
|
3
|
+
$refills-second-serif: $font-stack-georgia;
|
4
|
+
|
5
|
+
$refills-nav-height: 60px;
|
6
|
+
|
7
|
+
$refills-body-background-color: #fff;
|
8
|
+
$refills-color: lighten(desaturate(teal, 60%), 40%);
|
9
|
+
$refills-accent-color: #477dca;
|
10
|
+
$refills-logo-color: #93e9be;
|
11
|
+
$refills-anchor-color: #f55481;
|
12
|
+
$refills-hero-background: #e7f1ec;
|
13
|
+
$refills-secondary-anchor-color: darken($refills-hero-background, 35%);
|
14
|
+
$refills-highlight-color: #bbb295;
|
15
|
+
$refills-white-shadow: 0 1px 1px transparentize(#fff, 0.6);
|
16
|
+
|
17
|
+
$refills-max-width: 68em;
|
18
|
+
|
19
|
+
$refills-medium-screen: 40em;
|
20
|
+
$refills-large-screen: 53.75em;
|
@@ -0,0 +1,78 @@
|
|
1
|
+
@import "vendor/normalize.css";
|
2
|
+
@import "vendor/fixedsticky.css";
|
3
|
+
@import "vendor/prism.css";
|
4
|
+
|
5
|
+
@import "bourbon";
|
6
|
+
@import "neat";
|
7
|
+
|
8
|
+
@import "refills-variables";
|
9
|
+
@import "refills-styles";
|
10
|
+
@import "refills-header";
|
11
|
+
@import "refills-menu";
|
12
|
+
@import "refill";
|
13
|
+
@import "refills-footer";
|
14
|
+
@import "bourbon-nav";
|
15
|
+
@import "refills-nav";
|
16
|
+
|
17
|
+
.refills-patterns {
|
18
|
+
@import "refills/accordion-tabs";
|
19
|
+
@import "refills/accordion-tabs-minimal";
|
20
|
+
@import "refills/cards";
|
21
|
+
@import "refills/centered-navigation";
|
22
|
+
@import "refills/comment";
|
23
|
+
@import "refills/device";
|
24
|
+
@import "refills/flex-boxes";
|
25
|
+
@import "refills/footer";
|
26
|
+
@import "refills/footer-2";
|
27
|
+
@import "refills/grid-items";
|
28
|
+
@import "refills/grid-items-lines";
|
29
|
+
@import "refills/hero";
|
30
|
+
@import "refills/icon-bullet-points";
|
31
|
+
@import "refills/logo-section";
|
32
|
+
@import "refills/maps";
|
33
|
+
@import "refills/navigation";
|
34
|
+
@import "refills/scroll-on-page";
|
35
|
+
@import "refills/search-tools";
|
36
|
+
@import "refills/side-image";
|
37
|
+
@import "refills/tables";
|
38
|
+
@import "refills/tables-minimal";
|
39
|
+
@import "refills/vertical-tabs";
|
40
|
+
}
|
41
|
+
|
42
|
+
.refills-components {
|
43
|
+
@import "refills/accordion";
|
44
|
+
@import "refills/animate";
|
45
|
+
@import "refills/animate-info";
|
46
|
+
@import "refills/badges";
|
47
|
+
@import "refills/breadcrumbs";
|
48
|
+
@import "refills/button-group";
|
49
|
+
@import "refills/dropdown";
|
50
|
+
@import "refills/expander";
|
51
|
+
@import "refills/fade-in";
|
52
|
+
@import "refills/flashes";
|
53
|
+
@import "refills/hover-tile-animation";
|
54
|
+
@import "refills/image-gradient-dynamic";
|
55
|
+
@import "refills/modal";
|
56
|
+
@import "refills/pagination";
|
57
|
+
@import "refills/parallax";
|
58
|
+
@import "refills/progress-bar";
|
59
|
+
@import "refills/progress-bar-indication";
|
60
|
+
@import "refills/ribbon";
|
61
|
+
@import "refills/search-bar";
|
62
|
+
@import "refills/sliding-panel";
|
63
|
+
@import "refills/switch";
|
64
|
+
@import "refills/stats";
|
65
|
+
@import "refills/texture-legend";
|
66
|
+
@import "refills/textures";
|
67
|
+
@import "refills/tooltip";
|
68
|
+
@import "refills/video";
|
69
|
+
}
|
70
|
+
|
71
|
+
.type-systems {
|
72
|
+
@import "refills/type-system-geometric";
|
73
|
+
@import "refills/type-system-rounded";
|
74
|
+
@import "refills/type-system-sans";
|
75
|
+
@import "refills/type-system-serif";
|
76
|
+
@import "refills/type-system-slab";
|
77
|
+
@import "refills/type-system-traditional";
|
78
|
+
}
|
@@ -1,26 +1,22 @@
|
|
1
1
|
.accordion-tabs-minimal {
|
2
|
-
|
3
|
-
$base-
|
4
|
-
$base-background-color: white !default;
|
2
|
+
$base-border-color: #dcdcdc !default;
|
3
|
+
$base-background-color: #fff !default;
|
5
4
|
$base-spacing: 1.5em !default;
|
6
|
-
$
|
7
|
-
$base-link-color: $base-accent-color !default;
|
5
|
+
$action-color: #477dca !default;
|
8
6
|
$dark-gray: #333 !default;
|
9
|
-
$medium-screen:
|
10
|
-
//////////////////////////////////////////////////////////////////////////////////
|
11
|
-
|
7
|
+
$medium-screen: 40em !default;
|
12
8
|
$tab-link-color: $dark-gray;
|
13
9
|
$tab-border: 1px solid $base-border-color;
|
14
10
|
$tab-active-background: $base-background-color;
|
15
11
|
$tab-inactive-color: $base-background-color;
|
16
|
-
$tab-inactive-hover-color:
|
12
|
+
$tab-inactive-hover-color: #c0c0c0;
|
17
13
|
$tab-mode: $medium-screen;
|
18
14
|
|
19
15
|
@include clearfix;
|
20
16
|
line-height: 1.5;
|
21
17
|
padding: 0;
|
22
18
|
|
23
|
-
|
19
|
+
.tab-header-and-content {
|
24
20
|
list-style: none;
|
25
21
|
|
26
22
|
@include media($tab-mode) {
|
@@ -28,22 +24,21 @@
|
|
28
24
|
}
|
29
25
|
}
|
30
26
|
|
31
|
-
|
27
|
+
.tab-link {
|
32
28
|
background-color: $tab-inactive-color;
|
33
29
|
border-top: $tab-border;
|
34
30
|
color: $tab-link-color;
|
35
31
|
display: block;
|
36
|
-
font-weight: 400;
|
37
32
|
padding: ($base-spacing / 2) $gutter;
|
38
33
|
text-decoration: none;
|
39
34
|
|
40
35
|
@include media($tab-mode) {
|
41
|
-
@include inline-block;
|
42
36
|
border-top: 0;
|
37
|
+
display: inline-block;
|
43
38
|
}
|
44
39
|
|
45
40
|
&:hover {
|
46
|
-
color: $
|
41
|
+
color: $action-color;
|
47
42
|
}
|
48
43
|
|
49
44
|
&:focus {
|
@@ -1,16 +1,12 @@
|
|
1
1
|
.accordion-tabs {
|
2
|
-
|
3
|
-
$base-border-color: gainsboro !default;
|
2
|
+
$base-border-color: #dcdcdc !default;
|
4
3
|
$base-border-radius: 3px !default;
|
5
|
-
$base-background-color:
|
4
|
+
$base-background-color: #fff !default;
|
6
5
|
$base-spacing: 1.5em !default;
|
7
|
-
$
|
8
|
-
$base-link-color: $base-accent-color !default;
|
6
|
+
$action-color: #477dca !default;
|
9
7
|
$dark-gray: #333 !default;
|
10
|
-
$light-gray: #
|
11
|
-
$medium-screen:
|
12
|
-
//////////////////////////////////////////////////////////////////////////////////
|
13
|
-
|
8
|
+
$light-gray: #ddd !default;
|
9
|
+
$medium-screen: 40em !default;
|
14
10
|
$tab-border: 1px solid $base-border-color;
|
15
11
|
$tab-content-background: lighten($light-gray, 10);
|
16
12
|
$tab-active-background: $tab-content-background;
|
@@ -24,8 +20,8 @@
|
|
24
20
|
padding: 0;
|
25
21
|
|
26
22
|
@include media(max-width $tab-mode) {
|
27
|
-
border-radius: $base-border-radius;
|
28
23
|
border: $tab-border;
|
24
|
+
border-radius: $base-border-radius;
|
29
25
|
}
|
30
26
|
|
31
27
|
.tab-header-and-content {
|
@@ -58,18 +54,17 @@
|
|
58
54
|
color: $dark-gray;
|
59
55
|
display: block;
|
60
56
|
font-weight: bold;
|
61
|
-
padding: $base-spacing/2 $gutter/2;
|
57
|
+
padding: ($base-spacing / 2) ($gutter / 2);
|
62
58
|
text-decoration: none;
|
63
59
|
|
64
60
|
@include media($tab-mode) {
|
65
|
-
@include
|
66
|
-
border-top-left-radius: $base-border-radius;
|
67
|
-
border-top-right-radius: $base-border-radius;
|
61
|
+
@include border-top-radius($base-border-radius);
|
68
62
|
border-top: 0;
|
63
|
+
display: inline-block;
|
69
64
|
}
|
70
65
|
|
71
66
|
&:hover {
|
72
|
-
color: $
|
67
|
+
color: $action-color;
|
73
68
|
}
|
74
69
|
|
75
70
|
&:focus {
|
@@ -95,10 +90,10 @@
|
|
95
90
|
width: 100%;
|
96
91
|
|
97
92
|
@include media($tab-mode) {
|
93
|
+
border: $tab-border;
|
98
94
|
border-bottom-left-radius: $base-border-radius;
|
99
95
|
border-bottom-right-radius: $base-border-radius;
|
100
96
|
border-top-right-radius: $base-border-radius;
|
101
|
-
border: $tab-border;
|
102
97
|
float: left;
|
103
98
|
}
|
104
99
|
}
|
@@ -1,33 +1,9 @@
|
|
1
|
-
.accordion {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
1
|
+
.accordion {
|
3
2
|
$base-border-color: gainsboro !default;
|
4
3
|
$base-line-height: 1.5em !default;
|
5
4
|
$base-spacing: 1.5em !default;
|
6
5
|
$dark-gray: #333 !default;
|
7
6
|
$base-font-color: $dark-gray !default;
|
8
|
-
|
9
|
-
margin: 0;
|
10
|
-
padding: 0;
|
11
|
-
|
12
|
-
ul {
|
13
|
-
margin: 0;
|
14
|
-
padding: 0;
|
15
|
-
}
|
16
|
-
|
17
|
-
li {
|
18
|
-
list-style: none;
|
19
|
-
}
|
20
|
-
|
21
|
-
p {
|
22
|
-
color: $base-font-color;
|
23
|
-
line-height: $base-line-height;
|
24
|
-
}
|
25
|
-
|
26
|
-
a {
|
27
|
-
text-decoration: none;
|
28
|
-
}
|
29
|
-
//////////////////////////////////////////////////////////////////////////////////
|
30
|
-
|
31
7
|
$accordion-menu-border-color: $base-border-color;
|
32
8
|
$accordion-menu-color: $base-font-color;
|
33
9
|
$accordion-menu-border: 1px solid $accordion-menu-border-color;
|
@@ -37,22 +13,30 @@
|
|
37
13
|
$accordion-menu-sub-inset: darken($accordion-menu-sub-background, 6%);
|
38
14
|
$accordion-menu-sub-hover: lighten($accordion-menu-sub-background, 2%);
|
39
15
|
$accordion-menu-list-padding: ($base-spacing / 2) $gutter;
|
40
|
-
|
16
|
+
|
41
17
|
background-color: $accordion-menu-background;
|
42
18
|
border: $accordion-menu-border;
|
43
|
-
margin
|
19
|
+
margin: 0 0 $base-spacing 0;
|
20
|
+
padding: 0;
|
21
|
+
|
22
|
+
ul {
|
23
|
+
margin: 0;
|
24
|
+
padding: 0;
|
25
|
+
}
|
44
26
|
|
45
27
|
li {
|
46
28
|
border-bottom: $accordion-menu-border;
|
29
|
+
list-style: none;
|
47
30
|
|
48
31
|
> a {
|
49
32
|
color: $accordion-menu-color;
|
50
33
|
display: block;
|
51
34
|
padding: $accordion-menu-list-padding;
|
35
|
+
text-decoration: none;
|
52
36
|
}
|
53
37
|
|
54
38
|
&:last-child {
|
55
|
-
border:
|
39
|
+
border: 0;
|
56
40
|
}
|
57
41
|
|
58
42
|
&:focus,
|
@@ -71,7 +55,7 @@
|
|
71
55
|
border-top: $accordion-menu-border;
|
72
56
|
box-shadow: inset 0 1px 1px $accordion-menu-sub-inset;
|
73
57
|
}
|
74
|
-
|
58
|
+
|
75
59
|
&:focus,
|
76
60
|
&:hover {
|
77
61
|
background-color: $accordion-menu-sub-hover;
|
@@ -1,23 +1,23 @@
|
|
1
|
-
$
|
1
|
+
$action-color: #477dca !default;
|
2
2
|
|
3
3
|
.animated {
|
4
|
-
|
5
|
-
|
4
|
+
animation-duration: 1s;
|
5
|
+
animation-fill-mode: both;
|
6
6
|
|
7
7
|
&.infinite {
|
8
|
-
|
8
|
+
animation-iteration-count: infinite;
|
9
9
|
}
|
10
10
|
|
11
11
|
&.alternate {
|
12
|
-
|
12
|
+
animation-direction: alternate;
|
13
13
|
}
|
14
14
|
|
15
15
|
&.iteration {
|
16
|
-
|
16
|
+
animation-iteration-count: 2;
|
17
17
|
}
|
18
18
|
}
|
19
19
|
|
20
|
-
// Tweak the keyframes below. Or swap them with another animation pattern at
|
20
|
+
// Tweak the keyframes below. Or swap them with another animation pattern at
|
21
21
|
// https://github.com/daneden/animate.css/tree/master/source
|
22
22
|
|
23
23
|
@-webkit-keyframes zoomOut {
|
@@ -61,15 +61,14 @@ $base-accent-color: #477dca !default;
|
|
61
61
|
|
62
62
|
.animate-target {
|
63
63
|
@include size(6em);
|
64
|
-
-webkit-transform-style: preserve-3d;
|
65
|
-
border-radius: 50%;
|
66
64
|
border: 22px solid #e2e2e3;
|
65
|
+
border-radius: 50%;
|
67
66
|
margin: 0 auto 3em;
|
68
67
|
text-align: center;
|
68
|
+
-webkit-transform-style: preserve-3d;
|
69
69
|
}
|
70
70
|
|
71
71
|
button {
|
72
|
-
@include button(flat, $base-accent-color);
|
73
72
|
display: block;
|
74
73
|
margin: auto;
|
75
74
|
outline: none;
|
@@ -1,37 +1,20 @@
|
|
1
|
-
$
|
2
|
-
$
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
$small-font-size: 0.75em;
|
2
|
+
$badges: (
|
3
|
+
"alert": #fff6bf,
|
4
|
+
"default": #999,
|
5
|
+
"error": #fbe3e4,
|
6
|
+
"notice": #e5edf8,
|
7
|
+
"success": #e6efc2,
|
8
|
+
) !default;
|
7
9
|
|
8
|
-
@
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
}
|
18
|
-
|
19
|
-
.badge {
|
20
|
-
@include badge;
|
21
|
-
}
|
22
|
-
|
23
|
-
.badge-alert {
|
24
|
-
@include badge($alert-color);
|
25
|
-
}
|
26
|
-
|
27
|
-
.badge-error {
|
28
|
-
@include badge($error-color);
|
29
|
-
}
|
30
|
-
|
31
|
-
.badge-notice {
|
32
|
-
@include badge($notice-color);
|
33
|
-
}
|
34
|
-
|
35
|
-
.badge-success {
|
36
|
-
@include badge($success-color);
|
10
|
+
@each $badge-type, $color in $badges {
|
11
|
+
.badge-#{$badge-type} {
|
12
|
+
background-color: $color;
|
13
|
+
border-radius: $small-font-size * 5;
|
14
|
+
color: darken($color, 60%);
|
15
|
+
display: inline-block;
|
16
|
+
font-size: $small-font-size;
|
17
|
+
line-height: 1;
|
18
|
+
padding: 0.4em 1.2em;
|
19
|
+
}
|
37
20
|
}
|
@@ -1,16 +1,12 @@
|
|
1
|
-
.breadcrumb {
|
2
|
-
///////////////////////////////////////////////////////////////////////////////////
|
1
|
+
.breadcrumb {
|
3
2
|
$base-border-color: gainsboro !default;
|
4
3
|
$base-border-radius: 3px !default;
|
5
4
|
$base-background-color: white !default;
|
6
5
|
$base-spacing: 1.5em !default;
|
7
|
-
$
|
8
|
-
$base-link-color: $base-accent-color !default;
|
6
|
+
$action-color: #477DCA !default;
|
9
7
|
$medium-gray: #999 !default;
|
10
8
|
$light-gray: #DDD !default;
|
11
|
-
$medium-screen:
|
12
|
-
//////////////////////////////////////////////////////////////////////////////////
|
13
|
-
|
9
|
+
$medium-screen: 40em !default;
|
14
10
|
$breadcrumb-border-color: $base-border-color;
|
15
11
|
$breadcrumb-border: 1px solid $breadcrumb-border-color;
|
16
12
|
$breadcrumb-height: $base-spacing * 1.5;
|
@@ -18,7 +14,7 @@
|
|
18
14
|
$breadcrumb-background: $base-background-color;
|
19
15
|
$breadcrumb-inactive-hover-color: $breadcrumb-background;
|
20
16
|
$breadcrumb-color: $medium-gray;
|
21
|
-
$breadcrumb-color-hover: $
|
17
|
+
$breadcrumb-color-hover: $action-color;
|
22
18
|
$breadcrumb-color-active: $breadcrumb-color;
|
23
19
|
|
24
20
|
display: inline-block;
|
@@ -27,8 +23,8 @@
|
|
27
23
|
|
28
24
|
a {
|
29
25
|
background-color: $breadcrumb-background;
|
30
|
-
border-left: 0;
|
31
26
|
border: $breadcrumb-border;
|
27
|
+
border-left: 0;
|
32
28
|
color: $breadcrumb-color;
|
33
29
|
display: inline-block;
|
34
30
|
font-size: 0.8em;
|
@@ -60,29 +56,30 @@
|
|
60
56
|
color: $breadcrumb-color-hover;
|
61
57
|
}
|
62
58
|
|
63
|
-
|
64
|
-
|
65
|
-
@include position(absolute,
|
59
|
+
&::after,
|
60
|
+
&::before {
|
61
|
+
@include position(absolute, 0 auto 0 100%);
|
66
62
|
border-bottom: $breadcrumb-height / 2 solid transparent;
|
67
63
|
border-left: $breadcrumb-height / 4 solid transparent;
|
68
64
|
border-top: $breadcrumb-height / 2 solid transparent;
|
69
|
-
content:
|
65
|
+
content: "";
|
70
66
|
display: block;
|
71
67
|
margin: auto;
|
72
68
|
z-index: 2;
|
73
69
|
}
|
74
70
|
|
75
|
-
&:last-child
|
76
|
-
&:last-child
|
77
|
-
border:
|
71
|
+
&:last-child::after,
|
72
|
+
&:last-child::before {
|
73
|
+
border: 0;
|
78
74
|
}
|
79
75
|
|
80
|
-
|
76
|
+
&::before {
|
81
77
|
border-left-color: $breadcrumb-arrow-color;
|
82
78
|
margin-left: 1px;
|
83
79
|
z-index: 1;
|
84
80
|
}
|
85
|
-
|
81
|
+
|
82
|
+
&::after {
|
86
83
|
border-left-color: $breadcrumb-background;
|
87
84
|
}
|
88
85
|
|
@@ -92,4 +89,3 @@
|
|
92
89
|
}
|
93
90
|
}
|
94
91
|
}
|
95
|
-
|