material-sass 1.4.1 → 4.0.0.alpha5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Rakefile +61 -0
- data/app/assets/fonts/{MaterialIcons-Regular.eot → material-icons/MaterialIcons-Regular.eot} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.ijmap → material-icons/MaterialIcons-Regular.ijmap} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.svg → material-icons/MaterialIcons-Regular.svg} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.ttf → material-icons/MaterialIcons-Regular.ttf} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.woff → material-icons/MaterialIcons-Regular.woff} +0 -0
- data/app/assets/fonts/{MaterialIcons-Regular.woff2 → material-icons/MaterialIcons-Regular.woff2} +0 -0
- data/app/assets/fonts/{README.md → material-icons/README.md} +0 -0
- data/app/assets/fonts/{codepoints → material-icons/codepoints} +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
- data/app/assets/javascripts/material.js +739 -798
- data/app/assets/javascripts/material/addons-materialise/pickadate.js +139 -0
- data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +9 -0
- data/app/assets/javascripts/material/addons-materialise/wave.js +12 -0
- data/app/assets/javascripts/material/addons/pickadate.js +7 -0
- data/app/assets/javascripts/material/addons/textarea-autosize.js +5 -0
- data/app/assets/javascripts/material/{wave.js → addons/wave.js} +0 -10
- data/app/assets/javascripts/material/src/floating-label.js +91 -0
- data/app/assets/javascripts/material/src/navdrawer.js +352 -0
- data/app/assets/javascripts/material/src/tab-switch.js +136 -0
- data/app/assets/javascripts/material/src/util.js +138 -0
- data/app/assets/stylesheets/material.min.css +2 -2
- data/app/assets/stylesheets/material.scss +1 -1
- data/app/assets/stylesheets/material/_mixins.scss +21 -0
- data/app/assets/stylesheets/material/_utilities.scss +15 -0
- data/app/assets/stylesheets/material/_variables.scss +25 -0
- data/app/assets/stylesheets/material/base/_base.scss +482 -0
- data/app/assets/stylesheets/material/base/_grid.scss +28 -40
- data/app/assets/stylesheets/material/base/_typography.scss +208 -0
- data/app/assets/stylesheets/material/bootstrap/_alert.scss +55 -0
- data/app/assets/stylesheets/material/bootstrap/_animation.scss +26 -0
- data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +39 -0
- data/app/assets/stylesheets/material/bootstrap/_button-group.scss +155 -0
- data/app/assets/stylesheets/material/bootstrap/_carousel.scss +234 -0
- data/app/assets/stylesheets/material/bootstrap/_close.scss +31 -0
- data/app/assets/stylesheets/material/bootstrap/_code.scss +50 -0
- data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +69 -0
- data/app/assets/stylesheets/material/bootstrap/_form.scss +116 -0
- data/app/assets/stylesheets/material/bootstrap/_image.scss +25 -0
- data/app/assets/stylesheets/material/bootstrap/_jumbotron.scss +12 -0
- data/app/assets/stylesheets/material/bootstrap/_media.scss +69 -0
- data/app/assets/stylesheets/material/bootstrap/_nav.scss +118 -0
- data/app/assets/stylesheets/material/bootstrap/_pagination.scss +68 -0
- data/app/assets/stylesheets/material/bootstrap/_popover.scss +84 -0
- data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +37 -0
- data/app/assets/stylesheets/material/material.scss +62 -0
- data/app/assets/stylesheets/material/material/_button-flat.scss +53 -0
- data/app/assets/stylesheets/material/material/_button-float.scss +29 -0
- data/app/assets/stylesheets/material/material/_button.scss +241 -0
- data/app/assets/stylesheets/material/material/_card.scss +286 -0
- data/app/assets/stylesheets/material/material/_chip.scss +93 -0
- data/app/assets/stylesheets/material/material/_data-table.scss +138 -0
- data/app/assets/stylesheets/material/material/_dialog.scss +147 -0
- data/app/assets/stylesheets/material/material/_expansion-panel.scss +292 -0
- data/app/assets/stylesheets/material/material/_menu.scss +281 -0
- data/app/assets/stylesheets/material/material/_navdrawer.scss +289 -0
- data/app/assets/stylesheets/material/material/_picker.scss +272 -0
- data/app/assets/stylesheets/material/material/_progress-circular.scss +144 -0
- data/app/assets/stylesheets/material/material/_progress.scss +174 -0
- data/app/assets/stylesheets/material/material/_selection-control.scss +221 -0
- data/app/assets/stylesheets/material/material/_stepper.scss +135 -0
- data/app/assets/stylesheets/material/material/_tab.scss +196 -0
- data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +51 -0
- data/app/assets/stylesheets/material/material/_text-field-input-group.scss +76 -0
- data/app/assets/stylesheets/material/material/_text-field-textarea.scss +31 -0
- data/app/assets/stylesheets/material/material/_text-field.scss +179 -0
- data/app/assets/stylesheets/material/material/_toolbar.scss +516 -0
- data/app/assets/stylesheets/material/material/_tooltip.scss +86 -0
- data/app/assets/stylesheets/material/mixins/_background-variant.scss +14 -0
- data/app/assets/stylesheets/material/mixins/_border-radius.scss +34 -0
- data/app/assets/stylesheets/material/mixins/_breakpoint.scss +38 -0
- data/app/assets/stylesheets/material/mixins/_clearfix.scss +7 -0
- data/app/assets/stylesheets/material/mixins/_form.scss +60 -0
- data/app/assets/stylesheets/material/mixins/_grid.scss +149 -0
- data/app/assets/stylesheets/material/mixins/_hex-to-rgba.scss +3 -0
- data/app/assets/stylesheets/material/mixins/_hover.scss +70 -0
- data/app/assets/stylesheets/material/mixins/_image.scss +4 -0
- data/app/assets/stylesheets/material/mixins/_list.scss +4 -0
- data/app/assets/stylesheets/material/mixins/_nav-divider.scss +6 -0
- data/app/assets/stylesheets/material/mixins/_pull.scss +7 -0
- data/app/assets/stylesheets/material/mixins/_reset-text.scss +35 -0
- data/app/assets/stylesheets/material/mixins/_screenreader.scss +23 -0
- data/app/assets/stylesheets/material/mixins/_strip-unit.scss +3 -0
- data/app/assets/stylesheets/material/mixins/_tab-focus.scss +5 -0
- data/app/assets/stylesheets/material/mixins/_text-emphasis.scss +14 -0
- data/app/assets/stylesheets/material/mixins/_text-hide.scss +7 -0
- data/app/assets/stylesheets/material/mixins/_text-truncate.scss +5 -0
- data/app/assets/stylesheets/material/mixins/_transition.scss +55 -0
- data/app/assets/stylesheets/material/mixins/_typography.scss +69 -0
- data/app/assets/stylesheets/material/utilities/_align.scss +23 -0
- data/app/assets/stylesheets/material/utilities/_background.scss +23 -0
- data/app/assets/stylesheets/material/utilities/_border.scss +27 -0
- data/app/assets/stylesheets/material/utilities/_clearfix.scss +3 -0
- data/app/assets/stylesheets/material/utilities/_display.scss +11 -0
- data/app/assets/stylesheets/material/utilities/_float.scss +15 -0
- data/app/assets/stylesheets/material/utilities/_material-icons.scss +10 -0
- data/app/assets/stylesheets/material/utilities/_screenreader.scss +7 -0
- data/app/assets/stylesheets/material/utilities/_spacing.scss +65 -0
- data/app/assets/stylesheets/material/utilities/_text.scss +95 -0
- data/app/assets/stylesheets/material/utilities/_visibility.scss +50 -0
- data/app/assets/stylesheets/material/utilities/_waves.scss +48 -0
- data/app/assets/stylesheets/material/variables/_animation.scss +22 -0
- data/app/assets/stylesheets/material/variables/_colour.scss +389 -0
- data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +84 -0
- data/app/assets/stylesheets/material/variables/_grid.scss +32 -0
- data/app/assets/stylesheets/material/variables/_spacer.scss +73 -0
- data/app/assets/stylesheets/material/variables/_typography.scss +72 -0
- data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +129 -0
- data/app/assets/stylesheets/material/variables/_variable-material.scss +434 -0
- data/lib/material-sass/engine.rb +3 -2
- data/lib/material-sass/version.rb +1 -1
- metadata +128 -70
- data/app/assets/javascripts/material.min.js +0 -2
- data/app/assets/javascripts/material/_.js +0 -6
- data/app/assets/javascripts/material/bootstrap.js +0 -6
- data/app/assets/javascripts/material/form-floating-label.js +0 -49
- data/app/assets/javascripts/material/form-textarea.js +0 -13
- data/app/assets/javascripts/material/header.js +0 -12
- data/app/assets/javascripts/material/menu.js +0 -200
- data/app/assets/javascripts/material/modal.js +0 -12
- data/app/assets/javascripts/material/picker.js +0 -141
- data/app/assets/javascripts/material/snackbar.js +0 -116
- data/app/assets/javascripts/material/tab.js +0 -51
- data/app/assets/javascripts/material/tile.js +0 -181
- data/app/assets/stylesheets/material/addons/_material-icons.scss +0 -9
- data/app/assets/stylesheets/material/addons/_waves.scss +0 -44
- data/app/assets/stylesheets/material/addons/material-icons/_core.scss +0 -20
- data/app/assets/stylesheets/material/addons/material-icons/_larger.scss +0 -23
- data/app/assets/stylesheets/material/addons/material-icons/_path.scss +0 -11
- data/app/assets/stylesheets/material/addons/material-icons/_variables.scss +0 -3
- data/app/assets/stylesheets/material/base.scss +0 -50
- data/app/assets/stylesheets/material/base/_reset.scss +0 -421
- data/app/assets/stylesheets/material/components/_avatar.scss +0 -59
- data/app/assets/stylesheets/material/components/_breadcrumb.scss +0 -26
- data/app/assets/stylesheets/material/components/_button-flat.scss +0 -22
- data/app/assets/stylesheets/material/components/_button-float.scss +0 -183
- data/app/assets/stylesheets/material/components/_button.scss +0 -81
- data/app/assets/stylesheets/material/components/_card.scss +0 -175
- data/app/assets/stylesheets/material/components/_code.scss +0 -53
- data/app/assets/stylesheets/material/components/_dropdown.scss +0 -99
- data/app/assets/stylesheets/material/components/_form-checkbox.scss +0 -161
- data/app/assets/stylesheets/material/components/_form-floating-label.scss +0 -64
- data/app/assets/stylesheets/material/components/_form-switch.scss +0 -96
- data/app/assets/stylesheets/material/components/_form-textarea.scss +0 -4
- data/app/assets/stylesheets/material/components/_form.scss +0 -217
- data/app/assets/stylesheets/material/components/_label.scss +0 -23
- data/app/assets/stylesheets/material/components/_modal.scss +0 -164
- data/app/assets/stylesheets/material/components/_nav.scss +0 -53
- data/app/assets/stylesheets/material/components/_picker.scss +0 -298
- data/app/assets/stylesheets/material/components/_progress-circular.scss +0 -169
- data/app/assets/stylesheets/material/components/_progress-loadbar.scss +0 -97
- data/app/assets/stylesheets/material/components/_progress.scss +0 -132
- data/app/assets/stylesheets/material/components/_snackbar.scss +0 -59
- data/app/assets/stylesheets/material/components/_stepper.scss +0 -201
- data/app/assets/stylesheets/material/components/_tab.scss +0 -84
- data/app/assets/stylesheets/material/components/_table.scss +0 -82
- data/app/assets/stylesheets/material/components/_tile.scss +0 -156
- data/app/assets/stylesheets/material/elements/_content.scss +0 -42
- data/app/assets/stylesheets/material/elements/_header.scss +0 -141
- data/app/assets/stylesheets/material/elements/_menu.scss +0 -267
- data/app/assets/stylesheets/material/mixin/_grid.scss +0 -78
- data/app/assets/stylesheets/material/mixin/_responsive.scss +0 -32
- data/app/assets/stylesheets/material/mixin/_utilities.scss +0 -69
- data/app/assets/stylesheets/material/utilities/_print.scss +0 -95
- data/app/assets/stylesheets/material/utilities/_utilities-responsive.scss +0 -97
- data/app/assets/stylesheets/material/utilities/_utilities.scss +0 -393
- data/app/assets/stylesheets/material/var/_colours.scss +0 -336
- data/app/assets/stylesheets/material/var/_variables.scss +0 -78
@@ -1,43 +1,31 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
//
|
2
|
+
// column
|
3
|
+
//
|
4
|
+
@if $enable-grid-classes {
|
5
|
+
@include make-grid-columns;
|
6
|
+
}
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
-
//
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
}
|
16
|
-
// 992
|
17
|
-
@include responsive(md) {
|
18
|
-
@include make-grid(md);
|
19
|
-
}
|
20
|
-
// 1440
|
21
|
-
@include responsive(lg) {
|
22
|
-
@include make-grid(lg);
|
23
|
-
}
|
8
|
+
//
|
9
|
+
// container
|
10
|
+
//
|
11
|
+
@if $enable-grid-classes {
|
12
|
+
.container {
|
13
|
+
@include make-container;
|
14
|
+
@include make-container-max-widths;
|
15
|
+
}
|
16
|
+
}
|
24
17
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
}
|
31
|
-
// 1440
|
32
|
-
@include responsive(lg) {
|
33
|
-
max-width: ($screen-lg - $grid-gutter * 2);
|
34
|
-
}
|
35
|
-
}
|
18
|
+
@if $enable-grid-classes {
|
19
|
+
.container-fluid {
|
20
|
+
@include make-container;
|
21
|
+
}
|
22
|
+
}
|
36
23
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
.row {
|
42
|
-
|
43
|
-
}
|
24
|
+
//
|
25
|
+
// row
|
26
|
+
//
|
27
|
+
@if $enable-grid-classes {
|
28
|
+
.row {
|
29
|
+
@include make-row;
|
30
|
+
}
|
31
|
+
}
|
@@ -0,0 +1,208 @@
|
|
1
|
+
//
|
2
|
+
// blockquote
|
3
|
+
//
|
4
|
+
.blockquote {
|
5
|
+
border-left: $blockquote-border-width solid $blockquote-border-color;
|
6
|
+
margin-bottom: $spacer-md-y;
|
7
|
+
padding: 0 $spacer-md-x;
|
8
|
+
@include typography-title;
|
9
|
+
}
|
10
|
+
|
11
|
+
.blockquote-footer {
|
12
|
+
color: $blockquote-small-color;
|
13
|
+
display: block;
|
14
|
+
margin-top: $spacer-xs-y;
|
15
|
+
@include typography-caption;
|
16
|
+
|
17
|
+
&::before {
|
18
|
+
content: "\2014 \00A0";
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.blockquote-reverse {
|
23
|
+
border-left: 0;
|
24
|
+
border-right: $blockquote-border-width solid $blockquote-border-color;
|
25
|
+
text-align: right;
|
26
|
+
}
|
27
|
+
|
28
|
+
.blockquote-reverse .blockquote-footer {
|
29
|
+
&::after {
|
30
|
+
content: "\00A0 \2014";
|
31
|
+
}
|
32
|
+
&::before {
|
33
|
+
content: "";
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
//
|
38
|
+
// emphasis
|
39
|
+
//
|
40
|
+
mark,
|
41
|
+
.mark {
|
42
|
+
background-color: $mark-bg;
|
43
|
+
padding: $mark-padding;
|
44
|
+
}
|
45
|
+
|
46
|
+
small,
|
47
|
+
.small {
|
48
|
+
font-size: $small-font-size;
|
49
|
+
font-weight: normal;
|
50
|
+
}
|
51
|
+
|
52
|
+
//
|
53
|
+
// headings
|
54
|
+
//
|
55
|
+
.typography-display-4 {
|
56
|
+
@include typography-display-4;
|
57
|
+
}
|
58
|
+
|
59
|
+
.typography-display-3 {
|
60
|
+
@include typography-display-3;
|
61
|
+
}
|
62
|
+
|
63
|
+
.typography-display-2 {
|
64
|
+
@include typography-display-2;
|
65
|
+
}
|
66
|
+
|
67
|
+
.typography-display-1 {
|
68
|
+
@include typography-display-1;
|
69
|
+
}
|
70
|
+
|
71
|
+
.typography-headline {
|
72
|
+
@include typography-headline;
|
73
|
+
}
|
74
|
+
|
75
|
+
.typography-title {
|
76
|
+
@include typography-title;
|
77
|
+
}
|
78
|
+
|
79
|
+
.typography-subheading {
|
80
|
+
@include typography-subheading;
|
81
|
+
}
|
82
|
+
|
83
|
+
.typography-body-2 {
|
84
|
+
@include typography-body-2;
|
85
|
+
}
|
86
|
+
|
87
|
+
.typography-body-1 {
|
88
|
+
@include typography-body-1;
|
89
|
+
}
|
90
|
+
|
91
|
+
.typography-caption {
|
92
|
+
@include typography-caption;
|
93
|
+
}
|
94
|
+
|
95
|
+
// bootstrap classes
|
96
|
+
h1,
|
97
|
+
h2,
|
98
|
+
h3,
|
99
|
+
h4,
|
100
|
+
h5,
|
101
|
+
h6,
|
102
|
+
.h1,
|
103
|
+
.h2,
|
104
|
+
.h3,
|
105
|
+
.h4,
|
106
|
+
.h5,
|
107
|
+
.h6 {
|
108
|
+
color: $headings-color;
|
109
|
+
font-family: $headings-font-family;
|
110
|
+
margin-bottom: $headings-margin-bottom;
|
111
|
+
}
|
112
|
+
|
113
|
+
h1,
|
114
|
+
.h1 {
|
115
|
+
@extend .typography-display-2;
|
116
|
+
}
|
117
|
+
|
118
|
+
h2,
|
119
|
+
.h2 {
|
120
|
+
@extend .typography-display-1;
|
121
|
+
}
|
122
|
+
|
123
|
+
h3,
|
124
|
+
.h3 {
|
125
|
+
@extend .typography-headline;
|
126
|
+
}
|
127
|
+
|
128
|
+
h4,
|
129
|
+
.h4 {
|
130
|
+
@extend .typography-title;
|
131
|
+
}
|
132
|
+
|
133
|
+
h5,
|
134
|
+
.h5 {
|
135
|
+
@extend .typography-subheading;
|
136
|
+
}
|
137
|
+
|
138
|
+
h6,
|
139
|
+
.h6 {
|
140
|
+
@extend .typography-body-2;
|
141
|
+
}
|
142
|
+
|
143
|
+
.display-1 {
|
144
|
+
@extend .typography-display-4;
|
145
|
+
}
|
146
|
+
|
147
|
+
.display-2 {
|
148
|
+
@extend .typography-display-3;
|
149
|
+
}
|
150
|
+
|
151
|
+
.display-3 {
|
152
|
+
@extend .typography-display-2;
|
153
|
+
}
|
154
|
+
|
155
|
+
.display-4 {
|
156
|
+
@extend .typography-display-1;
|
157
|
+
}
|
158
|
+
|
159
|
+
.lead {
|
160
|
+
@extend .typography-title;
|
161
|
+
}
|
162
|
+
|
163
|
+
//
|
164
|
+
// hr
|
165
|
+
//
|
166
|
+
hr {
|
167
|
+
border: 0;
|
168
|
+
border-top: $hr-border-width solid $hr-border-color;
|
169
|
+
margin-top: $spacer-md-y;
|
170
|
+
margin-bottom: $spacer-md-y;
|
171
|
+
}
|
172
|
+
|
173
|
+
//
|
174
|
+
// list
|
175
|
+
//
|
176
|
+
.list-inline {
|
177
|
+
@include list-unstyled;
|
178
|
+
}
|
179
|
+
|
180
|
+
.list-inline-item {
|
181
|
+
display: inline-block;
|
182
|
+
|
183
|
+
&:not(:last-child) {
|
184
|
+
margin-right: $list-inline-item-spacer;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
.list-unstyled {
|
189
|
+
@include list-unstyled;
|
190
|
+
}
|
191
|
+
|
192
|
+
@if not $enable-flex {
|
193
|
+
dl.row {
|
194
|
+
margin-bottom: $spacer-sm-y;
|
195
|
+
|
196
|
+
> dd + dt {
|
197
|
+
clear: left;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
//
|
203
|
+
// misc
|
204
|
+
//
|
205
|
+
.initialism {
|
206
|
+
font-size: 90%;
|
207
|
+
text-transform: uppercase;
|
208
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
.alert {
|
2
|
+
background-color: $card-bg;
|
3
|
+
border: 0;
|
4
|
+
box-shadow: map-get($card-elevation-shadow, shadow);
|
5
|
+
display: block;
|
6
|
+
margin-bottom: $card-margin-bottom;
|
7
|
+
padding: $card-spacer-inner-y $card-spacer-inner-x;
|
8
|
+
position: relative;
|
9
|
+
z-index: map-get($card-elevation-shadow, elevation);
|
10
|
+
@include border-radius($border-radius);
|
11
|
+
}
|
12
|
+
|
13
|
+
// colour
|
14
|
+
.alert-inverse {
|
15
|
+
background-color: $card-bg-inverse;
|
16
|
+
color: $card-color-inverse;
|
17
|
+
}
|
18
|
+
|
19
|
+
@each $color in $palettes {
|
20
|
+
$i: index($palettes, $color);
|
21
|
+
|
22
|
+
.alert-#{$color} {
|
23
|
+
background-color: nth($palettes-color, $i);
|
24
|
+
color: nth($palettes-text-color, $i);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
//
|
29
|
+
// dismissible
|
30
|
+
//
|
31
|
+
.alert-dismissible {
|
32
|
+
padding-right: ($card-spacer-inner-x * 2);
|
33
|
+
|
34
|
+
.close {
|
35
|
+
position: relative;
|
36
|
+
top: -0.125rem;
|
37
|
+
right: ($card-spacer-inner-x * -1);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
//
|
42
|
+
// misc
|
43
|
+
//
|
44
|
+
.alert-heading {
|
45
|
+
color: inherit;
|
46
|
+
margin-top: $card-title-additonal-margin;
|
47
|
+
}
|
48
|
+
|
49
|
+
.alert-link {
|
50
|
+
font-weight: $alert-link-font-weight;
|
51
|
+
|
52
|
+
@include plain-active-focus-hover {
|
53
|
+
color: inherit;
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
.collapse {
|
2
|
+
display: none;
|
3
|
+
|
4
|
+
&.in {
|
5
|
+
display: block;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
.collapsing {
|
10
|
+
height: 0;
|
11
|
+
overflow: hidden;
|
12
|
+
position: relative;
|
13
|
+
@include transition-standard(height);
|
14
|
+
}
|
15
|
+
|
16
|
+
.fade {
|
17
|
+
opacity: 0;
|
18
|
+
transform: scale(0.87);
|
19
|
+
@include transition-acceleration(opacity, transform);
|
20
|
+
|
21
|
+
&.in {
|
22
|
+
opacity: 1;
|
23
|
+
transform: scale(1);
|
24
|
+
@include transition-deceleration(opacity, transform);
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.breadcrumb {
|
2
|
+
background-color: $breadcrumb-bg;
|
3
|
+
list-style: none;
|
4
|
+
margin-bottom: $breadcrumb-margin-bottom;
|
5
|
+
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
6
|
+
@include clearfix;
|
7
|
+
}
|
8
|
+
|
9
|
+
.breadcrumb-item {
|
10
|
+
color: $breadcrumb-item-color;
|
11
|
+
float: left;
|
12
|
+
@include transition-standard(color);
|
13
|
+
|
14
|
+
// active, focus, hover
|
15
|
+
@include active-focus-hover {
|
16
|
+
color: $breadcrumb-item-color-active;
|
17
|
+
}
|
18
|
+
|
19
|
+
&.active {
|
20
|
+
color: $breadcrumb-item-color-active;
|
21
|
+
font-weight: bolder;
|
22
|
+
}
|
23
|
+
|
24
|
+
a {
|
25
|
+
color: inherit;
|
26
|
+
|
27
|
+
@if ($link-decoration-active != "none") {
|
28
|
+
text-decoration: none;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
+ .breadcrumb-item::before {
|
33
|
+
@include reset-to-material-icons;
|
34
|
+
color: $breadcrumb-item-color;
|
35
|
+
content: "#{$breadcrumb-divider}";
|
36
|
+
padding-right: $breadcrumb-item-padding;
|
37
|
+
padding-left: $breadcrumb-item-padding;
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,155 @@
|
|
1
|
+
.btn-group,
|
2
|
+
.btn-group-vertical {
|
3
|
+
background-color: $btn-group-bg;
|
4
|
+
display: inline-block;
|
5
|
+
padding: $btn-group-padding-y $btn-group-padding-x;
|
6
|
+
position: relative;
|
7
|
+
vertical-align: middle;
|
8
|
+
|
9
|
+
> .btn {
|
10
|
+
background-color: transparent;
|
11
|
+
box-shadow: none;
|
12
|
+
min-width: 0;
|
13
|
+
|
14
|
+
// active, focus, hover
|
15
|
+
&:active,
|
16
|
+
&.active {
|
17
|
+
background-color: $btn-bg-active;
|
18
|
+
box-shadow: none;
|
19
|
+
}
|
20
|
+
|
21
|
+
// disabled
|
22
|
+
&:disabled,
|
23
|
+
&.disabled {
|
24
|
+
background-color: transparent;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
// colour
|
29
|
+
@each $color in $palettes {
|
30
|
+
$i: index($palettes, $color);
|
31
|
+
|
32
|
+
> .btn-#{$color} {
|
33
|
+
@include plain-active-focus-hover {
|
34
|
+
color: nth($palettes-color, $i);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
> .btn-group {
|
40
|
+
padding: 0;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.btn-group {
|
45
|
+
> .btn,
|
46
|
+
> .btn-group {
|
47
|
+
float: left;
|
48
|
+
}
|
49
|
+
|
50
|
+
> .btn + .btn,
|
51
|
+
> .btn + .btn-group,
|
52
|
+
> .btn-group + .btn,
|
53
|
+
> .btn-group + .btn-group {
|
54
|
+
margin-left: $btn-group-padding-x;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
.btn-group-vertical {
|
59
|
+
> .btn,
|
60
|
+
> .btn-group,
|
61
|
+
> .btn-group > .btn {
|
62
|
+
display: block;
|
63
|
+
max-width: 100%;
|
64
|
+
width: 100%;
|
65
|
+
}
|
66
|
+
|
67
|
+
> .btn-group > .btn {
|
68
|
+
float: none;
|
69
|
+
}
|
70
|
+
|
71
|
+
> .btn + .btn,
|
72
|
+
> .btn + .btn-group,
|
73
|
+
> .btn-group + .btn,
|
74
|
+
> .btn-group + .btn-group {
|
75
|
+
margin-top: $btn-group-padding-y;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
// size
|
80
|
+
.btn-group-lg > .btn {
|
81
|
+
@extend .btn-lg;
|
82
|
+
}
|
83
|
+
|
84
|
+
.btn-group-sm > .btn {
|
85
|
+
@extend .btn-sm;
|
86
|
+
}
|
87
|
+
|
88
|
+
//
|
89
|
+
// checkbox and radio options
|
90
|
+
//
|
91
|
+
[data-toggle="buttons"] {
|
92
|
+
> .btn,
|
93
|
+
> .btn-group > .btn {
|
94
|
+
input[type="checkbox"],
|
95
|
+
input[type="radio"] {
|
96
|
+
clip: rect(0, 0, 0, 0);
|
97
|
+
pointer-events: none;
|
98
|
+
position: absolute;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
//
|
104
|
+
// split button dropdown
|
105
|
+
//
|
106
|
+
.btn.dropdown-toggle-split {
|
107
|
+
padding-right: ($btn-padding-x * 0.75);
|
108
|
+
padding-left: ($btn-padding-x * 0.75);
|
109
|
+
|
110
|
+
&::after {
|
111
|
+
margin-left: 0;
|
112
|
+
}
|
113
|
+
|
114
|
+
.btn-group > & {
|
115
|
+
margin-left: 0;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
|
119
|
+
// size
|
120
|
+
.btn-lg + .btn.dropdown-toggle-split {
|
121
|
+
padding-right: ($btn-padding-x-lg * 0.75);
|
122
|
+
padding-left: ($btn-padding-x-lg * 0.75);
|
123
|
+
}
|
124
|
+
|
125
|
+
.btn-sm + .btn.dropdown-toggle-split {
|
126
|
+
padding-right: ($btn-padding-x-sm * 0.75);
|
127
|
+
padding-left: ($btn-padding-x-sm * 0.75);
|
128
|
+
}
|
129
|
+
|
130
|
+
//
|
131
|
+
// toolbar
|
132
|
+
//
|
133
|
+
.btn-toolbar {
|
134
|
+
@include clearfix;
|
135
|
+
|
136
|
+
.btn-group,
|
137
|
+
.input-group {
|
138
|
+
float: left;
|
139
|
+
|
140
|
+
&::before {
|
141
|
+
background-color: $btn-toolbar-divider-bg;
|
142
|
+
content: "";
|
143
|
+
display: block;
|
144
|
+
position: absolute;
|
145
|
+
top: $btn-group-padding-y;
|
146
|
+
bottom: $btn-group-padding-y;
|
147
|
+
left: 0;
|
148
|
+
width: 1px;
|
149
|
+
}
|
150
|
+
|
151
|
+
&:first-child::before {
|
152
|
+
display: none;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|