magic_stylez 0.0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/Gemfile +14 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.md +33 -0
  6. data/Rakefile +32 -0
  7. data/lib/magic_stylez/engine.rb +10 -0
  8. data/lib/magic_stylez/version.rb +3 -0
  9. data/lib/magic_stylez.rb +53 -0
  10. data/lib/tasks/magic_stylez_tasks.rake +4 -0
  11. data/magic_stylez.gemspec +38 -0
  12. data/test/dummy/README.rdoc +28 -0
  13. data/test/dummy/Rakefile +6 -0
  14. data/test/dummy/app/assets/images/.keep +0 -0
  15. data/test/dummy/app/assets/javascripts/application.js +15 -0
  16. data/test/dummy/app/assets/javascripts/views/app/start.jst.eco +71 -0
  17. data/test/dummy/app/assets/javascripts/views/effects/reflections.jst.eco +70 -0
  18. data/test/dummy/app/assets/javascripts/views/effects/shadows.jst.eco +1528 -0
  19. data/test/dummy/app/assets/javascripts/views/elements/arrow_infos.jst.eco +46 -0
  20. data/test/dummy/app/assets/javascripts/views/layout/corset.jst.eco +27 -0
  21. data/test/dummy/app/assets/javascripts/views/layout/fullpage_table.jst.eco +76 -0
  22. data/test/dummy/app/assets/javascripts/views/layout/section.jst.eco +109 -0
  23. data/test/dummy/app/assets/javascripts/views/layout/slide_boxes.jst.eco +33 -0
  24. data/test/dummy/app/assets/stylesheets/application.css.scss +180 -0
  25. data/test/dummy/app/controllers/application_controller.rb +6 -0
  26. data/test/dummy/app/controllers/concerns/.keep +0 -0
  27. data/test/dummy/app/controllers/front_controller.rb +7 -0
  28. data/test/dummy/app/helpers/application_helper.rb +2 -0
  29. data/test/dummy/app/mailers/.keep +0 -0
  30. data/test/dummy/app/models/.keep +0 -0
  31. data/test/dummy/app/models/concerns/.keep +0 -0
  32. data/test/dummy/app/views/front/_aside.html.erb +36 -0
  33. data/test/dummy/app/views/front/start.html.erb +77 -0
  34. data/test/dummy/app/views/layouts/application.html.erb +24 -0
  35. data/test/dummy/bin/bundle +3 -0
  36. data/test/dummy/bin/rails +4 -0
  37. data/test/dummy/bin/rake +4 -0
  38. data/test/dummy/config/application.rb +32 -0
  39. data/test/dummy/config/boot.rb +5 -0
  40. data/test/dummy/config/database.yml +25 -0
  41. data/test/dummy/config/environment.rb +5 -0
  42. data/test/dummy/config/environments/development.rb +49 -0
  43. data/test/dummy/config/environments/production.rb +88 -0
  44. data/test/dummy/config/environments/test.rb +39 -0
  45. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  46. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  47. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/test/dummy/config/initializers/inflections.rb +16 -0
  49. data/test/dummy/config/initializers/mime_types.rb +4 -0
  50. data/test/dummy/config/initializers/session_store.rb +3 -0
  51. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  52. data/test/dummy/config/locales/en.yml +23 -0
  53. data/test/dummy/config/routes.rb +61 -0
  54. data/test/dummy/config/secrets.yml +20 -0
  55. data/test/dummy/config.ru +4 -0
  56. data/test/dummy/lib/assets/.keep +0 -0
  57. data/test/dummy/log/.keep +0 -0
  58. data/test/dummy/public/404.html +67 -0
  59. data/test/dummy/public/422.html +67 -0
  60. data/test/dummy/public/500.html +66 -0
  61. data/test/dummy/public/favicon.ico +0 -0
  62. data/test/dummy/public/xindex.html +135 -0
  63. data/test/magic_stylez_test.rb +7 -0
  64. data/test/test_helper.rb +21 -0
  65. data/vendor/assets/filter/magic/filter.svg +10 -0
  66. data/vendor/assets/filter/magic/noise.svg +70 -0
  67. data/vendor/assets/fonts/magic/magicons-regular-webfont.eot +0 -0
  68. data/vendor/assets/fonts/magic/magicons-regular-webfont.svg +461 -0
  69. data/vendor/assets/fonts/magic/magicons-regular-webfont.ttf +0 -0
  70. data/vendor/assets/fonts/magic/magicons-regular-webfont.woff +0 -0
  71. data/vendor/assets/fonts/magic/orderlifticons-webfont.eot +0 -0
  72. data/vendor/assets/fonts/magic/orderlifticons-webfont.svg +172 -0
  73. data/vendor/assets/fonts/magic/orderlifticons-webfont.ttf +0 -0
  74. data/vendor/assets/fonts/magic/orderlifticons-webfont.woff +0 -0
  75. data/vendor/assets/images/magic/arrows/arrow-round1-a.png +0 -0
  76. data/vendor/assets/images/magic/arrows/arrow-round1-b.png +0 -0
  77. data/vendor/assets/images/magic/arrows/arrow-round2-a.png +0 -0
  78. data/vendor/assets/images/magic/arrows/arrow-round2-b.png +0 -0
  79. data/vendor/assets/images/magic/arrows/arrow1-a.png +0 -0
  80. data/vendor/assets/images/magic/arrows/arrow1-b.png +0 -0
  81. data/vendor/assets/images/magic/arrows/arrow1.png +0 -0
  82. data/vendor/assets/images/magic/arrows/arrow2-1.png +0 -0
  83. data/vendor/assets/images/magic/arrows/arrow2-2.png +0 -0
  84. data/vendor/assets/images/magic/arrows/arrow2-a.png +0 -0
  85. data/vendor/assets/images/magic/arrows/arrow2-b.png +0 -0
  86. data/vendor/assets/images/magic/arrows/arrow3-a.png +0 -0
  87. data/vendor/assets/images/magic/arrows/arrow3-b.png +0 -0
  88. data/vendor/assets/images/magic/arrows/arrow4-a.png +0 -0
  89. data/vendor/assets/images/magic/arrows/arrow4-b.png +0 -0
  90. data/vendor/assets/images/magic/arrows/arrow5-a.png +0 -0
  91. data/vendor/assets/images/magic/arrows/arrow5-b.png +0 -0
  92. data/vendor/assets/images/magic/arrows/arrow6-a.png +0 -0
  93. data/vendor/assets/images/magic/arrows/arrow6-b.png +0 -0
  94. data/vendor/assets/images/magic/bgs/hdr_landsberger.jpg +0 -0
  95. data/vendor/assets/images/magic/bgs/rain-flower.jpg +0 -0
  96. data/vendor/assets/images/magic/bgs/seucide.jpg +0 -0
  97. data/vendor/assets/javascripts/magic/render_eco.js.coffee +9 -0
  98. data/vendor/assets/javascripts/magic-stylez.js.coffee +49 -0
  99. data/vendor/assets/stylesheets/magic/_animation.scss +3 -0
  100. data/vendor/assets/stylesheets/magic/_forms.scss +42 -0
  101. data/vendor/assets/stylesheets/magic/_text.scss +41 -0
  102. data/vendor/assets/stylesheets/magic/content/_banner.scss +77 -0
  103. data/vendor/assets/stylesheets/magic/corporate/_colors.scss +244 -0
  104. data/vendor/assets/stylesheets/magic/corporate/_fonts.scss +152 -0
  105. data/vendor/assets/stylesheets/magic/corporate/_typo.scss +57 -0
  106. data/vendor/assets/stylesheets/magic/corporate/_variables.scss +636 -0
  107. data/vendor/assets/stylesheets/magic/effects/_reflections.scss +52 -0
  108. data/vendor/assets/stylesheets/magic/effects/_shadows.scss +255 -0
  109. data/vendor/assets/stylesheets/magic/icons/magicons.scss +706 -0
  110. data/vendor/assets/stylesheets/magic/icons/orderlifticons.scss +258 -0
  111. data/vendor/assets/stylesheets/magic/layout/_corset.scss +60 -0
  112. data/vendor/assets/stylesheets/magic/layout/_fullpage_table.scss +176 -0
  113. data/vendor/assets/stylesheets/magic/layout/_section.scss +126 -0
  114. data/vendor/assets/stylesheets/magic/layout/_tables.scss +513 -0
  115. data/vendor/assets/stylesheets/magic/lib/_cross_browser.scss +51 -0
  116. data/vendor/assets/stylesheets/magic/lib/_media_querries.scss +59 -0
  117. data/vendor/assets/stylesheets/magic/lib/_twbs.scss +55 -0
  118. data/vendor/assets/stylesheets/magic/lists/_nav.scss +207 -0
  119. data/vendor/assets/stylesheets/magic-stylez.scss +140 -0
  120. metadata +397 -0
