catscope 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/assets/bower.json +1 -0
  3. data/assets/bower_components/foundation/LICENSE +22 -0
  4. data/assets/bower_components/foundation/README.md +46 -0
  5. data/assets/bower_components/foundation/bower.json +2 -4
  6. data/assets/bower_components/foundation/css/foundation.css +1695 -1230
  7. data/assets/bower_components/foundation/css/foundation.css.map +1 -1
  8. data/assets/bower_components/foundation/css/foundation.min.css +1 -0
  9. data/assets/bower_components/foundation/css/normalize.css +9 -12
  10. data/assets/bower_components/foundation/css/normalize.css.map +1 -1
  11. data/assets/bower_components/foundation/css/normalize.min.css +1 -0
  12. data/assets/bower_components/foundation/js/foundation/foundation.abide.js +171 -75
  13. data/assets/bower_components/foundation/js/foundation/foundation.accordion.js +70 -12
  14. data/assets/bower_components/foundation/js/foundation/foundation.alert.js +5 -5
  15. data/assets/bower_components/foundation/js/foundation/foundation.clearing.js +84 -40
  16. data/assets/bower_components/foundation/js/foundation/foundation.dropdown.js +104 -79
  17. data/assets/bower_components/foundation/js/foundation/foundation.equalizer.js +57 -26
  18. data/assets/bower_components/foundation/js/foundation/foundation.interchange.js +50 -38
  19. data/assets/bower_components/foundation/js/foundation/foundation.joyride.js +121 -110
  20. data/assets/bower_components/foundation/js/foundation/foundation.js +121 -79
  21. data/assets/bower_components/foundation/js/foundation/foundation.magellan.js +75 -59
  22. data/assets/bower_components/foundation/js/foundation/foundation.offcanvas.js +95 -22
  23. data/assets/bower_components/foundation/js/foundation/foundation.orbit.js +127 -123
  24. data/assets/bower_components/foundation/js/foundation/foundation.reveal.js +147 -69
  25. data/assets/bower_components/foundation/js/foundation/foundation.slider.js +101 -72
  26. data/assets/bower_components/foundation/js/foundation/foundation.tab.js +52 -39
  27. data/assets/bower_components/foundation/js/foundation/foundation.tooltip.js +97 -49
  28. data/assets/bower_components/foundation/js/foundation/foundation.topbar.js +70 -57
  29. data/assets/bower_components/foundation/js/foundation.js +1544 -951
  30. data/assets/bower_components/foundation/js/foundation.min.js +5 -4
  31. data/assets/bower_components/foundation/js/vendor/fastclick.js +8 -9
  32. data/assets/bower_components/foundation/js/vendor/jquery.js +6 -6
  33. data/assets/bower_components/foundation/js/vendor/modernizr.js +1 -1
  34. data/assets/bower_components/foundation/package.json +57 -0
  35. data/assets/bower_components/foundation/scss/foundation/_functions.scss +53 -43
  36. data/assets/bower_components/foundation/scss/foundation/_settings.scss +59 -37
  37. data/assets/bower_components/foundation/scss/foundation/components/_accordion.scss +12 -8
  38. data/assets/bower_components/foundation/scss/foundation/components/_alert-boxes.scss +12 -12
  39. data/assets/bower_components/foundation/scss/foundation/components/_block-grid.scss +14 -13
  40. data/assets/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss +19 -19
  41. data/assets/bower_components/foundation/scss/foundation/components/_button-groups.scss +33 -25
  42. data/assets/bower_components/foundation/scss/foundation/components/_buttons.scss +30 -28
  43. data/assets/bower_components/foundation/scss/foundation/components/_clearing.scss +51 -47
  44. data/assets/bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss +10 -11
  45. data/assets/bower_components/foundation/scss/foundation/components/_dropdown.scss +45 -38
  46. data/assets/bower_components/foundation/scss/foundation/components/_flex-video.scss +7 -7
  47. data/assets/bower_components/foundation/scss/foundation/components/_forms.scss +99 -62
  48. data/assets/bower_components/foundation/scss/foundation/components/_global.scss +152 -67
  49. data/assets/bower_components/foundation/scss/foundation/components/_grid.scss +39 -36
  50. data/assets/bower_components/foundation/scss/foundation/components/_icon-bar.scss +337 -235
  51. data/assets/bower_components/foundation/scss/foundation/components/_inline-lists.scss +9 -8
  52. data/assets/bower_components/foundation/scss/foundation/components/_joyride.scss +40 -42
  53. data/assets/bower_components/foundation/scss/foundation/components/_keystrokes.scss +2 -3
  54. data/assets/bower_components/foundation/scss/foundation/components/_labels.scss +6 -6
  55. data/assets/bower_components/foundation/scss/foundation/components/_magellan.scss +2 -2
  56. data/assets/bower_components/foundation/scss/foundation/components/_offcanvas.scss +259 -168
  57. data/assets/bower_components/foundation/scss/foundation/components/_orbit.scss +82 -62
  58. data/assets/bower_components/foundation/scss/foundation/components/_pagination.scss +16 -15
  59. data/assets/bower_components/foundation/scss/foundation/components/_panels.scss +21 -15
  60. data/assets/bower_components/foundation/scss/foundation/components/_pricing-tables.scss +16 -16
  61. data/assets/bower_components/foundation/scss/foundation/components/_progress-bars.scss +10 -4
  62. data/assets/bower_components/foundation/scss/foundation/components/_range-slider.scss +28 -20
  63. data/assets/bower_components/foundation/scss/foundation/components/_reveal.scss +38 -28
  64. data/assets/bower_components/foundation/scss/foundation/components/_side-nav.scss +15 -11
  65. data/assets/bower_components/foundation/scss/foundation/components/_split-buttons.scss +22 -18
  66. data/assets/bower_components/foundation/scss/foundation/components/_sub-nav.scss +14 -12
  67. data/assets/bower_components/foundation/scss/foundation/components/_switches.scss +22 -19
  68. data/assets/bower_components/foundation/scss/foundation/components/_tables.scss +8 -8
  69. data/assets/bower_components/foundation/scss/foundation/components/_tabs.scss +50 -31
  70. data/assets/bower_components/foundation/scss/foundation/components/_thumbs.scss +8 -8
  71. data/assets/bower_components/foundation/scss/foundation/components/_tooltips.scss +25 -25
  72. data/assets/bower_components/foundation/scss/foundation/components/_top-bar.scss +176 -122
  73. data/assets/bower_components/foundation/scss/foundation/components/_type.scss +38 -38
  74. data/assets/bower_components/foundation/scss/foundation/components/_visibility.scss +33 -16
  75. data/assets/bower_components/foundation/scss/foundation.scss +37 -40
  76. data/assets/bower_components/foundation/scss/normalize.scss +8 -11
  77. data/assets/bower_components/jquery/bower.json +2 -1
  78. data/assets/bower_components/jquery/dist/jquery.js +9 -4
  79. data/assets/bower_components/jquery/dist/jquery.min.js +4 -4
  80. data/assets/bower_components/jquery/dist/jquery.min.map +1 -1
  81. data/assets/bower_components/jquery/src/core.js +6 -1
  82. data/assets/scss/_settings.scss +2 -0
  83. data/assets/stylesheets/app.css +3066 -2429
  84. data/lib/catscope/version.rb +1 -1
  85. data/lib/catscope/views/layout.erb +6 -2
  86. metadata +8 -4
  87. data/assets/bower_components/foundation/scss/foundation/components/_toolbar.scss +0 -70
