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,267 +0,0 @@
1
- .menu {
2
- backface-visibility: hidden;
3
- display: none;
4
- overflow: hidden;
5
- outline: 0;
6
- position: fixed;
7
- top: 0;
8
- right: 0;
9
- bottom: 0;
10
- left: 0;
11
- z-index: ($header-base + 1);
12
- }
13
-
14
- .menu-collapse-toggle {
15
- align-items: center;
16
- cursor: pointer;
17
- display: flex;
18
- height: 100%;
19
- padding: 0 $grid-gutter;
20
- position: absolute;
21
- top: 0;
22
- right: 0;
23
- z-index: 1;
24
- &:focus,
25
- &:hover {
26
- outline: 0;
27
- text-decoration: none;
28
- }
29
- }
30
-
31
- .menu-collapse-toggle-close,
32
- .menu-collapse-toggle-default {
33
- transition-duration: 0.3s;
34
- transition-property: opacity, transform;
35
- transition-timing-function: $timing;
36
- }
37
-
38
- .menu-collapse-toggle-close {
39
- align-items: center;
40
- display: flex;
41
- height: 100%;
42
- justify-content: center;
43
- opacity: 1;
44
- position: absolute;
45
- top: 0;
46
- left: 0;
47
- transform: rotate(0);
48
- width: 100%;;
49
- .menu-collapse-toggle.collapsed & {
50
- opacity: 0;
51
- transform: rotate(-225deg);
52
- }
53
- }
54
-
55
- .menu-collapse-toggle-default {
56
- opacity: 0;
57
- transform: rotate(225deg);
58
- .menu-collapse-toggle.collapsed & {
59
- opacity: 1;
60
- transform: rotate(0);
61
- }
62
- }
63
-
64
- .menu-content {
65
- padding-top: $margin-base;
66
- padding-bottom: $margin-base;
67
- .nav {
68
- margin-top: 0;
69
- margin-bottom: 0;
70
- a,
71
- .a {
72
- color: $black-text-solid;
73
- font-weight: $font-weight-medium;
74
- &:focus,
75
- &:hover {
76
- background-color: $offwhite-solid;
77
- }
78
- }
79
- li.active {
80
- > a,
81
- > .a {
82
- color: $brand-color;
83
- }
84
- }
85
- ul {
86
- a,
87
- .a {
88
- font-weight: $font-weight-normal;
89
- min-height: ($nav-height * 0.75);
90
- padding-left: ($grid-gutter * 2);
91
- }
92
- ul {
93
- a,
94
- .a {
95
- font-size: $font-size-h6;
96
- padding-left: ($grid-gutter * 3);
97
- }
98
- }
99
- }
100
- }
101
- }
102
-
103
- // colour
104
- @each $color in $palette-list-class {
105
- $i: index($palette-list-class, $color);
106
-
107
- .page-#{$color} .menu-content .nav li.active {
108
- > a,
109
- > .a {
110
- color: nth($palette-list-color, $i);
111
- }
112
- }
113
- }
114
-
115
- .menu-content-inner {
116
- padding-right: $grid-gutter;
117
- padding-left: $grid-gutter;
118
- }
119
-
120
- .menu-backdrop {
121
- backface-visibility: hidden;
122
- background-color: $black;
123
- opacity: 0;
124
- position: fixed;
125
- top: 0;
126
- right: 0;
127
- bottom: 0;
128
- left: 0;
129
- transition: opacity 0.3s $timing;
130
- z-index: $header-base;
131
- &.in {
132
- opacity: 0.5;
133
- }
134
- }
135
-
136
- .menu-logo {
137
- align-items: center;
138
- border-bottom: 1px solid $black-divider-solid;
139
- color: $black-text-solid;
140
- display: flex;
141
- font-size: $font-size-h4;
142
- font-weight: $font-weight-light;
143
- line-height: $line-height-h4;
144
- margin-bottom: $margin-base;
145
- min-height: $header-height;
146
- padding: 0 $grid-gutter;
147
- &[href]:focus,
148
- &[href]:hover {
149
- color: $black-text-solid;
150
- outline: 0;
151
- text-decoration: none;
152
- }
153
- .menu-content > & {
154
- &:first-child {
155
- margin-top: ($margin-base * -1);
156
- }
157
- }
158
- img {
159
- display: block;
160
- max-height: ($header-height * 0.75);
161
- width: auto;
162
- }
163
- }
164
-
165
- .menu-scroll {
166
- background-color: $white;
167
- height: 100%;
168
- max-width: 85%;
169
- max-width: calc(100% - #{$grid-gutter * 4});
170
- overflow-x: hidden;
171
- overflow-y: auto;
172
- position: fixed;
173
- top: 0;
174
- left: 0;
175
- transform: translateX(-100%);
176
- transition: transform 0.3s $timing;
177
- width: ($grid-gutter * 20);
178
- z-index: 1;
179
- -webkit-overflow-scrolling: touch;
180
- -ms-overflow-style: none;
181
- .menu-right & {
182
- // position
183
- right: 0;
184
- left: auto;
185
- transform: translateX(100%);
186
- }
187
- .menu.in & {
188
- transform: translateX(0);
189
- }
190
- // 992
191
- @include responsive(md) {
192
- max-width: none;
193
- }
194
- }
195
-
196
- .menu-top {
197
- background-color: $black;
198
- color: $white-text-solid;
199
- position: relative;
200
- z-index: 1;
201
- a,
202
- a:focus,
203
- a:hover {
204
- color: inherit;
205
- text-decoration: none;
206
- }
207
- }
208
-
209
- .menu-top-img {
210
- align-items: center;
211
- display: flex;
212
- height: 100%;
213
- justify-content: center;
214
- overflow: hidden;
215
- position: absolute;
216
- top: 0;
217
- left: 0;
218
- width: 100%;
219
- img {
220
- min-height: 100%;
221
- width: 100%;
222
- opacity: 0.5;
223
- }
224
- }
225
-
226
- .menu-top-info {
227
- padding: $margin-sm $grid-gutter;
228
- position: relative;
229
- // 768
230
- @include responsive(sm) {
231
- padding-top: $margin-md;
232
- padding-bottom: $margin-md;
233
- }
234
- }
235
-
236
- .menu-top-info-sub {
237
- font-weight: $font-weight-light;
238
- padding: $margin-sm $grid-gutter;
239
- position: relative;
240
- // 768
241
- @include responsive(sm) {
242
- padding-top: $margin-md;
243
- }
244
- }
245
-
246
- .menu-top-user {
247
- align-items: center;
248
- display: flex;
249
- > * {
250
- flex-shrink: 0;
251
- }
252
- }
253
-
254
- .nav-drawer {
255
- // 992
256
- @include responsive(md) {
257
- &.nav-drawer-md {
258
- @include nav-drawer()
259
- }
260
- }
261
- // 1440
262
- @include responsive(lg) {
263
- &.nav-drawer-lg {
264
- @include nav-drawer();
265
- }
266
- }
267
- }
@@ -1,78 +0,0 @@
1
- @mixin make-container() {
2
- margin-right: auto;
3
- margin-left: auto;
4
- padding-right: $grid-gutter;
5
- padding-left: $grid-gutter;
6
- @include clearfix();
7
- }
8
-
9
- @mixin make-row() {
10
- margin-right: ($grid-gutter * -1);
11
- margin-left: ($grid-gutter * -1);
12
- @include clearfix();
13
- }
14
-
15
- // col
16
- @mixin calc-col($index, $class, $type) {
17
- @if ($type == colwidth) and ($index > 0) {
18
- .col-#{$class}-#{$index} {
19
- width: percentage(($index / $grid-cols));
20
- }
21
- }
22
- @if ($type == offset) {
23
- .col-#{$class}-offset-#{$index} {
24
- margin-left: percentage(($index / $grid-cols));
25
- }
26
- }
27
- @if ($type == pull) {
28
- .col-#{$class}-pull-#{$index} {
29
- right: percentage(($index / $grid-cols));
30
- }
31
- }
32
- @if ($type == push) {
33
- .col-#{$class}-push-#{$index} {
34
- left: percentage(($index / $grid-cols));
35
- }
36
- }
37
- }
38
-
39
- @mixin float-col($class) {
40
- $i: 1;
41
- $list: "";
42
- $list: ".col-#{$class}-#{$i}";
43
- @for $i from (1 + 1) through $grid-cols {
44
- $list: "#{$list}, .col-#{$class}-#{$i}";
45
- }
46
- #{$list} {
47
- float: left;
48
- }
49
- }
50
-
51
- @mixin loop-col($columns, $class, $type) {
52
- @for $i from 0 through $columns {
53
- @include calc-col($i, $class, $type);
54
- }
55
- }
56
-
57
- @mixin make-col() {
58
- $i: 1;
59
- $list: "";
60
- $list: ".col-xx-#{$i}, .col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}";
61
- @for $i from (1 + 1) through $grid-cols {
62
- $list: "#{$list}, .col-xx-#{$i}, .col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}";
63
- }
64
- #{$list} {
65
- min-height: 1px;
66
- position: relative;
67
- padding-left: $grid-gutter;
68
- padding-right: $grid-gutter;
69
- }
70
- }
71
-
72
- @mixin make-grid($class) {
73
- @include float-col($class);
74
- @include loop-col($grid-cols, $class, colwidth);
75
- @include loop-col($grid-cols, $class, offset);
76
- @include loop-col($grid-cols, $class, pull);
77
- @include loop-col($grid-cols, $class, push);
78
- }
@@ -1,32 +0,0 @@
1
- @mixin responsive($screen-size) {
2
- // 480
3
- @if $screen-size == xs {
4
- @media only screen and (min-width: $screen-xs) {
5
- @content;
6
- }
7
- }
8
- // 768
9
- @else if $screen-size == sm {
10
- @media only screen and (min-width: $screen-sm) {
11
- @content;
12
- }
13
- }
14
- // 992
15
- @else if $screen-size == md {
16
- @media only screen and (min-width: $screen-md) {
17
- @content;
18
- }
19
- }
20
- // 1440
21
- @else if $screen-size == lg {
22
- @media only screen and (min-width: $screen-lg) {
23
- @content;
24
- }
25
- }
26
- // customised break point
27
- @else {
28
- @media only screen and #{$screen-size} {
29
- @content;
30
- }
31
- }
32
- }
@@ -1,69 +0,0 @@
1
- @function unicode($str){
2
- @return unquote("\"") + $str + unquote("\"");
3
- }
4
-
5
- @mixin clearfix() {
6
- &:after,
7
- &:before {
8
- content: "";
9
- display: table;
10
- line-height: 0;
11
- }
12
- &:after {
13
- clear: both;
14
- }
15
- }
16
-
17
- @mixin form-label() {
18
- padding-top: (($input-height - $line-height) / 2);
19
- padding-bottom: (($input-height - $line-height) / 2);
20
- text-align: right;
21
- }
22
-
23
- @mixin img-responsive() {
24
- display: block;
25
- height: auto;
26
- max-width: 100%;
27
- width: 100% \9;
28
- }
29
-
30
- @mixin nav-drawer() {
31
- background-color: transparent;
32
- display: block !important;
33
- overflow: visible;
34
- width: ($grid-gutter * 15);
35
- z-index: $header-base;
36
- &.in ~ .menu-backdrop {
37
- display: none;
38
- ~ .menu-backdrop {
39
- display: block;
40
- }
41
- }
42
- &.menu-left {
43
- ~ .content,
44
- ~ .footer,
45
- ~ .header {
46
- margin-left: ($grid-gutter * 15);
47
- }
48
- }
49
- &.menu-right {
50
- ~ .content,
51
- ~ .footer,
52
- ~ .header {
53
- margin-right: ($grid-gutter * 15);
54
- }
55
- }
56
- .menu-scroll {
57
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
58
- transform: none;
59
- width: ($grid-gutter * 15);
60
- }
61
- }
62
-
63
- @mixin text-overflow() {
64
- display: block;
65
- line-height: inherit;
66
- overflow: hidden;
67
- text-overflow: ellipsis;
68
- white-space: nowrap;
69
- }
@@ -1,95 +0,0 @@
1
- @media print {
2
- *,
3
- *:after,
4
- *:before {
5
- background: transparent !important;
6
- box-shadow: none !important;
7
- text-shadow: none !important;
8
- }
9
-
10
- a,
11
- a:visited {
12
- text-decoration: underline;
13
- }
14
-
15
- a[href]:after {
16
- content: " (" attr(href) ")";
17
- }
18
-
19
- a[href^="#"]:after,
20
- a[href^="javascript:"]:after {
21
- content: "";
22
- }
23
-
24
- abbr[title]:after {
25
- content: " (" attr(title) ")";
26
- }
27
-
28
- blockquote,
29
- pre {
30
- border: 1px solid $black-divider-solid;
31
- page-break-inside: avoid;
32
- }
33
-
34
- img,
35
- tr {
36
- page-break-inside: avoid;
37
- }
38
-
39
- img {
40
- max-width: 100% !important;
41
- }
42
-
43
- h2,
44
- h3,
45
- p {
46
- orphans: 3;
47
- widows: 3;
48
- }
49
-
50
- h2,
51
- h3 {
52
- page-break-after: avoid;
53
- }
54
-
55
- thead {
56
- display: table-header-group;
57
- }
58
-
59
- .hidden-print {
60
- display: none !important;
61
- }
62
-
63
- // material
64
- .card,
65
- .card-img,
66
- .card-side {
67
- border-radius: 0 !important;
68
- }
69
-
70
- .card,
71
- .tile {
72
- border: 1px solid $black-divider-solid;
73
- }
74
- }
75
-
76
- .visible-print-block {
77
- display: none !important;
78
- @media print {
79
- display: block !important;
80
- }
81
- }
82
-
83
- .visible-print-inline {
84
- display: none !important;
85
- @media print {
86
- display: inline !important;
87
- }
88
- }
89
-
90
- .visible-print-inline-block {
91
- display: none !important;
92
- @media print {
93
- display: inline-block !important;
94
- }
95
- }