flat-ui-sass 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/.gitmodules +3 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +256 -0
  7. data/Rakefile +14 -0
  8. data/app/helpers/flat_ui/rails/icon_helper.rb +60 -0
  9. data/bin/fui_convert +9 -0
  10. data/flat-ui-sass.gemspec +28 -0
  11. data/lib/flat-ui-sass.rb +98 -0
  12. data/lib/flat-ui-sass/cli.rb +56 -0
  13. data/lib/flat-ui-sass/engine.rb +13 -0
  14. data/lib/flat-ui-sass/sass_functions.rb +56 -0
  15. data/lib/flat-ui-sass/version.rb +4 -0
  16. data/lib/tasks/converter.rb +99 -0
  17. data/lib/tasks/converter/filesystem.rb +16 -0
  18. data/lib/tasks/converter/flat_ui_fonts_conversion.rb +19 -0
  19. data/lib/tasks/converter/flat_ui_images_conversion.rb +19 -0
  20. data/lib/tasks/converter/flat_ui_js_conversion.rb +28 -0
  21. data/lib/tasks/converter/flat_ui_less_conversion.rb +328 -0
  22. data/lib/tasks/converter/logger.rb +61 -0
  23. data/lib/tasks/flat-ui-sass.rake +8 -0
  24. data/templates/project/_variables.scss.erb +5 -0
  25. data/templates/project/manifest.rb +57 -0
  26. data/templates/project/styles.scss +4 -0
  27. data/vendor/assets/fonts/flat-ui/flat-ui-icons-regular.eot +0 -0
  28. data/vendor/assets/fonts/flat-ui/flat-ui-icons-regular.svg +140 -0
  29. data/vendor/assets/fonts/flat-ui/flat-ui-icons-regular.ttf +0 -0
  30. data/vendor/assets/fonts/flat-ui/flat-ui-icons-regular.woff +0 -0
  31. data/vendor/assets/images/flat-ui/icons/png/Book.png +0 -0
  32. data/vendor/assets/images/flat-ui/icons/png/Calendar.png +0 -0
  33. data/vendor/assets/images/flat-ui/icons/png/Chat.png +0 -0
  34. data/vendor/assets/images/flat-ui/icons/png/Clipboard.png +0 -0
  35. data/vendor/assets/images/flat-ui/icons/png/Compas.png +0 -0
  36. data/vendor/assets/images/flat-ui/icons/png/Gift-Box.png +0 -0
  37. data/vendor/assets/images/flat-ui/icons/png/Infinity-Loop.png +0 -0
  38. data/vendor/assets/images/flat-ui/icons/png/Mail.png +0 -0
  39. data/vendor/assets/images/flat-ui/icons/png/Map.png +0 -0
  40. data/vendor/assets/images/flat-ui/icons/png/Pensils.png +0 -0
  41. data/vendor/assets/images/flat-ui/icons/png/Pocket.png +0 -0
  42. data/vendor/assets/images/flat-ui/icons/png/Retina-Ready.png +0 -0
  43. data/vendor/assets/images/flat-ui/icons/png/Toilet-Paper.png +0 -0
  44. data/vendor/assets/images/flat-ui/icons/png/Watches.png +0 -0
  45. data/vendor/assets/images/flat-ui/icons/svg/book.svg +1 -0
  46. data/vendor/assets/images/flat-ui/icons/svg/calendar.svg +1 -0
  47. data/vendor/assets/images/flat-ui/icons/svg/chat.svg +1 -0
  48. data/vendor/assets/images/flat-ui/icons/svg/clipboard.svg +1 -0
  49. data/vendor/assets/images/flat-ui/icons/svg/clocks.svg +9 -0
  50. data/vendor/assets/images/flat-ui/icons/svg/compas.svg +1 -0
  51. data/vendor/assets/images/flat-ui/icons/svg/gift-box.svg +1 -0
  52. data/vendor/assets/images/flat-ui/icons/svg/loop.svg +5 -0
  53. data/vendor/assets/images/flat-ui/icons/svg/mail.svg +1 -0
  54. data/vendor/assets/images/flat-ui/icons/svg/map.svg +1 -0
  55. data/vendor/assets/images/flat-ui/icons/svg/paper-bag.svg +1 -0
  56. data/vendor/assets/images/flat-ui/icons/svg/pencils.svg +1 -0
  57. data/vendor/assets/images/flat-ui/icons/svg/retina.svg +1 -0
  58. data/vendor/assets/images/flat-ui/icons/svg/toilet-paper.svg +1 -0
  59. data/vendor/assets/images/flat-ui/login/icon.png +0 -0
  60. data/vendor/assets/images/flat-ui/login/imac-2x.png +0 -0
  61. data/vendor/assets/images/flat-ui/login/imac.png +0 -0
  62. data/vendor/assets/images/flat-ui/switch/mask-square.png +0 -0
  63. data/vendor/assets/images/flat-ui/switch/mask.png +0 -0
  64. data/vendor/assets/images/flat-ui/tile/ribbon-2x.png +0 -0
  65. data/vendor/assets/images/flat-ui/tile/ribbon.png +0 -0
  66. data/vendor/assets/images/flat-ui/todo/done-2x.png +0 -0
  67. data/vendor/assets/images/flat-ui/todo/done.png +0 -0
  68. data/vendor/assets/images/flat-ui/todo/search-2x.png +0 -0
  69. data/vendor/assets/images/flat-ui/todo/search.png +0 -0
  70. data/vendor/assets/images/flat-ui/todo/todo-2x.png +0 -0
  71. data/vendor/assets/images/flat-ui/todo/todo.png +0 -0
  72. data/vendor/assets/images/flat-ui/video/fullscreen-2x.png +0 -0
  73. data/vendor/assets/images/flat-ui/video/fullscreen.png +0 -0
  74. data/vendor/assets/images/flat-ui/video/pause-2x.png +0 -0
  75. data/vendor/assets/images/flat-ui/video/pause.png +0 -0
  76. data/vendor/assets/images/flat-ui/video/play-2x.png +0 -0
  77. data/vendor/assets/images/flat-ui/video/play.png +0 -0
  78. data/vendor/assets/images/flat-ui/video/poster.jpg +0 -0
  79. data/vendor/assets/images/flat-ui/video/volume-full-2x.png +0 -0
  80. data/vendor/assets/images/flat-ui/video/volume-full.png +0 -0
  81. data/vendor/assets/images/flat-ui/video/volume-off-2x.png +0 -0
  82. data/vendor/assets/images/flat-ui/video/volume-off.png +0 -0
  83. data/vendor/assets/javascripts/flat-ui.js +2 -0
  84. data/vendor/assets/javascripts/flat-ui/flatui-checkbox.js +112 -0
  85. data/vendor/assets/javascripts/flat-ui/flatui-radio.js +139 -0
  86. data/vendor/assets/stylesheets/flat-ui.scss +1 -0
  87. data/vendor/assets/stylesheets/flat-ui/_mixins.scss +878 -0
  88. data/vendor/assets/stylesheets/flat-ui/_spaces.scss +172 -0
  89. data/vendor/assets/stylesheets/flat-ui/_variables.scss +509 -0
  90. data/vendor/assets/stylesheets/flat-ui/flat-ui.scss +45 -0
  91. data/vendor/assets/stylesheets/flat-ui/modules/_button-groups.scss +110 -0
  92. data/vendor/assets/stylesheets/flat-ui/modules/_buttons.scss +151 -0
  93. data/vendor/assets/stylesheets/flat-ui/modules/_caret.scss +30 -0
  94. data/vendor/assets/stylesheets/flat-ui/modules/_checkbox-and-radio.scss +143 -0
  95. data/vendor/assets/stylesheets/flat-ui/modules/_code.scss +49 -0
  96. data/vendor/assets/stylesheets/flat-ui/modules/_dropdown.scss +223 -0
  97. data/vendor/assets/stylesheets/flat-ui/modules/_footer.scss +76 -0
  98. data/vendor/assets/stylesheets/flat-ui/modules/_forms.scss +188 -0
  99. data/vendor/assets/stylesheets/flat-ui/modules/_glyphicons.scss +135 -0
  100. data/vendor/assets/stylesheets/flat-ui/modules/_input-groups.scss +153 -0
  101. data/vendor/assets/stylesheets/flat-ui/modules/_input-icons.scss +72 -0
  102. data/vendor/assets/stylesheets/flat-ui/modules/_local-fonts.scss +69 -0
  103. data/vendor/assets/stylesheets/flat-ui/modules/_login.scss +111 -0
  104. data/vendor/assets/stylesheets/flat-ui/modules/_navbar.scss +876 -0
  105. data/vendor/assets/stylesheets/flat-ui/modules/_pager.scss +51 -0
  106. data/vendor/assets/stylesheets/flat-ui/modules/_pagination.scss +166 -0
  107. data/vendor/assets/stylesheets/flat-ui/modules/_palette.scss +71 -0
  108. data/vendor/assets/stylesheets/flat-ui/modules/_progress-bars.scss +34 -0
  109. data/vendor/assets/stylesheets/flat-ui/modules/_scaffolding.scss +64 -0
  110. data/vendor/assets/stylesheets/flat-ui/modules/_select.scss +145 -0
  111. data/vendor/assets/stylesheets/flat-ui/modules/_share.scss +44 -0
  112. data/vendor/assets/stylesheets/flat-ui/modules/_slider.scss +105 -0
  113. data/vendor/assets/stylesheets/flat-ui/modules/_switch.scss +150 -0
  114. data/vendor/assets/stylesheets/flat-ui/modules/_tagsinput.scss +121 -0
  115. data/vendor/assets/stylesheets/flat-ui/modules/_thumbnails.scss +38 -0
  116. data/vendor/assets/stylesheets/flat-ui/modules/_tile.scss +54 -0
  117. data/vendor/assets/stylesheets/flat-ui/modules/_todo.scss +110 -0
  118. data/vendor/assets/stylesheets/flat-ui/modules/_tooltip.scss +56 -0
  119. data/vendor/assets/stylesheets/flat-ui/modules/_type.scss +208 -0
  120. data/vendor/assets/stylesheets/flat-ui/modules/_typeahead.scss +41 -0
  121. data/vendor/assets/stylesheets/flat-ui/modules/_video.scss +458 -0
  122. metadata +251 -0
