mumuki-styles 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +117 -0
  3. data/Rakefile +2 -0
  4. data/app/assets/fonts/FontAwesome.otf +0 -0
  5. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  6. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
  7. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  8. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  9. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  10. data/app/assets/fonts/dev-awesome/svg/colored/bash.svg +58 -0
  11. data/app/assets/fonts/dev-awesome/svg/colored/c.svg +82 -0
  12. data/app/assets/fonts/dev-awesome/svg/colored/code.svg +57 -0
  13. data/app/assets/fonts/dev-awesome/svg/colored/cpp.svg +67 -0
  14. data/app/assets/fonts/dev-awesome/svg/colored/css.svg +112 -0
  15. data/app/assets/fonts/dev-awesome/svg/colored/elixir.svg +86 -0
  16. data/app/assets/fonts/dev-awesome/svg/colored/gobstones.svg +3287 -0
  17. data/app/assets/fonts/dev-awesome/svg/colored/haskell.svg +76 -0
  18. data/app/assets/fonts/dev-awesome/svg/colored/html.svg +112 -0
  19. data/app/assets/fonts/dev-awesome/svg/colored/java.svg +85 -0
  20. data/app/assets/fonts/dev-awesome/svg/colored/javascript.svg +65 -0
  21. data/app/assets/fonts/dev-awesome/svg/colored/mongodb.svg +255 -0
  22. data/app/assets/fonts/dev-awesome/svg/colored/mumuki-circle.svg +132 -0
  23. data/app/assets/fonts/dev-awesome/svg/colored/mumuki.svg +78 -0
  24. data/app/assets/fonts/dev-awesome/svg/colored/prolog.svg +296 -0
  25. data/app/assets/fonts/dev-awesome/svg/colored/python.svg +61 -0
  26. data/app/assets/fonts/dev-awesome/svg/colored/qsim.svg +110 -0
  27. data/app/assets/fonts/dev-awesome/svg/colored/ruby.svg +105 -0
  28. data/app/assets/fonts/dev-awesome/svg/colored/sql.svg +124 -0
  29. data/app/assets/fonts/dev-awesome/svg/colored/text.svg +57 -0
  30. data/app/assets/fonts/dev-awesome/svg/colored/wollok.svg +83 -0
  31. data/app/assets/fonts/dev-awesome-hinted.ttf +0 -0
  32. data/app/assets/fonts/dev-awesome.eot +0 -0
  33. data/app/assets/fonts/dev-awesome.svg +139 -0
  34. data/app/assets/fonts/dev-awesome.ttf +0 -0
  35. data/app/assets/fonts/dev-awesome.woff +0 -0
  36. data/app/assets/fonts/dev-awesome.woff2 +0 -0
  37. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  38. data/app/assets/fonts/fontawesome-webfont.svg +2671 -0
  39. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  40. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  41. data/app/assets/fonts/fontawesome-webfont.woff2 +0 -0
  42. data/app/assets/javascripts/mumuki-styles.js +12767 -0
  43. data/app/assets/stylesheets/_broken.scss +8 -0
  44. data/app/assets/stylesheets/_browser.scss +45 -0
  45. data/app/assets/stylesheets/_colors.scss +54 -0
  46. data/app/assets/stylesheets/_fonts.scss +9 -0
  47. data/app/assets/stylesheets/_footer.scss +18 -0
  48. data/app/assets/stylesheets/_hovers.scss +15 -0
  49. data/app/assets/stylesheets/_mixines.scss +6 -0
  50. data/app/assets/stylesheets/_modules.scss +8 -0
  51. data/app/assets/stylesheets/_mu-file-browser.scss +97 -0
  52. data/app/assets/stylesheets/_navbar.scss +99 -0
  53. data/app/assets/stylesheets/_styles.scss +14 -0
  54. data/app/assets/stylesheets/_vendor.scss +7 -0
  55. data/app/assets/stylesheets/bootswatch/_bootswatch.scss +330 -0
  56. data/app/assets/stylesheets/bootswatch/_variables.scss +870 -0
  57. data/app/assets/stylesheets/modules/_breadcrumb.scss +16 -0
  58. data/app/assets/stylesheets/modules/_callout.scss +40 -0
  59. data/app/assets/stylesheets/modules/_checkbox.scss +65 -0
  60. data/app/assets/stylesheets/modules/_conversation.scss +213 -0
  61. data/app/assets/stylesheets/modules/_follow_us.scss +16 -0
  62. data/app/assets/stylesheets/modules/_highlight.scss +99 -0
  63. data/app/assets/stylesheets/modules/_new_message.scss +42 -0
  64. data/app/assets/stylesheets/modules/_notification.scss +15 -0
  65. data/app/assets/stylesheets/mumuki-styles.css +9526 -0
  66. data/app/assets/stylesheets/mumuki-styles.scss +11 -0
  67. data/app/assets/stylesheets/vendor/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.scss +245 -0
  68. data/app/assets/stylesheets/vendor/awesome-bootstrap-checkbox/demo/bootstrap.scss +3 -0
  69. data/app/assets/stylesheets/vendor/awesome-bootstrap-checkbox/demo/build.scss +6 -0
  70. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/_bootstrap-compass.scss +9 -0
  71. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss +19 -0
  72. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
  73. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/_bootstrap.scss +56 -0
  74. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss +73 -0
  75. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss +68 -0
  76. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss +28 -0
  77. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss +244 -0
  78. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss +168 -0
  79. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss +270 -0
  80. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss +36 -0
  81. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss +69 -0
  82. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss +37 -0
  83. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss +216 -0
  84. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss +617 -0
  85. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss +307 -0
  86. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss +84 -0
  87. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss +171 -0
  88. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss +54 -0
  89. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss +66 -0
  90. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss +130 -0
  91. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss +66 -0
  92. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_mixins.scss +40 -0
  93. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss +150 -0
  94. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss +662 -0
  95. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss +242 -0
  96. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss +424 -0
  97. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss +54 -0
  98. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss +89 -0
  99. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss +271 -0
  100. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss +131 -0
  101. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss +101 -0
  102. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
  103. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  104. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss +179 -0
  105. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss +161 -0
  106. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss +234 -0
  107. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_theme.scss +291 -0
  108. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
  109. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss +101 -0
  110. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss +298 -0
  111. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss +55 -0
  112. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss +874 -0
  113. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss +29 -0
  114. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  115. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
  116. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  117. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss +65 -0
  118. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  119. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  120. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  121. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  122. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  123. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  124. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  125. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
  126. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  127. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss +32 -0
  128. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  129. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  130. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  131. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
  132. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  133. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  134. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  135. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
  136. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  137. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  138. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
  139. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  140. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  141. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
  142. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  143. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  144. data/app/assets/stylesheets/vendor/dev-awesome/dist/scss/_dev-awesome.scss +240 -0
  145. data/app/assets/stylesheets/vendor/font-awesome/scss/_animated.scss +34 -0
  146. data/app/assets/stylesheets/vendor/font-awesome/scss/_bordered-pulled.scss +25 -0
  147. data/app/assets/stylesheets/vendor/font-awesome/scss/_core.scss +12 -0
  148. data/app/assets/stylesheets/vendor/font-awesome/scss/_fixed-width.scss +6 -0
  149. data/app/assets/stylesheets/vendor/font-awesome/scss/_icons.scss +789 -0
  150. data/app/assets/stylesheets/vendor/font-awesome/scss/_larger.scss +13 -0
  151. data/app/assets/stylesheets/vendor/font-awesome/scss/_list.scss +19 -0
  152. data/app/assets/stylesheets/vendor/font-awesome/scss/_mixins.scss +60 -0
  153. data/app/assets/stylesheets/vendor/font-awesome/scss/_path.scss +15 -0
  154. data/app/assets/stylesheets/vendor/font-awesome/scss/_rotated-flipped.scss +20 -0
  155. data/app/assets/stylesheets/vendor/font-awesome/scss/_screen-reader.scss +5 -0
  156. data/app/assets/stylesheets/vendor/font-awesome/scss/_stacked.scss +20 -0
  157. data/app/assets/stylesheets/vendor/font-awesome/scss/_variables.scss +800 -0
  158. data/app/assets/stylesheets/vendor/font-awesome/scss/font-awesome.scss +18 -0
  159. data/lib/mumuki/styles/version.rb +5 -0
  160. data/lib/mumuki/styles.rb +8 -0
  161. metadata +231 -0