@@ -0,0 +1,636 @@
1
+ // a flag to toggle asset pipeline / compass integration
2
+ // defaults to true if twbs-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
3
+ // in Sass 3.3 this can be improved with: function-exists(twbs-font-path)
4
+ $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
5
+ $magic-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
6
+ //
7
+ // Variables
8
+ // --------------------------------------------------
9
+
10
+
11
+ //== Iconography
12
+ //
13
+ //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
14
+
15
+ //** Load fonts from this directory.
16
+ $icon-font-path: "bootstrap/" !default;
17
+ //** File name for all font files.
18
+ $icon-font-name: "glyphicons-halflings-regular" !default;
19
+ //** Element ID within SVG icon file.
20
+ $icon-font-svg-id: "glyphicons_halflingsregular" !default;
21
+
22
+
23
+ //== Components
24
+ //
25
+ //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
26
+
27
+ $padding-base-vertical: 6px !default;
28
+ $padding-base-horizontal: 12px !default;
29
+
30
+ $padding-large-vertical: 10px !default;
31
+ $padding-large-horizontal: 16px !default;
32
+
33
+ $padding-small-vertical: 5px !default;
34
+ $padding-small-horizontal: 10px !default;
35
+
36
+ $padding-xs-vertical: 1px !default;
37
+ $padding-xs-horizontal: 5px !default;
38
+
39
+ $line-height-large: 1.33 !default;
40
+ $line-height-small: 1.5 !default;
41
+
42
+ $border-radius-base: 4px !default;
43
+ $border-radius-large: 6px !default;
44
+ $border-radius-small: 3px !default;
45
+
46
+
47
+ //** Width of the `border` for generating carets that indicator dropdowns.
48
+ $caret-width-base: 4px !default;
49
+ //** Carets increase slightly in size for larger components.
50
+ $caret-width-large: 5px !default;
51
+
52
+
53
+ //== Tables
54
+ //
55
+ //## Customizes the `.table` component with basic values, each used across all table variations.
56
+
57
+ //** Padding for `<th>`s and `<td>`s.
58
+ $table-cell-padding: 8px !default;
59
+ //** Padding for cells in `.table-condensed`.
60
+ $table-condensed-cell-padding: 5px !default;
61
+
62
+
63
+ //== Forms
64
+ //
65
+ //##
66
+ //** `<input>` border radius
67
+ $input-border-radius: $border-radius-base !default;
68
+ //** Default `.form-control` height
69
+ $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
70
+ //** Large `.form-control` height
71
+ $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
72
+ //** Small `.form-control` height
73
+ $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
74
+
75
+
76
+
77
+ //-- Z-index master list
78
+ //
79
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
80
+ // of components dependent on the z-axis and are designed to all work together.
81
+ //
82
+ // Note: These variables are not generated into the Customizer.
83
+
84
+ $zindex-navbar: 1000 !default;
85
+ $zindex-dropdown: 1000 !default;
86
+ $zindex-popover: 1060 !default;
87
+ $zindex-tooltip: 1070 !default;
88
+ $zindex-navbar-fixed: 1030 !default;
89
+ $zindex-modal-background: 1040 !default;
90
+ $zindex-modal: 1050 !default;
91
+
92
+
93
+ //== Media queries breakpoints
94
+ //
95
+ //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
96
+
97
+ // Extra small screen / phone
98
+ //** Deprecated `$screen-xs` as of v3.0.1
99
+ $screen-xs: 480px !default;
100
+ //** Deprecated `$screen-xs-min` as of v3.2.0
101
+ $screen-xs-min: $screen-xs !default;
102
+ //** Deprecated `$screen-phone` as of v3.0.1
103
+ $screen-phone: $screen-xs-min !default;
104
+
105
+ // Small screen / tablet
106
+ //** Deprecated `$screen-sm` as of v3.0.1
107
+ $screen-sm: 768px !default;
108
+ $screen-sm-min: $screen-sm !default;
109
+ //** Deprecated `$screen-tablet` as of v3.0.1
110
+ $screen-tablet: $screen-sm-min !default;
111
+
112
+ // Medium screen / desktop
113
+ //** Deprecated `$screen-md` as of v3.0.1
114
+ $screen-md: 992px !default;
115
+ $screen-md-min: $screen-md !default;
116
+ //** Deprecated `$screen-desktop` as of v3.0.1
117
+ $screen-desktop: $screen-md-min !default;
118
+
119
+ // Large screen / wide desktop
120
+ //** Deprecated `$screen-lg` as of v3.0.1
121
+ $screen-lg: 1200px !default;
122
+ $screen-lg-min: $screen-lg !default;
123
+ //** Deprecated `$screen-lg-desktop` as of v3.0.1
124
+ $screen-lg-desktop: $screen-lg-min !default;
125
+
126
+ // So media queries don't overlap when required, provide a maximum
127
+ $screen-xs-max: ($screen-sm-min - 1) !default;
128
+ $screen-sm-max: ($screen-md-min - 1) !default;
129
+ $screen-md-max: ($screen-lg-min - 1) !default;
130
+
131
+
132
+ //== Grid system
133
+ //
134
+ //## Define your custom responsive grid.
135
+
136
+ //** Number of columns in the grid.
137
+ $grid-columns: 12 !default;
138
+ //** Padding between columns. Gets divided in half for the left and right.
139
+ $grid-gutter-width: 30px !default;
140
+ // Navbar collapse
141
+ //** Point at which the navbar becomes uncollapsed.
142
+ $grid-float-breakpoint: $screen-sm-min !default;
143
+ //** Point at which the navbar begins collapsing.
144
+ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
145
+
146
+
147
+ //== Container sizes
148
+ //
149
+ //## Define the maximum width of `.container` for different screen sizes.
150
+
151
+ // Small screen / tablet
152
+ $container-tablet: ((720px + $grid-gutter-width)) !default;
153
+ //** For `$screen-sm-min` and up.
154
+ $container-sm: $container-tablet !default;
155
+
156
+ // Medium screen / desktop
157
+ $container-desktop: ((940px + $grid-gutter-width)) !default;
158
+ //** For `$screen-md-min` and up.
159
+ $container-md: $container-desktop !default;
160
+
161
+ // Large screen / wide desktop
162
+ $container-large-desktop: ((1140px + $grid-gutter-width)) !default;
163
+ //** For `$screen-lg-min` and up.
164
+ $container-lg: $container-large-desktop !default;
165
+
166
+
167
+ //== Navbar
168
+ //
169
+ //##
170
+
171
+ // Basics of a navbar
172
+ $navbar-height: 50px !default;
173
+ $navbar-margin-bottom: $line-height-computed !default;
174
+ $navbar-border-radius: $border-radius-base !default;
175
+ $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
176
+ $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
177
+ $navbar-collapse-max-height: 340px !default;
178
+
179
+
180
+
181
+
182
+ //== Navs
183
+ //
184
+ //##
185
+
186
+ //=== Shared nav styles
187
+ $nav-link-padding: 10px 15px !default;
188
+ $nav-link-hover-bg: $gray-lighter !default;
189
+
190
+ $nav-disabled-link-color: $gray-light !default;
191
+ $nav-disabled-link-hover-color: $gray-light !default;
192
+
193
+ $nav-open-link-hover-color: #fff !default;
194
+
195
+ //== Tabs
196
+ $nav-tabs-border-color: #ddd !default;
197
+
198
+ $nav-tabs-link-hover-border-color: $gray-lighter !default;
199
+
200
+ $nav-tabs-active-link-hover-bg: $body-bg !default;
201
+ $nav-tabs-active-link-hover-color: $gray !default;
202
+ $nav-tabs-active-link-hover-border-color: #ddd !default;
203
+
204
+ $nav-tabs-justified-link-border-color: #ddd !default;
205
+ $nav-tabs-justified-active-link-border-color: $body-bg !default;
206
+
207
+ //== Pills
208
+ $nav-pills-border-radius: $border-radius-base !default;
209
+ $nav-pills-active-link-hover-bg: $component-active-bg !default;
210
+ $nav-pills-active-link-hover-color: $component-active-color !default;
211
+
212
+
213
+ //== Pagination
214
+ //
215
+ //##
216
+
217
+ $pagination-color: $link-color !default;
218
+ $pagination-bg: #fff !default;
219
+ $pagination-border: #ddd !default;
220
+
221
+ $pagination-hover-color: $link-hover-color !default;
222
+ $pagination-hover-bg: $gray-lighter !default;
223
+ $pagination-hover-border: #ddd !default;
224
+
225
+ $pagination-active-color: #fff !default;
226
+ $pagination-active-bg: $brand-primary !default;
227
+ $pagination-active-border: $brand-primary !default;
228
+
229
+ $pagination-disabled-color: $gray-light !default;
230
+ $pagination-disabled-bg: #fff !default;
231
+ $pagination-disabled-border: #ddd !default;
232
+
233
+
234
+ //== Pager
235
+ //
236
+ //##
237
+
238
+ $pager-bg: $pagination-bg !default;
239
+ $pager-border: $pagination-border !default;
240
+ $pager-border-radius: 15px !default;
241
+
242
+ $pager-hover-bg: $pagination-hover-bg !default;
243
+
244
+ $pager-active-bg: $pagination-active-bg !default;
245
+ $pager-active-color: $pagination-active-color !default;
246
+
247
+ $pager-disabled-color: $pagination-disabled-color !default;
248
+
249
+
250
+ //== Jumbotron
251
+ //
252
+ //##
253
+
254
+ $jumbotron-padding: 30px !default;
255
+ $jumbotron-color: inherit !default;
256
+ $jumbotron-bg: $gray-lighter !default;
257
+ $jumbotron-heading-color: inherit !default;
258
+ $jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
259
+
260
+
261
+ //== Form states and alerts
262
+ //
263
+ //## Define colors for form feedback states and, by default, alerts.
264
+
265
+ $state-success-text: #3c763d !default;
266
+ $state-success-bg: #dff0d8 !default;
267
+ $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
268
+
269
+ $state-info-text: #31708f !default;
270
+ $state-info-bg: #d9edf7 !default;
271
+ $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
272
+
273
+ $state-warning-text: #8a6d3b !default;
274
+ $state-warning-bg: #fcf8e3 !default;
275
+ $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
276
+
277
+ $state-danger-text: #a94442 !default;
278
+ $state-danger-bg: #f2dede !default;
279
+ $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
280
+
281
+
282
+ //== Tooltips
283
+ //
284
+ //##
285
+
286
+ //** Tooltip max width
287
+ $tooltip-max-width: 200px !default;
288
+ //** Tooltip text color
289
+ $tooltip-color: #fff !default;
290
+ //** Tooltip background color
291
+ $tooltip-bg: #000 !default;
292
+ $tooltip-opacity: .9 !default;
293
+
294
+ //** Tooltip arrow width
295
+ $tooltip-arrow-width: 5px !default;
296
+ //** Tooltip arrow color
297
+ $tooltip-arrow-color: $tooltip-bg !default;
298
+
299
+
300
+ //== Popovers
301
+ //
302
+ //##
303
+
304
+ //** Popover body background color
305
+ $popover-bg: #fff !default;
306
+ //** Popover maximum width
307
+ $popover-max-width: 276px !default;
308
+ //** Popover border color
309
+ $popover-border-color: rgba(0,0,0,.2) !default;
310
+ //** Popover fallback border color
311
+ $popover-fallback-border-color: #ccc !default;
312
+
313
+ //** Popover title background color
314
+ $popover-title-bg: darken($popover-bg, 3%) !default;
315
+
316
+ //** Popover arrow width
317
+ $popover-arrow-width: 10px !default;
318
+ //** Popover arrow color
319
+ $popover-arrow-color: #fff !default;
320
+
321
+ //** Popover outer arrow width
322
+ $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
323
+ //** Popover outer arrow color
324
+ $popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
325
+ //** Popover outer arrow fallback color
326
+ $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
327
+
328
+
329
+ //== Labels
330
+ //
331
+ //##
332
+
333
+ //** Default label background color
334
+ $label-default-bg: $gray-light !default;
335
+ //** Primary label background color
336
+ $label-primary-bg: $brand-primary !default;
337
+ //** Success label background color
338
+ $label-success-bg: $brand-success !default;
339
+ //** Info label background color
340
+ $label-info-bg: $brand-info !default;
341
+ //** Warning label background color
342
+ $label-warning-bg: $brand-warning !default;
343
+ //** Danger label background color
344
+ $label-danger-bg: $brand-danger !default;
345
+
346
+ //** Default label text color
347
+ $label-color: #fff !default;
348
+ //** Default text color of a linked label
349
+ $label-link-hover-color: #fff !default;
350
+
351
+
352
+ //== Modals
353
+ //
354
+ //##
355
+
356
+ //** Padding applied to the modal body
357
+ $modal-inner-padding: 15px !default;
358
+
359
+ //** Padding applied to the modal title
360
+ $modal-title-padding: 15px !default;
361
+ //** Modal title line-height
362
+ $modal-title-line-height: $line-height-base !default;
363
+
364
+ //** Background color of modal content area
365
+ $modal-content-bg: #fff !default;
366
+ //** Modal content border color
367
+ $modal-content-border-color: rgba(0,0,0,.2) !default;
368
+ //** Modal content border color **for IE8**
369
+ $modal-content-fallback-border-color: #999 !default;
370
+
371
+ //** Modal backdrop background color
372
+ $modal-backdrop-bg: #000 !default;
373
+ //** Modal backdrop opacity
374
+ $modal-backdrop-opacity: .5 !default;
375
+ //** Modal header border color
376
+ $modal-header-border-color: #e5e5e5 !default;
377
+ //** Modal footer border color
378
+ $modal-footer-border-color: $modal-header-border-color !default;
379
+
380
+ $modal-lg: 900px !default;
381
+ $modal-md: 600px !default;
382
+ $modal-sm: 300px !default;
383
+
384
+
385
+ //== Alerts
386
+ //
387
+ //## Define alert colors, border radius, and padding.
388
+
389
+ $alert-padding: 15px !default;
390
+ $alert-border-radius: $border-radius-base !default;
391
+ $alert-link-font-weight: bold !default;
392
+
393
+ $alert-success-bg: $state-success-bg !default;
394
+ $alert-success-text: $state-success-text !default;
395
+ $alert-success-border: $state-success-border !default;
396
+
397
+ $alert-info-bg: $state-info-bg !default;
398
+ $alert-info-text: $state-info-text !default;
399
+ $alert-info-border: $state-info-border !default;
400
+
401
+ $alert-warning-bg: $state-warning-bg !default;
402
+ $alert-warning-text: $state-warning-text !default;
403
+ $alert-warning-border: $state-warning-border !default;
404
+
405
+ $alert-danger-bg: $state-danger-bg !default;
406
+ $alert-danger-text: $state-danger-text !default;
407
+ $alert-danger-border: $state-danger-border !default;
408
+
409
+
410
+ //== Progress bars
411
+ //
412
+ //##
413
+
414
+ //** Background color of the whole progress component
415
+ $progress-bg: #f5f5f5 !default;
416
+ //** Progress bar text color
417
+ $progress-bar-color: #fff !default;
418
+
419
+ //** Default progress bar color
420
+ $progress-bar-bg: $brand-primary !default;
421
+ //** Success progress bar color
422
+ $progress-bar-success-bg: $brand-success !default;
423
+ //** Warning progress bar color
424
+ $progress-bar-warning-bg: $brand-warning !default;
425
+ //** Danger progress bar color
426
+ $progress-bar-danger-bg: $brand-danger !default;
427
+ //** Info progress bar color
428
+ $progress-bar-info-bg: $brand-info !default;
429
+
430
+
431
+ //== List group
432
+ //
433
+ //##
434
+
435
+ //** Background color on `.list-group-item`
436
+ $list-group-bg: #fff !default;
437
+ //** `.list-group-item` border color
438
+ $list-group-border: #ddd !default;
439
+ //** List group border radius
440
+ $list-group-border-radius: $border-radius-base !default;
441
+
442
+ //** Background color of single list items on hover
443
+ $list-group-hover-bg: #f5f5f5 !default;
444
+ //** Text color of active list items
445
+ $list-group-active-color: $component-active-color !default;
446
+ //** Background color of active list items
447
+ $list-group-active-bg: $component-active-bg !default;
448
+ //** Border color of active list elements
449
+ $list-group-active-border: $list-group-active-bg !default;
450
+ //** Text color for content within active list items
451
+ $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
452
+
453
+ //** Text color of disabled list items
454
+ $list-group-disabled-color: $gray-light !default;
455
+ //** Background color of disabled list items
456
+ $list-group-disabled-bg: $gray-lighter !default;
457
+ //** Text color for content within disabled list items
458
+ $list-group-disabled-text-color: $list-group-disabled-color !default;
459
+
460
+ $list-group-link-color: #555 !default;
461
+ $list-group-link-hover-color: $list-group-link-color !default;
462
+ $list-group-link-heading-color: #333 !default;
463
+
464
+
465
+ //== Panels
466
+ //
467
+ //##
468
+
469
+ $panel-bg: #fff !default;
470
+ $panel-body-padding: 15px !default;
471
+ $panel-heading-padding: 10px 15px !default;
472
+ $panel-footer-padding: $panel-heading-padding !default;
473
+ $panel-border-radius: $border-radius-base !default;
474
+
475
+ //** Border color for elements within panels
476
+ $panel-inner-border: #ddd !default;
477
+ $panel-footer-bg: #f5f5f5 !default;
478
+
479
+ $panel-default-text: $gray-dark !default;
480
+ $panel-default-border: #ddd !default;
481
+ $panel-default-heading-bg: #f5f5f5 !default;
482
+
483
+ $panel-primary-text: #fff !default;
484
+ $panel-primary-border: $brand-primary !default;
485
+ $panel-primary-heading-bg: $brand-primary !default;
486
+
487
+ $panel-success-text: $state-success-text !default;
488
+ $panel-success-border: $state-success-border !default;
489
+ $panel-success-heading-bg: $state-success-bg !default;
490
+
491
+ $panel-info-text: $state-info-text !default;
492
+ $panel-info-border: $state-info-border !default;
493
+ $panel-info-heading-bg: $state-info-bg !default;
494
+
495
+ $panel-warning-text: $state-warning-text !default;
496
+ $panel-warning-border: $state-warning-border !default;
497
+ $panel-warning-heading-bg: $state-warning-bg !default;
498
+
499
+ $panel-danger-text: $state-danger-text !default;
500
+ $panel-danger-border: $state-danger-border !default;
501
+ $panel-danger-heading-bg: $state-danger-bg !default;
502
+
503
+
504
+ //== Thumbnails
505
+ //
506
+ //##
507
+
508
+ //** Padding around the thumbnail image
509
+ $thumbnail-padding: 4px !default;
510
+ //** Thumbnail background color
511
+ $thumbnail-bg: $body-bg !default;
512
+ //** Thumbnail border color
513
+ $thumbnail-border: #ddd !default;
514
+ //** Thumbnail border radius
515
+ $thumbnail-border-radius: $border-radius-base !default;
516
+
517
+ //** Custom text color for thumbnail captions
518
+ $thumbnail-caption-color: $text-color !default;
519
+ //** Padding around the thumbnail caption
520
+ $thumbnail-caption-padding: 9px !default;
521
+
522
+
523
+ //== Wells
524
+ //
525
+ //##
526
+
527
+ $well-bg: #f5f5f5 !default;
528
+ $well-border: darken($well-bg, 7%) !default;
529
+
530
+
531
+ //== Badges
532
+ //
533
+ //##
534
+
535
+ $badge-color: #fff !default;
536
+ //** Linked badge text color on hover
537
+ $badge-link-hover-color: #fff !default;
538
+ $badge-bg: $gray-light !default;
539
+
540
+ //** Badge text color in active nav link
541
+ $badge-active-color: $link-color !default;
542
+ //** Badge background color in active nav link
543
+ $badge-active-bg: #fff !default;
544
+
545
+ $badge-font-weight: bold !default;
546
+ $badge-line-height: 1 !default;
547
+ $badge-border-radius: 10px !default;
548
+
549
+
550
+ //== Breadcrumbs
551
+ //
552
+ //##
553
+
554
+ $breadcrumb-padding-vertical: 8px !default;
555
+ $breadcrumb-padding-horizontal: 15px !default;
556
+ //** Breadcrumb background color
557
+ $breadcrumb-bg: #f5f5f5 !default;
558
+ //** Breadcrumb text color
559
+ $breadcrumb-color: #ccc !default;
560
+ //** Text color of current page in the breadcrumb
561
+ $breadcrumb-active-color: $gray-light !default;
562
+ //** Textual separator for between breadcrumb elements
563
+ $breadcrumb-separator: "/" !default;
564
+
565
+
566
+ //== Carousel
567
+ //
568
+ //##
569
+
570
+ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
571
+
572
+ $carousel-control-color: #fff !default;
573
+ $carousel-control-width: 15% !default;
574
+ $carousel-control-opacity: .5 !default;
575
+ $carousel-control-font-size: 20px !default;
576
+
577
+ $carousel-indicator-active-bg: #fff !default;
578
+ $carousel-indicator-border-color: #fff !default;
579
+
580
+ $carousel-caption-color: #fff !default;
581
+
582
+
583
+ //== Close
584
+ //
585
+ //##
586
+
587
+ $close-font-weight: bold !default;
588
+ $close-color: #000 !default;
589
+ $close-text-shadow: 0 1px 0 #fff !default;
590
+
591
+
592
+ //== Code
593
+ //
594
+ //##
595
+
596
+ $code-color: #c7254e !default;
597
+ $code-bg: #f9f2f4 !default;
598
+
599
+ $kbd-color: #fff !default;
600
+ $kbd-bg: #333 !default;
601
+
602
+ $pre-bg: #f5f5f5 !default;
603
+ $pre-color: $gray-dark !default;
604
+ $pre-border-color: #ccc !default;
605
+ $pre-scrollable-max-height: 340px !default;
606
+
607
+
608
+ //== Type
609
+ //
610
+ //##
611
+
612
+ //** Text muted color
613
+ $text-muted: $gray-light !default;
614
+ //** Abbreviations and acronyms border color
615
+ $abbr-border-color: $gray-light !default;
616
+ //** Headings small color
617
+ $headings-small-color: $gray-light !default;
618
+ //** Blockquote small color
619
+ $blockquote-small-color: $gray-light !default;
620
+ //** Blockquote font size
621
+ $blockquote-font-size: ($font-size-base * 1.25) !default;
622
+ //** Blockquote border color
623
+ $blockquote-border-color: $gray-lighter !default;
624
+ //** Page header border color
625
+ $page-header-border-color: $gray-lighter !default;
626
+
627
+
628
+ //== Miscellaneous
629
+ //
630
+ //##
631
+
632
+ //** Horizontal line color.
633
+ $hr-border: $gray-lighter !default;
634
+
635
+ //** Horizontal offset for forms and lists.
636
+ $component-offset-horizontal: 180px !default;
@@ -0,0 +1,52 @@
1
+ @mixin bottom-reflect( $size: 1px, $blur: 50, $stop: 60 ) {
2
+ $that_gradient: "linear, left top, left bottom, from(transparent), color-stop(0.#{$stop}, transparent), to(rgba(255,255,255,0.#{$blur}))";
3
+ -webkit-box-reflect: below $size -webkit-gradient(#{$that_gradient});
4
+ -moz-box-reflect: below $size -moz-gradient(#{$that_gradient});
5
+ -o-box-reflect: below $size -o-gradient(#{$that_gradient});
6
+ box-reflect: below $size gradient(#{$that_gradient});
7
+ }
8
+
9
+
10
+ .reflection {
11
+ display: block;
12
+ position: absolute;
13
+
14
+ background: inherit;
15
+ border: inherit;
16
+ @include box-shadow( inherit );
17
+ @include border-radius( inherit );
18
+
19
+ z-index: -1;
20
+ margin: 4px 0 0;
21
+ top: 100%;
22
+ // height: 50%;
23
+ height: 130px;
24
+ left: 0; right: 0;
25
+ // -moz-transform: scaleY(-1);
26
+ // -webkit-transform: scaleY(-1);
27
+ // -ms-transform: scaleY(-1);
28
+ // -o-transform: scaleY(-1);
29
+ // transform: scaleY(-1);
30
+ @include transform(scaleY(-1));
31
+ filter: url(assets/filter.svg#blur); /* FF, Opera + IE10*/
32
+ -webkit-filter: blur(2px); /* webkit */
33
+ filter: blur(2px);
34
+ opacity: .50;
35
+ &:after {
36
+ display: block;
37
+ position: absolute;
38
+ content: "";
39
+ top: -5px; bottom: 0;
40
+ left: -5px; right: -5px;
41
+ z-index: 3;
42
+ @include linear-gradient(
43
+ 270deg,
44
+ rgba(233,233,229,1.0) 0%,
45
+ rgba(233,233,229,1.0) 30%,
46
+ rgba(233,233,229,.00) 70%,
47
+ rgba(233,233,229,.00) 100%,
48
+ $fallback: transparent
49
+ );
50
+ }
51
+ }
52
+