jekyll-theme-pirati 1.2.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -17
- data/_data/menu.yml +53 -0
- data/_includes/candidate_badge.html +6 -15
- data/_includes/footer.html +92 -12
- data/_includes/head.html +24 -25
- data/_includes/header.html +14 -14
- data/_includes/js/main.html +71 -14
- data/_includes/menu.html +43 -51
- data/_includes/people/profile_badge.html +1 -3
- data/_includes/right-bar/bar_cal.html +4 -6
- data/_includes/right-bar/bar_fb.html +3 -3
- data/_includes/right-bar/bar_garant.html +3 -2
- data/_includes/right-bar/bar_people.html +21 -18
- data/_includes/right-bar/bar_person_contact.html +11 -55
- data/_includes/right-bar/rbar.html +3 -3
- data/_layouts/komunalni-volby.html +9 -7
- data/_sass/_base.scss +114 -1
- data/_sass/_settings.scss +1 -1
- data/_sass/components/BasicPage.scss +6 -1
- data/_sass/components/hero.scss +2 -2
- data/_sass/components/icon.scss +5 -1
- data/_sass/components/program.scss +5 -1
- data/_sass/components/top-bar.scss +236 -491
- data/_sass/components/top-sub-nav.scss +1 -1
- data/_sass/objects/media.scss +46 -38
- data/_sass/utilities/utilities.scss +6 -6
- data/assets/css/main.scss +40 -106
- data/assets/js/apps.js +8 -0
- data/assets/js/apps/scroll-top/ScrollTop.vue +83 -0
- data/assets/js/apps/scroll-top/index.js +9 -0
- data/assets/js/apps/site-search/SiteSearch.vue +85 -0
- data/assets/js/apps/site-search/SiteSearchItemTemplate.vue +29 -0
- data/assets/js/apps/site-search/index.js +14 -0
- data/assets/js/index.js +52 -0
- metadata +9 -91
- data/_includes/js/custom.js +0 -245
- data/_includes/js/fb.js +0 -15
- data/_includes/js/piwik.js +0 -11
- data/_includes/js/tw.js +0 -15
- data/_includes/people/item.html +0 -49
- data/_includes/people/list-2col.html +0 -24
- data/_includes/people/list-group.html +0 -12
- data/_includes/title/title_header.html +0 -9
- data/_sass/components/scroll-top.scss +0 -32
- data/_sass/components/welcome-header.scss +0 -188
- data/_sass/foundation/_global.scss +0 -638
- data/_sass/foundation/components/_accordion-menu.scss +0 -32
- data/_sass/foundation/components/_accordion.scss +0 -129
- data/_sass/foundation/components/_badge.scss +0 -55
- data/_sass/foundation/components/_breadcrumbs.scss +0 -95
- data/_sass/foundation/components/_button-group.scss +0 -195
- data/_sass/foundation/components/_button.scss +0 -265
- data/_sass/foundation/components/_callout.scss +0 -105
- data/_sass/foundation/components/_close-button.scss +0 -61
- data/_sass/foundation/components/_drilldown.scss +0 -79
- data/_sass/foundation/components/_dropdown-menu.scss +0 -221
- data/_sass/foundation/components/_dropdown.scss +0 -65
- data/_sass/foundation/components/_flex-video.scss +0 -63
- data/_sass/foundation/components/_flex.scss +0 -28
- data/_sass/foundation/components/_float.scss +0 -27
- data/_sass/foundation/components/_label.scss +0 -55
- data/_sass/foundation/components/_media-object.scss +0 -115
- data/_sass/foundation/components/_menu-icon.scss +0 -9
- data/_sass/foundation/components/_menu.scss +0 -314
- data/_sass/foundation/components/_off-canvas.scss +0 -177
- data/_sass/foundation/components/_orbit.scss +0 -193
- data/_sass/foundation/components/_pagination.scss +0 -162
- data/_sass/foundation/components/_progress-bar.scss +0 -64
- data/_sass/foundation/components/_reveal.scss +0 -172
- data/_sass/foundation/components/_slider.scss +0 -133
- data/_sass/foundation/components/_sticky.scss +0 -38
- data/_sass/foundation/components/_switch.scss +0 -232
- data/_sass/foundation/components/_table.scss +0 -234
- data/_sass/foundation/components/_tabs.scss +0 -165
- data/_sass/foundation/components/_thumbnail.scss +0 -54
- data/_sass/foundation/components/_title-bar.scss +0 -89
- data/_sass/foundation/components/_tooltip.scss +0 -104
- data/_sass/foundation/components/_top-bar.scss +0 -168
- data/_sass/foundation/components/_visibility.scss +0 -132
- data/_sass/foundation/forms/_checkbox.scss +0 -40
- data/_sass/foundation/forms/_error.scss +0 -84
- data/_sass/foundation/forms/_fieldset.scss +0 -54
- data/_sass/foundation/forms/_forms.scss +0 -34
- data/_sass/foundation/forms/_help-text.scss +0 -30
- data/_sass/foundation/forms/_input-group.scss +0 -128
- data/_sass/foundation/forms/_label.scss +0 -48
- data/_sass/foundation/forms/_meter.scss +0 -109
- data/_sass/foundation/forms/_progress.scss +0 -85
- data/_sass/foundation/forms/_range.scss +0 -144
- data/_sass/foundation/forms/_select.scss +0 -67
- data/_sass/foundation/forms/_text.scss +0 -163
- data/_sass/foundation/foundation.scss +0 -102
- data/_sass/foundation/grid/_classes.scss +0 -151
- data/_sass/foundation/grid/_column.scss +0 -126
- data/_sass/foundation/grid/_flex-grid.scss +0 -274
- data/_sass/foundation/grid/_grid.scss +0 -60
- data/_sass/foundation/grid/_gutter.scss +0 -34
- data/_sass/foundation/grid/_layout.scss +0 -51
- data/_sass/foundation/grid/_position.scss +0 -73
- data/_sass/foundation/grid/_row.scss +0 -95
- data/_sass/foundation/grid/_size.scss +0 -24
- data/_sass/foundation/settings/_settings.scss +0 -567
- data/_sass/foundation/typography/_alignment.scss +0 -22
- data/_sass/foundation/typography/_base.scss +0 -443
- data/_sass/foundation/typography/_helpers.scss +0 -77
- data/_sass/foundation/typography/_print.scss +0 -77
- data/_sass/foundation/typography/_typography.scss +0 -28
- data/_sass/foundation/util/_breakpoint.scss +0 -275
- data/_sass/foundation/util/_color.scss +0 -60
- data/_sass/foundation/util/_flex.scss +0 -68
- data/_sass/foundation/util/_mixins.scss +0 -235
- data/_sass/foundation/util/_selector.scss +0 -40
- data/_sass/foundation/util/_unit.scss +0 -90
- data/_sass/foundation/util/_util.scss +0 -11
- data/_sass/foundation/util/_value.scss +0 -107
- data/_sass/jquery-ui.scss +0 -1311
- data/_sass/main.scss +0 -41
- data/_sass/minima.scss +0 -51
- data/_sass/minima/_base.scss +0 -254
- data/_sass/minima/_layout.scss +0 -255
- data/_sass/minima/_syntax-highlighting.scss +0 -71
- data/_sass/scroll-top.scss +0 -31
- data/assets/js/common-libs.min.js +0 -1
- data/assets/js/custom.min.js +0 -1
- data/assets/snippet/profile.html +0 -19
@@ -1,132 +0,0 @@
|
|
1
|
-
// Foundation for Sites by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
/// Hide an element by default, only displaying it above a certain screen size.
|
6
|
-
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
|
7
|
-
@mixin show-for($size) {
|
8
|
-
$size: map-get($breakpoints, $size);
|
9
|
-
$size: -zf-bp-to-em($size) - (1 / 16);
|
10
|
-
|
11
|
-
@include breakpoint($size down) {
|
12
|
-
display: none !important;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
/// Hide an element by default, only displaying it within a certain breakpoint.
|
17
|
-
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
|
18
|
-
@mixin show-for-only($size) {
|
19
|
-
$lower-bound-size: map-get($breakpoints, $size);
|
20
|
-
$upper-bound-size: -zf-map-next($breakpoints, $size);
|
21
|
-
|
22
|
-
// more often than not this will be correct, just one time round the loop it won't so set in scope here
|
23
|
-
$lower-bound: -zf-bp-to-em($lower-bound-size) - (1 / 16);
|
24
|
-
// test actual lower-bound-size, if 0 set it to 0em
|
25
|
-
@if strip-unit($lower-bound-size) == 0 {
|
26
|
-
$lower-bound: -zf-bp-to-em($lower-bound-size);
|
27
|
-
}
|
28
|
-
|
29
|
-
@if $upper-bound-size == null {
|
30
|
-
@media screen and (max-width: $lower-bound) {
|
31
|
-
display: none !important;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
@else {
|
35
|
-
$upper-bound: -zf-bp-to-em($upper-bound-size);
|
36
|
-
|
37
|
-
@media screen and (max-width: $lower-bound), screen and (min-width: $upper-bound) {
|
38
|
-
display: none !important;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
|
44
|
-
/// Show an element by default, and hide it above a certain screen size.
|
45
|
-
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
|
46
|
-
@mixin hide-for($size) {
|
47
|
-
@include breakpoint($size) {
|
48
|
-
display: none !important;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
/// Show an element by default, and hide it above a certain screen size.
|
53
|
-
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
|
54
|
-
@mixin hide-for-only($size) {
|
55
|
-
@include breakpoint($size only) {
|
56
|
-
display: none !important;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
@mixin foundation-visibility-classes {
|
61
|
-
// Basic hiding classes
|
62
|
-
.hide {
|
63
|
-
display: none !important;
|
64
|
-
}
|
65
|
-
|
66
|
-
.invisible {
|
67
|
-
visibility: hidden;
|
68
|
-
}
|
69
|
-
|
70
|
-
// Responsive visibility classes
|
71
|
-
@each $size in $breakpoint-classes {
|
72
|
-
@if $size != $-zf-zero-breakpoint {
|
73
|
-
.hide-for-#{$size} {
|
74
|
-
@include hide-for($size);
|
75
|
-
}
|
76
|
-
|
77
|
-
.show-for-#{$size} {
|
78
|
-
@include show-for($size);
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
|
-
.hide-for-#{$size}-only {
|
83
|
-
@include hide-for-only($size);
|
84
|
-
}
|
85
|
-
|
86
|
-
.show-for-#{$size}-only {
|
87
|
-
@include show-for-only($size);
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
// Screen reader visibility classes
|
92
|
-
// Need a "hide-for-sr" class? Add aria-hidden='true' to the element
|
93
|
-
.show-for-sr,
|
94
|
-
.show-on-focus {
|
95
|
-
@include element-invisible;
|
96
|
-
}
|
97
|
-
|
98
|
-
// Only display the element when it's focused
|
99
|
-
.show-on-focus {
|
100
|
-
&:active,
|
101
|
-
&:focus {
|
102
|
-
@include element-invisible-off;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
// Landscape and portrait visibility
|
107
|
-
.show-for-landscape,
|
108
|
-
.hide-for-portrait {
|
109
|
-
display: block !important;
|
110
|
-
|
111
|
-
@include breakpoint(landscape) {
|
112
|
-
display: block !important;
|
113
|
-
}
|
114
|
-
|
115
|
-
@include breakpoint(portrait) {
|
116
|
-
display: none !important;
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
.hide-for-landscape,
|
121
|
-
.show-for-portrait {
|
122
|
-
display: none !important;
|
123
|
-
|
124
|
-
@include breakpoint(landscape) {
|
125
|
-
display: none !important;
|
126
|
-
}
|
127
|
-
|
128
|
-
@include breakpoint(portrait) {
|
129
|
-
display: block !important;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
// Foundation for Sites by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
////
|
6
|
-
/// @group forms
|
7
|
-
////
|
8
|
-
|
9
|
-
@mixin foundation-form-checkbox {
|
10
|
-
[type='file'],
|
11
|
-
[type='checkbox'],
|
12
|
-
[type='radio'] {
|
13
|
-
margin: 0 0 $form-spacing;
|
14
|
-
}
|
15
|
-
|
16
|
-
// Styles for input/label siblings
|
17
|
-
[type='checkbox'] + label,
|
18
|
-
[type='radio'] + label {
|
19
|
-
display: inline-block;
|
20
|
-
margin-#{$global-left}: $form-spacing * 0.5;
|
21
|
-
margin-#{$global-right}: $form-spacing;
|
22
|
-
margin-bottom: 0;
|
23
|
-
vertical-align: baseline;
|
24
|
-
|
25
|
-
&[for] {
|
26
|
-
cursor: pointer;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
// Styles for inputs inside labels
|
31
|
-
label > [type='checkbox'],
|
32
|
-
label > [type='radio'] {
|
33
|
-
margin-#{$global-right}: $form-spacing * 0.5;
|
34
|
-
}
|
35
|
-
|
36
|
-
// Normalize file input width
|
37
|
-
[type='file'] {
|
38
|
-
width: 100%;
|
39
|
-
}
|
40
|
-
}
|
@@ -1,84 +0,0 @@
|
|
1
|
-
// Foundation for Sites by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
////
|
6
|
-
/// @group abide
|
7
|
-
////
|
8
|
-
|
9
|
-
/// Sets if error styles should be added to inputs.
|
10
|
-
/// @type Boolean
|
11
|
-
$abide-inputs: true !default;
|
12
|
-
|
13
|
-
/// Sets if error styles should be added to labels.
|
14
|
-
/// @type Boolean
|
15
|
-
$abide-labels: true !default;
|
16
|
-
|
17
|
-
/// Background color to use for invalid text inputs.
|
18
|
-
/// @type Color
|
19
|
-
$input-background-invalid: map-get($foundation-palette, alert) !default;
|
20
|
-
|
21
|
-
/// Color to use for labels of invalid inputs.
|
22
|
-
/// @type Color
|
23
|
-
$form-label-color-invalid: map-get($foundation-palette, alert) !default;
|
24
|
-
|
25
|
-
/// Default font color for form error text.
|
26
|
-
/// @type Color
|
27
|
-
$input-error-color: map-get($foundation-palette, alert) !default;
|
28
|
-
|
29
|
-
/// Default font size for form error text.
|
30
|
-
/// @type Number
|
31
|
-
$input-error-font-size: rem-calc(12) !default;
|
32
|
-
|
33
|
-
/// Default font weight for form error text.
|
34
|
-
/// @type Keyword
|
35
|
-
$input-error-font-weight: $global-weight-bold !default;
|
36
|
-
|
37
|
-
/// Styles the background and border of an input field to have an error state.
|
38
|
-
///
|
39
|
-
/// @param {Color} $background [$alert-color] - Color to use for the background and border.
|
40
|
-
/// @param {Number} $background-alpha [0.1] - Transparency level of the background color.
|
41
|
-
@mixin form-input-error(
|
42
|
-
$background: $input-background-invalid,
|
43
|
-
$background-alpha: 0.1
|
44
|
-
) {
|
45
|
-
&:not(:focus) {
|
46
|
-
background-color: rgba($background, $background-alpha);
|
47
|
-
border-color: $background;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
/// Adds error styles to a form element, using the values in the settings file.
|
52
|
-
@mixin form-error {
|
53
|
-
display: none;
|
54
|
-
margin-top: $form-spacing * -0.5;
|
55
|
-
margin-bottom: $form-spacing;
|
56
|
-
font-size: $input-error-font-size;
|
57
|
-
font-weight: $input-error-font-weight;
|
58
|
-
color: $input-error-color;
|
59
|
-
}
|
60
|
-
|
61
|
-
@mixin foundation-form-error {
|
62
|
-
@if $abide-inputs {
|
63
|
-
// Error class for invalid inputs
|
64
|
-
.is-invalid-input {
|
65
|
-
@include form-input-error;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
|
-
@if $abide-labels {
|
70
|
-
// Error class for labels of invalid outputs
|
71
|
-
.is-invalid-label {
|
72
|
-
color: $form-label-color-invalid;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
// Form error element
|
77
|
-
.form-error {
|
78
|
-
@include form-error;
|
79
|
-
|
80
|
-
&.is-visible {
|
81
|
-
display: block;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
// Foundation for Sites by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
////
|
6
|
-
/// @group forms
|
7
|
-
////
|
8
|
-
|
9
|
-
/// Default border around custom fieldsets.
|
10
|
-
/// @type Border
|
11
|
-
$fieldset-border: 1px solid $medium-gray !default;
|
12
|
-
|
13
|
-
/// Default padding inside custom fieldsets.
|
14
|
-
/// @type Number
|
15
|
-
$fieldset-padding: rem-calc(20) !default;
|
16
|
-
|
17
|
-
/// Default margin around custom fieldsets.
|
18
|
-
/// @type Number
|
19
|
-
$fieldset-margin: rem-calc(18 0) !default;
|
20
|
-
|
21
|
-
/// Default padding between the legend text and fieldset border.
|
22
|
-
/// @type Number
|
23
|
-
$legend-padding: rem-calc(0 3) !default;
|
24
|
-
|
25
|
-
@mixin fieldset {
|
26
|
-
border: $fieldset-border;
|
27
|
-
padding: $fieldset-padding;
|
28
|
-
margin: $fieldset-margin;
|
29
|
-
|
30
|
-
legend {
|
31
|
-
// Covers up the fieldset's border to create artificial padding
|
32
|
-
background: $body-background;
|
33
|
-
padding: $legend-padding;
|
34
|
-
margin: 0;
|
35
|
-
margin-#{$global-left}: rem-calc(-3);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
@mixin foundation-form-fieldset {
|
40
|
-
fieldset {
|
41
|
-
border: 0;
|
42
|
-
padding: 0;
|
43
|
-
margin: 0;
|
44
|
-
}
|
45
|
-
|
46
|
-
legend {
|
47
|
-
margin-bottom: $form-spacing * 0.5;
|
48
|
-
max-width: 100%;
|
49
|
-
}
|
50
|
-
|
51
|
-
.fieldset {
|
52
|
-
@include fieldset;
|
53
|
-
}
|
54
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
// Foundation for Sites by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
////
|
6
|
-
/// @group forms
|
7
|
-
////
|
8
|
-
|
9
|
-
/// Global spacing for form elements.
|
10
|
-
/// @type Number
|
11
|
-
$form-spacing: rem-calc(16) !default;
|
12
|
-
|
13
|
-
@import 'text';
|
14
|
-
@import 'checkbox';
|
15
|
-
@import 'label';
|
16
|
-
@import 'help-text';
|
17
|
-
@import 'input-group';
|
18
|
-
@import 'fieldset';
|
19
|
-
@import 'select';
|
20
|
-
@import 'range';
|
21
|
-
@import 'progress';
|
22
|
-
@import 'meter';
|
23
|
-
@import 'error';
|
24
|
-
|
25
|
-
@mixin foundation-forms {
|
26
|
-
@include foundation-form-text;
|
27
|
-
@include foundation-form-checkbox;
|
28
|
-
@include foundation-form-label;
|
29
|
-
@include foundation-form-helptext;
|
30
|
-
@include foundation-form-prepostfix;
|
31
|
-
@include foundation-form-fieldset;
|
32
|
-
@include foundation-form-select;
|
33
|
-
@include foundation-form-error;
|
34
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
// Foundation for Sites by ZURB
|
2
|
-
// foundation.zurb.com
|
3
|
-
// Licensed under MIT Open Source
|
4
|
-
|
5
|
-
////
|
6
|
-
/// @group forms
|
7
|
-
////
|
8
|
-
|
9
|
-
/// Default color for help text.
|
10
|
-
/// @type Color
|
11
|
-
$helptext-color: $black !default;
|
12
|
-
|
13
|
-
/// Default font size for help text.
|
14
|
-
/// @type Number
|
15
|
-
$helptext-font-size: rem-calc(13) !default;
|
16
|
-
|
17
|
-
/// Default font style for help text.
|
18
|
-
/// @type Keyword
|
19
|
-
$helptext-font-style: italic !default;
|
20
|
-
|
21
|
-
@mixin foundation-form-helptext {
|
22
|
-
.help-text {
|
23
|
-
$margin-top: ($form-spacing * 0.5) * -1;
|
24
|
-
|
25
|
-
margin-top: $margin-top;
|
26
|
-
font-size: $helptext-font-size;
|
27
|
-
font-style: $helptext-font-style;
|
28
|
-
color: $helptext-color;
|
29
|
-
}
|
30
|
-
}
|
@@ -1,128 +0,0 @@
|
|
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 of labels prefixed to an input.
|
10
|
-
/// @type Color
|
11
|
-
$input-prefix-color: $black !default;
|
12
|
-
|
13
|
-
/// Background color of labels prefixed to an input.
|
14
|
-
/// @type Color
|
15
|
-
$input-prefix-background: $light-gray !default;
|
16
|
-
|
17
|
-
/// Border around labels prefixed to an input.
|
18
|
-
/// @type Border
|
19
|
-
$input-prefix-border: 1px solid $medium-gray !default;
|
20
|
-
|
21
|
-
/// Left/right padding of an pre/postfixed input label
|
22
|
-
$input-prefix-padding: 1rem !default;
|
23
|
-
|
24
|
-
@mixin foundation-form-prepostfix {
|
25
|
-
$height: ($input-font-size + $form-spacing * 1.5);
|
26
|
-
|
27
|
-
.input-group {
|
28
|
-
display: if($global-flexbox, flex, table);
|
29
|
-
width: 100%;
|
30
|
-
margin-bottom: $form-spacing;
|
31
|
-
|
32
|
-
@if $global-flexbox {
|
33
|
-
align-items: stretch;
|
34
|
-
}
|
35
|
-
|
36
|
-
> :first-child {
|
37
|
-
border-radius: if($global-text-direction == rtl, 0 $global-radius $global-radius 0, $global-radius 0 0 $global-radius);
|
38
|
-
}
|
39
|
-
|
40
|
-
> :last-child {
|
41
|
-
> * {
|
42
|
-
border-radius: if($global-text-direction == rtl, $global-radius 0 0 $global-radius, 0 $global-radius $global-radius 0);
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
%input-group-child {
|
48
|
-
margin: 0;
|
49
|
-
white-space: nowrap;
|
50
|
-
|
51
|
-
@if not $global-flexbox {
|
52
|
-
display: table-cell;
|
53
|
-
vertical-align: middle;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
.input-group-label {
|
58
|
-
@extend %input-group-child;
|
59
|
-
text-align: center;
|
60
|
-
padding: 0 $input-prefix-padding;
|
61
|
-
background: $input-prefix-background;
|
62
|
-
color: $input-prefix-color;
|
63
|
-
border: $input-prefix-border;
|
64
|
-
white-space: nowrap;
|
65
|
-
|
66
|
-
@if $global-flexbox {
|
67
|
-
flex: 0 0 auto;
|
68
|
-
display: flex;
|
69
|
-
align-items: center;
|
70
|
-
}
|
71
|
-
@else {
|
72
|
-
width: 1%;
|
73
|
-
height: 100%;
|
74
|
-
}
|
75
|
-
|
76
|
-
@if has-value($input-prefix-border) {
|
77
|
-
&:first-child {
|
78
|
-
border-#{$global-right}: 0;
|
79
|
-
}
|
80
|
-
|
81
|
-
&:last-child {
|
82
|
-
border-#{$global-left}: 0;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
.input-group-field {
|
88
|
-
@extend %input-group-child;
|
89
|
-
border-radius: 0;
|
90
|
-
|
91
|
-
// scss-lint:disable ZeroUnit
|
92
|
-
@if $global-flexbox {
|
93
|
-
flex: 1 1 0px;
|
94
|
-
width: auto;
|
95
|
-
height: auto;
|
96
|
-
}
|
97
|
-
@else {
|
98
|
-
height: $height;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
.input-group-button {
|
103
|
-
@extend %input-group-child;
|
104
|
-
padding-top: 0;
|
105
|
-
padding-bottom: 0;
|
106
|
-
text-align: center;
|
107
|
-
|
108
|
-
@if $global-flexbox {
|
109
|
-
flex: 0 0 auto;
|
110
|
-
}
|
111
|
-
@else {
|
112
|
-
height: 100%;
|
113
|
-
width: 1%;
|
114
|
-
}
|
115
|
-
|
116
|
-
a,
|
117
|
-
input,
|
118
|
-
button {
|
119
|
-
margin: 0;
|
120
|
-
}
|
121
|
-
}
|
122
|
-
|
123
|
-
// Specificity bump needed to prevent override by buttons
|
124
|
-
// scss-lint:disable QualifyingSelector
|
125
|
-
.input-group .input-group-button {
|
126
|
-
display: table-cell;
|
127
|
-
}
|
128
|
-
}
|