bootstrap-generators 2.0.1 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. data/README.md +258 -33
  2. data/Rakefile +0 -59
  3. data/lib/bootstrap/generators/engine.rb +6 -1
  4. data/lib/bootstrap/generators/version.rb +1 -1
  5. data/lib/generators/bootstrap/install/install_generator.rb +10 -2
  6. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.css.scss +120 -15
  7. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.less +206 -0
  8. data/lib/generators/bootstrap/install/templates/assets/stylesheets/fluid.css +2 -0
  9. data/lib/generators/bootstrap/install/templates/assets/stylesheets/fluid.css.less +5 -4
  10. data/lib/generators/bootstrap/install/templates/assets/stylesheets/fluid.css.scss +3 -2
  11. data/lib/generators/bootstrap/install/templates/assets/stylesheets/hero.css +2 -0
  12. data/lib/generators/bootstrap/install/templates/assets/stylesheets/hero.css.less +5 -4
  13. data/lib/generators/bootstrap/install/templates/assets/stylesheets/hero.css.scss +3 -2
  14. data/lib/generators/bootstrap/install/templates/config/initializers/simple_form.rb +3 -0
  15. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.erb +3 -3
  16. data/lib/generators/bootstrap/install/templates/form_builders/form_builder/_form.html.haml +2 -2
  17. data/lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb +1 -1
  18. data/lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml +1 -1
  19. data/test/fixtures/application.js +3 -0
  20. data/test/lib/generators/bootstrap/install_generator_test.rb +4 -3
  21. data/test/test_helper.rb +8 -1
  22. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  23. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  24. data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
  25. data/vendor/assets/javascripts/bootstrap-button.js +29 -33
  26. data/vendor/assets/javascripts/bootstrap-carousel.js +33 -21
  27. data/vendor/assets/javascripts/bootstrap-collapse.js +47 -26
  28. data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
  29. data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
  30. data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
  31. data/vendor/assets/javascripts/bootstrap-scrollspy.js +44 -18
  32. data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
  33. data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
  34. data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
  35. data/vendor/assets/javascripts/bootstrap-typeahead.js +29 -15
  36. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/accordion.less +5 -0
  37. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/alerts.less +2 -14
  38. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/bootstrap.less +2 -2
  39. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/breadcrumbs.less +2 -0
  40. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/button-groups.less +76 -33
  41. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/buttons.less +32 -24
  42. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/carousel.less +0 -0
  43. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/close.less +12 -1
  44. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/code.less +6 -6
  45. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/component-animations.less +7 -5
  46. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/dropdowns.less +58 -45
  47. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/forms.less +205 -144
  48. data/vendor/twitter/bootstrap/less/grid.less +5 -0
  49. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/hero-unit.less +3 -1
  50. data/vendor/twitter/bootstrap/less/labels-badges.less +55 -0
  51. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/layouts.less +1 -1
  52. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/mixins.less +235 -179
  53. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/modals.less +13 -6
  54. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/navbar.less +131 -72
  55. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/navs.less +53 -43
  56. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/pager.less +6 -0
  57. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/pagination.less +1 -0
  58. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/popovers.less +0 -0
  59. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/progress-bars.less +27 -5
  60. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/reset.less +8 -3
  61. data/vendor/twitter/bootstrap/less/responsive-1200px-min.less +26 -0
  62. data/vendor/twitter/bootstrap/less/responsive-767px-max.less +149 -0
  63. data/vendor/twitter/bootstrap/less/responsive-768px-979px.less +17 -0
  64. data/vendor/twitter/bootstrap/less/responsive-navbar.less +153 -0
  65. data/vendor/twitter/bootstrap/less/responsive-utilities.less +41 -0
  66. data/vendor/twitter/bootstrap/less/responsive.less +48 -0
  67. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/scaffolding.less +4 -4
  68. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/sprites.less +42 -9
  69. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/tables.less +46 -20
  70. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/thumbnails.less +14 -2
  71. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/tooltip.less +0 -0
  72. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/type.less +27 -13
  73. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/utilities.less +0 -0
  74. data/vendor/twitter/bootstrap/less/variables.less +206 -0
  75. data/vendor/{assets/stylesheets → twitter/bootstrap}/less/wells.less +10 -0
  76. data/vendor/{assets/stylesheets/scss/accordion.scss → twitter/bootstrap/sass/_accordion.scss} +5 -0
  77. data/vendor/{assets/stylesheets/scss/alerts.scss → twitter/bootstrap/sass/_alerts.scss} +3 -15
  78. data/vendor/{assets/stylesheets/scss/breadcrumbs.scss → twitter/bootstrap/sass/_breadcrumbs.scss} +2 -0
  79. data/vendor/{assets/stylesheets/scss/button-groups.scss → twitter/bootstrap/sass/_button-groups.scss} +76 -33
  80. data/vendor/{assets/stylesheets/scss/buttons.scss → twitter/bootstrap/sass/_buttons.scss} +33 -25
  81. data/vendor/{assets/stylesheets/scss/carousel.scss → twitter/bootstrap/sass/_carousel.scss} +1 -1
  82. data/vendor/{assets/stylesheets/scss/close.scss → twitter/bootstrap/sass/_close.scss} +12 -1
  83. data/vendor/{assets/stylesheets/scss/code.scss → twitter/bootstrap/sass/_code.scss} +7 -7
  84. data/vendor/{assets/stylesheets/scss/component-animations.scss → twitter/bootstrap/sass/_component-animations.scss} +9 -7
  85. data/vendor/{assets/stylesheets/scss/dropdowns.scss → twitter/bootstrap/sass/_dropdowns.scss} +58 -45
  86. data/vendor/{assets/stylesheets/scss/forms.scss → twitter/bootstrap/sass/_forms.scss} +205 -145
  87. data/vendor/twitter/bootstrap/sass/_grid.scss +5 -0
  88. data/vendor/{assets/stylesheets/scss/hero-unit.scss → twitter/bootstrap/sass/_hero-unit.scss} +3 -1
  89. data/vendor/twitter/bootstrap/sass/_labels-badges.scss +52 -0
  90. data/vendor/{assets/stylesheets/scss/layouts.scss → twitter/bootstrap/sass/_layouts.scss} +2 -2
  91. data/vendor/{assets/stylesheets/scss/mixins.scss → twitter/bootstrap/sass/_mixins.scss} +246 -182
  92. data/vendor/{assets/stylesheets/scss/modals.scss → twitter/bootstrap/sass/_modals.scss} +14 -7
  93. data/vendor/{assets/stylesheets/scss/navbar.scss → twitter/bootstrap/sass/_navbar.scss} +132 -73
  94. data/vendor/{assets/stylesheets/scss/navs.scss → twitter/bootstrap/sass/_navs.scss} +53 -43
  95. data/vendor/{assets/stylesheets/scss/pager.scss → twitter/bootstrap/sass/_pager.scss} +6 -0
  96. data/vendor/{assets/stylesheets/scss/pagination.scss → twitter/bootstrap/sass/_pagination.scss} +1 -0
  97. data/vendor/{assets/stylesheets/scss/popovers.scss → twitter/bootstrap/sass/_popovers.scss} +0 -0
  98. data/vendor/{assets/stylesheets/scss/progress-bars.scss → twitter/bootstrap/sass/_progress-bars.scss} +27 -5
  99. data/vendor/{assets/stylesheets/scss/reset.scss → twitter/bootstrap/sass/_reset.scss} +8 -3
  100. data/vendor/twitter/bootstrap/sass/_responsive-1200px-min.scss +26 -0
  101. data/vendor/twitter/bootstrap/sass/_responsive-767px-max.scss +149 -0
  102. data/vendor/twitter/bootstrap/sass/_responsive-768px-979px.scss +17 -0
  103. data/vendor/twitter/bootstrap/sass/_responsive-navbar.scss +153 -0
  104. data/vendor/twitter/bootstrap/sass/_responsive-utilities.scss +41 -0
  105. data/vendor/{assets/stylesheets/scss/scaffolding.scss → twitter/bootstrap/sass/_scaffolding.scss} +4 -4
  106. data/vendor/{assets/stylesheets/scss/sprites.scss → twitter/bootstrap/sass/_sprites.scss} +40 -7
  107. data/vendor/{assets/stylesheets/scss/tables.scss → twitter/bootstrap/sass/_tables.scss} +37 -32
  108. data/vendor/{assets/stylesheets/scss/thumbnails.scss → twitter/bootstrap/sass/_thumbnails.scss} +14 -2
  109. data/vendor/{assets/stylesheets/scss/tooltip.scss → twitter/bootstrap/sass/_tooltip.scss} +1 -1
  110. data/vendor/{assets/stylesheets/scss/type.scss → twitter/bootstrap/sass/_type.scss} +27 -13
  111. data/vendor/{assets/stylesheets/scss/utilities.scss → twitter/bootstrap/sass/_utilities.scss} +0 -0
  112. data/vendor/twitter/bootstrap/sass/_variables.scss +204 -0
  113. data/vendor/{assets/stylesheets/scss/wells.scss → twitter/bootstrap/sass/_wells.scss} +10 -0
  114. data/vendor/{assets/stylesheets/scss → twitter/bootstrap/sass}/bootstrap.scss +3 -3
  115. data/vendor/twitter/bootstrap/sass/responsive.scss +48 -0
  116. metadata +93 -84
  117. data/lib/generators/bootstrap/install/templates/assets/javascripts/bootstrap-generators.js +0 -1
  118. data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.css.less +0 -98
  119. data/vendor/assets/stylesheets/bootstrap.css +0 -3363
  120. data/vendor/assets/stylesheets/less/grid.less +0 -8
  121. data/vendor/assets/stylesheets/less/labels.less +0 -32
  122. data/vendor/assets/stylesheets/less/responsive.less +0 -327
  123. data/vendor/assets/stylesheets/less/variables.less +0 -107
  124. data/vendor/assets/stylesheets/scss/grid.scss +0 -8
  125. data/vendor/assets/stylesheets/scss/labels.scss +0 -32
  126. data/vendor/assets/stylesheets/scss/responsive.scss +0 -327
  127. data/vendor/assets/stylesheets/scss/variables.scss +0 -107
