flatui-rails-less 1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +38 -0
  6. data/Rakefile +1 -0
  7. data/flatui-rails-less.gemspec +26 -0
  8. data/lib/flatui/rails/less.rb +11 -0
  9. data/lib/flatui/rails/less/version.rb +7 -0
  10. data/vendor/assets/fonts/Flat-UI-Icons.dev.svg +140 -0
  11. data/vendor/assets/fonts/Flat-UI-Icons.eot +0 -0
  12. data/vendor/assets/fonts/Flat-UI-Icons.svg +140 -0
  13. data/vendor/assets/fonts/Flat-UI-Icons.ttf +0 -0
  14. data/vendor/assets/fonts/Flat-UI-Icons.woff +0 -0
  15. data/vendor/assets/fonts/icomoon-session.json +1 -0
  16. data/vendor/assets/fonts/lato/lato-black-webfont.eot +0 -0
  17. data/vendor/assets/fonts/lato/lato-black-webfont.svg +4691 -0
  18. data/vendor/assets/fonts/lato/lato-black-webfont.ttf +0 -0
  19. data/vendor/assets/fonts/lato/lato-black-webfont.woff +0 -0
  20. data/vendor/assets/fonts/lato/lato-bold-webfont.eot +0 -0
  21. data/vendor/assets/fonts/lato/lato-bold-webfont.svg +5085 -0
  22. data/vendor/assets/fonts/lato/lato-bold-webfont.ttf +0 -0
  23. data/vendor/assets/fonts/lato/lato-bold-webfont.woff +0 -0
  24. data/vendor/assets/fonts/lato/lato-bolditalic-webfont.eot +0 -0
  25. data/vendor/assets/fonts/lato/lato-bolditalic-webfont.svg +4514 -0
  26. data/vendor/assets/fonts/lato/lato-bolditalic-webfont.ttf +0 -0
  27. data/vendor/assets/fonts/lato/lato-bolditalic-webfont.woff +0 -0
  28. data/vendor/assets/fonts/lato/lato-italic-webfont.eot +0 -0
  29. data/vendor/assets/fonts/lato/lato-italic-webfont.svg +4514 -0
  30. data/vendor/assets/fonts/lato/lato-italic-webfont.ttf +0 -0
  31. data/vendor/assets/fonts/lato/lato-italic-webfont.woff +0 -0
  32. data/vendor/assets/fonts/lato/lato-light-webfont.eot +0 -0
  33. data/vendor/assets/fonts/lato/lato-light-webfont.svg +4691 -0
  34. data/vendor/assets/fonts/lato/lato-light-webfont.ttf +0 -0
  35. data/vendor/assets/fonts/lato/lato-light-webfont.woff +0 -0
  36. data/vendor/assets/fonts/lato/lato-regular-webfont.eot +0 -0
  37. data/vendor/assets/fonts/lato/lato-regular-webfont.svg +4691 -0
  38. data/vendor/assets/fonts/lato/lato-regular-webfont.ttf +0 -0
  39. data/vendor/assets/fonts/lato/lato-regular-webfont.woff +0 -0
  40. data/vendor/assets/images/demo/browser-2x.png +0 -0
  41. data/vendor/assets/images/demo/browser-author.jpg +0 -0
  42. data/vendor/assets/images/demo/browser-pic-1.jpg +0 -0
  43. data/vendor/assets/images/demo/browser-pic-2.jpg +0 -0
  44. data/vendor/assets/images/demo/browser-pic-3.jpg +0 -0
  45. data/vendor/assets/images/demo/browser-pic-4.jpg +0 -0
  46. data/vendor/assets/images/demo/browser-pic-5.jpg +0 -0
  47. data/vendor/assets/images/demo/browser-pic-6.jpg +0 -0
  48. data/vendor/assets/images/demo/browser.png +0 -0
  49. data/vendor/assets/images/demo/html-icon.png +0 -0
  50. data/vendor/assets/images/demo/logo-mask-2x.png +0 -0
  51. data/vendor/assets/images/demo/logo-mask.png +0 -0
  52. data/vendor/assets/images/demo/video.jpg +0 -0
  53. data/vendor/assets/images/exaple-image.jpg +0 -0
  54. data/vendor/assets/images/favicon.ico +0 -0
  55. data/vendor/assets/images/footer/logo.png +0 -0
  56. data/vendor/assets/images/icons/png/Book.png +0 -0
  57. data/vendor/assets/images/icons/png/Calendar.png +0 -0
  58. data/vendor/assets/images/icons/png/Chat.png +0 -0
  59. data/vendor/assets/images/icons/png/Clipboard.png +0 -0
  60. data/vendor/assets/images/icons/png/Compas.png +0 -0
  61. data/vendor/assets/images/icons/png/Gift-Box.png +0 -0
  62. data/vendor/assets/images/icons/png/Infinity-Loop.png +0 -0
  63. data/vendor/assets/images/icons/png/Mail.png +0 -0
  64. data/vendor/assets/images/icons/png/Map.png +0 -0
  65. data/vendor/assets/images/icons/png/Pensils.png +0 -0
  66. data/vendor/assets/images/icons/png/Pocket.png +0 -0
  67. data/vendor/assets/images/icons/png/Retina-Ready.png +0 -0
  68. data/vendor/assets/images/icons/png/Toilet-Paper.png +0 -0
  69. data/vendor/assets/images/icons/png/Watches.png +0 -0
  70. data/vendor/assets/images/icons/svg/book.svg +1 -0
  71. data/vendor/assets/images/icons/svg/calendar.svg +1 -0
  72. data/vendor/assets/images/icons/svg/chat.svg +1 -0
  73. data/vendor/assets/images/icons/svg/clipboard.svg +1 -0
  74. data/vendor/assets/images/icons/svg/clocks.svg +9 -0
  75. data/vendor/assets/images/icons/svg/compas.svg +1 -0
  76. data/vendor/assets/images/icons/svg/gift-box.svg +1 -0
  77. data/vendor/assets/images/icons/svg/loop.svg +5 -0
  78. data/vendor/assets/images/icons/svg/mail.svg +1 -0
  79. data/vendor/assets/images/icons/svg/map.svg +1 -0
  80. data/vendor/assets/images/icons/svg/paper-bag.svg +1 -0
  81. data/vendor/assets/images/icons/svg/pencils.svg +1 -0
  82. data/vendor/assets/images/icons/svg/retina.svg +1 -0
  83. data/vendor/assets/images/icons/svg/toilet-paper.svg +1 -0
  84. data/vendor/assets/images/login/icon.png +0 -0
  85. data/vendor/assets/images/login/imac-2x.png +0 -0
  86. data/vendor/assets/images/login/imac.png +0 -0
  87. data/vendor/assets/images/switch/mask-square.png +0 -0
  88. data/vendor/assets/images/switch/mask.png +0 -0
  89. data/vendor/assets/images/tile/ribbon-2x.png +0 -0
  90. data/vendor/assets/images/tile/ribbon.png +0 -0
  91. data/vendor/assets/images/todo/done-2x.png +0 -0
  92. data/vendor/assets/images/todo/done.png +0 -0
  93. data/vendor/assets/images/todo/search-2x.png +0 -0
  94. data/vendor/assets/images/todo/search.png +0 -0
  95. data/vendor/assets/images/todo/todo-2x.png +0 -0
  96. data/vendor/assets/images/todo/todo.png +0 -0
  97. data/vendor/assets/images/video/fullscreen-2x.png +0 -0
  98. data/vendor/assets/images/video/fullscreen.png +0 -0
  99. data/vendor/assets/images/video/pause-2x.png +0 -0
  100. data/vendor/assets/images/video/pause.png +0 -0
  101. data/vendor/assets/images/video/play-2x.png +0 -0
  102. data/vendor/assets/images/video/play.png +0 -0
  103. data/vendor/assets/images/video/poster.jpg +0 -0
  104. data/vendor/assets/images/video/volume-full-2x.png +0 -0
  105. data/vendor/assets/images/video/volume-full.png +0 -0
  106. data/vendor/assets/images/video/volume-off-2x.png +0 -0
  107. data/vendor/assets/images/video/volume-off.png +0 -0
  108. data/vendor/assets/javascripts/bootstrap-select.js +412 -0
  109. data/vendor/assets/javascripts/bootstrap-switch.js +251 -0
  110. data/vendor/assets/javascripts/bootstrap-typeahead.js +335 -0
  111. data/vendor/assets/javascripts/bootstrap.min.js +8 -0
  112. data/vendor/assets/javascripts/flat-ui.js +13 -0
  113. data/vendor/assets/javascripts/flatui-checkbox.js +112 -0
  114. data/vendor/assets/javascripts/flatui-radio.js +141 -0
  115. data/vendor/assets/javascripts/html5shiv.js +8 -0
  116. data/vendor/assets/javascripts/icon-font-ie7.js +57 -0
  117. data/vendor/assets/javascripts/jquery-ui-1.10.3.custom.min.js +6 -0
  118. data/vendor/assets/javascripts/jquery.placeholder.js +157 -0
  119. data/vendor/assets/javascripts/jquery.stacktable.js +54 -0
  120. data/vendor/assets/javascripts/jquery.tagsinput.js +355 -0
  121. data/vendor/assets/javascripts/jquery.ui.touch-punch.min.js +11 -0
  122. data/vendor/assets/javascripts/run-application.js +70 -0
  123. data/vendor/assets/stylesheets/demo.less +306 -0
  124. data/vendor/assets/stylesheets/docs.less +411 -0
  125. data/vendor/assets/stylesheets/flat-ui.less +47 -0
  126. data/vendor/assets/stylesheets/fonts.less +65 -0
  127. data/vendor/assets/stylesheets/icon-font.less +128 -0
  128. data/vendor/assets/stylesheets/mixins.less +780 -0
  129. data/vendor/assets/stylesheets/modules/button-groups.less +110 -0
  130. data/vendor/assets/stylesheets/modules/buttons.less +145 -0
  131. data/vendor/assets/stylesheets/modules/caret.less +31 -0
  132. data/vendor/assets/stylesheets/modules/checkbox-and-radio.less +143 -0
  133. data/vendor/assets/stylesheets/modules/code.less +38 -0
  134. data/vendor/assets/stylesheets/modules/dropdown.less +249 -0
  135. data/vendor/assets/stylesheets/modules/footer.less +76 -0
  136. data/vendor/assets/stylesheets/modules/forms.less +127 -0
  137. data/vendor/assets/stylesheets/modules/input-icons.less +71 -0
  138. data/vendor/assets/stylesheets/modules/login.less +111 -0
  139. data/vendor/assets/stylesheets/modules/navbar.less +551 -0
  140. data/vendor/assets/stylesheets/modules/pager.less +51 -0
  141. data/vendor/assets/stylesheets/modules/pagination.less +155 -0
  142. data/vendor/assets/stylesheets/modules/palette.less +71 -0
  143. data/vendor/assets/stylesheets/modules/progress-bars.less +36 -0
  144. data/vendor/assets/stylesheets/modules/select.less +143 -0
  145. data/vendor/assets/stylesheets/modules/share.less +44 -0
  146. data/vendor/assets/stylesheets/modules/switch.less +150 -0
  147. data/vendor/assets/stylesheets/modules/tagsinput.less +121 -0
  148. data/vendor/assets/stylesheets/modules/tile.less +54 -0
  149. data/vendor/assets/stylesheets/modules/todo.less +110 -0
  150. data/vendor/assets/stylesheets/modules/tooltip.less +56 -0
  151. data/vendor/assets/stylesheets/modules/type.less +210 -0
  152. data/vendor/assets/stylesheets/modules/ui-slider.less +62 -0
  153. data/vendor/assets/stylesheets/modules/video.less +458 -0
  154. data/vendor/assets/stylesheets/scaffolding.less +46 -0
  155. data/vendor/assets/stylesheets/spaces.less +172 -0
  156. data/vendor/assets/stylesheets/variables.less +294 -0
  157. metadata +256 -0
