jekyll-theme-pirati 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/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +55 -0
- data/_includes/accordeon/accordeon-column.html +8 -0
- data/_includes/accordeon/accordeon.html +12 -0
- data/_includes/article-list/featured_article.html +55 -0
- data/_includes/article-list/list-3col.html +55 -0
- data/_includes/article-list/pagination.html +36 -0
- data/_includes/article-list/standard_article.html +45 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +23 -0
- data/_includes/google-analytics.html +12 -0
- data/_includes/head.html +60 -0
- data/_includes/header.html +115 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-twitter.html +1 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/js/custom.js +245 -0
- data/_includes/js/fb.js +15 -0
- data/_includes/js/main.html +18 -0
- data/_includes/js/piwik.js +11 -0
- data/_includes/js/tw.js +15 -0
- data/_includes/people/item.html +31 -0
- data/_includes/people/list-2col.html +25 -0
- data/_includes/right-bar/bar_cal.html +15 -0
- data/_includes/right-bar/bar_fb.html +23 -0
- data/_includes/right-bar/bar_foto.html +20 -0
- data/_includes/right-bar/bar_map.html +37 -0
- data/_includes/right-bar/bar_people.html +25 -0
- data/_includes/right-bar/bar_program.html +35 -0
- data/_includes/right-bar/bar_teams_summary.html +22 -0
- data/_includes/right-bar/bar_teams_toc.html +31 -0
- data/_includes/right-bar/bar_textbox.html +23 -0
- data/_includes/right-bar/bar_toc.html +77 -0
- data/_includes/right-bar/bar_tw.html +16 -0
- data/_includes/right-bar/bar_video.html +23 -0
- data/_includes/right-bar/rbar.html +39 -0
- data/_includes/right-bar/social-bar.html +16 -0
- data/_includes/social.html +14 -0
- data/_includes/submenu.html +22 -0
- data/_includes/title/title_header.html +9 -0
- data/_layouts/blank.html +14 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +23 -0
- data/_layouts/home.html +34 -0
- data/_layouts/page.html +34 -0
- data/_layouts/post.html +110 -0
- data/_layouts/redirected.html +13 -0
- data/_layouts/team.html +45 -0
- data/_sass/_base.scss +24 -0
- data/_sass/_settings.scss +569 -0
- data/_sass/_sprites.scss +0 -0
- data/_sass/components/BasicPage.scss +464 -0
- data/_sass/components/BlogPosting.scss +274 -0
- data/_sass/components/Person.scss +42 -0
- data/_sass/components/Slider.scss +0 -0
- data/_sass/components/banner.scss +75 -0
- data/_sass/components/blockquote.scss +53 -0
- data/_sass/components/card.scss +154 -0
- data/_sass/components/contact-bar.scss +93 -0
- data/_sass/components/content-card.scss +31 -0
- data/_sass/components/cta-button.scss +54 -0
- data/_sass/components/header-bar.scss +108 -0
- data/_sass/components/hero.scss +164 -0
- data/_sass/components/highlight.scss +60 -0
- data/_sass/components/icon.scss +25 -0
- data/_sass/components/pagination.scss +75 -0
- data/_sass/components/pripoj-se.scss +97 -0
- data/_sass/components/scroll-top.scss +32 -0
- data/_sass/components/simple-accordion.scss +85 -0
- data/_sass/components/tag.scss +30 -0
- data/_sass/components/top-bar.scss +492 -0
- data/_sass/components/top-sub-nav.scss +186 -0
- data/_sass/components/vertical-navigation.scss +68 -0
- data/_sass/components/welcome-header.scss +188 -0
- data/_sass/components/widget-accordion.scss +293 -0
- data/_sass/components/widget-share-box.scss +57 -0
- data/_sass/components/widget-simple-text.scss +15 -0
- data/_sass/foundation/_global.scss +638 -0
- data/_sass/foundation/components/_accordion-menu.scss +32 -0
- data/_sass/foundation/components/_accordion.scss +129 -0
- data/_sass/foundation/components/_badge.scss +55 -0
- data/_sass/foundation/components/_breadcrumbs.scss +95 -0
- data/_sass/foundation/components/_button-group.scss +195 -0
- data/_sass/foundation/components/_button.scss +265 -0
- data/_sass/foundation/components/_callout.scss +105 -0
- data/_sass/foundation/components/_close-button.scss +61 -0
- data/_sass/foundation/components/_drilldown.scss +79 -0
- data/_sass/foundation/components/_dropdown-menu.scss +221 -0
- data/_sass/foundation/components/_dropdown.scss +65 -0
- data/_sass/foundation/components/_flex-video.scss +63 -0
- data/_sass/foundation/components/_flex.scss +28 -0
- data/_sass/foundation/components/_float.scss +27 -0
- data/_sass/foundation/components/_label.scss +55 -0
- data/_sass/foundation/components/_media-object.scss +115 -0
- data/_sass/foundation/components/_menu-icon.scss +9 -0
- data/_sass/foundation/components/_menu.scss +314 -0
- data/_sass/foundation/components/_off-canvas.scss +177 -0
- data/_sass/foundation/components/_orbit.scss +193 -0
- data/_sass/foundation/components/_pagination.scss +162 -0
- data/_sass/foundation/components/_progress-bar.scss +64 -0
- data/_sass/foundation/components/_reveal.scss +172 -0
- data/_sass/foundation/components/_slider.scss +133 -0
- data/_sass/foundation/components/_sticky.scss +38 -0
- data/_sass/foundation/components/_switch.scss +232 -0
- data/_sass/foundation/components/_table.scss +234 -0
- data/_sass/foundation/components/_tabs.scss +165 -0
- data/_sass/foundation/components/_thumbnail.scss +54 -0
- data/_sass/foundation/components/_title-bar.scss +89 -0
- data/_sass/foundation/components/_tooltip.scss +104 -0
- data/_sass/foundation/components/_top-bar.scss +168 -0
- data/_sass/foundation/components/_visibility.scss +132 -0
- data/_sass/foundation/forms/_checkbox.scss +40 -0
- data/_sass/foundation/forms/_error.scss +84 -0
- data/_sass/foundation/forms/_fieldset.scss +54 -0
- data/_sass/foundation/forms/_forms.scss +34 -0
- data/_sass/foundation/forms/_help-text.scss +30 -0
- data/_sass/foundation/forms/_input-group.scss +128 -0
- data/_sass/foundation/forms/_label.scss +48 -0
- data/_sass/foundation/forms/_meter.scss +109 -0
- data/_sass/foundation/forms/_progress.scss +85 -0
- data/_sass/foundation/forms/_range.scss +144 -0
- data/_sass/foundation/forms/_select.scss +67 -0
- data/_sass/foundation/forms/_text.scss +163 -0
- data/_sass/foundation/foundation.scss +102 -0
- data/_sass/foundation/grid/_classes.scss +151 -0
- data/_sass/foundation/grid/_column.scss +126 -0
- data/_sass/foundation/grid/_flex-grid.scss +274 -0
- data/_sass/foundation/grid/_grid.scss +60 -0
- data/_sass/foundation/grid/_gutter.scss +34 -0
- data/_sass/foundation/grid/_layout.scss +51 -0
- data/_sass/foundation/grid/_position.scss +73 -0
- data/_sass/foundation/grid/_row.scss +95 -0
- data/_sass/foundation/grid/_size.scss +24 -0
- data/_sass/foundation/settings/_settings.scss +567 -0
- data/_sass/foundation/typography/_alignment.scss +22 -0
- data/_sass/foundation/typography/_base.scss +443 -0
- data/_sass/foundation/typography/_helpers.scss +77 -0
- data/_sass/foundation/typography/_print.scss +77 -0
- data/_sass/foundation/typography/_typography.scss +28 -0
- data/_sass/foundation/util/_breakpoint.scss +275 -0
- data/_sass/foundation/util/_color.scss +60 -0
- data/_sass/foundation/util/_flex.scss +68 -0
- data/_sass/foundation/util/_mixins.scss +235 -0
- data/_sass/foundation/util/_selector.scss +40 -0
- data/_sass/foundation/util/_unit.scss +90 -0
- data/_sass/foundation/util/_util.scss +11 -0
- data/_sass/foundation/util/_value.scss +107 -0
- data/_sass/main.scss +40 -0
- data/_sass/minima.scss +51 -0
- data/_sass/minima/_base.scss +254 -0
- data/_sass/minima/_layout.scss +255 -0
- data/_sass/minima/_syntax-highlighting.scss +71 -0
- data/_sass/objects/media.scss +55 -0
- data/_sass/objects/section.scss +247 -0
- data/_sass/objects/space.scss +7 -0
- data/_sass/scroll-top.scss +31 -0
- data/_sass/utilities/utilities.scss +190 -0
- data/assets/css/main.scss +110 -0
- data/assets/favicon/apple-touch-icon-114x114.png +0 -0
- data/assets/favicon/apple-touch-icon-120x120.png +0 -0
- data/assets/favicon/apple-touch-icon-144x144.png +0 -0
- data/assets/favicon/apple-touch-icon-152x152.png +0 -0
- data/assets/favicon/apple-touch-icon-57x57.png +0 -0
- data/assets/favicon/apple-touch-icon-60x60.png +0 -0
- data/assets/favicon/apple-touch-icon-72x72.png +0 -0
- data/assets/favicon/apple-touch-icon-76x76.png +0 -0
- data/assets/favicon/favicon-128.png +0 -0
- data/assets/favicon/favicon-16x16.png +0 -0
- data/assets/favicon/favicon-196x196.png +0 -0
- data/assets/favicon/favicon-32x32.png +0 -0
- data/assets/favicon/favicon-96x96.png +0 -0
- data/assets/favicon/favicon.ico +0 -0
- data/assets/favicon/mstile-144x144.png +0 -0
- data/assets/favicon/mstile-150x150.png +0 -0
- data/assets/favicon/mstile-310x150.png +0 -0
- data/assets/favicon/mstile-310x310.png +0 -0
- data/assets/favicon/mstile-70x70.png +0 -0
- data/assets/fonts/bebasneue_regular-webfont.eot +0 -0
- data/assets/fonts/bebasneue_regular-webfont.svg +3906 -0
- data/assets/fonts/bebasneue_regular-webfont.ttf +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff +0 -0
- data/assets/fonts/bebasneue_regular-webfont.woff2 +0 -0
- data/assets/icons/blog.png +0 -0
- data/assets/icons/compass.png +0 -0
- data/assets/icons/facebook.png +0 -0
- data/assets/icons/github.png +0 -0
- data/assets/icons/googleplus.png +0 -0
- data/assets/icons/instagram.png +0 -0
- data/assets/icons/linkedin.png +0 -0
- data/assets/icons/pinterest.png +0 -0
- data/assets/icons/piratewiki.png +0 -0
- data/assets/icons/redmine.png +0 -0
- data/assets/icons/twitter.png +0 -0
- data/assets/icons/vkontakte.png +0 -0
- data/assets/icons/youtube.png +0 -0
- data/assets/img/brand/logo-group.png +0 -0
- data/assets/img/brand/logo-group.svg +27 -0
- data/assets/img/brand/logo-round.png +0 -0
- data/assets/img/brand/logo-round.svg +104 -0
- data/assets/img/brand/logo.ai +5083 -16
- data/assets/img/brand/logo.pdf +1405 -4
- data/assets/img/brand/logo.png +0 -0
- data/assets/img/brand/logo.svg +10 -0
- data/assets/img/brand/logo_easy.png +0 -0
- data/assets/img/brand/logo_napis.ai +5003 -21
- data/assets/img/brand/logo_napis.pdf +1482 -3
- data/assets/img/brand/logo_napis.png +0 -0
- data/assets/img/brand/logo_napis.svg +48 -0
- data/assets/img/brand/logo_napis_male.png +0 -0
- data/assets/img/brand/logo_napis_white.ai +5106 -16
- data/assets/img/brand/logo_napis_white.pdf +1532 -2
- data/assets/img/brand/logo_napis_white.png +0 -0
- data/assets/img/brand/logo_napis_white.svg +51 -0
- data/assets/img/brand/logo_white.ai +5194 -23
- data/assets/img/brand/logo_white.pdf +1388 -4
- data/assets/img/brand/logo_white.png +0 -0
- data/assets/img/brand/logo_white.svg +14 -0
- data/assets/img/brand/logotyp_email.png +0 -0
- data/assets/img/brand/logow.svg +19 -0
- data/assets/img/header/background.jpg +0 -0
- data/assets/img/people/jakub-pirat.jpg +0 -0
- data/assets/img/posts/obrazek.u.tohoto.postu.jpg +0 -0
- data/assets/img/tiles/lightGrey.png +0 -0
- data/assets/img/tiles/tableOfContent.png +0 -0
- data/assets/js/common-libs.min.js +1 -0
- data/assets/js/custom.min.js +1 -0
- data/assets/people/piratska-strana.png +0 -0
- data/assets/people/ppp.jpg +0 -0
- metadata +316 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group forms
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Color for form labels.
|
10
|
+
/// @type Color
|
11
|
+
$form-label-color: $black !default;
|
12
|
+
|
13
|
+
/// Font size for form labels.
|
14
|
+
/// @type Number
|
15
|
+
$form-label-font-size: rem-calc(14) !default;
|
16
|
+
|
17
|
+
/// Font weight for form labels.
|
18
|
+
/// @type Keyword
|
19
|
+
$form-label-font-weight: $global-weight-normal !default;
|
20
|
+
|
21
|
+
/// Line height for form labels. The higher the number, the more space between the label and its input field.
|
22
|
+
/// @type Number
|
23
|
+
$form-label-line-height: 1.8 !default;
|
24
|
+
|
25
|
+
@mixin form-label {
|
26
|
+
display: block;
|
27
|
+
margin: 0;
|
28
|
+
font-size: $form-label-font-size;
|
29
|
+
font-weight: $form-label-font-weight;
|
30
|
+
line-height: $form-label-line-height;
|
31
|
+
color: $form-label-color;
|
32
|
+
}
|
33
|
+
|
34
|
+
@mixin form-label-middle {
|
35
|
+
$input-border-width: get-border-value($input-border, width);
|
36
|
+
margin: 0 0 $form-spacing;
|
37
|
+
padding: ($form-spacing / 2 + rem-calc($input-border-width)) 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin foundation-form-label {
|
41
|
+
label {
|
42
|
+
@include form-label;
|
43
|
+
|
44
|
+
&.middle {
|
45
|
+
@include form-label-middle;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group meter
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Height of a `<meter>` element.
|
10
|
+
/// @type Length
|
11
|
+
$meter-height: 1rem !default;
|
12
|
+
|
13
|
+
/// Border radius of a `<meter>` element.
|
14
|
+
/// @type Length
|
15
|
+
$meter-radius: $global-radius !default;
|
16
|
+
|
17
|
+
/// Background color of a `<meter>` element.
|
18
|
+
/// @type Color
|
19
|
+
$meter-background: $medium-gray !default;
|
20
|
+
|
21
|
+
/// Meter fill for an optimal value in a `<meter>` element.
|
22
|
+
/// @type Color
|
23
|
+
$meter-fill-good: $success-color !default;
|
24
|
+
|
25
|
+
/// Meter fill for an average value in a `<meter>` element.
|
26
|
+
/// @type Color
|
27
|
+
$meter-fill-medium: $warning-color !default;
|
28
|
+
|
29
|
+
/// Meter fill for a suboptimal value in a `<meter>` element.
|
30
|
+
/// @type Color
|
31
|
+
$meter-fill-bad: $alert-color !default;
|
32
|
+
|
33
|
+
@mixin foundation-meter-element {
|
34
|
+
meter {
|
35
|
+
-webkit-appearance: none;
|
36
|
+
-moz-appearance: none;
|
37
|
+
display: block;
|
38
|
+
width: 100%;
|
39
|
+
height: $meter-height;
|
40
|
+
margin-bottom: 1rem;
|
41
|
+
|
42
|
+
@if has-value($meter-radius) {
|
43
|
+
border-radius: $meter-radius;
|
44
|
+
}
|
45
|
+
|
46
|
+
// For Firefox
|
47
|
+
background: $meter-background;
|
48
|
+
border: 0;
|
49
|
+
|
50
|
+
// Chrome/Safari
|
51
|
+
&::-webkit-meter-bar {
|
52
|
+
background: $meter-background;
|
53
|
+
|
54
|
+
@if has-value($meter-radius) {
|
55
|
+
border-radius: $meter-radius;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
&::-webkit-meter-inner-element {
|
60
|
+
@if has-value($meter-radius) {
|
61
|
+
border-radius: $meter-radius;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&::-webkit-meter-optimum-value {
|
66
|
+
background: $meter-fill-good;
|
67
|
+
|
68
|
+
@if has-value($meter-radius) {
|
69
|
+
border-radius: $meter-radius;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
&::-webkit-meter-suboptimum-value {
|
74
|
+
background: $meter-fill-medium;
|
75
|
+
|
76
|
+
@if has-value($meter-radius) {
|
77
|
+
border-radius: $meter-radius;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
&::-webkit-meter-even-less-good-value {
|
82
|
+
background: $meter-fill-bad;
|
83
|
+
|
84
|
+
@if has-value($meter-radius) {
|
85
|
+
border-radius: $meter-radius;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
&::-moz-meter-bar {
|
90
|
+
background: $primary-color;
|
91
|
+
|
92
|
+
@if has-value($meter-radius) {
|
93
|
+
border-radius: $meter-radius;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
&:-moz-meter-optimum::-moz-meter-bar {
|
98
|
+
background: $meter-fill-good;
|
99
|
+
}
|
100
|
+
|
101
|
+
&:-moz-meter-sub-optimum::-moz-meter-bar {
|
102
|
+
background: $meter-fill-medium;
|
103
|
+
}
|
104
|
+
|
105
|
+
&:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
106
|
+
background: $meter-fill-bad;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group progress-bar
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Height of a progress bar.
|
10
|
+
/// @type Number
|
11
|
+
$progress-height: 1rem !default;
|
12
|
+
|
13
|
+
/// Background color of a progress bar.
|
14
|
+
/// @type Color
|
15
|
+
$progress-background: $medium-gray !default;
|
16
|
+
|
17
|
+
/// Bottom margin of a progress bar.
|
18
|
+
/// @type Number
|
19
|
+
$progress-margin-bottom: $global-margin !default;
|
20
|
+
|
21
|
+
/// Default color of a progress bar's meter.
|
22
|
+
/// @type Color
|
23
|
+
$progress-meter-background: $primary-color !default;
|
24
|
+
|
25
|
+
/// Default radius of a progress bar.
|
26
|
+
/// @type Number
|
27
|
+
$progress-radius: $global-radius !default;
|
28
|
+
|
29
|
+
@mixin foundation-progress-element {
|
30
|
+
progress {
|
31
|
+
-webkit-appearance: none;
|
32
|
+
-moz-appearance: none;
|
33
|
+
display: block;
|
34
|
+
width: 100%;
|
35
|
+
height: $progress-height;
|
36
|
+
margin-bottom: $progress-margin-bottom;
|
37
|
+
|
38
|
+
@if hasvalue($progress-radius) {
|
39
|
+
border-radius: $progress-radius;
|
40
|
+
}
|
41
|
+
|
42
|
+
// For Firefox
|
43
|
+
background: $progress-background;
|
44
|
+
border: 0;
|
45
|
+
|
46
|
+
&::-webkit-progress-bar {
|
47
|
+
background: $progress-background;
|
48
|
+
|
49
|
+
@if hasvalue($progress-radius) {
|
50
|
+
border-radius: $progress-radius;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
&::-webkit-progress-value {
|
55
|
+
background: $progress-meter-background;
|
56
|
+
|
57
|
+
@if hasvalue($progress-radius) {
|
58
|
+
border-radius: $progress-radius;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
&::-moz-progress-bar {
|
63
|
+
background: $progress-meter-background;
|
64
|
+
|
65
|
+
@if hasvalue($progress-radius) {
|
66
|
+
border-radius: $progress-radius;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
@each $name, $color in $foundation-palette {
|
71
|
+
&.#{$name} {
|
72
|
+
// Internet Explorer sets the fill with color
|
73
|
+
color: $color;
|
74
|
+
|
75
|
+
&::-webkit-progress-value {
|
76
|
+
background: $color;
|
77
|
+
}
|
78
|
+
|
79
|
+
&::-moz-progress-bar {
|
80
|
+
background: $color;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group slider
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Default height of the slider.
|
10
|
+
/// @type Number
|
11
|
+
$slider-height: 0.5rem !default;
|
12
|
+
|
13
|
+
/// Default background color of the slider's track.
|
14
|
+
/// @type Color
|
15
|
+
$slider-background: $light-gray !default;
|
16
|
+
|
17
|
+
/// Default color of the active fill color of the slider.
|
18
|
+
/// @type Color
|
19
|
+
$slider-fill-background: $medium-gray !default;
|
20
|
+
|
21
|
+
/// Default height of the handle of the slider.
|
22
|
+
/// @type Number
|
23
|
+
$slider-handle-height: 1.4rem !default;
|
24
|
+
|
25
|
+
/// Default width of the handle of the slider.
|
26
|
+
/// @type Number
|
27
|
+
$slider-handle-width: 1.4rem !default;
|
28
|
+
|
29
|
+
/// Default color of the handle for the slider.
|
30
|
+
/// @type Color
|
31
|
+
$slider-handle-background: $primary-color !default;
|
32
|
+
|
33
|
+
/// Default fade amount of a disabled slider.
|
34
|
+
/// @type Number
|
35
|
+
$slider-opacity-disabled: 0.25 !default;
|
36
|
+
|
37
|
+
/// Default radius for slider.
|
38
|
+
/// @type Number
|
39
|
+
$slider-radius: $global-radius !default;
|
40
|
+
|
41
|
+
@mixin foundation-range-input {
|
42
|
+
// scss-lint:disable QualifyingElement
|
43
|
+
input[type="range"] {
|
44
|
+
$margin: ($slider-handle-height - $slider-height) / 2;
|
45
|
+
|
46
|
+
-webkit-appearance: none;
|
47
|
+
-moz-appearance: none;
|
48
|
+
display: block;
|
49
|
+
width: 100%;
|
50
|
+
height: auto;
|
51
|
+
cursor: pointer;
|
52
|
+
margin-top: $margin;
|
53
|
+
margin-bottom: $margin;
|
54
|
+
border: 0;
|
55
|
+
line-height: 1;
|
56
|
+
|
57
|
+
@if has-value($slider-radius) {
|
58
|
+
border-radius: $slider-radius;
|
59
|
+
}
|
60
|
+
|
61
|
+
&:focus {
|
62
|
+
outline: 0;
|
63
|
+
}
|
64
|
+
|
65
|
+
&[disabled] {
|
66
|
+
opacity: $slider-opacity-disabled;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Chrome/Safari
|
70
|
+
&::-webkit-slider-runnable-track {
|
71
|
+
height: $slider-height;
|
72
|
+
background: $slider-background;
|
73
|
+
}
|
74
|
+
|
75
|
+
&::-webkit-slider-handle {
|
76
|
+
-webkit-appearance: none;
|
77
|
+
background: $slider-handle-background;
|
78
|
+
width: $slider-handle-width;
|
79
|
+
height: $slider-handle-height;
|
80
|
+
margin-top: -$margin;
|
81
|
+
|
82
|
+
@if has-value($slider-radius) {
|
83
|
+
border-radius: $slider-radius;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
// Firefox
|
88
|
+
&::-moz-range-track {
|
89
|
+
-moz-appearance: none;
|
90
|
+
height: $slider-height;
|
91
|
+
background: $slider-background;
|
92
|
+
}
|
93
|
+
|
94
|
+
&::-moz-range-thumb {
|
95
|
+
-moz-appearance: none;
|
96
|
+
background: $slider-handle-background;
|
97
|
+
width: $slider-handle-width;
|
98
|
+
height: $slider-handle-height;
|
99
|
+
margin-top: -$margin;
|
100
|
+
|
101
|
+
@if has-value($slider-radius) {
|
102
|
+
border-radius: $slider-radius;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
// Internet Explorer
|
107
|
+
&::-ms-track {
|
108
|
+
height: $slider-height;
|
109
|
+
background: $slider-background;
|
110
|
+
color: transparent;
|
111
|
+
border: 0;
|
112
|
+
overflow: visible;
|
113
|
+
border-top: $margin solid $body-background;
|
114
|
+
border-bottom: $margin solid $body-background;
|
115
|
+
}
|
116
|
+
|
117
|
+
&::-ms-thumb {
|
118
|
+
background: $slider-handle-background;
|
119
|
+
width: $slider-handle-width;
|
120
|
+
height: $slider-handle-height;
|
121
|
+
border: 0;
|
122
|
+
|
123
|
+
@if has-value($slider-radius) {
|
124
|
+
border-radius: $slider-radius;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
&::-ms-fill-lower {
|
129
|
+
background: $slider-fill-background;
|
130
|
+
}
|
131
|
+
|
132
|
+
&::-ms-fill-upper {
|
133
|
+
background: $slider-background;
|
134
|
+
}
|
135
|
+
|
136
|
+
@at-root {
|
137
|
+
output {
|
138
|
+
line-height: $slider-handle-height;
|
139
|
+
vertical-align: middle;
|
140
|
+
margin-left: 0.5em;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group forms
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Background color for select menus.
|
10
|
+
/// @type Color
|
11
|
+
$select-background: $white !default;
|
12
|
+
|
13
|
+
/// Color of the dropdown triangle inside select menus. Set to `transparent` to remove it entirely.
|
14
|
+
/// @type Color
|
15
|
+
$select-triangle-color: $dark-gray !default;
|
16
|
+
|
17
|
+
/// Default radius for select menus.
|
18
|
+
/// @type Color
|
19
|
+
$select-radius: $global-radius !default;
|
20
|
+
|
21
|
+
@mixin form-select {
|
22
|
+
$height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
|
23
|
+
|
24
|
+
height: $height;
|
25
|
+
padding: ($form-spacing / 2);
|
26
|
+
border: $input-border;
|
27
|
+
margin: 0 0 $form-spacing;
|
28
|
+
font-size: $input-font-size;
|
29
|
+
font-family: $input-font-family;
|
30
|
+
line-height: normal;
|
31
|
+
color: $input-color;
|
32
|
+
background-color: $select-background;
|
33
|
+
border-radius: $select-radius;
|
34
|
+
-webkit-appearance: none;
|
35
|
+
-moz-appearance: none;
|
36
|
+
|
37
|
+
@if $select-triangle-color != transparent {
|
38
|
+
@include background-triangle($select-triangle-color);
|
39
|
+
background-size: 9px 6px;
|
40
|
+
background-position: $global-right (-$form-spacing) center;
|
41
|
+
background-origin: content-box;
|
42
|
+
background-repeat: no-repeat;
|
43
|
+
padding-#{$global-right}: ($form-spacing * 1.5);
|
44
|
+
}
|
45
|
+
|
46
|
+
// Disabled state
|
47
|
+
&:disabled {
|
48
|
+
background-color: $input-background-disabled;
|
49
|
+
cursor: $input-cursor-disabled;
|
50
|
+
}
|
51
|
+
|
52
|
+
// Hide the dropdown arrow shown in newer IE versions
|
53
|
+
&::-ms-expand {
|
54
|
+
display: none;
|
55
|
+
}
|
56
|
+
|
57
|
+
&[multiple] {
|
58
|
+
height: auto;
|
59
|
+
background-image: none;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
@mixin foundation-form-select {
|
64
|
+
select {
|
65
|
+
@include form-select;
|
66
|
+
}
|
67
|
+
}
|