@@ -1,8 +0,0 @@
1
- // GRID SYSTEM
2
- // -----------
3
-
4
- // Fixed (940px)
5
- @include gridSystem-generate($gridColumns, $gridColumnWidth, $gridGutterWidth);
6
-
7
- // Fluid (940px)
8
- @include fluidGridSystem-generate($gridColumns, $fluidGridColumnWidth, $fluidGridGutterWidth);
@@ -1,32 +0,0 @@
1
- // LABELS
2
- // ------
3
-
4
- // Base
5
- .label {
6
- padding: 2px 4px 3px;
7
- font-size: $baseFontSize * .85;
8
- font-weight: bold;
9
- color: $white;
10
- text-shadow: 0 -1px 0 rgba(0,0,0,.25);
11
- background-color: $grayLight;
12
- @include border-radius(3px);
13
- }
14
-
15
- // Hover state
16
- .label:hover {
17
- color: $white;
18
- text-decoration: none;
19
- }
20
-
21
- // Colors
22
- .label-important { background-color: $errorText; }
23
- .label-important:hover { background-color: darken($errorText, 10%); }
24
-
25
- .label-warning { background-color: $orange; }
26
- .label-warning:hover { background-color: darken($orange, 10%); }
27
-
28
- .label-success { background-color: $successText; }
29
- .label-success:hover { background-color: darken($successText, 10%); }
30
-
31
- .label-info { background-color: $infoText; }
32
- .label-info:hover { background-color: darken($infoText, 10%); }
@@ -1,327 +0,0 @@
1
- /*!
2
- * Bootstrap Responsive v2.0.1
3
- *
4
- * Copyright 2012 Twitter, Inc
5
- * Licensed under the Apache License v2.0
6
- * http://www.apache.org/licenses/LICENSE-2.0
7
- *
8
- * Designed and built with all the love in the world $twitter by $mdo and $fat.
9
- */
10
-
11
- // Responsive
12
- // For phone and tablet devices
13
- // -------------------------------------------------------------
14
-
15
-
16
- // REPEAT VARIABLES & MIXINS
17
- // -------------------------
18
- // Required since we compile the responsive stuff separately
19
-
20
- @import "variables"; // Modify this for custom colors, font-sizes, etc
21
- @import "mixins";
22
-
23
-
24
- // RESPONSIVE CLASSES
25
- // ------------------
26
-
27
- // Hide from screenreaders and browsers
28
- // Credit: HTML5 Boilerplate
29
- .hidden {
30
- display: none;
31
- visibility: hidden;
32
- }
33
-
34
-
35
-
36
- // UP TO LANDSCAPE PHONE
37
- // ---------------------
38
-
39
- @media (max-width: 480px) {
40
-
41
- // Smooth out the collapsing/expanding nav
42
- .nav-collapse {
43
- -webkit-transform: translate3d(0, 0, 0); // activate the GPU
44
- }
45
-
46
- // Block level the page header small tag for readability
47
- .page-header h1 small {
48
- display: block;
49
- line-height: $baseLineHeight;
50
- }
51
-
52
- // Make span* classes full width
53
- input[class*="span"],
54
- select[class*="span"],
55
- textarea[class*="span"],
56
- .uneditable-input {
57
- display: block;
58
- width: 100%;
59
- min-height: 28px; /* Make inputs at least the height of their button counterpart */
60
- /* Makes inputs behave like true block-level elements */
61
- -webkit-box-sizing: border-box; /* Older Webkit */
62
- -moz-box-sizing: border-box; /* Older FF */
63
- -ms-box-sizing: border-box; /* IE8 */
64
- box-sizing: border-box; /* CSS3 spec*/
65
- }
66
- // But don't let it screw up prepend/append inputs
67
- .input-prepend input[class*="span"],
68
- .input-append input[class*="span"] {
69
- width: auto;
70
- }
71
-
72
- // Update checkboxes for iOS
73
- input[type="checkbox"],
74
- input[type="radio"] {
75
- border: 1px solid #ccc;
76
- }
77
-
78
- // Remove the horizontal form styles
79
- .form-horizontal .control-group > label {
80
- float: none;
81
- width: auto;
82
- padding-top: 0;
83
- text-align: left;
84
- }
85
- // Move over all input controls and content
86
- .form-horizontal .controls {
87
- margin-left: 0;
88
- }
89
- // Move the options list down to align with labels
90
- .form-horizontal .control-list {
91
- padding-top: 0; // has to be padding because margin collaspes
92
- }
93
- // Move over buttons in .form-actions to align with .controls
94
- .form-horizontal .form-actions {
95
- padding-left: 10px;
96
- padding-right: 10px;
97
- }
98
-
99
- // Modals
100
- .modal {
101
- position: absolute;
102
- top: 10px;
103
- left: 10px;
104
- right: 10px;
105
- width: auto;
106
- margin: 0;
107
- &.fade.in { top: auto; }
108
- }
109
- .modal-header .close {
110
- padding: 10px;
111
- margin: -10px;
112
- }
113
-
114
- // Carousel
115
- .carousel-caption {
116
- position: static;
117
- }
118
-
119
- }
120
-
121
-
122
-
123
- // LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
124
- // --------------------------------------------------
125
-
126
- @media (max-width: 767px) {
127
- // GRID & CONTAINERS
128
- // -----------------
129
- // Remove width from containers
130
- .container {
131
- width: auto;
132
- padding: 0 20px;
133
- }
134
- // Fluid rows
135
- .row-fluid {
136
- width: 100%;
137
- }
138
- // Undo negative margin on rows
139
- .row {
140
- margin-left: 0;
141
- }
142
- // Make all columns even
143
- .row > [class*="span"],
144
- .row-fluid > [class*="span"] {
145
- float: none;
146
- display: block;
147
- width: auto;
148
- margin: 0;
149
- }
150
- }
151
-
152
-
153
-
154
- // PORTRAIT TABLET TO DEFAULT DESKTOP
155
- // ----------------------------------
156
-
157
- @media (min-width: 768px) and (max-width: 979px) {
158
-
159
- // Fixed grid
160
- @include gridSystem-generate(12, 42px, 20px);
161
-
162
- // Fluid grid
163
- @include fluidGridSystem-generate(12, 5.801104972%, 2.762430939%);
164
-
165
- // Input grid
166
- @include inputGridSystem-generate(12, 42px, 20px);
167
-
168
- }
169
-
170
-
171
-
172
- // TABLETS AND BELOW
173
- // -----------------
174
- @media (max-width: 979px) {
175
-
176
- // UNFIX THE TOPBAR
177
- // ----------------
178
- // Remove any padding from the body
179
- body {
180
- padding-top: 0;
181
- }
182
- // Unfix the navbar
183
- .navbar-fixed-top {
184
- position: static;
185
- margin-bottom: $baseLineHeight;
186
- }
187
- .navbar-fixed-top .navbar-inner {
188
- padding: 5px;
189
- }
190
- .navbar .container {
191
- width: auto;
192
- padding: 0;
193
- }
194
- // Account for brand name
195
- .navbar .brand {
196
- padding-left: 10px;
197
- padding-right: 10px;
198
- margin: 0 0 0 -5px;
199
- }
200
- // Nav collapse clears brand
201
- .navbar .nav-collapse {
202
- clear: left;
203
- }
204
- // Block-level the nav
205
- .navbar .nav {
206
- float: none;
207
- margin: 0 0 ($baseLineHeight / 2);
208
- }
209
- .navbar .nav > li {
210
- float: none;
211
- }
212
- .navbar .nav > li > a {
213
- margin-bottom: 2px;
214
- }
215
- .navbar .nav > .divider-vertical {
216
- display: none;
217
- }
218
- .navbar .nav .nav-header {
219
- color: $navbarText;
220
- text-shadow: none;
221
- }
222
- // Nav and dropdown links in navbar
223
- .navbar .nav > li > a,
224
- .navbar .dropdown-menu a {
225
- padding: 6px 15px;
226
- font-weight: bold;
227
- color: $navbarLinkColor;
228
- @include border-radius(3px);
229
- }
230
- .navbar .dropdown-menu li + li a {
231
- margin-bottom: 2px;
232
- }
233
- .navbar .nav > li > a:hover,
234
- .navbar .dropdown-menu a:hover {
235
- background-color: $navbarBackground;
236
- }
237
- // Dropdowns in the navbar
238
- .navbar .dropdown-menu {
239
- position: static;
240
- top: auto;
241
- left: auto;
242
- float: none;
243
- display: block;
244
- max-width: none;
245
- margin: 0 15px;
246
- padding: 0;
247
- background-color: transparent;
248
- border: none;
249
- @include border-radius(0);
250
- @include box-shadow(none);
251
- }
252
- .navbar .dropdown-menu:before,
253
- .navbar .dropdown-menu:after {
254
- display: none;
255
- }
256
- .navbar .dropdown-menu .divider {
257
- display: none;
258
- }
259
- // Forms in navbar
260
- .navbar-form,
261
- .navbar-search {
262
- float: none;
263
- padding: ($baseLineHeight / 2) 15px;
264
- margin: ($baseLineHeight / 2) 0;
265
- border-top: 1px solid $navbarBackground;
266
- border-bottom: 1px solid $navbarBackground;
267
- $shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
268
- @include box-shadow($shadow);
269
- }
270
- // Pull right (secondary) nav content
271
- .navbar .nav.pull-right {
272
- float: none;
273
- margin-left: 0;
274
- }
275
- // Static navbar
276
- .navbar-static .navbar-inner {
277
- padding-left: 10px;
278
- padding-right: 10px;
279
- }
280
- // Navbar button
281
- .btn-navbar {
282
- display: block;
283
- }
284
-
285
- // Hide everything in the navbar save .brand and toggle button */
286
- .nav-collapse {
287
- overflow: hidden;
288
- height: 0;
289
- }
290
- }
291
-
292
-
293
-
294
- // DEFAULT DESKTOP
295
- // ---------------
296
-
297
- @media (min-width: 980px) {
298
- .nav-collapse.collapse {
299
- height: auto !important;
300
- }
301
- }
302
-
303
-
304
-
305
- // LARGE DESKTOP & UP
306
- // ------------------
307
-
308
- @media (min-width: 1200px) {
309
-
310
- // Fixed grid
311
- @include gridSystem-generate(12, 70px, 30px);
312
-
313
- // Fluid grid
314
- @include fluidGridSystem-generate(12, 5.982905983%, 2.564102564%);
315
-
316
- // Input grid
317
- @include inputGridSystem-generate(12, 70px, 30px);
318
-
319
- // Thumbnails
320
- .thumbnails {
321
- margin-left: -30px;
322
- }
323
- .thumbnails > li {
324
- margin-left: 30px;
325
- }
326
-
327
- }
@@ -1,107 +0,0 @@
1
- // Variables
2
- // Variables to customize the look and feel of Bootstrap
3
- // -----------------------------------------------------
4
-
5
-
6
-
7
- // GLOBAL VALUES
8
- // --------------------------------------------------
9
-
10
- // Links
11
- $linkColor: #08c !default;
12
- $linkColorHover: darken($linkColor, 15%) !default;
13
-
14
- // Grays
15
- $black: #000 !default;
16
- $grayDarker: #222 !default;
17
- $grayDark: #333 !default;
18
- $gray: #555 !default;
19
- $grayLight: #999 !default;
20
- $grayLighter: #eee !default;
21
- $white: #fff !default;
22
-
23
- // Accent colors
24
- $blue: #049cdb !default;
25
- $blueDark: #0064cd !default;
26
- $green: #46a546 !default;
27
- $red: #9d261d !default;
28
- $yellow: #ffc40d !default;
29
- $orange: #f89406 !default;
30
- $pink: #c3325f !default;
31
- $purple: #7a43b6 !default;
32
-
33
- // Typography
34
- $baseFontSize: 13px !default;
35
- $baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
36
- $baseLineHeight: 18px !default;
37
- $textColor: $grayDark !default;
38
-
39
- // Buttons
40
- $primaryButtonBackground: $linkColor !default;
41
-
42
-
43
-
44
- // COMPONENT VARIABLES
45
- // --------------------------------------------------
46
-
47
- // Z-index master list
48
- // Used for a bird's eye view of components dependent on the z-axis
49
- // Try to avoid customizing these :)
50
- $zindexDropdown: 1000 !default;
51
- $zindexPopover: 1010 !default;
52
- $zindexTooltip: 1020 !default;
53
- $zindexFixedNavbar: 1030 !default;
54
- $zindexModalBackdrop: 1040 !default;
55
- $zindexModal: 1050 !default;
56
-
57
- // Sprite icons path
58
- $iconSpritePath: "glyphicons-halflings.png";
59
- $iconWhiteSpritePath: "glyphicons-halflings-white.png";
60
-
61
- // Input placeholder text color
62
- $placeholderText: $grayLight !default;
63
-
64
- // Hr border color
65
- $hrBorder: $grayLighter !default;
66
-
67
- // Navbar
68
- $navbarHeight: 40px !default;
69
- $navbarBackground: $grayDarker !default;
70
- $navbarBackgroundHighlight: $grayDark !default;
71
- $navbarLinkBackgroundHover: transparent !default;
72
-
73
- $navbarText: $grayLight !default;
74
- $navbarLinkColor: $grayLight !default;
75
- $navbarLinkColorHover: $white !default;
76
-
77
- // Form states and alerts
78
- $warningText: #c09853 !default;
79
- $warningBackground: #fcf8e3 !default;
80
- $warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
81
-
82
- $errorText: #b94a48 !default;
83
- $errorBackground: #f2dede !default;
84
- $errorBorder: darken(adjust-hue($errorBackground, -10), 3%) !default;
85
-
86
- $successText: #468847 !default;
87
- $successBackground: #dff0d8 !default;
88
- $successBorder: darken(adjust-hue($successBackground, -10), 5%) !default;
89
-
90
- $infoText: #3a87ad !default;
91
- $infoBackground: #d9edf7 !default;
92
- $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
93
-
94
-
95
-
96
- // GRID
97
- // --------------------------------------------------
98
-
99
- // Default 940px grid
100
- $gridColumns: 12 !default;
101
- $gridColumnWidth: 60px !default;
102
- $gridGutterWidth: 20px !default;
103
- $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
104
-
105
- // Fluid grid
106
- $fluidGridColumnWidth: 6.382978723% !default;
107
- $fluidGridGutterWidth: 2.127659574% !default;