gumby2-rails 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +29 -0
  5. data/Rakefile +1 -0
  6. data/gumby2-rails.gemspec +19 -0
  7. data/lib/gumby2-rails/version.rb +5 -0
  8. data/lib/gumby2-rails.rb +9 -0
  9. data/vendor/assets/.DS_Store +0 -0
  10. data/vendor/assets/fonts/icons/entypo.eot +0 -0
  11. data/vendor/assets/fonts/icons/entypo.ttf +0 -0
  12. data/vendor/assets/fonts/icons/entypo.woff +0 -0
  13. data/vendor/assets/js/libs/gumby.init.js +27 -0
  14. data/vendor/assets/js/libs/gumby.js +150 -0
  15. data/vendor/assets/js/libs/gumby.min.js +1 -0
  16. data/vendor/assets/js/libs/jquery-1.10.1.min.js +6 -0
  17. data/vendor/assets/js/libs/jquery-2.0.2.min.js +6 -0
  18. data/vendor/assets/js/libs/jquery.mobile.custom.min.js +3 -0
  19. data/vendor/assets/js/libs/modernizr-2.6.2.min.js +4 -0
  20. data/vendor/assets/js/libs/ui/gumby.checkbox.js +90 -0
  21. data/vendor/assets/js/libs/ui/gumby.fittext.js +107 -0
  22. data/vendor/assets/js/libs/ui/gumby.fixed.js +206 -0
  23. data/vendor/assets/js/libs/ui/gumby.navbar.js +115 -0
  24. data/vendor/assets/js/libs/ui/gumby.radiobtn.js +79 -0
  25. data/vendor/assets/js/libs/ui/gumby.retina.js +74 -0
  26. data/vendor/assets/js/libs/ui/gumby.skiplink.js +145 -0
  27. data/vendor/assets/js/libs/ui/gumby.tabs.js +71 -0
  28. data/vendor/assets/js/libs/ui/gumby.toggleswitch.js +203 -0
  29. data/vendor/assets/js/libs/ui/jquery.validation.js +138 -0
  30. data/vendor/assets/js/main.js +25 -0
  31. data/vendor/assets/js/plugins.js +8 -0
  32. data/vendor/assets/stylesheets/.DS_Store +0 -0
  33. data/vendor/assets/stylesheets/gumby.css +1876 -0
  34. data/vendor/assets/stylesheets/sass/_base.scss +71 -0
  35. data/vendor/assets/stylesheets/sass/_custom.scss +1 -0
  36. data/vendor/assets/stylesheets/sass/_fonts.scss +28 -0
  37. data/vendor/assets/stylesheets/sass/_grid.scss +273 -0
  38. data/vendor/assets/stylesheets/sass/_typography.scss +274 -0
  39. data/vendor/assets/stylesheets/sass/extensions/modular-scale/lib/modular-scale.rb +129 -0
  40. data/vendor/assets/stylesheets/sass/extensions/modular-scale/stylesheets/_modular-scale.scss +310 -0
  41. data/vendor/assets/stylesheets/sass/extensions/sassy-math/lib/sassy-math.rb +159 -0
  42. data/vendor/assets/stylesheets/sass/extensions/sassy-math/stylesheets/_math.scss +310 -0
  43. data/vendor/assets/stylesheets/sass/functions/_all.scss +15 -0
  44. data/vendor/assets/stylesheets/sass/functions/_breakpoints.scss +11 -0
  45. data/vendor/assets/stylesheets/sass/functions/_buttons.scss +44 -0
  46. data/vendor/assets/stylesheets/sass/functions/_clearfix.scss +25 -0
  47. data/vendor/assets/stylesheets/sass/functions/_forms.scss +18 -0
  48. data/vendor/assets/stylesheets/sass/functions/_grid-calc.scss +59 -0
  49. data/vendor/assets/stylesheets/sass/functions/_height-calc.scss +6 -0
  50. data/vendor/assets/stylesheets/sass/functions/_line-and-height.scss +7 -0
  51. data/vendor/assets/stylesheets/sass/functions/_responsivity.scss +34 -0
  52. data/vendor/assets/stylesheets/sass/functions/_semantic-grid.scss +187 -0
  53. data/vendor/assets/stylesheets/sass/functions/_strip-units.scss +5 -0
  54. data/vendor/assets/stylesheets/sass/functions/_typography.scss +15 -0
  55. data/vendor/assets/stylesheets/sass/functions/_visibility.scss +17 -0
  56. data/vendor/assets/stylesheets/sass/gumby.scss +37 -0
  57. data/vendor/assets/stylesheets/sass/ui/_all.scss +10 -0
  58. data/vendor/assets/stylesheets/sass/ui/_buttons.scss +151 -0
  59. data/vendor/assets/stylesheets/sass/ui/_forms.scss +379 -0
  60. data/vendor/assets/stylesheets/sass/ui/_icons.scss +37 -0
  61. data/vendor/assets/stylesheets/sass/ui/_images.scss +21 -0
  62. data/vendor/assets/stylesheets/sass/ui/_labels.scss +86 -0
  63. data/vendor/assets/stylesheets/sass/ui/_navbar.scss +417 -0
  64. data/vendor/assets/stylesheets/sass/ui/_tables.scss +87 -0
  65. data/vendor/assets/stylesheets/sass/ui/_tabs.scss +109 -0
  66. data/vendor/assets/stylesheets/sass/ui/_toggles.scss +69 -0
  67. data/vendor/assets/stylesheets/sass/ui/_video.scss +22 -0
  68. data/vendor/assets/stylesheets/sass/var/_lists.scss +20 -0
  69. data/vendor/assets/stylesheets/sass/var/_settings.scss +149 -0
  70. data/vendor/assets/stylesheets/sass/var/icons/_entypo-icon-list.scss +286 -0
  71. data/vendor/assets/stylesheets/sass/var/icons/_entypo.scss +294 -0
  72. metadata +116 -0