@@ -0,0 +1,172 @@
1
+ // Should be used to modify the default spacing between objects (not between nodes of * the same object)
2
+ // p,m = padding,margin
3
+ // a,t,r,b,l,h,v = all,top,right,bottom,left,horizontal,vertical
4
+ // x,s,m,l,n = extra-small($x),small($s),medium($m),large($l),none(0px)
5
+ $x: 3px;
6
+ $s: 5px;
7
+ $m: 10px;
8
+ $l: 20px;
9
+
10
+ .last-col {
11
+ overflow: hidden;
12
+ }
13
+
14
+ .ptn, .pvn, .pan {
15
+ padding-top: 0;
16
+ }
17
+
18
+ .ptx, .pvx, .pax {
19
+ padding-top: $x;
20
+ }
21
+
22
+ .pts, .pvs, .pas {
23
+ padding-top: $s;
24
+ }
25
+
26
+ .ptm, .pvm, .pam {
27
+ padding-top: $m;
28
+ }
29
+
30
+ .ptl, .pvl, .pal {
31
+ padding-top: $l;
32
+ }
33
+
34
+ .prn, .phn, .pan {
35
+ padding-right: 0;
36
+ }
37
+
38
+ .prx, .phx, .pax {
39
+ padding-right: $x;
40
+ }
41
+
42
+ .prs, .phs, .pas {
43
+ padding-right: $s;
44
+ }
45
+
46
+ .prm, .phm, .pam {
47
+ padding-right: $m;
48
+ }
49
+
50
+ .prl, .phl, .pal {
51
+ padding-right: $l;
52
+ }
53
+
54
+ .pbn, .pvn, .pan {
55
+ padding-bottom: 0;
56
+ }
57
+
58
+ .pbx, .pvx, .pax {
59
+ padding-bottom: $x;
60
+ }
61
+
62
+ .pbs, .pvs, .pas {
63
+ padding-bottom: $s;
64
+ }
65
+
66
+ .pbm, .pvm, .pam {
67
+ padding-bottom: $m;
68
+ }
69
+
70
+ .pbl, .pvl, .pal {
71
+ padding-bottom: $l;
72
+ }
73
+
74
+ .pln, .phn, .pan {
75
+ padding-left: 0;
76
+ }
77
+
78
+ .plx, .phx, .pax {
79
+ padding-left: $x;
80
+ }
81
+
82
+ .pls, .phs, .pas {
83
+ padding-left: $s;
84
+ }
85
+
86
+ .plm, .phm, .pam {
87
+ padding-left: $m;
88
+ }
89
+
90
+ .pll, .phl, .pal {
91
+ padding-left: $l;
92
+ }
93
+
94
+ .mtn, .mvn, .man {
95
+ margin-top: 0px;
96
+ }
97
+
98
+ .mtx, .mvx, .max {
99
+ margin-top: $x;
100
+ }
101
+
102
+ .mts, .mvs, .mas {
103
+ margin-top: $s;
104
+ }
105
+
106
+ .mtm, .mvm, .mam {
107
+ margin-top: $m;
108
+ }
109
+
110
+ .mtl, .mvl, .mal {
111
+ margin-top: $l;
112
+ }
113
+
114
+ .mrn, .mhn, .man {
115
+ margin-right: 0px;
116
+ }
117
+
118
+ .mrx, .mhx, .max {
119
+ margin-right: $x;
120
+ }
121
+
122
+ .mrs, .mhs, .mas {
123
+ margin-right: $s;
124
+ }
125
+
126
+ .mrm, .mhm, .mam {
127
+ margin-right: $m;
128
+ }
129
+
130
+ .mrl, .mhl, .mal {
131
+ margin-right: $l;
132
+ }
133
+
134
+ .mbn, .mvn, .man {
135
+ margin-bottom: 0px;
136
+ }
137
+
138
+ .mbx, .mvx, .max {
139
+ margin-bottom: $x;
140
+ }
141
+
142
+ .mbs, .mvs, .mas {
143
+ margin-bottom: $s;
144
+ }
145
+
146
+ .mbm, .mvm, .mam {
147
+ margin-bottom: $m;
148
+ }
149
+
150
+ .mbl, .mvl, .mal {
151
+ margin-bottom: $l;
152
+ }
153
+
154
+ .mln, .mhn, .man {
155
+ margin-left: 0px;
156
+ }
157
+
158
+ .mlx, .mhx, .max {
159
+ margin-left: $x;
160
+ }
161
+
162
+ .mls, .mhs, .mas {
163
+ margin-left: $s;
164
+ }
165
+
166
+ .mlm, .mhm, .mam {
167
+ margin-left: $m;
168
+ }
169
+
170
+ .mll, .mhl, .mal {
171
+ margin-left: $l;
172
+ }
@@ -0,0 +1,509 @@
1
+ // a flag to toggle asset pipeline / compass integration
2
+ // defaults to true if flat-ui-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
3
+ $flat-ui-sass-asset-helper: (flat-ui-font-path("") != unquote('flat-ui-font-path("")')) !default;
4
+
5
+ //
6
+ // Variables
7
+ // --------------------------------------------------
8
+
9
+ // == Colors
10
+ //
11
+ //##
12
+
13
+ // Color swatches
14
+ $turquoise: #1abc9c !default;
15
+ $green-sea: #16a085 !default;
16
+
17
+ $emerald: #2ecc71 !default;
18
+ $nephritis: #27ae60 !default;
19
+
20
+ $peter-river: #3498db !default;
21
+ $belize-hole: #2980b9 !default;
22
+
23
+ $amethyst: #9b59b6 !default;
24
+ $wisteria: #8e44ad !default;
25
+
26
+ $wet-asphalt: #34495e !default;
27
+ $midnight-blue: #2c3e50 !default;
28
+
29
+ $sun-flower: #f1c40f !default;
30
+ $orange: #f39c12 !default;
31
+
32
+ $carrot: #e67e22 !default;
33
+ $pumpkin: #d35400 !default;
34
+
35
+ $alizarin: #e74c3c !default;
36
+ $pomegranate: #c0392b !default;
37
+
38
+ $clouds: #ecf0f1 !default;
39
+ $silver: #bdc3c7 !default;
40
+
41
+ $concrete: #95a5a6 !default;
42
+ $asbestos: #7f8c8d !default;
43
+
44
+ // Grays
45
+ $gray: $concrete !default;
46
+ $gray-light: $silver !default;
47
+ $inverse: white !default;
48
+
49
+ // Brand colors
50
+ $brand-primary: $wet-asphalt !default;
51
+ $brand-secondary: $turquoise !default;
52
+ $brand-success: $emerald !default;
53
+ $brand-warning: $sun-flower !default;
54
+ $brand-danger: $alizarin !default;
55
+ $brand-info: $peter-river !default;
56
+
57
+
58
+ //== Scaffolding
59
+ //
60
+ //## Settings for some of the most global styles.
61
+
62
+ $body-bg: #fff !default;
63
+ $text-color: $brand-primary !default;
64
+
65
+ //** Global textual link color.
66
+ $link-color: $green-sea !default;
67
+ $link-hover-color: $turquoise !default;
68
+
69
+
70
+ //== Typography
71
+ //
72
+ //## Font, line-height for body text, headings, and more.
73
+
74
+ $font-family-base: "Lato", Helvetica, Arial, sans-serif !default;
75
+ $font-family-demo: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
76
+ $font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace !default;
77
+ $font-size-base: 18px !default;
78
+
79
+ $local-font-path: "../fonts/lato/" !default;
80
+ $local-font-name: "lato-regular" !default;
81
+ $local-font-svg-id: "latoregular" !default;
82
+ $local-font-name-light: "lato-light" !default;
83
+ $local-font-svg-id-light: "latolight" !default;
84
+ $local-font-name-black: "lato-black" !default;
85
+ $local-font-svg-id-black: "latoblack" !default;
86
+ $local-font-name-bold: "lato-bold" !default;
87
+ $local-font-svg-id-bold: "latobold" !default;
88
+ $local-font-name-italic: "lato-italic" !default;
89
+ $local-font-svg-id-italic: "latoitalic" !default;
90
+ $local-font-name-bold-italic: "lato-bolditalic" !default;
91
+ $local-font-svg-id-bold-italic: "latobold-italic" !default;
92
+
93
+ $font-size-h1: floor($font-size-base * 3.444) !default; // ~62px
94
+ $font-size-h2: ceil($font-size-base * 2.889) !default; // ~52px
95
+ $font-size-h3: ceil($font-size-base * 2.222) !default; // ~40px
96
+ $font-size-h4: ceil($font-size-base * 1.611) !default; // ~29px
97
+ $font-size-h5: floor($font-size-base * 1.556) !default; // ~28px
98
+ $font-size-h6: ceil($font-size-base * 1.333) !default; // ~24px
99
+
100
+ $line-height-base: 1.72222 !default; // 31/18
101
+ $line-height-computed: floor($font-size-base * $line-height-base) !default; // ~31px
102
+
103
+ $headings-font-family: inherit !default;
104
+ $headings-font-weight: 700 !default;
105
+ $headings-line-height: 1.1 !default;
106
+ $headings-color: inherit !default;
107
+
108
+
109
+ //== Iconography
110
+ //
111
+ //## Specify custom locations of the include Glyphicons icon font.
112
+
113
+ $icon-font-path: "flat-ui/" !default;
114
+ $icon-font-name: "flat-ui-icons-regular" !default;
115
+ $icon-font-svg-id: "flat-ui-icons-regular" !default;
116
+
117
+ //** Icon sizes for use in components
118
+ $icon-normal: 16px !default;
119
+ $icon-medium: 18px !default;
120
+ $icon-large: 32px !default;
121
+
122
+
123
+ //== Components
124
+ //
125
+ //## Define common padding and border radius sizes and more.
126
+
127
+ //** Default font-size in components
128
+ $component-font-size-base: ceil($font-size-base * 0.833) !default; // ~15px
129
+
130
+ // Border-radius
131
+ $border-radius-base: 4px !default;
132
+ $border-radius-large: 6px !default;
133
+ $border-radius-small: 3px !default;
134
+
135
+
136
+ //== Buttons
137
+ //
138
+ //## For each of Flat UI's buttons, define text, background, font size and height.
139
+
140
+ $btn-font-size-base: $component-font-size-base !default;
141
+ $btn-font-size-xs: ceil($component-font-size-base * 0.80) !default; // ~12px
142
+ $btn-font-size-sm: floor($component-font-size-base * 0.867) !default; // ~13px
143
+ $btn-font-size-lg: ceil($component-font-size-base * 1.133) !default; // ~17px
144
+ $btn-font-size-hg: floor($component-font-size-base * 1.467) !default; // ~22px
145
+
146
+ $btn-line-height-base: 1.4 !default; // ~21px
147
+ $btn-line-height-hg: 1.227 !default; // ~27px
148
+ $btn-line-height-lg: 1.471 !default; // ~25px
149
+ $btn-line-height-sm: 1.385 !default; // ~16px
150
+ $btn-line-height-xs: 1.083 !default; // ~13px
151
+
152
+ $btn-social-font-size-base: floor($component-font-size-base * 0.867) !default; // ~13px
153
+ $btn-social-line-height-base: 1.077 !default; // ~14px
154
+
155
+ $btn-font-weight: normal !default;
156
+
157
+ $btn-default-color: $inverse !default;
158
+ $btn-default-bg: $gray-light !default;
159
+ $btn-hover-bg: mix($gray-light, white, 80%) !default;
160
+ $btn-active-bg: mix($gray-light, black, 85%) !default;
161
+
162
+ $btn-primary-hover-bg: mix($brand-secondary, white, 80%) !default;
163
+ $btn-primary-active-bg: mix($brand-secondary, black, 85%) !default;
164
+
165
+ $btn-info-hover-bg: mix($brand-info, white, 80%) !default;
166
+ $btn-info-active-bg: mix($brand-info, black, 85%) !default;
167
+
168
+ $btn-success-hover-bg: mix($brand-success, white, 80%) !default;
169
+ $btn-success-active-bg: mix($brand-success, black, 85%) !default;
170
+
171
+ $btn-danger-hover-bg: mix($brand-danger, white, 80%) !default;
172
+ $btn-danger-active-bg: mix($brand-danger, black, 85%) !default;
173
+
174
+ $btn-warning-hover-bg: overlay($brand-warning, darken(white, 37.5%)) !default;
175
+ $btn-warning-active-bg: mix($brand-warning, black, 85%) !default;
176
+
177
+ $btn-inverse-hover-bg: overlay($brand-primary, darken(white, 37.5%)) !default;
178
+ $btn-inverse-active-bg: mix($brand-primary, black, 85%) !default;
179
+
180
+ $btn-link-disabled-color: $gray-light !default;
181
+
182
+
183
+ //== Forms
184
+ //
185
+ //##
186
+
187
+ $input-font-size-base: $component-font-size-base !default;
188
+ $input-font-size-small: floor($component-font-size-base * 0.867) !default; // ~13px
189
+ $input-font-size-large: ceil($component-font-size-base * 1.133) !default; // ~17px
190
+ $input-font-size-huge: floor($component-font-size-base * 1.467) !default; // ~22px
191
+
192
+ $input-line-height-base: 1.467 !default; // ~22px
193
+ $input-line-height-small: 1.462 !default; // ~19px
194
+ $input-line-height-large: 1.235 !default; // ~21px
195
+ $input-line-height-huge: 1.318 !default; // ~29px
196
+
197
+ $input-icon-font-size: ceil($component-font-size-base * 1.333) !default; // ~20px
198
+
199
+ $input-bg: $inverse !default;
200
+ $input-bg-disabled: mix($gray, white, 10%) !default;
201
+
202
+ $input-height-small: 35px !default;
203
+ $input-height-base: 41px !default;
204
+ $input-height-large: 45px !default;
205
+ $input-height-huge: 53px !default;
206
+
207
+ $input-border-radius: $border-radius-large !default;
208
+
209
+ $legend-color: inherit !default;
210
+
211
+
212
+ //== Forms
213
+ //
214
+ //##
215
+
216
+ $input-font-size-base: $component-font-size-base !default;
217
+ $input-font-size-small: floor($component-font-size-base * 0.867) !default; // ~13px
218
+ $input-font-size-large: ceil($component-font-size-base * 1.133) !default; // ~17px
219
+ $input-font-size-huge: floor($component-font-size-base * 1.467) !default; // ~22px
220
+
221
+ $input-line-height-base: 1.467 !default; // ~22px
222
+ $input-line-height-small: 1.462 !default; // ~19px
223
+ $input-line-height-large: 1.235 !default; // ~21px
224
+ $input-line-height-huge: 1.318 !default; // ~29px
225
+
226
+ $input-icon-font-size: ceil($component-font-size-base * 1.333) !default; // ~20px
227
+
228
+ $input-bg: $inverse !default;
229
+ $input-bg-disabled: mix($gray, white, 10%) !default;
230
+
231
+ $input-height-small: 35px !default;
232
+ $input-height-base: 41px !default;
233
+ $input-height-large: 45px !default;
234
+ $input-height-huge: 53px !default;
235
+
236
+ $input-border-radius: $border-radius-large !default;
237
+
238
+ $legend-color: inherit !default;
239
+
240
+
241
+ //== Pagination
242
+ //
243
+ //##
244
+
245
+ $pagination-color: mix($brand-primary, white, 20%) !default;
246
+
247
+
248
+ //== Pager
249
+ //
250
+ //##
251
+
252
+ $pager-padding: 9px 15px 10px !default;
253
+
254
+
255
+ //== Navbar
256
+ //
257
+ //##
258
+
259
+ // Basics of a navbar
260
+ $zindex-navbar: 1000 !default;
261
+ $zindex-navbar-fixed: 1030 !default;
262
+ $navbar-height-base: 53px !default;
263
+ $navbar-height-large: 76px !default;
264
+ $navbar-input-line-height: 1.4 !default; // ~21px
265
+ $navbar-margin-bottom: $line-height-computed !default;
266
+ $navbar-border-radius: $border-radius-large !default;
267
+
268
+ $navbar-default-bg: saturate(adjust-hue(tint($brand-primary, 91%), -18), 2%) !default;
269
+
270
+ // Navbar links
271
+ $navbar-default-link-color: $brand-primary !default;
272
+ $navbar-default-link-hover-color: $brand-secondary !default;
273
+ $navbar-default-link-hover-bg: transparent !default;
274
+ $navbar-default-link-active-color: $brand-secondary !default;
275
+ $navbar-default-link-active-bg: transparent !default;
276
+ $navbar-default-link-disabled-color: #ccc !default;
277
+ $navbar-default-link-disabled-bg: transparent !default;
278
+
279
+ // Navbar nav carets
280
+ $navbar-default-caret-color: $navbar-default-link-color !default;
281
+ $navbar-default-caret-hover-color: $navbar-default-link-hover-color !default;
282
+ $navbar-default-caret-active-color: $navbar-default-link-active-color !default;
283
+
284
+ // Navbar brand label
285
+ $navbar-default-brand-color: $navbar-default-link-color !default;
286
+ $navbar-default-brand-hover-color: $navbar-default-link-hover-color !default;
287
+ $navbar-default-brand-hover-bg: transparent !default;
288
+
289
+ // Navbar toggle
290
+ $navbar-default-toggle-color: $navbar-default-link-color !default;
291
+ $navbar-default-toggle-hover-color: $navbar-default-link-hover-color !default;
292
+
293
+ // Navbar form
294
+ $navbar-default-form-placeholder: adjust-hue(tint($brand-primary, 60%), 2) !default;
295
+ $navbar-default-form-icon: desaturate(tint($brand-primary, 45%), 2%) !default;
296
+ $navbar-default-form-border: shade($navbar-default-bg, 3%) !default;
297
+
298
+
299
+ // Inverted navbar
300
+ // Reset inverted navbar basics
301
+ $navbar-inverse-divider: darken($brand-primary, 3%) !default;
302
+
303
+ // Reset inverted navbar basics
304
+ $navbar-inverse-color: $inverse !default;
305
+ $navbar-inverse-bg: $brand-primary !default;
306
+ $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
307
+
308
+ // Inverted navbar links
309
+ $navbar-inverse-link-color: $inverse !default;
310
+ $navbar-inverse-link-hover-color: $brand-secondary !default;
311
+ $navbar-inverse-link-hover-bg: transparent !default;
312
+ $navbar-inverse-link-active-color: $navbar-inverse-link-color !default;
313
+ $navbar-inverse-link-active-bg: $brand-secondary !default;
314
+ $navbar-inverse-link-disabled-color: #444 !default;
315
+ $navbar-inverse-link-disabled-bg: transparent !default;
316
+
317
+ // Navbar nav carets
318
+ $navbar-inverse-caret-color: lighten(desaturate($brand-primary, 7%), 9%) !default;
319
+ $navbar-inverse-caret-hover-color: $navbar-inverse-link-hover-color !default;
320
+ $navbar-inverse-caret-active-color: $navbar-inverse-link-active-color !default;
321
+
322
+ // Inverted navbar brand label
323
+ $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
324
+ $navbar-inverse-brand-hover-color: $navbar-inverse-link-hover-color !default;
325
+ $navbar-inverse-brand-hover-bg: transparent !default;
326
+
327
+ // Inverted navbar toggle
328
+ $navbar-inverse-toggle-color: $navbar-inverse-link-color !default;
329
+ $navbar-inverse-toggle-hover-color: $navbar-inverse-link-hover-color !default;
330
+
331
+ // Navbar form
332
+ $navbar-inverse-form-bg: darken($brand-primary, 6%) !default;
333
+ $navbar-inverse-form-placeholder: desaturate(lighten($brand-primary, 13%), 7%) !default;
334
+ $navbar-inverse-form-icon: desaturate(lighten($brand-primary, 13%), 6%) !default;
335
+ $navbar-inverse-form-border: $navbar-inverse-divider !default;
336
+
337
+ // Dropdown menu
338
+ $navbar-inverse-dropdown-arrow: $navbar-inverse-bg !default;
339
+ $navbar-inverse-dropdown-bg: $navbar-inverse-bg !default;
340
+ $navbar-inverse-dropdown-link-color: mix($navbar-inverse-bg, $navbar-inverse-color, 15%) !default;
341
+ $navbar-inverse-dropdown-link-hover-color: $inverse !default;
342
+ $navbar-inverse-dropdown-link-hover-bg: $brand-secondary !default;
343
+
344
+
345
+ //== Dropdown Menu
346
+ //
347
+ //##
348
+
349
+ $dropdown-background: mix($inverse, $brand-primary, 94%) !default;
350
+
351
+
352
+ //== Iconbar
353
+ //
354
+ //##
355
+
356
+ $iconbar-background: mix($brand-primary, black, 85%) !default;
357
+
358
+
359
+ //== Progress bars
360
+ //
361
+ //##
362
+
363
+ $progress-height: 12px !default;
364
+
365
+
366
+ //== Slider
367
+ //
368
+ //##
369
+
370
+ $slider-height: 12px !default;
371
+ $slider-value-font-size: floor($component-font-size-base * 0.867); // ~13px !default;
372
+
373
+ $slider-handle-bg: mix($brand-secondary, black, 85%) !default;
374
+ $slider-handle-hover-bg: mix($brand-secondary, white, 80%) !default;
375
+ $slider-handle-active-bg: mix($brand-secondary, black, 85%) !default;
376
+
377
+ $slider-range-bg: $brand-secondary !default;
378
+
379
+ $slider-segment-bg: mix(desaturate($brand-primary, 15%), white, 20%) !default;
380
+
381
+
382
+ //== Switch
383
+ //
384
+ //##
385
+
386
+ $switch-border-radius: 30px !default;
387
+ $switch-width: 80px !default;
388
+
389
+
390
+ //== Thumbnails
391
+ //
392
+ //##
393
+
394
+ //** Padding around the thumbnail image
395
+ $thumbnail-padding: 4px !default;
396
+ //** Thumbnail background color
397
+ $thumbnail-bg: $body-bg !default;
398
+ //** Thumbnail border color
399
+ $thumbnail-border: $gray-light !default;
400
+ //** Thumbnail border radius
401
+ $thumbnail-border-radius: $border-radius-large !default;
402
+
403
+ //** Custom text color for thumbnail captions
404
+ $thumbnail-caption-color: $text-color !default;
405
+ //** Padding around the thumbnail caption
406
+ $thumbnail-caption-padding: 9px !default;
407
+
408
+
409
+ //== Media queries breakpoints
410
+ //
411
+ //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
412
+
413
+ // Extra small screen / phone
414
+ $screen-xs-min: 480px !default;
415
+
416
+ // Small screen / tablet
417
+ $screen-sm-min: 768px !default;
418
+
419
+ // Medium screen / desktop
420
+ $screen-md-min: 992px !default;
421
+
422
+ // Large screen / wide desktop
423
+ $screen-lg-min: 1200px !default;
424
+
425
+ // So media queries don't overlap when required, provide a maximum
426
+ $screen-xs-max: ($screen-sm-min - 1) !default;
427
+ $screen-sm-max: ($screen-md-min - 1) !default;
428
+ $screen-md-max: ($screen-lg-min - 1) !default;
429
+
430
+
431
+ //== Grid system
432
+ //
433
+ //## Define your custom responsive grid.
434
+
435
+ //** Number of columns in the grid.
436
+ $grid-columns: 12 !default;
437
+ //** Padding between columns. Gets divided in half for the left and right.
438
+ $grid-gutter-width: 30px !default;
439
+ // Navbar collapse
440
+ //** Point at which the navbar becomes uncollapsed.
441
+ $grid-float-breakpoint: $screen-sm-min !default;
442
+ //** Point at which the navbar begins collapsing.
443
+ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
444
+
445
+ // Form states and alerts
446
+ //
447
+ //## Define colors for form feedback states and, by default, alerts.
448
+
449
+ $state-success-text: $brand-success !default;
450
+ $state-success-bg: #dff0d8 !default;
451
+ $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
452
+
453
+ $state-info-text: $brand-info !default;
454
+ $state-info-bg: #d9edf7 !default;
455
+ $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
456
+
457
+ $state-warning-text: $brand-warning !default;
458
+ $state-warning-bg: #fcf8e3 !default;
459
+ $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
460
+
461
+ $state-danger-text: $brand-danger !default;
462
+ $state-danger-bg: #f2dede !default;
463
+ $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
464
+
465
+
466
+ // Code
467
+ //
468
+ //##
469
+
470
+ $code-color: #c7254e !default;
471
+ $code-bg: #f9f2f4 !default;
472
+
473
+ $kbd-color: $inverse !default;
474
+ $kbd-bg: $brand-primary !default;
475
+
476
+ $pre-bg: $inverse !default;
477
+ $pre-color: inherit !default;
478
+ $pre-border-color: mix($brand-primary, $inverse, 12%) !default;
479
+ $pre-scrollable-max-height: 340px !default;
480
+ $pre-border-radius: $border-radius-large !default;
481
+
482
+
483
+ // Type
484
+ //
485
+ //##
486
+
487
+ //** Text muted color
488
+ $text-muted: $gray-light !default;
489
+ //** Abbreviations and acronyms border color
490
+ $abbr-border-color: $gray-light !default;
491
+ //** Headings small color
492
+ $headings-small-color: mix($brand-primary, $inverse, 12%) !default;
493
+ //** Blockquote small color
494
+ $blockquote-small-color: inherit !default;
495
+ //** Blockquote border color
496
+ $blockquote-border-color: mix($brand-primary, $inverse, 12%) !default;
497
+ //** Page header border color
498
+ $page-header-border-color: mix($brand-primary, $inverse, 12%) !default;
499
+
500
+
501
+ // Miscellaneous
502
+ //
503
+ //##
504
+
505
+ //** Hr border color
506
+ $hr-border: mix($brand-primary, $inverse, 63%) !default;
507
+
508
+ //** Horizontal forms & lists
509
+ $component-offset-horizontal: 180px !default;