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,4 +0,0 @@
1
- .textarea-autosize {
2
- min-height: $input-height;
3
- overflow-x: hidden;
4
- }
@@ -1,217 +0,0 @@
1
- .checkbox,
2
- .radiobtn {
3
- display: block;
4
- position: relative;
5
- .form-group & {
6
- margin-top: (($input-height - $line-height) / 2);
7
- padding-bottom: (($input-height - $line-height) / 2);
8
- }
9
- label {
10
- cursor: pointer;
11
- margin: 0;
12
- min-height: $font-size;
13
- padding-left: $line-height;
14
- }
15
- &.disabled,
16
- fieldset[disabled] & {
17
- label {
18
- color: $black-hint;
19
- cursor: not-allowed;
20
- }
21
- }
22
- }
23
-
24
- .checkbox input[type="checkbox"],
25
- .radiobtn input[type="radio"] {
26
- margin-left: ($line-height * -1);
27
- position: absolute;
28
- }
29
-
30
- .checkbox-inline,
31
- .radiobtn-inline {
32
- display: inline-block;
33
- margin-right: $grid-gutter;
34
- }
35
-
36
- .form {
37
- margin-top: $margin-md;
38
- margin-bottom: $margin-md;
39
- }
40
-
41
- .form-control {
42
- background-color: transparent;
43
- background-image: none;
44
- border: 0;
45
- border-bottom: 1px solid $black-divider;
46
- border-radius: 0;
47
- color: inherit;
48
- display: block;
49
- font-size: $font-size;
50
- height: $input-height;
51
- line-height: $line-height;
52
- padding: (($input-height - $line-height) / 2) 0 (($input-height - $line-height) / 2 - 1);
53
- width: 100%;
54
- &:focus {
55
- border-color: $link-color;
56
- border-bottom-width: 2px;
57
- outline: 0;
58
- padding-bottom: (($input-height - $line-height) / 2 - 2);
59
- }
60
- &::placeholder {
61
- color: $black-hint;
62
- }
63
- &[disabled],
64
- &[readonly],
65
- fieldset[disabled] & {
66
- border-style: dashed;
67
- color: $black-hint;
68
- cursor: not-allowed;
69
- opacity: 1;
70
- }
71
- &.form-control-inline {
72
- display: inline-block;
73
- vertical-align: middle;
74
- width: auto;
75
- }
76
- &.form-control-default {
77
- border: 1px solid $black-divider;
78
- padding: (($input-height - $line-height) / 2 - 1) ($grid-gutter / 2);
79
- &:focus {
80
- border: 1px solid $link-color;
81
- padding: (($input-height - $line-height) / 2 - 1) ($grid-gutter / 2);
82
- }
83
- &[disabled],
84
- &[readonly],
85
- fieldset[disabled] & {
86
- background-color: $offwhite;
87
- }
88
- }
89
- }
90
-
91
- // colour
92
- @each $color in $palette-list-class {
93
- $i: index($palette-list-class, $color);
94
-
95
- .form-group-#{$color} {
96
- .form-control,
97
- .form-control:focus {
98
- border-color: nth($palette-list-color, $i);
99
- }
100
- }
101
- }
102
-
103
- input[type="color"].form-control-default {
104
- min-width: ($grid-gutter + $line-height + 2);
105
- }
106
-
107
- select.form-control {
108
- -webkit-appearance: none;
109
- -moz-appearance: none;
110
- @include responsive("(-webkit-min-device-pixel-ratio: 0), (min--moz-device-pixel-ratio: 0)") {
111
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1ODZCNTU1QkIxQkUxMUU1OEYzRkZEMkE1Q0Y3MDFBNyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1ODZCNTU1Q0IxQkUxMUU1OEYzRkZEMkE1Q0Y3MDFBNyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU4NkI1NTU5QjFCRTExRTU4RjNGRkQyQTVDRjcwMUE3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU4NkI1NTVBQjFCRTExRTU4RjNGRkQyQTVDRjcwMUE3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+TozEogAAAGxJREFUeNrs1DEOgDAIheHH4XpqDocdiInYVqA6mEBC2P5vg0QEXw4VUMCPACJq/bSXuty7bAEosIuwAhgBuwjrYgVkkTPuAaLIJe4FvMgtHgGekGE8CsyQaTwDWGQZzwIwAEJAPbsC0nMIMADa5XjRmvnODAAAAABJRU5ErkJggg==);
112
- background-position: 100% (($input-height - 12) / 2 - 1);
113
- background-repeat: no-repeat;
114
- background-size: 12px 12px;
115
- padding-right: ($grid-gutter / 2 + 12);
116
- &[multiple],
117
- &[size] {
118
- background-image: none;
119
- padding-right: 0;
120
- }
121
- }
122
- }
123
-
124
- select.form-control-default {
125
- @include responsive("(-webkit-min-device-pixel-ratio: 0), (min--moz-device-pixel-ratio: 0)") {
126
- background-position: calc(100% - #{$grid-gutter / 2}) (($input-height - 12) / 2 - 1);
127
- padding-right: ($grid-gutter + 12) !important;
128
- &[multiple],
129
- &[size] {
130
- padding-right: ($grid-gutter / 2) !important;
131
- }
132
- }
133
- }
134
-
135
- textarea.form-control {
136
- height: auto;
137
- }
138
-
139
- .form-control-static {
140
- border-bottom: 1px solid $black-divider;
141
- display: block;
142
- font-size: $font-size;
143
- font-weight: $font-weight-normal;
144
- line-height: $line-height;
145
- margin-top: 0;
146
- margin-bottom: 0;
147
- padding-top: (($input-height - $line-height) / 2);
148
- padding-bottom: (($input-height - $line-height) / 2 - 1);
149
- &.form-control-default {
150
- padding-top: (($input-height - $line-height) / 2 - 1);
151
- }
152
- }
153
-
154
- .form-group {
155
- margin-top: $margin-md;
156
- margin-bottom: $margin-md;
157
- legend + & {
158
- margin-top: 0;
159
- }
160
- }
161
-
162
- .form-help {
163
- display: block;
164
- font-size: $font-size-h6;
165
- font-weight: $font-weight-normal;
166
- line-height: $line-height;
167
- margin-top: $margin-base;
168
- margin-bottom: $margin-sm;
169
- position: relative;
170
- }
171
-
172
- .form-help-icon {
173
- position: absolute;
174
- top: (($line-height - $font-size-h6) / 2);
175
- right: 0;
176
- }
177
-
178
- .form-help-msg {
179
- padding-right: (18em / 14);
180
- }
181
-
182
- .form-label {
183
- display: block;
184
- // 480
185
- @include responsive(xs) {
186
- [class*="col-xs"] > & {
187
- @include form-label();
188
- }
189
- }
190
- // 768
191
- @include responsive(sm) {
192
- [class*="col-sm"] > & {
193
- @include form-label();
194
- }
195
- }
196
- // 992
197
- @include responsive(md) {
198
- [class*="col-md"] > & {
199
- @include form-label();
200
- }
201
- }
202
- // 1440
203
- @include responsive(lg) {
204
- [class*="col-lg"] > & {
205
- @include form-label();
206
- }
207
- }
208
- }
209
-
210
- // colour
211
- @each $color in $palette-list-class {
212
- $i: index($palette-list-class, $color);
213
-
214
- .form-group-#{$color} .form-label {
215
- color: nth($palette-list-color, $i);
216
- }
217
- }
@@ -1,23 +0,0 @@
1
- .label {
2
- background-color: $black-hint;
3
- border-radius: 2px;
4
- color: $white-text-solid;
5
- display: inline;
6
- font-size: 75%;
7
- font-style: normal;
8
- font-weight: $font-weight-normal;
9
- line-height: 1;
10
- padding: 0.2em 0.6em;
11
- vertical-align: baseline;
12
- white-space: nowrap;
13
- }
14
-
15
- // colour
16
- @each $color in $palette-list-class {
17
- $i: index($palette-list-class, $color);
18
-
19
- .label-#{$color} {
20
- background-color: nth($palette-list-color, $i);
21
- color: nth($palette-list-text, $i);
22
- }
23
- }
@@ -1,164 +0,0 @@
1
- .modal {
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: $top-base;
12
- -webkit-overflow-scrolling: touch;
13
- -ms-overflow-style: -ms-autohiding-scrollbar;
14
- .modal-open & {
15
- overflow-x: hidden;
16
- overflow-y: auto;
17
- }
18
- }
19
-
20
- .modal-backdrop {
21
- backface-visibility: hidden;
22
- background-color: $black;
23
- opacity: 0;
24
- position: fixed;
25
- top: 0;
26
- right: 0;
27
- bottom: 0;
28
- left: 0;
29
- transition: opacity 0.3s $timing;
30
- z-index: ($top-base - 1);
31
- &.fade.in {
32
- opacity: 0.54;
33
- }
34
- .menu ~ & {
35
- z-index: $header-base;
36
- &.in {
37
- opacity: 0.54;
38
- }
39
- }
40
- }
41
-
42
- .modal-close {
43
- color: $black-sec-solid;
44
- cursor: pointer;
45
- display: block;
46
- float: right;
47
- font-size: $font-size-h4;
48
- line-height: $line-height-h4;
49
- margin-right: ($grid-gutter / -2);
50
- padding-right: ($grid-gutter / 2);
51
- padding-left: ($grid-gutter / 2);
52
- &:focus,
53
- &:hover {
54
- color: $link-color;
55
- text-decoration: none;
56
- }
57
- }
58
-
59
- .modal-content {
60
- background-clip: padding-box;
61
- background-color: $white;
62
- border: 1px solid transparent;
63
- border-radius: 4px;
64
- box-shadow: 0 1px 30px rgba(0, 0, 0, 0.5);
65
- outline: 0;
66
- position: relative;
67
- }
68
-
69
- .modal-dialog {
70
- margin: $margin-lg $grid-gutter;
71
- position: relative;
72
- &.modal-full {
73
- height: 100%;
74
- height: calc(100% - #{$margin-lg * 2});
75
- .modal-content {
76
- height: 100%;
77
- }
78
- }
79
- .modal.fade & {
80
- transform: scale(0, 0);
81
- transition: transform 0.3s $timing;
82
- }
83
- .modal.fade.in & {
84
- transform: scale(1, 1);
85
- }
86
- // 480
87
- @include responsive(xs) {
88
- &.modal-xs {
89
- margin-right: auto;
90
- margin-left: auto;
91
- width: ($screen-xs - $grid-gutter * 2);
92
- }
93
- }
94
- // 992
95
- @include responsive(md) {
96
- margin-right: auto;
97
- margin-left: auto;
98
- width: ($screen-md - $grid-gutter * 2);
99
- }
100
- // 1440
101
- @include responsive(lg) {
102
- width: ($screen-lg - $grid-gutter * 2);
103
- }
104
- }
105
-
106
- .modal-footer {
107
- padding-right: ($grid-gutter * 1.5);
108
- padding-left: ($grid-gutter * 1.5);
109
- .btn + .btn {
110
- margin-right: $grid-gutter;
111
- }
112
- .text-right .btn + .btn {
113
- margin-right: auto;
114
- margin-left: $grid-gutter;
115
- }
116
- }
117
-
118
- .modal-heading {
119
- margin-top: $margin-md;
120
- margin-bottom: $margin-md;
121
- padding-right: ($grid-gutter * 1.5);
122
- padding-left: ($grid-gutter * 1.5);
123
- position: relative;
124
- }
125
-
126
- .modal-inner {
127
- margin-top: $margin-md;
128
- margin-bottom: $margin-md;
129
- padding-right: ($grid-gutter * 1.5);
130
- padding-left: ($grid-gutter * 1.5);
131
- }
132
-
133
- .modal-open {
134
- overflow: hidden;
135
- }
136
-
137
- .modal-title {
138
- font-size: $font-size-h4;
139
- line-height: $line-height-h4;
140
- margin-top: 0;
141
- margin-right: ($grid-gutter + 12);
142
- margin-bottom: $margin-md;
143
- }
144
-
145
- .modal-va-middle {
146
- align-items: center;
147
- .modal-dialog {
148
- flex-grow: 1;
149
- // 480
150
- @include responsive(xs) {
151
- &.modal-xs {
152
- flex-grow: 0;
153
- }
154
- }
155
- // 992
156
- @include responsive(md) {
157
- flex-grow: 0;
158
- }
159
- }
160
- }
161
-
162
- .modal-va-middle-show {
163
- display: flex;
164
- }
@@ -1,53 +0,0 @@
1
- .nav {
2
- list-style: none;
3
- margin: $margin-md 0;
4
- padding: 0;
5
- position: relative;
6
- @include clearfix();
7
- li {
8
- display: block;
9
- position: relative;
10
- > a,
11
- > .a {
12
- align-items: center;
13
- display: flex;
14
- min-height: $nav-height;
15
- padding: 0 $grid-gutter;
16
- position: relative;
17
- &:focus,
18
- &:hover {
19
- text-decoration: none;
20
- }
21
- }
22
- }
23
- ul {
24
- margin: 0;
25
- padding: 0;
26
- }
27
- }
28
-
29
- .nav-justified,
30
- .nav-list {
31
- align-items: flex-start;
32
- display: flex;
33
- justify-content: flex-start;
34
- }
35
-
36
- .nav-justified {
37
- flex-wrap: nowrap;
38
- > li {
39
- flex-grow: 1;
40
- > a,
41
- > .a {
42
- justify-content: center;
43
- text-align: center;
44
- }
45
- }
46
- }
47
-
48
- .nav-list {
49
- flex-wrap: wrap;
50
- > li {
51
- float: left;
52
- }
53
- }