@@ -0,0 +1,417 @@
1
+ /*=====================================================
2
+
3
+ Navigation (with dropdowns)
4
+
5
+ ======================================================*/
6
+
7
+
8
+ .navbar {
9
+ width: 100%;
10
+ min-height: 60px;
11
+ display: block;
12
+ margin-bottom: 20px;
13
+ background: $navbar-color; // Change this color in settings to change the navbar color
14
+ @include respond(all-phones) {
15
+ position: relative;
16
+ border: none;
17
+ .column, .columns {
18
+ min-height: 0;
19
+ }
20
+ }
21
+
22
+ &.fixed {
23
+ top: 0;
24
+ left: 0;
25
+ z-index: 99999;
26
+ }
27
+ a.toggle {
28
+ display: none;
29
+
30
+ // Navigation Toggle Mobile styles
31
+ @include respond(all-phones) {
32
+ top: 18%;
33
+ right: 4%;
34
+ width: 46px;
35
+ position: absolute;
36
+ text-align: center;
37
+ display: inline-block;
38
+ color: $navbar-link-color;
39
+ background: $navbar-color;
40
+ @include line-and-height(40px);
41
+ @include border-radius($button-radius);
42
+ @include font-size($larger);
43
+ &:hover {
44
+ background: lighten($navbar-color, 5%);
45
+ }
46
+ &:active, &.active {
47
+ background: darken($navbar-color, 5%);
48
+ }
49
+ }
50
+
51
+ }
52
+ .logo {
53
+ display: inline-block;
54
+ margin: 0 $gutter 0 0;
55
+ padding: 0;
56
+ @include line-and-height(height-calc($larger - 3));
57
+ a {
58
+ display: block;
59
+ padding: 0 0 0 $norm;
60
+ overflow: hidden;
61
+ @include line-and-height(height-calc($larger - 3));
62
+ }
63
+
64
+ // Navbar Logo Mobile Styles
65
+ @include respond(all-phones) {
66
+ float: $default-float;
67
+ display: inline;
68
+ a {
69
+ padding: 0;
70
+ img {
71
+ width: auto;
72
+ height: auto;
73
+ max-width: 100%;
74
+ }
75
+ }
76
+ }
77
+ }
78
+
79
+ ul {
80
+ display: table;
81
+ vertical-align: middle;
82
+ margin: 0;
83
+ float: none;
84
+
85
+ // Navbar Navigation List Mobile Specific Styles
86
+ @include respond(all-phones) {
87
+ position: absolute;
88
+ display: block;
89
+ width: 100% !important;
90
+ height: 0;
91
+ max-height: 0;
92
+ top: 60px;
93
+ left: 0;
94
+ overflow: hidden;
95
+ text-align: center;
96
+ background: darken($navbar-color, 5%);
97
+ &.active {
98
+ height: auto;
99
+ max-height: 600px;
100
+ z-index: 999999;
101
+ @include transition-duration(.5s);
102
+ @include box-shadow(0 2px 2px darken($navbar-color, 15%));
103
+ }
104
+ }
105
+
106
+ li {
107
+ display: table-cell;
108
+ text-align: center;
109
+ padding-bottom: 0;
110
+ margin: 0;
111
+ @include line-and-height(height-calc($larger - 3));
112
+
113
+ // Navbar List Item Mobile Specific Styles
114
+ @include respond(all-phones) {
115
+ display: block;
116
+ position: relative;
117
+ min-height: 50px;
118
+ max-height: 320px;
119
+ height: auto;
120
+ width: 100%;
121
+ border-right: 0 !important;
122
+ @include box-shadow(none);
123
+ @include transition-duration(.5s);
124
+ }
125
+
126
+ > a {
127
+ display: block;
128
+ padding: 0 ms(0);
129
+ white-space: nowrap;
130
+ color: $navbar-link-color;
131
+ text-shadow: 0 1px 2px darken($navbar-color, 20%),
132
+ 0 1px 0 darken($navbar-color, 20%);
133
+ @include line-and-height(height-calc($larger - 3));
134
+ @include font-size($norm);
135
+ i.icon-popup {
136
+ position: absolute;
137
+ }
138
+ }
139
+ .btn {
140
+ border-color: darken($navbar-color, 30%) !important;
141
+ }
142
+ &.field {
143
+ margin-bottom: 0 !important;
144
+ margin-right: 0;
145
+ @include respond(all-phones) {
146
+ padding: 0 $gutter-in-px;
147
+ }
148
+ input.search {
149
+ background: darken($navbar-color, 20%);
150
+ border: none;
151
+ color: $default-color;
152
+ }
153
+ }
154
+ .dropdown {
155
+ width: auto;
156
+ min-width: 0px;
157
+ max-width: $min-device-width;
158
+ height: 0;
159
+ position: absolute;
160
+ background: lighten($default-color, 3%);
161
+ overflow: hidden;
162
+ z-index: 999;
163
+ }
164
+ // Navigation Dropdown Mobile Specific Styles
165
+ @include respond(all-phones) {
166
+ .dropdown {
167
+ width: 100%;
168
+ max-width: 100%;
169
+ position: relative;
170
+ @include box-shadow(none !important);
171
+ }
172
+ &.active .dropdown {
173
+ border-bottom: 1px solid darken($navbar-color, 10%);
174
+ }
175
+ &.active .dropdown ul {
176
+ position: relative;
177
+ top: 0;
178
+ background: darken($navbar-color, 8%);
179
+ min-height: 50px;
180
+ max-height: 250px;
181
+ height: auto;
182
+ overflow: auto;
183
+ @include box-shadow(none !important);
184
+ li {
185
+ min-height: 50px;
186
+ border-bottom: darken($navbar-color, 5%);
187
+ a {
188
+ color: $white;
189
+ border-bottom: 1px solid darken($navbar-color, 10%);
190
+ &:hover {color: $body-link-color;}
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+
198
+ // Mobile Only Navbar Styles
199
+ @include respond(tablets) {
200
+ > ul > li > .btn a {
201
+ padding: 0 $small 0 $small !important;
202
+ }
203
+ ul > li .dropdown ul li.active .dropdown {
204
+ left: -$min-device-width;
205
+ }
206
+ }
207
+
208
+ }
209
+
210
+
211
+
212
+
213
+ /**** Navbar positioning for Microsoft's browser who deserves not to be mentioned ****/
214
+
215
+ .ie7 .navbar > ul { width: auto; }
216
+
217
+ .ie7 .navbar, .ie7 .navbar > ul > li > a { display: block; }
218
+
219
+ .ie7 .navbar .logo, .ie7 .navbar ul, .ie7 .navbar ul li { float: left; display: inline-block; }
220
+
221
+ .ie7 .navbar .logo a { display: block; overflow: hidden; }
222
+
223
+ .ie7 .navbar > ul > li .field { display: block; padding: 12px 18px 0; width: 80%; }
224
+
225
+
226
+ // Pretty Navigation Styles
227
+
228
+ .pretty.navbar {
229
+ @include background-image(linear-gradient(lighten($navbar-color, 20%),darken($navbar-color, 10%)));
230
+ @include box-shadow(inset 0 1px 1px lighten($navbar-color, 20%),
231
+ 0 1px 2px rgba(0,0,0,0.80) !important); /* Remove this line if you dont want a dropshadow on your navigation*/
232
+
233
+ // Pretty Nav Toggle Styles
234
+ @include respond(all-phones) {
235
+ a.toggle {
236
+ border: 1px solid darken($navbar-color, 5%);
237
+ @include background-image(linear-gradient(lighten($navbar-color, 20%), $navbar-color));
238
+ @include box-shadow(inset 0 1px 2px lighten($navbar-color, 25%),
239
+ inset 0 -1px 1px lighten($navbar-color, 5%),
240
+ inset 1px 0 1px lighten($navbar-color, 5%),
241
+ inset -1px 0 1px lighten($navbar-color, 5%),
242
+ 0 1px 1px lighten($navbar-color, 10%));
243
+ i {
244
+ @include text-shadow(0 1px 1px darken($navbar-color, 20%));
245
+ }
246
+ &:hover {
247
+ @include background-image(linear-gradient(lighten($navbar-color, 25%), lighten($navbar-color, 5%)));
248
+ }
249
+ &:active, &.active {
250
+ @include background-image(linear-gradient(darken($navbar-color, 5%), $navbar-color));
251
+ @include box-shadow(0 1px 1px lighten($navbar-color, 10%));
252
+ }
253
+ }
254
+ }
255
+ &.row {
256
+ @include border-radius($button-radius);
257
+ @include respond(all-phones) {
258
+ @include border-radius(0);
259
+ }
260
+ }
261
+ ul li.field input.search {
262
+ @include background-image(linear-gradient(darken($navbar-color, 20%), lighten($navbar-color, 2%)));
263
+ border: none;
264
+ @include box-shadow(0 1px 2px lighten($navbar-color, 25%) !important); /* Remove this line if you dont want a dropshadow on your navigation*/
265
+ }
266
+ > ul > li:first-child, .pretty.navbar > ul > li:first-child a:hover {
267
+ @include box-shadow(none);
268
+ }
269
+ }
270
+
271
+ // Dropdown menu styles
272
+
273
+ .navbar li .dropdown ul {
274
+ margin: 0;
275
+ display: block;
276
+ > li {
277
+ position:relative;
278
+ display: block;
279
+ width: 100%;
280
+ float: left;
281
+ text-align: left;
282
+ height: auto;
283
+ @include border-radius(none);
284
+ @include respond(tablets) {
285
+ max-width: $min-device-width;
286
+ word-wrap: break-word;
287
+ }
288
+ a {
289
+ display: block;
290
+ padding: 0 20px;
291
+ color: $body-link-color;
292
+ border-bottom: 1px solid $horizontal-rule-color;
293
+ text-shadow: none;
294
+ @include line-and-height(height-calc($large - 3));
295
+ @include respond(all-phones) {
296
+ padding: 0 $gutter-in-px;
297
+ }
298
+ }
299
+ .dropdown {
300
+ display: none;
301
+ background: lighten($default-color, 10%);
302
+ }
303
+ }
304
+ li:first-child a {
305
+ @include border-radius(0);
306
+ }
307
+ }
308
+
309
+ .gumby-no-touch .navbar ul li:hover > a,
310
+ .gumby-touch .navbar ul li.active > a {
311
+ position: relative;
312
+ background: $info-hover-color;
313
+ z-index: 1000;
314
+ }
315
+
316
+ .gumby-no-touch .navbar ul li:hover .dropdown,
317
+ .gumby-touch .navbar ul li.active .dropdown {
318
+ min-height: 50px;
319
+ max-height: $tablet-device-width - 207;
320
+ overflow: visible;
321
+ height: auto;
322
+ width: 100%;
323
+ padding: 0;
324
+ border-top: 1px solid darken($navbar-color, 5%);
325
+ @include box-shadow(0px 3px 4px rgba(0,0,0,.3));
326
+ }
327
+
328
+ .gumby-no-touch .navbar ul li:hover .dropdown ul {
329
+ position: relative;
330
+ top: 0;
331
+ min-height: 50px;
332
+ max-height: 250px;
333
+ height: auto;
334
+ @include box-shadow(none !important);
335
+ @include transition-duration(.5s);
336
+ li {
337
+ min-height: 50px;
338
+ }
339
+ min-height: 50px;
340
+ max-height: 250px;
341
+ height: auto;
342
+ @include box-shadow(none !important);
343
+ @include transition-duration(.5s);
344
+ @include respond(all-phones) {
345
+ overflow: auto;
346
+ background: darken($navbar-color, 8%);
347
+ li {
348
+ border-bottom: darken($navbar-color, 5%);
349
+ a {
350
+ color: $white;
351
+ border-bottom: 1px solid darken($navbar-color, 10%);
352
+ &:hover {color: $body-link-color;}
353
+ }
354
+ }
355
+ }
356
+ li {
357
+ min-height: 50px;
358
+ }
359
+ }
360
+
361
+ .gumby-no-touch .navbar li .dropdown ul > li:hover .dropdown,
362
+ .gumby-touch .navbar li .dropdown ul > li.active .dropdown {
363
+ border-top: none;
364
+ display: block;
365
+ position: absolute;
366
+ z-index: 9999;
367
+ left: 100%;
368
+ top: $nav-distance;
369
+ margin-top: 0;
370
+ @include respond(all-phones) {
371
+ position: relative;
372
+ left: 0;
373
+ ul {
374
+ background: darken($navbar-color, 15%) !important;
375
+ }
376
+ }
377
+ }
378
+
379
+ .gumby-no-touch .navbar li .dropdown ul li a:hover {
380
+ background: $default-color;
381
+ }
382
+
383
+ .gumby-touch .navbar a:hover {
384
+ color: $navbar-link-color !important;
385
+ }
386
+
387
+ .subnav {
388
+ display: block;
389
+ width: auto;
390
+ overflow: hidden;
391
+ margin: 0 0 18px 0;
392
+ padding-top: 4px;
393
+ li, dt, dd {
394
+ float: left;
395
+ display: inline;
396
+ margin-left: 9px;
397
+ margin-bottom: 4px;
398
+ &:first-child {
399
+ margin-left: 0;
400
+ }
401
+ }
402
+ dt {
403
+ color: #999;
404
+ font-weight: normal;
405
+ }
406
+ li a, dd a {
407
+ color: #05390a;
408
+ font-size: 15px;
409
+ text-decoration: none;
410
+ @include border-radius(4px);
411
+ }
412
+ li.active a, dd.active a {
413
+ background: #5dbb73;
414
+ padding: 5px 9px;
415
+ text-shadow: 0 1px 1px #77d58e;
416
+ }
417
+ }
@@ -0,0 +1,87 @@
1
+ table {
2
+ display: table;
3
+ background-color: $table-bgcolor;
4
+ border-collapse: collapse;
5
+ border-spacing: 0;
6
+ margin-bottom: 20px;
7
+ width: 100%;
8
+ border: $table-border-size $table-border-style $table-border-color;
9
+
10
+ caption {
11
+ text-align: center;
12
+ font-size: $larger;
13
+ padding: .75em;
14
+ }
15
+
16
+ thead th,
17
+ tbody td,
18
+ tr td {
19
+ display: table-cell;
20
+ padding: 10px;
21
+ vertical-align: top;
22
+ text-align: left;
23
+ border-top: $table-cell-border-size $table-cell-border-style $table-cell-border-color;
24
+ }
25
+
26
+ tr td, tbody tr td {
27
+ font-size: $norm;
28
+ }
29
+
30
+ tr td:first-child {
31
+ font-weight: $table-row-first-cell-font-weight;
32
+ }
33
+
34
+ thead {
35
+ background-color: $table-thead-bgcolor;
36
+ color: #fff;
37
+
38
+ tr th {
39
+ font-size: $norm;
40
+ font-weight: bold;
41
+ vertical-align: bottom;
42
+ }
43
+ }
44
+
45
+ &.striped tr:nth-of-type(even),
46
+ table tr.stripe,
47
+ table tr.striped {
48
+ background-color: $table-stripe-bgcolor;
49
+ }
50
+
51
+ &.rounded {
52
+ border-radius: $table-border-radius;
53
+ border-collapse: separate;
54
+
55
+ caption + thead tr:first-child th:first-child,
56
+ caption + tr td:first-child,
57
+ > thead tr:first-child th:first-child,
58
+ > thead tr:first-child td:first-child,
59
+ > tr:first-child td:first-child {
60
+ border-top-left-radius: $table-border-radius;
61
+ }
62
+
63
+ caption + thead tr:first-child th:last-child,
64
+ caption + tr td:last-child,
65
+ > thead tr:first-child th:last-child,
66
+ > thead tr:first-child td:last-child,
67
+ > tr:first-child td:last-child {
68
+ border-top-right-radius: $table-border-radius;
69
+ }
70
+
71
+ thead ~ tr:last-child td:last-child,
72
+ tbody tr:last-child td:last-child {
73
+ border-bottom-right-radius: $table-border-radius;
74
+ }
75
+
76
+ thead ~ tr:last-child td:first-child,
77
+ tbody tr:last-child td:first-child {
78
+ border-bottom-left-radius: $table-border-radius;
79
+ }
80
+
81
+ thead th, thead td,
82
+ caption + tbody tr:first-child td,
83
+ > tbody:first-child tr:first-child td {
84
+ border-top: 0;
85
+ }
86
+ }
87
+ }
@@ -0,0 +1,109 @@
1
+ /* Tabs */
2
+
3
+ .tabs {
4
+ display: block;
5
+ .tab-nav {
6
+ margin: 0;
7
+ padding: 0;
8
+ border-bottom: 1px solid darken($default-color, 5%);
9
+ > li {
10
+ display: inline-block;
11
+ width: auto;
12
+ padding: 0;
13
+ margin: 0 $gutter 0 0;
14
+ cursor: default;
15
+ top: 1px;
16
+ @include box-shadow(0 1px 0 $white);
17
+ > a {
18
+ display: block;
19
+ width: auto;
20
+ padding: 0 $norm;
21
+ margin: 0;
22
+ color: $body-font-color;
23
+ font-family: $font-family;
24
+ font-weight: $tabs-font-weight;
25
+ border: 1px solid darken($default-color, 5%);
26
+ border-width: 1px 1px 0 1px;
27
+ text-shadow: 0 1px 1px lighten($default-color, 5%);
28
+ background: $default-color;
29
+ cursor: pointer;
30
+ @include border-radius($button-radius $button-radius 0 0);
31
+ @include line-and-height($tab-height);
32
+ &:hover {
33
+ text-decoration: none;
34
+ background: lighten($default-color, 1%);
35
+ }
36
+ &:active {
37
+ background: darken($default-color, 2%);
38
+ }
39
+ }
40
+ &.active > a {
41
+ @include line-and-height($tab-height + 1);
42
+ background: $white;
43
+ cursor: default;
44
+ }
45
+ &:last-child {
46
+ margin-right: 0;
47
+ }
48
+ }
49
+ }
50
+ .tab-content {
51
+ display: none;
52
+ padding: 20px 10px;
53
+ &.active {
54
+ display: block;
55
+ }
56
+ }
57
+ &.pill .tab-nav {
58
+ width: 100%; /* remove if you dont want the tabs to span the full container width */
59
+ display: table;
60
+ overflow: hidden;
61
+ border: 1px solid darken($default-color, 5%);
62
+ @include border-radius($button-radius);
63
+ > li {
64
+ display: table-cell;
65
+ margin: 0;
66
+ margin-left: -4px;
67
+ text-align: center;
68
+ top: 0;
69
+ &:first-child {
70
+ margin-left: 0;
71
+ }
72
+ > a {
73
+ border: none;
74
+ border-right: 1px solid darken($default-color, 5%);
75
+ @include border-radius(0);
76
+ @include line-and-height($tab-height);
77
+ }
78
+ &:last-child > a {
79
+ border-right:none;
80
+ }
81
+ }
82
+ }
83
+ &.vertical {
84
+ .tab-nav {
85
+ border: none;
86
+ > li {
87
+ display: block;
88
+ margin: 0;
89
+ margin-bottom: 5px;
90
+ &.active {
91
+ position: relative;
92
+ z-index: 99;
93
+ > a {
94
+ border-right: 1px solid $global-bg-color;
95
+ }
96
+ }
97
+ > a {
98
+ border: 1px solid darken($default-color, 5%);
99
+ @include border-radius($button-radius 0 0 $button-radius);
100
+ }
101
+ }
102
+ }
103
+ .tab-content {
104
+ padding: 10px 0 30px 20px;
105
+ margin-left: -1px;
106
+ border-left: 1px solid darken($default-color, 5%);
107
+ }
108
+ }
109
+ }
@@ -0,0 +1,69 @@
1
+
2
+ .drawer {
3
+ position: relative;
4
+ width: 100%;
5
+ max-height: 0;
6
+ background: $drawer-background-color;
7
+ @include box-shadow(
8
+ inset $drawer-inner-shadow-x-offset #{-$drawer-inner-shadow-y-offset} $drawer-inner-shadow-blur $drawer-inner-shadow-color,
9
+ inset $drawer-inner-shadow-x-offset $drawer-inner-shadow-y-offset $drawer-inner-shadow-blur $drawer-inner-shadow-color);
10
+ ;
11
+ overflow: hidden;
12
+ @include transition-duration(.3s);
13
+ &.active {
14
+ height: auto;
15
+ max-height: 800px;
16
+ @include transition-duration(.5s);
17
+ }
18
+ }
19
+
20
+ .modal {
21
+ width: 100%;
22
+ height: 100%;
23
+ position: fixed;
24
+ top: 0;
25
+ left: 0;
26
+ z-index: -999999;
27
+ background: rgb(0, 0, 0);
28
+ background: $modal-overlay-color;
29
+ > .content {
30
+ width: 50%;
31
+ min-height: 50%;
32
+ max-height: 65%;
33
+ position: relative;
34
+ top: 25%;
35
+ margin: 0 auto;
36
+ padding: $gutter-in-px;
37
+ background: $modal-window-color;
38
+ z-index: 2;
39
+ overflow: auto;
40
+ @include respond(portrait-tablets) {
41
+ width: 80%;
42
+ min-height: 80%;
43
+ max-height: 80%;
44
+ top: 10%;
45
+ }
46
+ @include respond(all-phones) {
47
+ width: 92.5%;
48
+ min-height: 92.5%;
49
+ max-height: 92.5%;
50
+ top: 3.75%;
51
+ }
52
+ > .close {
53
+ position: absolute;
54
+ top: 10px;
55
+ right: 10px;
56
+ cursor: pointer;
57
+ }
58
+ }
59
+ &, > .content {
60
+ @include opacity(0);
61
+ @include transition-duration(.3s);
62
+ }
63
+ &.active {
64
+ z-index: 999999;
65
+ &, > .content {
66
+ @include opacity(1);
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,22 @@
1
+ body .video {
2
+ width: 100%;
3
+ position: relative;
4
+ height: 0;
5
+ padding-bottom: 56.25%;
6
+ &.twitch, &.youtube.show_controls {
7
+ padding-top: 30px;
8
+ // Use .show_controls f you want the play/pause controls
9
+ // to show before the video plays, like on older youtube.
10
+ }
11
+ &.youtube, &.vimeo {
12
+ // Nothing goes here anymore. Both use overlay transports.
13
+ }
14
+ }
15
+
16
+ .video > video, .video > iframe, .video > object, .video > embed {
17
+ position: absolute;
18
+ top: 0;
19
+ left: 0;
20
+ width: 100%;
21
+ height: 100%;
22
+ }
@@ -0,0 +1,20 @@
1
+ // Lists
2
+
3
+ // UI Coloring List
4
+ $ui-coloring:
5
+ primary $primary-color $primary-hover-color,
6
+ secondary $secondary-color $secondary-hover-color,
7
+ default $default-color $default-hover-color,
8
+ info $info-color $info-hover-color,
9
+ danger $danger-color $danger-hover-color,
10
+ warning $warning-color $warning-hover-color,
11
+ success $success-color $success-hover-color;
12
+
13
+ // UI Styling List
14
+ $styling: metro $metro-radius, pretty $button-radius;
15
+
16
+
17
+ // Form field types
18
+ $field-types: text, email, password, numeric, search, combined, prepend, append, double;
19
+
20
+ $field-sizes: xnarrow, narrow, normal, wide, xwide, xxwide;