@@ -2,7 +2,7 @@
2
2
  // foundation.zurb.com
3
3
  // Licensed under MIT Open Source
4
4
 
5
- @import "global";
5
+ @import 'global';
6
6
 
7
7
  //
8
8
  // @variables
@@ -25,7 +25,7 @@ $clearing-arrow-color: $clearing-close-color !default;
25
25
 
26
26
  // We use these to style captions
27
27
  $clearing-caption-font-color: $iron !default;
28
- $clearing-caption-font-size: 0.875em !default;
28
+ $clearing-caption-font-size: .875em !default;
29
29
  $clearing-caption-padding: 10px 30px 20px !default;
30
30
 
31
31
  // We use these to make the image and carousel height and style
@@ -43,9 +43,9 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
43
43
  /* Clearing Styles */
44
44
  .clearing-thumbs, #{data('clearing')} {
45
45
  @include clearfix;
46
- margin-bottom: 0;
47
- margin-#{$default-float}: 0;
48
46
  list-style: none;
47
+ margin-#{$default-float}: 0;
48
+ margin-bottom: 0;
49
49
 
50
50
  li {
51
51
  float: $default-float;
@@ -59,30 +59,30 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
59
59
 
60
60
  .clearing-blackout {
61
61
  background: $clearing-bg;
62
- position: fixed;
63
- width: 100%;
64
62
  height: 100%;
63
+ position: fixed;
65
64
  top: 0;
66
- #{$default-float}: 0;
65
+ width: 100%;
67
66
  z-index: 998;
67
+ #{$default-float}: 0;
68
68
 
69
69
  .clearing-close { display: block; }
70
70
  }
71
71
 
72
72
  .clearing-container {
73
- position: relative;
74
- z-index: 998;
75
73
  height: 100%;
76
- overflow: hidden;
77
74
  margin: 0;
75
+ overflow: hidden;
76
+ position: relative;
77
+ z-index: 998;
78
78
  }
79
79
 
80
80
  .clearing-touch-label {
81
+ color: $base;
82
+ font-size: .6em;
83
+ left: 50%;
81
84
  position: absolute;
82
85
  top: 50%;
83
- left: 50%;
84
- color: $base;
85
- font-size: 0.6em;
86
86
  }
87
87
 
88
88
  .visible-img {
@@ -94,14 +94,18 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
94
94
  #{$default-float}: 50%;
95
95
  top: 50%;
96
96
  @if $default-float == left {
97
- transform: translateY(-50%) translateX(-50%);
98
97
  -webkit-transform: translateY(-50%) translateX(-50%);
98
+ -moz-transform: translateY(-50%) translateX(-50%);
99
99
  -ms-transform: translateY(-50%) translateX(-50%);
100
+ -o-transform: translateY(-50%) translateX(-50%);
101
+ transform: translateY(-50%) translateX(-50%);
100
102
  }
101
103
  @else {
102
- transform: translateY(-50%) translateX(50%);
103
104
  -webkit-transform: translateY(-50%) translateX(50%);
105
+ -moz-transform: translateY(-50%) translateX(50%);
104
106
  -ms-transform: translateY(-50%) translateX(50%);
107
+ -o-transform: translateY(-50%) translateX(50%);
108
+ transform: translateY(-50%) translateX(50%);
105
109
  };
106
110
  max-height: 100%;
107
111
  max-width: 100%;
@@ -109,27 +113,27 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
109
113
  }
110
114
 
111
115
  .clearing-caption {
116
+ background: $clearing-caption-bg;
117
+ bottom: 0;
112
118
  color: $clearing-caption-font-color;
113
119
  font-size: $clearing-caption-font-size;
114
120
  line-height: 1.3;
115
121
  margin-bottom: 0;
116
- text-align: center;
117
- bottom: 0;
118
- background: $clearing-caption-bg;
119
- width: 100%;
120
122
  padding: $clearing-caption-padding;
121
123
  position: absolute;
124
+ text-align: center;
125
+ width: 100%;
122
126
  #{$default-float}: 0;
123
127
  }
124
128
 
125
129
  .clearing-close {
126
- z-index: 999;
127
- padding-#{$default-float}: 20px;
128
- padding-top: 10px;
129
- font-size: $clearing-close-size;
130
- line-height: 1;
131
130
  color: $clearing-close-color;
132
131
  display: none;
132
+ font-size: $clearing-close-size;
133
+ line-height: 1;
134
+ padding-#{$default-float}: 20px;
135
+ padding-top: 10px;
136
+ z-index: 999;
133
137
 
134
138
  &:hover,
135
139
  &:focus { color: $iron; }
@@ -151,23 +155,23 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
151
155
  @media #{$medium-up} {
152
156
  .clearing-main-prev,
153
157
  .clearing-main-next {
154
- position: absolute;
155
158
  height: 100%;
156
- width: 40px;
159
+ position: absolute;
157
160
  top: 0;
158
- & > span {
161
+ width: 40px;
162
+ > span {
163
+ border: solid $clearing-arrow-size;
164
+ display: block;
165
+ height: 0;
159
166
  position: absolute;
160
167
  top: 50%;
161
- display: block;
162
168
  width: 0;
163
- height: 0;
164
- border: solid $clearing-arrow-size;
165
- &:hover { opacity: 0.8; }
169
+ &:hover { opacity: .8; }
166
170
  }
167
171
  }
168
172
  .clearing-main-prev {
169
173
  #{$default-float}: 0;
170
- & > span {
174
+ > span {
171
175
  #{$default-float}: 5px;
172
176
  border-color: transparent;
173
177
  border-#{$opposite-direction}-color: $clearing-arrow-color;
@@ -175,14 +179,14 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
175
179
  }
176
180
  .clearing-main-next {
177
181
  #{$opposite-direction}: 0;
178
- & > span {
182
+ > span {
179
183
  border-color: transparent;
180
184
  border-#{$default-float}-color: $clearing-arrow-color;
181
185
  }
182
186
  }
183
187
 
184
188
  .clearing-main-prev.disabled,
185
- .clearing-main-next.disabled { opacity: 0.3; }
189
+ .clearing-main-next.disabled { opacity: .3; }
186
190
 
187
191
  .clearing-assembled .clearing-container {
188
192
 
@@ -192,7 +196,7 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
192
196
  margin-top: 10px;
193
197
  text-align: center;
194
198
 
195
- & > ul {
199
+ > ul {
196
200
  display: inline-block;
197
201
  z-index: 999;
198
202
  height: 100%;
@@ -200,17 +204,17 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
200
204
  float: none;
201
205
 
202
206
  li {
207
+ clear: none;
208
+ cursor: $cursor-pointer-value;
203
209
  display: block;
204
- width: $clearing-carousel-thumb-width;
205
- min-height: inherit;
206
210
  float: $default-float;
207
- overflow: hidden;
208
211
  margin-#{$opposite-direction}: 0;
212
+ min-height: inherit;
213
+ opacity: .4;
214
+ overflow: hidden;
209
215
  padding: 0;
210
216
  position: relative;
211
- cursor: $cursor-pointer-value;
212
- opacity: 0.4;
213
- clear: none;
217
+ width: $clearing-carousel-thumb-width;
214
218
 
215
219
  &.fix-height {
216
220
  img {
@@ -226,29 +230,29 @@ $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255) !default;
226
230
  }
227
231
 
228
232
  img {
229
- cursor: $cursor-pointer-value !important;
230
- width: 100% !important;
233
+ cursor: $cursor-pointer-value !important;
234
+ width: 100% !important;
231
235
  }
232
236
 
233
237
  &.visible { opacity: 1; }
234
- &:hover { opacity: 0.8; }
238
+ &:hover { opacity: .8; }
235
239
  }
236
240
  }
237
241
  }
238
242
 
239
243
  .visible-img {
240
244
  background: $clearing-img-bg;
241
- overflow: hidden;
242
245
  height: $clearing-active-img-height;
246
+ overflow: hidden;
243
247
  }
244
248
  }
245
249
 
246
250
  .clearing-close {
251
+ padding-#{$default-float}: 0;
252
+ padding-top: 0;
247
253
  position: absolute;
248
254
  top: 10px;
249
255
  #{$opposite-direction}: 20px;
250
- padding-#{$default-float}: 0;
251
- padding-top: 0;
252
256
  }
253
257
  }
254
258
 
@@ -2,7 +2,7 @@
2
2
  // foundation.zurb.com
3
3
  // Licensed under MIT Open Source
4
4
 
5
- @import "global";
5
+ @import 'global';
6
6
 
7
7
  //
8
8
  // @variables
@@ -53,23 +53,22 @@ $dropdown-button-pip-top-lrg: (-$button-pip-lrg / 2) + rem-calc(3) !default;
53
53
  // $pip-color - Color of the little triangle that points to the dropdown. Default: $white.
54
54
  // $base-style - Add in base-styles. This can be set to false. Default:true
55
55
 
56
- @mixin dropdown-button($padding:medium, $pip-color:$white, $base-style:true) {
56
+ @mixin dropdown-button($padding:medium, $pip-color:$dropdown-button-pip-color, $base-style:true) {
57
57
 
58
58
  // We add in base styles, but they can be negated by setting to 'false'.
59
59
  @if $base-style {
60
60
  position: relative;
61
- outline: none;
62
61
 
63
62
  // This creates the base styles for the triangle pip
64
63
  &::after {
65
- position: absolute;
64
+ border-color: $dropdown-button-pip-color transparent transparent transparent;
65
+ border-style: solid;
66
66
  content: "";
67
- width: 0;
68
- height: 0;
69
67
  display: block;
70
- border-style: solid;
71
- border-color: $dropdown-button-pip-color transparent transparent transparent;
68
+ height: 0;
69
+ position: absolute;
72
70
  top: 50%;
71
+ width: 0;
73
72
  }
74
73
  }
75
74
 
@@ -122,9 +121,9 @@ $dropdown-button-pip-top-lrg: (-$button-pip-lrg / 2) + rem-calc(3) !default;
122
121
  @include exports("dropdown-button") {
123
122
  @if $include-html-button-classes {
124
123
  .dropdown.button, button.dropdown { @include dropdown-button;
125
- &.tiny { @include dropdown-button(tiny,$base-style:false); }
126
- &.small { @include dropdown-button(small,$base-style:false); }
127
- &.large { @include dropdown-button(large,$base-style:false); }
124
+ &.tiny { @include dropdown-button(tiny, $base-style:false); }
125
+ &.small { @include dropdown-button(small, $base-style:false); }
126
+ &.large { @include dropdown-button(large, $base-style:false); }
128
127
  &.secondary:after { border-color: $dropdown-button-pip-color-alt transparent transparent transparent; }
129
128
  }
130
129
  }
@@ -2,7 +2,7 @@
2
2
  // foundation.zurb.com
3
3
  // Licensed under MIT Open Source
4
4
 
5
- @import "global";
5
+ @import 'global';
6
6
 
7
7
  //
8
8
  // @variables
@@ -64,60 +64,67 @@ $f-dropdown-radius: $global-radius !default;
64
64
  // $triangle - Sets if dropdown has triangle. Default:true.
65
65
  // $max-width - Default: $f-dropdown-max-width || 200px.
66
66
  @mixin dropdown-container($content:list, $triangle:true, $max-width:$f-dropdown-max-width) {
67
- position: absolute;
67
+ display: none;
68
68
  left: -9999px;
69
69
  list-style: $f-dropdown-list-style;
70
70
  margin-#{$default-float}: 0;
71
- outline: none;
71
+ position: absolute;
72
+
73
+ &.open {
74
+ display: block;
75
+ }
72
76
 
73
77
  > *:first-child { margin-top: 0; }
74
78
  > *:last-child { margin-bottom: 0; }
75
79
 
76
80
  @if $content == list {
77
- width: 100%;
78
- max-height: $f-dropdown-max-height;
79
- height: $f-dropdown-height;
80
81
  background: $f-dropdown-bg;
81
82
  border: $f-dropdown-border-style $f-dropdown-border-width $f-dropdown-border-color;
82
83
  font-size: $f-dropdown-font-size;
84
+ height: $f-dropdown-height;
85
+ max-height: $f-dropdown-max-height;
86
+ width: 100%;
83
87
  z-index: 89;
84
88
  }
85
89
  @else if $content == content {
86
- padding: $f-dropdown-content-padding;
87
- width: 100%;
88
- height: $f-dropdown-height;
89
- max-height: $f-dropdown-max-height;
90
90
  background: $f-dropdown-bg;
91
91
  border: $f-dropdown-border-style $f-dropdown-border-width $f-dropdown-border-color;
92
92
  font-size: $f-dropdown-font-size;
93
+ height: $f-dropdown-height;
94
+ max-height: $f-dropdown-max-height;
95
+ padding: $f-dropdown-content-padding;
96
+ width: 100%;
93
97
  z-index: 89;
94
98
  }
95
99
 
96
100
  @if $triangle == bottom {
97
101
  margin-top: $f-dropdown-margin-top;
98
102
 
99
- &:before {
100
- @include css-triangle($f-dropdown-triangle-size, $f-dropdown-triangle-color, bottom);
101
- position: absolute;
102
- top: -($f-dropdown-triangle-size * 2);
103
- #{$default-float}: $f-dropdown-triangle-side-offset;
104
- z-index: 89;
105
- }
106
- &:after {
107
- @include css-triangle($f-dropdown-triangle-size + 1, $f-dropdown-border-color, bottom);
108
- position: absolute;
109
- top: -(($f-dropdown-triangle-size + 1) * 2);
110
- #{$default-float}: $f-dropdown-triangle-side-offset - 1;
111
- z-index: 88;
112
- }
103
+ @if $f-dropdown-triangle-size != 0px {
113
104
 
114
- &.right:before {
115
- #{$default-float}: auto;
116
- #{$opposite-direction}: $f-dropdown-triangle-side-offset;
117
- }
118
- &.right:after {
119
- #{$default-float}: auto;
120
- #{$opposite-direction}: $f-dropdown-triangle-side-offset - 1;
105
+ &:before {
106
+ @include css-triangle($f-dropdown-triangle-size, $f-dropdown-triangle-color, bottom);
107
+ position: absolute;
108
+ top: -($f-dropdown-triangle-size * 2);
109
+ #{$default-float}: $f-dropdown-triangle-side-offset;
110
+ z-index: 89;
111
+ }
112
+ &:after {
113
+ @include css-triangle($f-dropdown-triangle-size + 1, $f-dropdown-border-color, bottom);
114
+ position: absolute;
115
+ top: -(($f-dropdown-triangle-size + 1) * 2);
116
+ #{$default-float}: $f-dropdown-triangle-side-offset - 1;
117
+ z-index: 88;
118
+ }
119
+
120
+ &.right:before {
121
+ #{$default-float}: auto;
122
+ #{$opposite-direction}: $f-dropdown-triangle-side-offset;
123
+ }
124
+ &.right:after {
125
+ #{$default-float}: auto;
126
+ #{$opposite-direction}: $f-dropdown-triangle-side-offset - 1;
127
+ }
121
128
  }
122
129
  }
123
130
 
@@ -166,23 +173,23 @@ $f-dropdown-radius: $global-radius !default;
166
173
  }
167
174
 
168
175
  @if $triangle == top {
169
- margin-top: -$f-dropdown-margin-bottom;
170
176
  margin-left: 0;
177
+ margin-top: -$f-dropdown-margin-bottom;
171
178
 
172
179
  &:before {
173
180
  @include css-triangle($f-dropdown-triangle-size, $f-dropdown-triangle-color, top);
181
+ bottom: -($f-dropdown-triangle-size * 2);
174
182
  position: absolute;
175
183
  top: auto;
176
- bottom: -($f-dropdown-triangle-size * 2);
177
184
  #{$default-float}: $f-dropdown-triangle-side-offset;
178
185
  #{$opposite-direction}: auto;
179
186
  z-index: 89;
180
187
  }
181
188
  &:after {
182
189
  @include css-triangle($f-dropdown-triangle-size + 1, $f-dropdown-border-color, top);
190
+ bottom: -($f-dropdown-triangle-size * 2) - 2;
183
191
  position: absolute;
184
192
  top: auto;
185
- bottom: -($f-dropdown-triangle-size * 2) - 2;
186
193
  #{$default-float}: $f-dropdown-triangle-side-offset - 1;
187
194
  #{$opposite-direction}: auto;
188
195
  z-index: 88;
@@ -200,17 +207,14 @@ $f-dropdown-radius: $global-radius !default;
200
207
  // We use this to style the list elements or content inside the dropdown.
201
208
 
202
209
  @mixin dropdown-style {
203
- font-size: $f-dropdown-font-size;
204
210
  cursor: $cursor-pointer-value;
205
-
211
+ font-size: $f-dropdown-font-size;
206
212
  line-height: $f-dropdown-line-height;
207
213
  margin: 0;
208
214
 
209
215
  &:hover,
210
216
  &:focus { background: $f-dropdown-list-hover-bg; }
211
217
 
212
- &.radius { @include radius($f-dropdown-radius); }
213
-
214
218
  a {
215
219
  display: block;
216
220
  padding: $f-dropdown-list-padding;
@@ -243,6 +247,9 @@ $f-dropdown-radius: $global-radius !default;
243
247
  // You can also put custom content in these dropdowns
244
248
  &.content { @include dropdown-container(content, $triangle:false); }
245
249
 
250
+ // Radius of Dropdown
251
+ &.radius { @include radius($f-dropdown-radius); }
252
+
246
253
  // Sizes
247
254
  &.tiny { max-width: 200px; }
248
255
  &.small { max-width: 300px; }
@@ -2,7 +2,7 @@
2
2
  // foundation.zurb.com
3
3
  // Licensed under MIT Open Source
4
4
 
5
- @import "global";
5
+ @import 'global';
6
6
 
7
7
  //
8
8
  // @variables
@@ -22,12 +22,12 @@ $flex-video-widescreen-padding-bottom: 56.34% !default;
22
22
  //
23
23
 
24
24
  @mixin flex-video-container {
25
- position: relative;
26
- padding-top: $flex-video-padding-top;
27
- padding-bottom: $flex-video-padding-bottom;
28
25
  height: 0;
29
26
  margin-bottom: $flex-video-margin-bottom;
30
27
  overflow: hidden;
28
+ padding-bottom: $flex-video-padding-bottom;
29
+ padding-top: $flex-video-padding-top;
30
+ position: relative;
31
31
 
32
32
  &.widescreen { padding-bottom: $flex-video-widescreen-padding-bottom; }
33
33
  &.vimeo { padding-top: 0; }
@@ -36,11 +36,11 @@ $flex-video-widescreen-padding-bottom: 56.34% !default;
36
36
  object,
37
37
  embed,
38
38
  video {
39
+ height: 100%;
39
40
  position: absolute;
40
41
  top: 0;
41
- #{$default-float}: 0;
42
42
  width: 100%;
43
- height: 100%;
43
+ #{$default-float}: 0;
44
44
  }
45
45
  }
46
46
 
@@ -48,4 +48,4 @@ $flex-video-widescreen-padding-bottom: 56.34% !default;
48
48
  @if $include-html-media-classes {
49
49
  .flex-video { @include flex-video-container; }
50
50
  }
51
- }
51
+ }