material-sass 4.0.0.alpha5 → 4.0.0.alpha6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +7 -5
- data/app/assets/javascripts/material/addons-materialise/wave.js +11 -8
- data/app/assets/javascripts/material/src/floating-label.js +5 -5
- data/app/assets/javascripts/material/src/navdrawer.js +7 -7
- data/app/assets/javascripts/material/src/tab-switch.js +15 -18
- data/app/assets/javascripts/material/src/util.js +1 -1
- data/app/assets/javascripts/material.js +24 -27
- data/app/assets/stylesheets/material/_mixins.scss +2 -0
- data/app/assets/stylesheets/material/_utilities.scss +3 -0
- data/app/assets/stylesheets/material/_variables.scss +24 -2
- data/app/assets/stylesheets/material/base/_base.scss +5 -482
- data/app/assets/stylesheets/material/base/_grid.scss +11 -0
- data/app/assets/stylesheets/material/base/_normalize.scss +253 -0
- data/app/assets/stylesheets/material/base/_reboot.scss +239 -0
- data/app/assets/stylesheets/material/base/_typography.scss +0 -10
- data/app/assets/stylesheets/material/bootstrap/_alert.scss +0 -1
- data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +15 -10
- data/app/assets/stylesheets/material/bootstrap/_button-group.scss +21 -42
- data/app/assets/stylesheets/material/bootstrap/_carousel.scss +81 -126
- data/app/assets/stylesheets/material/bootstrap/_close.scss +1 -4
- data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +14 -16
- data/app/assets/stylesheets/material/bootstrap/_form.scss +95 -52
- data/app/assets/stylesheets/material/bootstrap/_media.scss +6 -67
- data/app/assets/stylesheets/material/bootstrap/_nav.scss +23 -45
- data/app/assets/stylesheets/material/bootstrap/_pagination.scss +4 -14
- data/app/assets/stylesheets/material/bootstrap/_popover.scss +7 -5
- data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +18 -5
- data/app/assets/stylesheets/material/bootstrap/{_animation.scss → _transition.scss} +11 -2
- data/app/assets/stylesheets/material/material/_card.scss +185 -123
- data/app/assets/stylesheets/material/material/_chip.scss +12 -12
- data/app/assets/stylesheets/material/material/_data-table.scss +0 -2
- data/app/assets/stylesheets/material/material/_dialog.scss +23 -17
- data/app/assets/stylesheets/material/material/_expansion-panel.scss +42 -183
- data/app/assets/stylesheets/material/material/_menu.scss +19 -4
- data/app/assets/stylesheets/material/material/_navdrawer.scss +16 -12
- data/app/assets/stylesheets/material/material/_progress-circular.scss +2 -2
- data/app/assets/stylesheets/material/material/_progress.scss +68 -92
- data/app/assets/stylesheets/material/material/_selection-control.scss +11 -28
- data/app/assets/stylesheets/material/material/_tab.scss +52 -117
- data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +9 -4
- data/app/assets/stylesheets/material/material/_text-field-input-group.scss +37 -35
- data/app/assets/stylesheets/material/material/_text-field.scss +41 -32
- data/app/assets/stylesheets/material/material/_toolbar.scss +192 -306
- data/app/assets/stylesheets/material/material/_tooltip.scss +19 -20
- data/app/assets/stylesheets/material/material.scss +2 -2
- data/app/assets/stylesheets/material/mixins/_border-radius.scss +9 -19
- data/app/assets/stylesheets/material/mixins/_breakpoint.scss +11 -3
- data/app/assets/stylesheets/material/mixins/_form.scss +15 -30
- data/app/assets/stylesheets/material/mixins/_grid-framework.scss +58 -0
- data/app/assets/stylesheets/material/mixins/_grid.scss +6 -78
- data/app/assets/stylesheets/material/mixins/_transform.scss +9 -0
- data/app/assets/stylesheets/material/utilities/_border.scss +31 -5
- data/app/assets/stylesheets/material/utilities/_display.scss +37 -8
- data/app/assets/stylesheets/material/utilities/_flex.scss +140 -0
- data/app/assets/stylesheets/material/utilities/_float.scss +5 -3
- data/app/assets/stylesheets/material/utilities/_position.scss +24 -0
- data/app/assets/stylesheets/material/utilities/_sizing.scss +16 -0
- data/app/assets/stylesheets/material/utilities/_spacing.scss +56 -46
- data/app/assets/stylesheets/material/utilities/_text.scss +5 -3
- data/app/assets/stylesheets/material/variables/_grid.scss +16 -10
- data/app/assets/stylesheets/material/variables/_spacer.scss +22 -3
- data/app/assets/stylesheets/material/variables/_typography.scss +2 -0
- data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +24 -17
- data/app/assets/stylesheets/material/variables/_variable-material.scss +47 -52
- data/lib/material-sass/version.rb +1 -1
- metadata +9 -2
@@ -0,0 +1,253 @@
|
|
1
|
+
/* normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
// document
|
4
|
+
body {
|
5
|
+
margin: 0;
|
6
|
+
}
|
7
|
+
|
8
|
+
html {
|
9
|
+
font-family: sans-serif;
|
10
|
+
line-height: 1.15;
|
11
|
+
-webkit-text-size-adjust: 100%;
|
12
|
+
-ms-text-size-adjust: 100%;
|
13
|
+
}
|
14
|
+
|
15
|
+
// embedded content
|
16
|
+
audio,
|
17
|
+
video {
|
18
|
+
display: inline-block;
|
19
|
+
}
|
20
|
+
|
21
|
+
audio:not([controls]) {
|
22
|
+
display: none;
|
23
|
+
height: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
img {
|
27
|
+
border-style: none;
|
28
|
+
}
|
29
|
+
|
30
|
+
svg:not(:root) {
|
31
|
+
overflow: hidden;
|
32
|
+
}
|
33
|
+
|
34
|
+
// form
|
35
|
+
button,
|
36
|
+
input,
|
37
|
+
optgroup,
|
38
|
+
select,
|
39
|
+
textarea {
|
40
|
+
font-family: sans-serif;
|
41
|
+
font-size: 100%;
|
42
|
+
line-height: 1.15;
|
43
|
+
margin: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
button,
|
47
|
+
input {
|
48
|
+
overflow: visible;
|
49
|
+
}
|
50
|
+
|
51
|
+
button,
|
52
|
+
select {
|
53
|
+
text-transform: none;
|
54
|
+
}
|
55
|
+
|
56
|
+
button,
|
57
|
+
[type="reset"],
|
58
|
+
[type="submit"] {
|
59
|
+
-webkit-appearance: button;
|
60
|
+
}
|
61
|
+
|
62
|
+
html [type="button"] {
|
63
|
+
-webkit-appearance: button;
|
64
|
+
}
|
65
|
+
|
66
|
+
button::-moz-focus-inner,
|
67
|
+
[type="button"]::-moz-focus-inner,
|
68
|
+
[type="reset"]::-moz-focus-inner,
|
69
|
+
[type="submit"]::-moz-focus-inner {
|
70
|
+
border-style: none;
|
71
|
+
padding: 0;
|
72
|
+
}
|
73
|
+
|
74
|
+
button:-moz-focusring,
|
75
|
+
[type="button"]:-moz-focusring,
|
76
|
+
[type="reset"]:-moz-focusring,
|
77
|
+
[type="submit"]:-moz-focusring {
|
78
|
+
outline: 1px dotted ButtonText;
|
79
|
+
}
|
80
|
+
|
81
|
+
fieldset {
|
82
|
+
border: 1px solid #c0c0c0;
|
83
|
+
margin: 0 2px;
|
84
|
+
padding: 0.35em 0.625em 0.75em;
|
85
|
+
}
|
86
|
+
|
87
|
+
legend {
|
88
|
+
box-sizing: border-box;
|
89
|
+
color: inherit;
|
90
|
+
display: table;
|
91
|
+
max-width: 100%;
|
92
|
+
padding: 0;
|
93
|
+
white-space: normal;
|
94
|
+
}
|
95
|
+
|
96
|
+
progress {
|
97
|
+
display: inline-block;
|
98
|
+
vertical-align: baseline;
|
99
|
+
}
|
100
|
+
|
101
|
+
textarea {
|
102
|
+
overflow: auto;
|
103
|
+
}
|
104
|
+
|
105
|
+
[type="checkbox"],
|
106
|
+
[type="radio"] {
|
107
|
+
box-sizing: border-box;
|
108
|
+
padding: 0;
|
109
|
+
}
|
110
|
+
|
111
|
+
[type="number"]::-webkit-inner-spin-button,
|
112
|
+
[type="number"]::-webkit-outer-spin-button {
|
113
|
+
height: auto;
|
114
|
+
}
|
115
|
+
|
116
|
+
[type="search"] {
|
117
|
+
outline-offset: -2px;
|
118
|
+
-webkit-appearance: textfield;
|
119
|
+
}
|
120
|
+
|
121
|
+
[type="search"]::-webkit-search-cancel-button,
|
122
|
+
[type="search"]::-webkit-search-decoration {
|
123
|
+
-webkit-appearance: none;
|
124
|
+
}
|
125
|
+
|
126
|
+
::-webkit-file-upload-button {
|
127
|
+
font: inherit;
|
128
|
+
-webkit-appearance: button;
|
129
|
+
}
|
130
|
+
|
131
|
+
// grouping content
|
132
|
+
figcaption,
|
133
|
+
figure,
|
134
|
+
main {
|
135
|
+
display: block;
|
136
|
+
}
|
137
|
+
|
138
|
+
figure {
|
139
|
+
margin: 1em 40px;
|
140
|
+
}
|
141
|
+
|
142
|
+
hr {
|
143
|
+
box-sizing: content-box;
|
144
|
+
height: 0;
|
145
|
+
overflow: visible;
|
146
|
+
}
|
147
|
+
|
148
|
+
pre {
|
149
|
+
font-family: monospace, monospace;
|
150
|
+
font-size: 1em;
|
151
|
+
}
|
152
|
+
|
153
|
+
// hidden
|
154
|
+
[hidden] {
|
155
|
+
display: none;
|
156
|
+
}
|
157
|
+
|
158
|
+
// interactive
|
159
|
+
details,
|
160
|
+
menu {
|
161
|
+
display: block;
|
162
|
+
}
|
163
|
+
|
164
|
+
summary {
|
165
|
+
display: list-item;
|
166
|
+
}
|
167
|
+
|
168
|
+
// section
|
169
|
+
article,
|
170
|
+
aside,
|
171
|
+
footer,
|
172
|
+
header,
|
173
|
+
nav,
|
174
|
+
section {
|
175
|
+
display: block;
|
176
|
+
}
|
177
|
+
|
178
|
+
h1 {
|
179
|
+
font-size: 2em;
|
180
|
+
margin: 0.67em 0;
|
181
|
+
}
|
182
|
+
|
183
|
+
// scripting
|
184
|
+
canvas {
|
185
|
+
display: inline-block;
|
186
|
+
}
|
187
|
+
|
188
|
+
template {
|
189
|
+
display: none;
|
190
|
+
}
|
191
|
+
|
192
|
+
// text-level semantics
|
193
|
+
a {
|
194
|
+
background-color: transparent;
|
195
|
+
-webkit-text-decoration-skip: objects;
|
196
|
+
}
|
197
|
+
|
198
|
+
a:active,
|
199
|
+
a:hover {
|
200
|
+
outline-width: 0;
|
201
|
+
}
|
202
|
+
|
203
|
+
abbr[title] {
|
204
|
+
border-bottom: none;
|
205
|
+
text-decoration: underline;
|
206
|
+
text-decoration: underline dotted;
|
207
|
+
}
|
208
|
+
|
209
|
+
b,
|
210
|
+
strong {
|
211
|
+
font-weight: inherit;
|
212
|
+
}
|
213
|
+
|
214
|
+
b,
|
215
|
+
strong {
|
216
|
+
font-weight: bolder;
|
217
|
+
}
|
218
|
+
|
219
|
+
code,
|
220
|
+
kbd,
|
221
|
+
samp {
|
222
|
+
font-family: monospace monospace;
|
223
|
+
font-size: 1em;
|
224
|
+
}
|
225
|
+
|
226
|
+
dfn {
|
227
|
+
font-style: italic;
|
228
|
+
}
|
229
|
+
|
230
|
+
mark {
|
231
|
+
background-color: #ff0;
|
232
|
+
color: #000;
|
233
|
+
}
|
234
|
+
|
235
|
+
small {
|
236
|
+
font-size: 80%;
|
237
|
+
}
|
238
|
+
|
239
|
+
sub,
|
240
|
+
sup {
|
241
|
+
font-size: 75%;
|
242
|
+
line-height: 0;
|
243
|
+
position: relative;
|
244
|
+
vertical-align: baseline;
|
245
|
+
}
|
246
|
+
|
247
|
+
sub {
|
248
|
+
bottom: -0.25em;
|
249
|
+
}
|
250
|
+
|
251
|
+
sup {
|
252
|
+
top: -0.5em;
|
253
|
+
}
|
@@ -0,0 +1,239 @@
|
|
1
|
+
// box-sizing
|
2
|
+
html {
|
3
|
+
box-sizing: border-box;
|
4
|
+
}
|
5
|
+
|
6
|
+
*,
|
7
|
+
*::after,
|
8
|
+
*::before {
|
9
|
+
box-sizing: inherit;
|
10
|
+
}
|
11
|
+
|
12
|
+
@at-root {
|
13
|
+
@-ms-viewport { width: device-width; }
|
14
|
+
}
|
15
|
+
|
16
|
+
// document
|
17
|
+
body {
|
18
|
+
background-color: $body-bg;
|
19
|
+
color: $body-color;
|
20
|
+
font-family: $font-family-base;
|
21
|
+
font-size: $font-size-base;
|
22
|
+
font-weight: $font-weight-base;
|
23
|
+
line-height: $line-height-base;
|
24
|
+
}
|
25
|
+
|
26
|
+
html {
|
27
|
+
-ms-overflow-style: scrollbar;
|
28
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
29
|
+
}
|
30
|
+
|
31
|
+
[tabindex="-1"]:focus {
|
32
|
+
outline: 0 !important;
|
33
|
+
}
|
34
|
+
|
35
|
+
// clickable element
|
36
|
+
a,
|
37
|
+
area,
|
38
|
+
button,
|
39
|
+
input,
|
40
|
+
label,
|
41
|
+
select,
|
42
|
+
summary,
|
43
|
+
textarea,
|
44
|
+
[role="button"] {
|
45
|
+
touch-action: manipulation;
|
46
|
+
}
|
47
|
+
|
48
|
+
[role="button"] {
|
49
|
+
cursor: pointer;
|
50
|
+
}
|
51
|
+
|
52
|
+
// code
|
53
|
+
pre {
|
54
|
+
margin-top: 0;
|
55
|
+
margin-bottom: 1rem;
|
56
|
+
overflow: auto;
|
57
|
+
}
|
58
|
+
|
59
|
+
// figure
|
60
|
+
figure {
|
61
|
+
margin: 0 0 1rem;
|
62
|
+
}
|
63
|
+
|
64
|
+
// form
|
65
|
+
button,
|
66
|
+
input,
|
67
|
+
select,
|
68
|
+
textarea {
|
69
|
+
line-height: inherit;
|
70
|
+
}
|
71
|
+
|
72
|
+
button {
|
73
|
+
// active, focus, hover
|
74
|
+
&:focus {
|
75
|
+
outline: 1px dotted;
|
76
|
+
outline: 5px auto -webkit-focus-ring-color;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
fieldset {
|
81
|
+
border: 0;
|
82
|
+
margin: 0;
|
83
|
+
min-width: 0;
|
84
|
+
padding: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
input[type="checkbox"],
|
88
|
+
input[type="radio"] {
|
89
|
+
// disabled
|
90
|
+
&:disabled {
|
91
|
+
cursor: $cursor-disabled;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
input[type="date"],
|
96
|
+
input[type="datetime-local"],
|
97
|
+
input[type="month"],
|
98
|
+
input[type="time"] {
|
99
|
+
-webkit-appearance: listbox;
|
100
|
+
}
|
101
|
+
|
102
|
+
input[type="search"] {
|
103
|
+
-webkit-appearance: none;
|
104
|
+
}
|
105
|
+
|
106
|
+
label {
|
107
|
+
display: inline-block;
|
108
|
+
margin-bottom: 0.5rem;
|
109
|
+
}
|
110
|
+
|
111
|
+
legend {
|
112
|
+
display: block;
|
113
|
+
margin-bottom: 0.5rem;
|
114
|
+
padding: 0;
|
115
|
+
width: 100%;
|
116
|
+
@include typography-headline;
|
117
|
+
}
|
118
|
+
|
119
|
+
output {
|
120
|
+
display: inline-block;
|
121
|
+
}
|
122
|
+
|
123
|
+
select[multiple],
|
124
|
+
select[size] {
|
125
|
+
overflow: auto;
|
126
|
+
}
|
127
|
+
|
128
|
+
textarea {
|
129
|
+
resize: vertical;
|
130
|
+
}
|
131
|
+
|
132
|
+
// hidden
|
133
|
+
[hidden] {
|
134
|
+
display: none !important;
|
135
|
+
}
|
136
|
+
|
137
|
+
// images
|
138
|
+
img {
|
139
|
+
vertical-align: middle;
|
140
|
+
}
|
141
|
+
|
142
|
+
// link
|
143
|
+
a {
|
144
|
+
color: $link-color;
|
145
|
+
text-decoration: $link-decoration;
|
146
|
+
|
147
|
+
// active, focus, hover
|
148
|
+
@include active-focus-hover {
|
149
|
+
color: $link-color-active;
|
150
|
+
text-decoration: $link-decoration-active;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
a:not([href]):not([tabindex]) {
|
155
|
+
color: inherit;
|
156
|
+
text-decoration: none;
|
157
|
+
|
158
|
+
// active, focus, hover
|
159
|
+
@include active-focus-hover {
|
160
|
+
color: inherit;
|
161
|
+
text-decoration: none;
|
162
|
+
}
|
163
|
+
|
164
|
+
&:focus {
|
165
|
+
outline: 0;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
// table
|
170
|
+
caption {
|
171
|
+
caption-side: bottom;
|
172
|
+
color: $table-caption-color;
|
173
|
+
min-height: $table-thead-cell-height;
|
174
|
+
padding: $table-thead-padding-y $table-cell-padding-x-alt;
|
175
|
+
text-align: left;
|
176
|
+
@include typography-caption;
|
177
|
+
}
|
178
|
+
|
179
|
+
table {
|
180
|
+
background-color: $table-bg;
|
181
|
+
border-collapse: collapse;
|
182
|
+
}
|
183
|
+
|
184
|
+
th {
|
185
|
+
text-align: left;
|
186
|
+
}
|
187
|
+
|
188
|
+
// typography
|
189
|
+
abbr[data-original-title],
|
190
|
+
abbr[title] {
|
191
|
+
cursor: help;
|
192
|
+
}
|
193
|
+
|
194
|
+
address {
|
195
|
+
font-style: normal;
|
196
|
+
line-height: inherit;
|
197
|
+
margin-bottom: 1rem;
|
198
|
+
}
|
199
|
+
|
200
|
+
blockquote {
|
201
|
+
margin: 0 0 1rem;
|
202
|
+
}
|
203
|
+
|
204
|
+
dd {
|
205
|
+
margin-bottom: 0.5rem;
|
206
|
+
margin-left: 0;
|
207
|
+
}
|
208
|
+
|
209
|
+
dl {
|
210
|
+
margin-top: 0;
|
211
|
+
margin-bottom: 1rem;
|
212
|
+
}
|
213
|
+
|
214
|
+
dt {
|
215
|
+
font-weight: $dt-font-weight;
|
216
|
+
}
|
217
|
+
|
218
|
+
h1, h2, h3, h4, h5, h6 {
|
219
|
+
margin-top: 0;
|
220
|
+
margin-bottom: 0.5rem;
|
221
|
+
}
|
222
|
+
|
223
|
+
ol,
|
224
|
+
ul {
|
225
|
+
margin-top: 0;
|
226
|
+
margin-bottom: 1rem;
|
227
|
+
}
|
228
|
+
|
229
|
+
ol ol,
|
230
|
+
ol ul,
|
231
|
+
ul ol,
|
232
|
+
ul ul {
|
233
|
+
margin-bottom: 0;
|
234
|
+
}
|
235
|
+
|
236
|
+
p {
|
237
|
+
margin-top: 0;
|
238
|
+
margin-bottom: 1rem;
|
239
|
+
}
|
@@ -1,14 +1,19 @@
|
|
1
1
|
.breadcrumb {
|
2
|
+
align-items: center;
|
2
3
|
background-color: $breadcrumb-bg;
|
4
|
+
display: flex;
|
5
|
+
flex-wrap: wrap;
|
3
6
|
list-style: none;
|
7
|
+
min-height: $breadcrumb-height;
|
4
8
|
margin-bottom: $breadcrumb-margin-bottom;
|
5
9
|
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
6
10
|
@include clearfix;
|
7
11
|
}
|
8
12
|
|
9
13
|
.breadcrumb-item {
|
14
|
+
align-items: center;
|
10
15
|
color: $breadcrumb-item-color;
|
11
|
-
|
16
|
+
display: flex;
|
12
17
|
@include transition-standard(color);
|
13
18
|
|
14
19
|
// active, focus, hover
|
@@ -23,17 +28,17 @@
|
|
23
28
|
|
24
29
|
a {
|
25
30
|
color: inherit;
|
26
|
-
|
27
|
-
@if ($link-decoration-active != "none") {
|
28
|
-
text-decoration: none;
|
29
|
-
}
|
31
|
+
text-decoration: none;
|
30
32
|
}
|
31
33
|
|
32
34
|
+ .breadcrumb-item::before {
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
background-image: $breadcrumb-divider;
|
36
|
+
background-position: 50% 50%;
|
37
|
+
background-repeat: no-repeat;
|
38
|
+
background-size: ($material-icon-size / $font-size-root * 1rem) ($material-icon-size / $font-size-root * 1rem);
|
39
|
+
content: "";
|
40
|
+
display: inline-block;
|
41
|
+
height: ($material-icon-size / $font-size-root * 1rem);
|
42
|
+
width: ($breadcrumb-item-padding * 2 + $material-icon-size / $font-size-root * 1rem);
|
38
43
|
}
|
39
44
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.btn-group,
|
2
2
|
.btn-group-vertical {
|
3
3
|
background-color: $btn-group-bg;
|
4
|
-
display: inline-
|
4
|
+
display: inline-flex;
|
5
5
|
padding: $btn-group-padding-y $btn-group-padding-x;
|
6
6
|
position: relative;
|
7
7
|
vertical-align: middle;
|
@@ -9,6 +9,7 @@
|
|
9
9
|
> .btn {
|
10
10
|
background-color: transparent;
|
11
11
|
box-shadow: none;
|
12
|
+
flex: 0 1 auto;
|
12
13
|
min-width: 0;
|
13
14
|
|
14
15
|
// active, focus, hover
|
@@ -36,17 +37,13 @@
|
|
36
37
|
}
|
37
38
|
}
|
38
39
|
|
39
|
-
> .btn-group
|
40
|
+
> .btn-group,
|
41
|
+
> .btn-group-vertical {
|
40
42
|
padding: 0;
|
41
43
|
}
|
42
44
|
}
|
43
45
|
|
44
46
|
.btn-group {
|
45
|
-
> .btn,
|
46
|
-
> .btn-group {
|
47
|
-
float: left;
|
48
|
-
}
|
49
|
-
|
50
47
|
> .btn + .btn,
|
51
48
|
> .btn + .btn-group,
|
52
49
|
> .btn-group + .btn,
|
@@ -56,18 +53,15 @@
|
|
56
53
|
}
|
57
54
|
|
58
55
|
.btn-group-vertical {
|
56
|
+
align-items: flex-start;
|
57
|
+
flex-direction: column;
|
58
|
+
justify-content: center;
|
59
|
+
|
59
60
|
> .btn,
|
60
|
-
> .btn-group
|
61
|
-
> .btn-group > .btn {
|
62
|
-
display: block;
|
63
|
-
max-width: 100%;
|
61
|
+
> .btn-group {
|
64
62
|
width: 100%;
|
65
63
|
}
|
66
64
|
|
67
|
-
> .btn-group > .btn {
|
68
|
-
float: none;
|
69
|
-
}
|
70
|
-
|
71
65
|
> .btn + .btn,
|
72
66
|
> .btn + .btn-group,
|
73
67
|
> .btn-group + .btn,
|
@@ -103,9 +97,9 @@
|
|
103
97
|
//
|
104
98
|
// split button dropdown
|
105
99
|
//
|
106
|
-
.btn.dropdown-toggle-split {
|
107
|
-
padding-right: ($btn-padding-x * 0.
|
108
|
-
padding-left: ($btn-padding-x * 0.
|
100
|
+
.btn + .dropdown-toggle-split {
|
101
|
+
padding-right: ($btn-padding-x * 0.5);
|
102
|
+
padding-left: ($btn-padding-x * 0.5);
|
109
103
|
|
110
104
|
&::after {
|
111
105
|
margin-left: 0;
|
@@ -117,39 +111,24 @@
|
|
117
111
|
}
|
118
112
|
|
119
113
|
// size
|
120
|
-
.btn-lg + .
|
121
|
-
padding-right: ($btn-padding-x-lg * 0.
|
122
|
-
padding-left: ($btn-padding-x-lg * 0.
|
114
|
+
.btn-lg + .dropdown-toggle-split {
|
115
|
+
padding-right: ($btn-padding-x-lg * 0.5);
|
116
|
+
padding-left: ($btn-padding-x-lg * 0.5);
|
123
117
|
}
|
124
118
|
|
125
|
-
.btn-sm + .
|
126
|
-
padding-right: ($btn-padding-x-sm * 0.
|
127
|
-
padding-left: ($btn-padding-x-sm * 0.
|
119
|
+
.btn-sm + .dropdown-toggle-split {
|
120
|
+
padding-right: ($btn-padding-x-sm * 0.5);
|
121
|
+
padding-left: ($btn-padding-x-sm * 0.5);
|
128
122
|
}
|
129
123
|
|
130
124
|
//
|
131
125
|
// toolbar
|
132
126
|
//
|
133
127
|
.btn-toolbar {
|
134
|
-
|
128
|
+
display: flex;
|
129
|
+
justify-content: flex-start;
|
135
130
|
|
136
|
-
.btn-group,
|
137
131
|
.input-group {
|
138
|
-
|
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
|
-
}
|
132
|
+
width: auto;
|
154
133
|
}
|
155
134
|
}
|