@@ -0,0 +1,11 @@
1
+ @import 'fonts';
2
+ @import 'colors';
3
+ @import 'vendor';
4
+ @import 'mixines';
5
+ @import 'broken';
6
+ @import 'hovers';
7
+ @import 'modules';
8
+ @import 'navbar';
9
+ @import 'styles';
10
+ @import 'browser';
11
+ @import 'mu-file-browser';
@@ -0,0 +1,245 @@
1
+ //
2
+ // Checkboxes
3
+ // --------------------------------------------------
4
+
5
+
6
+ $font-family-icon: 'FontAwesome' !default;
7
+ $fa-var-check: "\f00c" !default;
8
+ $check-icon: $fa-var-check !default;
9
+
10
+ @mixin checkbox-variant($parent, $color) {
11
+ #{$parent} input[type="checkbox"]:checked + label,
12
+ #{$parent} input[type="radio"]:checked + label {
13
+ &::before {
14
+ background-color: $color;
15
+ border-color: $color;
16
+ }
17
+ &::after{
18
+ color: #fff;
19
+ }
20
+ }
21
+ }
22
+
23
+ @mixin checkbox-variant-indeterminate($parent, $color) {
24
+ #{$parent} input[type="checkbox"]:indeterminate + label,
25
+ #{$parent} input[type="radio"]:indeterminate + label {
26
+ &::before {
27
+ background-color: $color;
28
+ border-color: $color;
29
+ }
30
+ &::after{
31
+ background-color: #fff;
32
+ }
33
+ }
34
+ }
35
+
36
+
37
+
38
+ .checkbox{
39
+ padding-left: 20px;
40
+
41
+ label{
42
+ display: inline-block;
43
+ vertical-align: middle;
44
+ position: relative;
45
+ padding-left: 5px;
46
+
47
+ &::before{
48
+ content: "";
49
+ display: inline-block;
50
+ position: absolute;
51
+ width: 17px;
52
+ height: 17px;
53
+ left: 0;
54
+ margin-left: -20px;
55
+ border: 1px solid $input-border;
56
+ border-radius: 3px;
57
+ background-color: #fff;
58
+ @include transition(border 0.15s ease-in-out, color 0.15s ease-in-out);
59
+ }
60
+
61
+ &::after{
62
+ display: inline-block;
63
+ position: absolute;
64
+ width: 16px;
65
+ height: 16px;
66
+ left: 0;
67
+ top: 0;
68
+ margin-left: -20px;
69
+ padding-left: 3px;
70
+ padding-top: 1px;
71
+ font-size: 11px;
72
+ color: $input-color;
73
+ }
74
+ }
75
+
76
+ input[type="checkbox"],
77
+ input[type="radio"] {
78
+ opacity: 0;
79
+ z-index: 1;
80
+
81
+ &:focus + label::before{
82
+ @include tab-focus();
83
+ }
84
+
85
+ &:checked + label::after{
86
+ font-family: $font-family-icon;
87
+ content: $check-icon;
88
+ }
89
+
90
+ &:indeterminate + label::after{
91
+ display: block;
92
+ content: "";
93
+ width: 10px;
94
+ height: 3px;
95
+ background-color: #555555;
96
+ border-radius: 2px;
97
+ margin-left: -16.5px;
98
+ margin-top: 7px;
99
+ }
100
+
101
+ &:disabled + label{
102
+ opacity: 0.65;
103
+
104
+ &::before{
105
+ background-color: $input-bg-disabled;
106
+ cursor: not-allowed;
107
+ }
108
+ }
109
+
110
+ }
111
+
112
+ &.checkbox-circle label::before{
113
+ border-radius: 50%;
114
+ }
115
+
116
+ &.checkbox-inline{
117
+ margin-top: 0;
118
+ }
119
+ }
120
+
121
+ @include checkbox-variant('.checkbox-primary', $brand-primary);
122
+ @include checkbox-variant('.checkbox-danger', $brand-danger);
123
+ @include checkbox-variant('.checkbox-info', $brand-info);
124
+ @include checkbox-variant('.checkbox-warning', $brand-warning);
125
+ @include checkbox-variant('.checkbox-success', $brand-success);
126
+
127
+
128
+ @include checkbox-variant-indeterminate('.checkbox-primary', $brand-primary);
129
+ @include checkbox-variant-indeterminate('.checkbox-danger', $brand-danger);
130
+ @include checkbox-variant-indeterminate('.checkbox-info', $brand-info);
131
+ @include checkbox-variant-indeterminate('.checkbox-warning', $brand-warning);
132
+ @include checkbox-variant-indeterminate('.checkbox-success', $brand-success);
133
+
134
+ //
135
+ // Radios
136
+ // --------------------------------------------------
137
+
138
+ @mixin radio-variant($parent, $color) {
139
+ #{$parent} input[type="radio"]{
140
+ + label{
141
+ &::after{
142
+ background-color: $color;
143
+ }
144
+ }
145
+ &:checked + label{
146
+ &::before {
147
+ border-color: $color;
148
+ }
149
+ &::after{
150
+ background-color: $color;
151
+ }
152
+ }
153
+ }
154
+ }
155
+
156
+ .radio{
157
+ padding-left: 20px;
158
+
159
+ label{
160
+ display: inline-block;
161
+ vertical-align: middle;
162
+ position: relative;
163
+ padding-left: 5px;
164
+
165
+ &::before{
166
+ content: "";
167
+ display: inline-block;
168
+ position: absolute;
169
+ width: 17px;
170
+ height: 17px;
171
+ left: 0;
172
+ margin-left: -20px;
173
+ border: 1px solid $input-border;
174
+ border-radius: 50%;
175
+ background-color: #fff;
176
+ @include transition(border 0.15s ease-in-out);
177
+ }
178
+
179
+ &::after{
180
+ display: inline-block;
181
+ position: absolute;
182
+ content: " ";
183
+ width: 11px;
184
+ height: 11px;
185
+ left: 3px;
186
+ top: 3px;
187
+ margin-left: -20px;
188
+ border-radius: 50%;
189
+ background-color: $input-color;
190
+ @include scale(0, 0);
191
+
192
+ @include transition-transform(.1s cubic-bezier(.8,-0.33,.2,1.33));
193
+ //curve - http://cubic-bezier.com/#.8,-0.33,.2,1.33
194
+ }
195
+ }
196
+
197
+ input[type="radio"]{
198
+ opacity: 0;
199
+ z-index: 1;
200
+
201
+ &:focus + label::before{
202
+ @include tab-focus();
203
+ }
204
+
205
+ &:checked + label::after{
206
+ @include scale(1, 1);
207
+ }
208
+
209
+ &:disabled + label{
210
+ opacity: 0.65;
211
+
212
+ &::before{
213
+ cursor: not-allowed;
214
+ }
215
+ }
216
+
217
+ }
218
+
219
+ &.radio-inline{
220
+ margin-top: 0;
221
+ }
222
+ }
223
+
224
+ @include radio-variant('.radio-primary', $brand-primary);
225
+ @include radio-variant('.radio-danger', $brand-danger);
226
+ @include radio-variant('.radio-info', $brand-info);
227
+ @include radio-variant('.radio-warning', $brand-warning);
228
+ @include radio-variant('.radio-success', $brand-success);
229
+
230
+
231
+ input[type="checkbox"],
232
+ input[type="radio"] {
233
+ &.styled:checked + label:after {
234
+ font-family: $font-family-icon;
235
+ content: $check-icon;
236
+ }
237
+ .styled:checked + label {
238
+ &::before {
239
+ color: #fff;
240
+ }
241
+ &::after {
242
+ color: #fff;
243
+ }
244
+ }
245
+ }
@@ -0,0 +1,3 @@
1
+ $icon-font-path: '../bower_components/bootstrap-sass-official/assets/fonts/bootstrap/';
2
+
3
+ @import "../bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap";
@@ -0,0 +1,6 @@
1
+ @import "../bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/variables";
2
+ @import "../bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins";
3
+
4
+ @import "../bower_components/Font-Awesome/scss/variables";
5
+
6
+ @import "../awesome-bootstrap-checkbox.scss";
@@ -0,0 +1,9 @@
1
+ @function twbs-font-path($path) {
2
+ @return font-url($path, true);
3
+ }
4
+
5
+ @function twbs-image-path($path) {
6
+ @return image-url($path, true);
7
+ }
8
+
9
+ $bootstrap-sass-asset-helper: true;
@@ -0,0 +1,19 @@
1
+ // Mincer asset helper functions
2
+ //
3
+ // This must be imported into a .css.ejs.scss file.
4
+ // Then, <% %>-interpolations will be parsed as strings by Sass, and evaluated by EJS after Sass compilation.
5
+
6
+
7
+ @function twbs-font-path($path) {
8
+ // do something like following
9
+ // from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>"
10
+ // from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>"
11
+ // or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>"
12
+ @return "<%- asset_path("#{$path}".replace(/[#?].*$/, '')) + "#{$path}".replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
13
+ }
14
+
15
+ @function twbs-image-path($file) {
16
+ @return "<%- asset_path("#{$file}") %>";
17
+ }
18
+
19
+ $bootstrap-sass-asset-helper: true;
@@ -0,0 +1,9 @@
1
+ @function twbs-font-path($path) {
2
+ @return font-path($path);
3
+ }
4
+
5
+ @function twbs-image-path($path) {
6
+ @return image-path($path);
7
+ }
8
+
9
+ $bootstrap-sass-asset-helper: true;
@@ -0,0 +1,56 @@
1
+ /*!
2
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
3
+ * Copyright 2011-2016 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ // Core variables and mixins
8
+ @import "bootstrap/variables";
9
+ @import "bootstrap/mixins";
10
+
11
+ // Reset and dependencies
12
+ @import "bootstrap/normalize";
13
+ @import "bootstrap/print";
14
+ @import "bootstrap/glyphicons";
15
+
16
+ // Core CSS
17
+ @import "bootstrap/scaffolding";
18
+ @import "bootstrap/type";
19
+ @import "bootstrap/code";
20
+ @import "bootstrap/grid";
21
+ @import "bootstrap/tables";
22
+ @import "bootstrap/forms";
23
+ @import "bootstrap/buttons";
24
+
25
+ // Components
26
+ @import "bootstrap/component-animations";
27
+ @import "bootstrap/dropdowns";
28
+ @import "bootstrap/button-groups";
29
+ @import "bootstrap/input-groups";
30
+ @import "bootstrap/navs";
31
+ @import "bootstrap/navbar";
32
+ @import "bootstrap/breadcrumbs";
33
+ @import "bootstrap/pagination";
34
+ @import "bootstrap/pager";
35
+ @import "bootstrap/labels";
36
+ @import "bootstrap/badges";
37
+ @import "bootstrap/jumbotron";
38
+ @import "bootstrap/thumbnails";
39
+ @import "bootstrap/alerts";
40
+ @import "bootstrap/progress-bars";
41
+ @import "bootstrap/media";
42
+ @import "bootstrap/list-group";
43
+ @import "bootstrap/panels";
44
+ @import "bootstrap/responsive-embed";
45
+ @import "bootstrap/wells";
46
+ @import "bootstrap/close";
47
+
48
+ // Components w/ JavaScript
49
+ @import "bootstrap/modals";
50
+ @import "bootstrap/tooltip";
51
+ @import "bootstrap/popovers";
52
+ @import "bootstrap/carousel";
53
+
54
+ // Utility classes
55
+ @import "bootstrap/utilities";
56
+ @import "bootstrap/responsive-utilities";
@@ -0,0 +1,73 @@
1
+ //
2
+ // Alerts
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base styles
7
+ // -------------------------
8
+
9
+ .alert {
10
+ padding: $alert-padding;
11
+ margin-bottom: $line-height-computed;
12
+ border: 1px solid transparent;
13
+ border-radius: $alert-border-radius;
14
+
15
+ // Headings for larger alerts
16
+ h4 {
17
+ margin-top: 0;
18
+ // Specified for the h4 to prevent conflicts of changing $headings-color
19
+ color: inherit;
20
+ }
21
+
22
+ // Provide class for links that match alerts
23
+ .alert-link {
24
+ font-weight: $alert-link-font-weight;
25
+ }
26
+
27
+ // Improve alignment and spacing of inner content
28
+ > p,
29
+ > ul {
30
+ margin-bottom: 0;
31
+ }
32
+
33
+ > p + p {
34
+ margin-top: 5px;
35
+ }
36
+ }
37
+
38
+ // Dismissible alerts
39
+ //
40
+ // Expand the right padding and account for the close button's positioning.
41
+
42
+ .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
43
+ .alert-dismissible {
44
+ padding-right: ($alert-padding + 20);
45
+
46
+ // Adjust close link position
47
+ .close {
48
+ position: relative;
49
+ top: -2px;
50
+ right: -21px;
51
+ color: inherit;
52
+ }
53
+ }
54
+
55
+ // Alternate styles
56
+ //
57
+ // Generate contextual modifier classes for colorizing the alert.
58
+
59
+ .alert-success {
60
+ @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
61
+ }
62
+
63
+ .alert-info {
64
+ @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
65
+ }
66
+
67
+ .alert-warning {
68
+ @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
69
+ }
70
+
71
+ .alert-danger {
72
+ @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
73
+ }
@@ -0,0 +1,68 @@
1
+ //
2
+ // Badges
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ .badge {
8
+ display: inline-block;
9
+ min-width: 10px;
10
+ padding: 3px 7px;
11
+ font-size: $font-size-small;
12
+ font-weight: $badge-font-weight;
13
+ color: $badge-color;
14
+ line-height: $badge-line-height;
15
+ vertical-align: middle;
16
+ white-space: nowrap;
17
+ text-align: center;
18
+ background-color: $badge-bg;
19
+ border-radius: $badge-border-radius;
20
+
21
+ // Empty badges collapse automatically (not available in IE8)
22
+ &:empty {
23
+ display: none;
24
+ }
25
+
26
+ // Quick fix for badges in buttons
27
+ .btn & {
28
+ position: relative;
29
+ top: -1px;
30
+ }
31
+
32
+ .btn-xs &,
33
+ .btn-group-xs > .btn & {
34
+ top: 0;
35
+ padding: 1px 5px;
36
+ }
37
+
38
+ // [converter] extracted a& to a.badge
39
+
40
+ // Account for badges in navs
41
+ .list-group-item.active > &,
42
+ .nav-pills > .active > a > & {
43
+ color: $badge-active-color;
44
+ background-color: $badge-active-bg;
45
+ }
46
+
47
+ .list-group-item > & {
48
+ float: right;
49
+ }
50
+
51
+ .list-group-item > & + & {
52
+ margin-right: 5px;
53
+ }
54
+
55
+ .nav-pills > li > a > & {
56
+ margin-left: 3px;
57
+ }
58
+ }
59
+
60
+ // Hover state, but only for links
61
+ a.badge {
62
+ &:hover,
63
+ &:focus {
64
+ color: $badge-link-hover-color;
65
+ text-decoration: none;
66
+ cursor: pointer;
67
+ }
68
+ }
@@ -0,0 +1,28 @@
1
+ //
2
+ // Breadcrumbs
3
+ // --------------------------------------------------
4
+
5
+
6
+ .breadcrumb {
7
+ padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
8
+ margin-bottom: $line-height-computed;
9
+ list-style: none;
10
+ background-color: $breadcrumb-bg;
11
+ border-radius: $border-radius-base;
12
+
13
+ > li {
14
+ display: inline-block;
15
+
16
+ + li:before {
17
+ // [converter] Workaround for https://github.com/sass/libsass/issues/1115
18
+ $nbsp: "\00a0";
19
+ content: "#{$breadcrumb-separator}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space
20
+ padding: 0 5px;
21
+ color: $breadcrumb-color;
22
+ }
23
+ }
24
+
25
+ > .active {
26
+ color: $breadcrumb-active-color;
27
+ }
28
+ }