@@ -0,0 +1,306 @@
1
+ // Demo Flat UI Free
2
+
3
+
4
+ // Loading config with variables (changing them leads to changing a color scheme)
5
+ @import "variables";
6
+
7
+ // Utility mixins for greater good
8
+ @import "mixins";
9
+
10
+ .container {
11
+ max-width: 970px !important;
12
+ }
13
+
14
+ // For demo purposes only
15
+ .demo-headline {
16
+ padding: 73px 0 110px;
17
+ text-align: center;
18
+ }
19
+ .demo-logo {
20
+ font: 900 90px/100px @font-family-demo;
21
+ letter-spacing: -2px;
22
+ margin: 10px 0;
23
+
24
+ .logo {
25
+ background: ~"url(../images/demo/logo-mask.png) center 0 no-repeat";
26
+ background-size: 236px 181px;
27
+ height: 181px;
28
+ margin: 0 auto 26px;
29
+ overflow: hidden;
30
+ text-indent: -9999em;
31
+ width: 236px;
32
+ }
33
+ small {
34
+ color: fadeout(@brand-primary, 70%);
35
+ display: block;
36
+ font-size: 22px;
37
+ font-weight: 700;
38
+ letter-spacing: 0;
39
+ padding-top: 5px;
40
+ }
41
+ }
42
+ // Panels delimiter
43
+ .demo-row {
44
+ margin-bottom: 20px;
45
+
46
+ .demo-heading-note,
47
+ .demo-text-note {
48
+ display: block;
49
+ width: 260px;
50
+ position: absolute;
51
+ bottom: 10px;
52
+ left: 0;
53
+ font-size: 13px;
54
+ line-height: 13px;
55
+ color: mix(desaturate(@brand-primary, 25%), white, 34%);
56
+ font-weight: 400;
57
+ }
58
+ .demo-text-note {
59
+ bottom: auto;
60
+ top: 10px;
61
+ }
62
+
63
+ &.typography-row {
64
+ .demo-content {
65
+ float: none;
66
+ width: auto;
67
+ clear: both;
68
+ }
69
+ .demo-type-example {
70
+ padding-left: 25%;
71
+ margin-bottom: 40px;
72
+ position: relative;
73
+ }
74
+ }
75
+ }
76
+ .demo-section-title {
77
+ font: 900 32px/40px @font-family-demo;
78
+ margin: 10px 0;
79
+ }
80
+ .demo-panel-title {
81
+ padding-top: 20px;
82
+ margin: 2px 0 20px;
83
+ font: bold 23px/40px @font-family-demo;
84
+
85
+ small {
86
+ color: mix(@brand-primary, @inverse, 66%);
87
+ font-size: inherit;
88
+ font-weight: 400;
89
+ }
90
+ }
91
+ // Shift blocks to fit design
92
+ .demo-navigation {
93
+ margin-bottom: -4px;
94
+ margin-top: -10px;
95
+ }
96
+ .demo-pager {
97
+ margin-top: -20px;
98
+ }
99
+ .demo-tooltips {
100
+ height: 126px;
101
+
102
+ // Needed just for the demo. Don't use it in producion ;)
103
+ .tooltip {
104
+ left: -8px !important;
105
+ position: relative !important;
106
+ top: -8px !important;
107
+ }
108
+ }
109
+ .demo-headings {
110
+ margin-bottom: 12px;
111
+ }
112
+ .demo-tiles {
113
+ margin-bottom: 46px
114
+ }
115
+
116
+ .demo-icons {
117
+ font-size: 32px;
118
+ margin-left: -20px;
119
+ padding-left: 20px;
120
+
121
+ .demo-content {
122
+ margin: 0 0 0 -35px;
123
+
124
+ > span {
125
+ display: inline-block;
126
+ margin: 0 0 32px 35px;
127
+ width: 24px;
128
+ font-size: 24px;
129
+ }
130
+ }
131
+ }
132
+
133
+ .demo-icons-tooltip {
134
+ bottom: 0;
135
+ color: mix(@brand-primary, @inverse, 30%);
136
+ font-size: 12px;
137
+ left: 100%;
138
+ margin-left: 0 !important;
139
+ position: absolute;
140
+ width: 80px;
141
+ }
142
+
143
+ // Illustration Icons
144
+ // --------------------------------------------------
145
+ .demo-illustrations {
146
+
147
+ .demo-content {
148
+ margin: 0 0 0 -40px;
149
+ padding-top: 20px;
150
+ .clearfix();
151
+
152
+ > div {
153
+ float: left;
154
+ width: 100px;
155
+ height: 100px;
156
+ line-height: 100px;
157
+ margin: 0 0 40px 40px;
158
+ text-align: center;
159
+ }
160
+ }
161
+ img {
162
+ display: inline-block;
163
+ max-height: 100px;
164
+ max-width: 100px;
165
+ vertical-align: middle;
166
+ }
167
+ }
168
+
169
+ .demo-samples {
170
+ margin-bottom: 46px;
171
+ }
172
+ .demo-video {
173
+ padding-top: 95px;
174
+ border-radius: @border-radius-large;
175
+ }
176
+ .demo-download-section {
177
+ float: none;
178
+ margin: 0 auto;
179
+ padding: 60px 0 90px 20px;
180
+ text-align: center;
181
+
182
+ [class*='fui-'] {
183
+ margin: 3px 0 -3px;
184
+ }
185
+ }
186
+ .demo-download {
187
+ background-color: mix(@brand-primary, @inverse, 10%);
188
+ height: 190px;
189
+ margin: 0 auto 32px;
190
+ padding: 40px 28px 30px 32px;
191
+ text-align: center;
192
+ width: 190px;
193
+ border-radius: 50%;
194
+
195
+ img {
196
+ height: 104px;
197
+ width: 82px;
198
+ }
199
+ }
200
+ .demo-download-text {
201
+ font-size: 15px;
202
+ padding: 20px 0;
203
+ text-align: center;
204
+ }
205
+ .demo-text-box {
206
+ a:hover {
207
+ color: @brand-secondary;
208
+ }
209
+ }
210
+ .demo-browser {
211
+ background: mix(@brand-primary, black, 85%) url(../images/demo/browser.png) 0 0 no-repeat;
212
+ background-size: 659px 42px;
213
+ color: @inverse;
214
+ margin: 0 41px 140px 0;
215
+ padding-top: 42px;
216
+ border-radius: 0 0 @border-radius-large @border-radius-large;
217
+ }
218
+ .demo-browser-side {
219
+ float: left;
220
+ padding: 22px 20px;
221
+ width: 151px;
222
+
223
+ > h5 {
224
+ font-size: 16px;
225
+ margin-top: 4px;
226
+ margin-bottom: 3px;
227
+ text-transform: none;
228
+ font-weight: 400;
229
+ }
230
+ > h6 {
231
+ font-size: 11px;
232
+ font-weight: 300;
233
+ line-height: 18px;
234
+ margin-top: 3px;
235
+ text-transform: none;
236
+ -webkit-font-smoothing: subpixel-antialiased;
237
+ }
238
+ }
239
+ .demo-browser-author {
240
+ background: ~"url(../images/demo/browser-author.jpg) center center no-repeat";
241
+ border: 3px solid @inverse;
242
+ display: block;
243
+ height: 84px;
244
+ margin: 0 auto;
245
+ width: 84px;
246
+ border-radius: 50%;
247
+ }
248
+ .demo-browser-action {
249
+ padding: 30px 0 12px;
250
+
251
+ > .btn {
252
+ padding: 7px 0 8px 11px !important;
253
+ text-align: left;
254
+ border-radius: @border-radius-small;
255
+
256
+ &:before {
257
+ color: @inverse;
258
+ content: '\e009';
259
+ font-size: 16px;
260
+ font-family: 'Flat-UI-Icons';
261
+ font-weight: 300;
262
+ margin-right: 12px;
263
+ position: relative;
264
+ top: 1px;
265
+ -webkit-font-smoothing: antialiased;
266
+ }
267
+ }
268
+ }
269
+ .demo-browser-content {
270
+ background-color: @brand-primary;
271
+ overflow: hidden;
272
+ padding: 21px 0 0 20px;
273
+ border-radius: 0 0 @border-radius-large;
274
+
275
+ > img {
276
+ border: 6px solid @inverse;
277
+ float: left;
278
+ margin: 0 15px 20px 0;
279
+ width: 146px;
280
+ }
281
+ }
282
+ // Serving 2x images
283
+ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 2) {
284
+ .logo {
285
+ background-image: url(../images/demo/logo-mask-2x.png)
286
+ }
287
+ .demo-browser {
288
+ background-image: url(../images/demo/browser-2x.png)
289
+ }
290
+ }
291
+
292
+ // Shatches
293
+ .demo-swatches-row {
294
+ [class*="col"] {
295
+ float: left;
296
+ min-height: 1px;
297
+ }
298
+ .swatches-col {
299
+ width: 800px;
300
+ margin-left: -5px;
301
+ }
302
+ .swatches-desc-col {
303
+ width: 140px;
304
+ margin-left: 20px;
305
+ }
306
+ }
@@ -0,0 +1,411 @@
1
+ // Flat UI Documentation
2
+
3
+
4
+ // Loading config with variables (changing them leads to changing a color scheme)
5
+ @import "variables";
6
+
7
+ // Utility mixins for greater good
8
+ @import "mixins";
9
+
10
+ .prettyprint {
11
+ overflow: auto;
12
+
13
+ &.linenums {
14
+ overflow: visible;
15
+ white-space: pre;
16
+ white-space: pre-wrap;
17
+ word-wrap: break-word;
18
+ }
19
+ }
20
+
21
+ // For demo purposes only
22
+ .demo-headline {
23
+ color: @brand-secondary;
24
+ font: 700 118px/1.1 @font-family-demo !important;
25
+ margin-bottom: 50px;
26
+ margin-top: 2px;
27
+ padding: 40px 0;
28
+ text-align: center;
29
+ word-wrap: break-word;
30
+ }
31
+
32
+ // Panels delimiter
33
+ .demo-row {
34
+ margin: 0 auto;
35
+ padding: 0 20px 50px;
36
+ width: 940px;
37
+ .clearfix();
38
+
39
+ .demo-heading-note,
40
+ .demo-text-note {
41
+ display: block;
42
+ width: 260px;
43
+ position: absolute;
44
+ bottom: 10px;
45
+ left: 0;
46
+ font-size: 13px;
47
+ line-height: 13px;
48
+ color: mix(desaturate(@brand-primary, 25%), white, 34%);
49
+ font-weight: 400;
50
+ }
51
+ .demo-text-note {
52
+ bottom: auto;
53
+ top: 10px;
54
+ }
55
+ &.menu-row {
56
+ padding: 50px 20px 10px;
57
+ }
58
+ &.typography-row {
59
+ .demo-content {
60
+ float: none;
61
+ margin-left: 20px;
62
+ padding-top: 0;
63
+ width: auto;
64
+ clear: both;
65
+ }
66
+ .demo-type-example {
67
+ padding-left: 265px;
68
+ margin-bottom: 40px;
69
+ position: relative;
70
+ }
71
+ }
72
+ }
73
+
74
+ .demo-col {
75
+ float: left;
76
+ margin: 0 20px;
77
+ width: 270px;
78
+ }
79
+
80
+ .demo-content {
81
+ float: left;
82
+ margin-left: 20px;
83
+ width: 580px;
84
+
85
+ &.demo-content-article {
86
+ font-size: ceil(@font-size-base * 1.285);
87
+ p { margin-bottom: 20px; }
88
+
89
+ ul {
90
+ list-style-type: none;
91
+ margin-left: 0;
92
+ }
93
+
94
+ li {
95
+ line-height: ceil(@font-size-base * 1.285 * 1.5);
96
+ padding: 0 0 5px;
97
+ }
98
+ }
99
+ }
100
+
101
+ .demo-content-wide {
102
+ clear: both;
103
+ margin: 0 20px;
104
+ .clearfix();
105
+ }
106
+
107
+ .demo-title {
108
+ float: left;
109
+ margin: -0.5em 20px 0;
110
+ width: 240px;
111
+ font: 700 24.5px/40px @font-family-demo;
112
+
113
+ h1, h2, h3, h4 {
114
+ margin-top: 0;
115
+ font-family: @font-family-demo;
116
+ }
117
+ h1, h2, h3 {
118
+ line-height: 40px !important;
119
+ }
120
+ h3 {
121
+ font-size: 24.5px !important;
122
+ }
123
+ small {
124
+ color: mix(desaturate(@brand-primary, 25%), white, 34%);
125
+ font-size: 13px;
126
+ font-weight: 400;
127
+ }
128
+ }
129
+
130
+ .demo-buttons .btn,
131
+ .demo-inputs .control-group {
132
+ margin-bottom: 20px;
133
+ }
134
+
135
+ .demo-navigation {
136
+ .demo-title {
137
+ margin-top: 10px;
138
+ }
139
+ }
140
+
141
+ .demo-pager {
142
+ margin-top: -10px;
143
+ }
144
+
145
+ .demo-tooltips {
146
+ height: 100px;
147
+ // Needed just for the demo. Don't use it in producion ;)
148
+
149
+ .tooltip {
150
+ left: -8px !important;
151
+ position: relative !important;
152
+ top: -8px !important;
153
+ }
154
+ .tooltip-inner {
155
+ max-width: 100%;
156
+ width: auto;
157
+ }
158
+ }
159
+
160
+ .demo-popovers {
161
+ .popover {
162
+ display: block;
163
+ margin: 0 13px 0 -3px;
164
+ position: relative;
165
+ width: auto;
166
+ }
167
+ }
168
+
169
+ .demo-social-buttons {
170
+ .btn {
171
+ clear: left;
172
+ float: left;
173
+ margin-bottom: 17px;
174
+ }
175
+ }
176
+
177
+ .demo-headings {
178
+ margin-bottom: 12px;
179
+ }
180
+
181
+ .demo-tiles {
182
+ margin-bottom: 46px;
183
+ }
184
+
185
+ .demo-icons {
186
+ font-size: 32px;
187
+ margin-left: -15px;
188
+
189
+ > span {
190
+ display: inline-block;
191
+ margin: 0 0 32px 35px;
192
+ width: 32px;
193
+ }
194
+
195
+ @media (max-width: 480px) {
196
+ & {
197
+ > span {
198
+ margin-left: 16px;
199
+ margin-right: 16px;
200
+ }
201
+ }
202
+ }
203
+ }
204
+
205
+ .demo-icons-tooltip {
206
+ bottom: 0;
207
+ color: mix(@brand-primary, white, 30%);
208
+ font-size: 12px;
209
+ left: 100%;
210
+ margin-left: 0 !important;
211
+ position: absolute;
212
+ width: 80px;
213
+ }
214
+
215
+ .demo-inline {
216
+ display: inline-block;
217
+ }
218
+
219
+ .demo-labels {
220
+ font-size: ceil(@font-size-base * 1.357);
221
+
222
+ .visible-lg {
223
+ display: inline !important;
224
+
225
+ @media (max-width: 767px) {
226
+ & {
227
+ display: none !important;
228
+ }
229
+ }
230
+ }
231
+ }
232
+
233
+
234
+ // Illustration Icons
235
+ // --------------------------------------------------
236
+ .demo-illustrations {
237
+ margin-top: 40px;
238
+
239
+ .demo-content-wide {
240
+ margin: 0 0 0 -66px;
241
+ padding-top: 20px;
242
+
243
+ > div {
244
+ float: left;
245
+ width: 100px;
246
+ height: 100px;
247
+ line-height: 100px;
248
+ margin: 0 0 80px 87px;
249
+ text-align: center;
250
+ vertical-align: middle;
251
+ }
252
+ }
253
+ img {
254
+ display: inline-block;
255
+ max-height: 100px;
256
+ max-width: 100px;
257
+ vertical-align: middle;
258
+ }
259
+ }
260
+
261
+ // Dialog with form inside
262
+ .demo-dialog {
263
+ padding: 13px 20px 15px;
264
+
265
+ .flat {
266
+ width: 300px;
267
+ }
268
+ }
269
+
270
+ // Static Modal
271
+ .static-modal-backdrop {
272
+ background-color: mix(@brand-primary, black, 70%);
273
+ padding: 62px 14px;
274
+ margin-bottom: 50px;
275
+ width: 100%;
276
+
277
+ .modal {
278
+ bottom: auto;
279
+ display: block;
280
+ left: auto;
281
+ position: relative;
282
+ right: auto;
283
+ top: auto;
284
+ z-index: 1;
285
+ overflow: hidden;
286
+ padding-bottom: 20px;
287
+ }
288
+ .modal-dialog {
289
+ padding: 0;
290
+ }
291
+ }
292
+
293
+ .components-static-modal {
294
+ .modal {
295
+ bottom: auto;
296
+ display: block;
297
+ left: auto;
298
+ position: relative;
299
+ right: auto;
300
+ top: auto;
301
+ z-index: 1;
302
+ overflow: visible;
303
+ }
304
+ .modal-dialog,
305
+ .modal-content {
306
+ width: auto;
307
+ }
308
+ .modal-dialog {
309
+ padding: 0;
310
+ }
311
+ }
312
+
313
+ // Sidebar for Components navigation
314
+ .demo-sidebar {
315
+ font-size: floor(@font-size-base * 0.778); // ~14px
316
+ line-height: 1.214; // ~17px
317
+ height: 100%;
318
+ left: 0;
319
+ margin: 0;
320
+ list-style-type: none;
321
+ overflow: auto;
322
+ position: fixed;
323
+ top: 0;
324
+ padding: 0;
325
+ width: 150px;
326
+ z-index: 10000;
327
+ background-color: mix(@brand-primary, white, 6%);
328
+ -webkit-backface-visibility: hidden;
329
+ -webkit-font-smoothing: subpixel-antialiased;
330
+
331
+ li {
332
+ &:first-child {
333
+ a {
334
+ padding-top: 20px;
335
+ }
336
+ }
337
+ }
338
+
339
+ a {
340
+ display: block;
341
+ padding: 7px 20px;
342
+ }
343
+ }
344
+
345
+ //
346
+ // Responsive: Landscape phone to desktop/tablet
347
+ // --------------------------------------------------
348
+ @media (max-width: 767px) {
349
+ .demo-row {
350
+ margin-bottom: 0;
351
+ margin-left: 0;
352
+ padding-left: 0;
353
+ padding-right: 0;
354
+ width: auto;
355
+ }
356
+ .demo-col,
357
+ .demo-content,
358
+ .demo-content-wide,
359
+ .demo-title {
360
+ float: none;
361
+ margin: 0 0 18px !important;
362
+ padding: 0 !important;
363
+ width: auto;
364
+ }
365
+ .demo-headline {
366
+ font-size: ceil(@font-size-base * 3.611) !important;
367
+ text-align: left;
368
+ padding-left: 15px;
369
+ padding-right: 15px;
370
+ }
371
+
372
+ .demo-inline { display: block; }
373
+
374
+ .demo-navigation {
375
+ .btn-toolbar {
376
+ margin: 0;
377
+ }
378
+
379
+ .pager {
380
+ display: block;
381
+ margin-left: 0 !important;
382
+ margin-bottom: 20px;
383
+ }
384
+ }
385
+ .typography-row {
386
+ .demo-type-example {
387
+ padding-left: 0 !important;
388
+ }
389
+ .demo-heading-note,
390
+ .demo-text-note {
391
+ position: static !important;
392
+ margin: 0 0 10px;
393
+ }
394
+ }
395
+ .demo-illustrations .demo-content-wide > div {
396
+ margin-left: 67px;
397
+ }
398
+ }
399
+
400
+ @media (max-width: 480px) {
401
+ .demo-illustrations .demo-content-wide > div {
402
+ margin-left: 23px;
403
+ }
404
+ .demo-navigation {
405
+ .mll.pvl {
406
+ padding: 0;
407
+ margin-left: 0 !important;
408
+ margin-bottom: 20px;
409
+ }
410
+ }
411
+ }