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.
Files changed (189) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/Rakefile +61 -0
  4. data/app/assets/fonts/{MaterialIcons-Regular.eot → material-icons/MaterialIcons-Regular.eot} +0 -0
  5. data/app/assets/fonts/{MaterialIcons-Regular.ijmap → material-icons/MaterialIcons-Regular.ijmap} +0 -0
  6. data/app/assets/fonts/{MaterialIcons-Regular.svg → material-icons/MaterialIcons-Regular.svg} +0 -0
  7. data/app/assets/fonts/{MaterialIcons-Regular.ttf → material-icons/MaterialIcons-Regular.ttf} +0 -0
  8. data/app/assets/fonts/{MaterialIcons-Regular.woff → material-icons/MaterialIcons-Regular.woff} +0 -0
  9. data/app/assets/fonts/{MaterialIcons-Regular.woff2 → material-icons/MaterialIcons-Regular.woff2} +0 -0
  10. data/app/assets/fonts/{README.md → material-icons/README.md} +0 -0
  11. data/app/assets/fonts/{codepoints → material-icons/codepoints} +0 -0
  12. data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
  13. data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
  14. data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
  15. data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
  16. data/app/assets/fonts/roboto/Roboto-Light.eot +0 -0
  17. data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
  18. data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
  19. data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
  20. data/app/assets/fonts/roboto/Roboto-Medium.eot +0 -0
  21. data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
  22. data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
  23. data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
  24. data/app/assets/fonts/roboto/Roboto-Regular.eot +0 -0
  25. data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
  26. data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
  27. data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
  28. data/app/assets/fonts/roboto/Roboto-Thin.eot +0 -0
  29. data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
  30. data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
  31. data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
  32. data/app/assets/javascripts/material.js +739 -798
  33. data/app/assets/javascripts/material/addons-materialise/pickadate.js +139 -0
  34. data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +9 -0
  35. data/app/assets/javascripts/material/addons-materialise/wave.js +12 -0
  36. data/app/assets/javascripts/material/addons/pickadate.js +7 -0
  37. data/app/assets/javascripts/material/addons/textarea-autosize.js +5 -0
  38. data/app/assets/javascripts/material/{wave.js → addons/wave.js} +0 -10
  39. data/app/assets/javascripts/material/src/floating-label.js +91 -0
  40. data/app/assets/javascripts/material/src/navdrawer.js +352 -0
  41. data/app/assets/javascripts/material/src/tab-switch.js +136 -0
  42. data/app/assets/javascripts/material/src/util.js +138 -0
  43. data/app/assets/stylesheets/material.min.css +2 -2
  44. data/app/assets/stylesheets/material.scss +1 -1
  45. data/app/assets/stylesheets/material/_mixins.scss +21 -0
  46. data/app/assets/stylesheets/material/_utilities.scss +15 -0
  47. data/app/assets/stylesheets/material/_variables.scss +25 -0
  48. data/app/assets/stylesheets/material/base/_base.scss +482 -0
  49. data/app/assets/stylesheets/material/base/_grid.scss +28 -40
  50. data/app/assets/stylesheets/material/base/_typography.scss +208 -0
  51. data/app/assets/stylesheets/material/bootstrap/_alert.scss +55 -0
  52. data/app/assets/stylesheets/material/bootstrap/_animation.scss +26 -0
  53. data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +39 -0
  54. data/app/assets/stylesheets/material/bootstrap/_button-group.scss +155 -0
  55. data/app/assets/stylesheets/material/bootstrap/_carousel.scss +234 -0
  56. data/app/assets/stylesheets/material/bootstrap/_close.scss +31 -0
  57. data/app/assets/stylesheets/material/bootstrap/_code.scss +50 -0
  58. data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +69 -0
  59. data/app/assets/stylesheets/material/bootstrap/_form.scss +116 -0
  60. data/app/assets/stylesheets/material/bootstrap/_image.scss +25 -0
  61. data/app/assets/stylesheets/material/bootstrap/_jumbotron.scss +12 -0
  62. data/app/assets/stylesheets/material/bootstrap/_media.scss +69 -0
  63. data/app/assets/stylesheets/material/bootstrap/_nav.scss +118 -0
  64. data/app/assets/stylesheets/material/bootstrap/_pagination.scss +68 -0
  65. data/app/assets/stylesheets/material/bootstrap/_popover.scss +84 -0
  66. data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +37 -0
  67. data/app/assets/stylesheets/material/material.scss +62 -0
  68. data/app/assets/stylesheets/material/material/_button-flat.scss +53 -0
  69. data/app/assets/stylesheets/material/material/_button-float.scss +29 -0
  70. data/app/assets/stylesheets/material/material/_button.scss +241 -0
  71. data/app/assets/stylesheets/material/material/_card.scss +286 -0
  72. data/app/assets/stylesheets/material/material/_chip.scss +93 -0
  73. data/app/assets/stylesheets/material/material/_data-table.scss +138 -0
  74. data/app/assets/stylesheets/material/material/_dialog.scss +147 -0
  75. data/app/assets/stylesheets/material/material/_expansion-panel.scss +292 -0
  76. data/app/assets/stylesheets/material/material/_menu.scss +281 -0
  77. data/app/assets/stylesheets/material/material/_navdrawer.scss +289 -0
  78. data/app/assets/stylesheets/material/material/_picker.scss +272 -0
  79. data/app/assets/stylesheets/material/material/_progress-circular.scss +144 -0
  80. data/app/assets/stylesheets/material/material/_progress.scss +174 -0
  81. data/app/assets/stylesheets/material/material/_selection-control.scss +221 -0
  82. data/app/assets/stylesheets/material/material/_stepper.scss +135 -0
  83. data/app/assets/stylesheets/material/material/_tab.scss +196 -0
  84. data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +51 -0
  85. data/app/assets/stylesheets/material/material/_text-field-input-group.scss +76 -0
  86. data/app/assets/stylesheets/material/material/_text-field-textarea.scss +31 -0
  87. data/app/assets/stylesheets/material/material/_text-field.scss +179 -0
  88. data/app/assets/stylesheets/material/material/_toolbar.scss +516 -0
  89. data/app/assets/stylesheets/material/material/_tooltip.scss +86 -0
  90. data/app/assets/stylesheets/material/mixins/_background-variant.scss +14 -0
  91. data/app/assets/stylesheets/material/mixins/_border-radius.scss +34 -0
  92. data/app/assets/stylesheets/material/mixins/_breakpoint.scss +38 -0
  93. data/app/assets/stylesheets/material/mixins/_clearfix.scss +7 -0
  94. data/app/assets/stylesheets/material/mixins/_form.scss +60 -0
  95. data/app/assets/stylesheets/material/mixins/_grid.scss +149 -0
  96. data/app/assets/stylesheets/material/mixins/_hex-to-rgba.scss +3 -0
  97. data/app/assets/stylesheets/material/mixins/_hover.scss +70 -0
  98. data/app/assets/stylesheets/material/mixins/_image.scss +4 -0
  99. data/app/assets/stylesheets/material/mixins/_list.scss +4 -0
  100. data/app/assets/stylesheets/material/mixins/_nav-divider.scss +6 -0
  101. data/app/assets/stylesheets/material/mixins/_pull.scss +7 -0
  102. data/app/assets/stylesheets/material/mixins/_reset-text.scss +35 -0
  103. data/app/assets/stylesheets/material/mixins/_screenreader.scss +23 -0
  104. data/app/assets/stylesheets/material/mixins/_strip-unit.scss +3 -0
  105. data/app/assets/stylesheets/material/mixins/_tab-focus.scss +5 -0
  106. data/app/assets/stylesheets/material/mixins/_text-emphasis.scss +14 -0
  107. data/app/assets/stylesheets/material/mixins/_text-hide.scss +7 -0
  108. data/app/assets/stylesheets/material/mixins/_text-truncate.scss +5 -0
  109. data/app/assets/stylesheets/material/mixins/_transition.scss +55 -0
  110. data/app/assets/stylesheets/material/mixins/_typography.scss +69 -0
  111. data/app/assets/stylesheets/material/utilities/_align.scss +23 -0
  112. data/app/assets/stylesheets/material/utilities/_background.scss +23 -0
  113. data/app/assets/stylesheets/material/utilities/_border.scss +27 -0
  114. data/app/assets/stylesheets/material/utilities/_clearfix.scss +3 -0
  115. data/app/assets/stylesheets/material/utilities/_display.scss +11 -0
  116. data/app/assets/stylesheets/material/utilities/_float.scss +15 -0
  117. data/app/assets/stylesheets/material/utilities/_material-icons.scss +10 -0
  118. data/app/assets/stylesheets/material/utilities/_screenreader.scss +7 -0
  119. data/app/assets/stylesheets/material/utilities/_spacing.scss +65 -0
  120. data/app/assets/stylesheets/material/utilities/_text.scss +95 -0
  121. data/app/assets/stylesheets/material/utilities/_visibility.scss +50 -0
  122. data/app/assets/stylesheets/material/utilities/_waves.scss +48 -0
  123. data/app/assets/stylesheets/material/variables/_animation.scss +22 -0
  124. data/app/assets/stylesheets/material/variables/_colour.scss +389 -0
  125. data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +84 -0
  126. data/app/assets/stylesheets/material/variables/_grid.scss +32 -0
  127. data/app/assets/stylesheets/material/variables/_spacer.scss +73 -0
  128. data/app/assets/stylesheets/material/variables/_typography.scss +72 -0
  129. data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +129 -0
  130. data/app/assets/stylesheets/material/variables/_variable-material.scss +434 -0
  131. data/lib/material-sass/engine.rb +3 -2
  132. data/lib/material-sass/version.rb +1 -1
  133. metadata +128 -70
  134. data/app/assets/javascripts/material.min.js +0 -2
  135. data/app/assets/javascripts/material/_.js +0 -6
  136. data/app/assets/javascripts/material/bootstrap.js +0 -6
  137. data/app/assets/javascripts/material/form-floating-label.js +0 -49
  138. data/app/assets/javascripts/material/form-textarea.js +0 -13
  139. data/app/assets/javascripts/material/header.js +0 -12
  140. data/app/assets/javascripts/material/menu.js +0 -200
  141. data/app/assets/javascripts/material/modal.js +0 -12
  142. data/app/assets/javascripts/material/picker.js +0 -141
  143. data/app/assets/javascripts/material/snackbar.js +0 -116
  144. data/app/assets/javascripts/material/tab.js +0 -51
  145. data/app/assets/javascripts/material/tile.js +0 -181
  146. data/app/assets/stylesheets/material/addons/_material-icons.scss +0 -9
  147. data/app/assets/stylesheets/material/addons/_waves.scss +0 -44
  148. data/app/assets/stylesheets/material/addons/material-icons/_core.scss +0 -20
  149. data/app/assets/stylesheets/material/addons/material-icons/_larger.scss +0 -23
  150. data/app/assets/stylesheets/material/addons/material-icons/_path.scss +0 -11
  151. data/app/assets/stylesheets/material/addons/material-icons/_variables.scss +0 -3
  152. data/app/assets/stylesheets/material/base.scss +0 -50
  153. data/app/assets/stylesheets/material/base/_reset.scss +0 -421
  154. data/app/assets/stylesheets/material/components/_avatar.scss +0 -59
  155. data/app/assets/stylesheets/material/components/_breadcrumb.scss +0 -26
  156. data/app/assets/stylesheets/material/components/_button-flat.scss +0 -22
  157. data/app/assets/stylesheets/material/components/_button-float.scss +0 -183
  158. data/app/assets/stylesheets/material/components/_button.scss +0 -81
  159. data/app/assets/stylesheets/material/components/_card.scss +0 -175
  160. data/app/assets/stylesheets/material/components/_code.scss +0 -53
  161. data/app/assets/stylesheets/material/components/_dropdown.scss +0 -99
  162. data/app/assets/stylesheets/material/components/_form-checkbox.scss +0 -161
  163. data/app/assets/stylesheets/material/components/_form-floating-label.scss +0 -64
  164. data/app/assets/stylesheets/material/components/_form-switch.scss +0 -96
  165. data/app/assets/stylesheets/material/components/_form-textarea.scss +0 -4
  166. data/app/assets/stylesheets/material/components/_form.scss +0 -217
  167. data/app/assets/stylesheets/material/components/_label.scss +0 -23
  168. data/app/assets/stylesheets/material/components/_modal.scss +0 -164
  169. data/app/assets/stylesheets/material/components/_nav.scss +0 -53
  170. data/app/assets/stylesheets/material/components/_picker.scss +0 -298
  171. data/app/assets/stylesheets/material/components/_progress-circular.scss +0 -169
  172. data/app/assets/stylesheets/material/components/_progress-loadbar.scss +0 -97
  173. data/app/assets/stylesheets/material/components/_progress.scss +0 -132
  174. data/app/assets/stylesheets/material/components/_snackbar.scss +0 -59
  175. data/app/assets/stylesheets/material/components/_stepper.scss +0 -201
  176. data/app/assets/stylesheets/material/components/_tab.scss +0 -84
  177. data/app/assets/stylesheets/material/components/_table.scss +0 -82
  178. data/app/assets/stylesheets/material/components/_tile.scss +0 -156
  179. data/app/assets/stylesheets/material/elements/_content.scss +0 -42
  180. data/app/assets/stylesheets/material/elements/_header.scss +0 -141
  181. data/app/assets/stylesheets/material/elements/_menu.scss +0 -267
  182. data/app/assets/stylesheets/material/mixin/_grid.scss +0 -78
  183. data/app/assets/stylesheets/material/mixin/_responsive.scss +0 -32
  184. data/app/assets/stylesheets/material/mixin/_utilities.scss +0 -69
  185. data/app/assets/stylesheets/material/utilities/_print.scss +0 -95
  186. data/app/assets/stylesheets/material/utilities/_utilities-responsive.scss +0 -97
  187. data/app/assets/stylesheets/material/utilities/_utilities.scss +0 -393
  188. data/app/assets/stylesheets/material/var/_colours.scss +0 -336
  189. data/app/assets/stylesheets/material/var/_variables.scss +0 -78
@@ -1,43 +1,31 @@
1
- /*!
2
- * bootstrap v3.3.5 (http://getbootstrap.com)
3
- * based on bootstrap's grid system
4
- */
1
+ //
2
+ // column
3
+ //
4
+ @if $enable-grid-classes {
5
+ @include make-grid-columns;
6
+ }
5
7
 
6
- @include make-col();
7
- @include make-grid(xx);
8
- // 480
9
- @include responsive(xs) {
10
- @include make-grid(xs);
11
- }
12
- // 768
13
- @include responsive(sm) {
14
- @include make-grid(sm);
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
- .container {
26
- @include make-container();
27
- // 992
28
- @include responsive(md) {
29
- max-width: ($screen-md - $grid-gutter * 2);
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
- .container-full {
38
- max-width: none;
39
- }
40
-
41
- .row {
42
- @include make-row();
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
+ }