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
  // @name _tables.scss
@@ -62,8 +62,8 @@ $table-margin-bottom: rem-calc(20) !default;
62
62
 
63
63
  @mixin table {
64
64
  background: $table-bg;
65
- margin-bottom: $table-margin-bottom;
66
65
  border: $table-border-style $table-border-size $table-border-color;
66
+ margin-bottom: $table-margin-bottom;
67
67
  table-layout: $table-layout;
68
68
 
69
69
  caption {
@@ -81,10 +81,10 @@ $table-margin-bottom: rem-calc(20) !default;
81
81
  tr {
82
82
  th,
83
83
  td {
84
- padding: $table-head-padding;
84
+ color: $table-head-font-color;
85
85
  font-size: $table-head-font-size;
86
86
  font-weight: $table-head-font-weight;
87
- color: $table-head-font-color;
87
+ padding: $table-head-padding;
88
88
  }
89
89
  }
90
90
  }
@@ -95,10 +95,10 @@ $table-margin-bottom: rem-calc(20) !default;
95
95
  tr {
96
96
  th,
97
97
  td {
98
- padding: $table-foot-padding;
98
+ color: $table-foot-font-color;
99
99
  font-size: $table-foot-font-size;
100
100
  font-weight: $table-foot-font-weight;
101
- color: $table-foot-font-color;
101
+ padding: $table-foot-padding;
102
102
  }
103
103
  }
104
104
  }
@@ -106,9 +106,9 @@ $table-margin-bottom: rem-calc(20) !default;
106
106
  tr {
107
107
  th,
108
108
  td {
109
- padding: $table-row-padding;
110
- font-size: $table-row-font-size;
111
109
  color: $table-row-font-color;
110
+ font-size: $table-row-font-size;
111
+ padding: $table-row-padding;
112
112
  text-align: $default-float;
113
113
  }
114
114
 
@@ -2,8 +2,8 @@
2
2
  // foundation.zurb.com
3
3
  // Licensed under MIT Open Source
4
4
 
5
- @import "global";
6
- @import "grid";
5
+ @import 'global';
6
+ @import 'grid';
7
7
 
8
8
  //
9
9
  // @variables
@@ -31,44 +31,48 @@ $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
31
31
  @include clearfix;
32
32
  margin-bottom: 0 !important;
33
33
  margin-left: 0;
34
- dd, .tab-title {
35
- position: relative;
36
- margin-bottom: 0 !important;
37
- list-style: none;
34
+
35
+ dd,
36
+ .tab-title {
38
37
  float: $default-float;
38
+ list-style: none;
39
+ margin-bottom: 0 !important;
40
+ position: relative;
41
+
39
42
  > a {
40
- outline: none;
41
43
  display: block;
42
- background: {
43
- color: $tabs-navigation-bg-color;
44
- }
44
+ background-color: $tabs-navigation-bg-color;
45
45
  color: $tabs-navigation-font-color;
46
- padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
47
46
  font-family: $tabs-navigation-font-family;
48
47
  font-size: $tabs-navigation-font-size;
48
+ padding: $tabs-navigation-padding $tabs-navigation-padding * 2;
49
+
49
50
  &:hover {
50
- background: {
51
- color: $tabs-navigation-hover-bg-color;
52
- }
51
+ background-color: $tabs-navigation-hover-bg-color;
53
52
  }
54
53
  }
55
- &.active a {
56
- background: {
57
- color: $tabs-navigation-active-bg-color;
58
- }
59
- color:$tabs-navigation-active-font-color;
60
- }
54
+
55
+ &.active > a {
56
+ background-color: $tabs-navigation-active-bg-color;
57
+ color: $tabs-navigation-active-font-color;
58
+ }
61
59
  }
60
+
62
61
  &.radius {
63
- dd:first-child, .tab:first-child {
62
+ dd:first-child,
63
+ .tab:first-child {
64
64
  a { @include side-radius($default-float, $global-radius); }
65
65
  }
66
- dd:last-child, .tab:last-child {
66
+
67
+ dd:last-child,
68
+ .tab:last-child {
67
69
  a { @include side-radius($opposite-direction, $global-radius); }
68
70
  }
69
71
  }
72
+
70
73
  &.vertical {
71
- dd, .tab-title {
74
+ dd,
75
+ .tab-title {
72
76
  position: inherit;
73
77
  float: none;
74
78
  display: block;
@@ -81,38 +85,53 @@ $tabs-vertical-navigation-margin-bottom: 1.25rem !default;
81
85
  @include clearfix;
82
86
  margin-bottom: $tabs-content-margin-bottom;
83
87
  width: 100%;
88
+
84
89
  > .content {
85
90
  display: none;
86
91
  float: $default-float;
87
92
  padding: $tabs-content-padding 0;
88
93
  width: 100%;
89
- &.active { display: block; float: none; }
90
- &.contained { padding: $tabs-content-padding; }
94
+
95
+ &.active {
96
+ display: block;
97
+ float: none;
98
+ }
99
+ &.contained {
100
+ padding: $tabs-content-padding;
101
+ }
91
102
  }
103
+
92
104
  &.vertical {
93
105
  display: block;
94
- > .content { padding: 0 $tabs-content-padding; }
106
+
107
+ > .content {
108
+ padding: 0 $tabs-content-padding;
109
+ }
95
110
  }
96
111
  }
112
+
97
113
  @media #{$medium-up} {
98
114
  .tabs {
99
115
  &.vertical {
100
- width: 20%;
101
- max-width: 20%;
102
116
  float: $default-float;
103
- margin: 0 0 $tabs-vertical-navigation-margin-bottom;
117
+ margin: 0;
118
+ margin-bottom: $tabs-vertical-navigation-margin-bottom !important;
119
+ max-width: 20%;
120
+ width: 20%;
104
121
  }
105
122
  }
123
+
106
124
  .tabs-content {
107
125
  &.vertical {
108
- width: 80%;
109
- max-width: 80%;
110
126
  float: $default-float;
111
127
  margin-#{$default-float}: -1px;
128
+ max-width: 80%;
112
129
  padding-#{$default-float}: 1rem;
130
+ width: 80%;
113
131
  }
114
132
  }
115
133
  }
134
+
116
135
  .no-js {
117
136
  .tabs-content > .content {
118
137
  display: block;
@@ -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
  // @name _thumbs.scss
@@ -36,14 +36,14 @@ $thumb-transition-speed: 200ms !default;
36
36
  // $box-shadow - Box shadow to apply to thumbnail. Default: $thumb-box-shadow.
37
37
  // $box-shadow-hover - Box shadow to apply on hover. Default: $thumb-box-shadow-hover.
38
38
  @mixin thumb(
39
- $border-width:$thumb-border-width,
40
- $box-shadow:$thumb-box-shadow,
39
+ $border-width:$thumb-border-width,
40
+ $box-shadow:$thumb-box-shadow,
41
41
  $box-shadow-hover:$thumb-box-shadow-hover) {
42
- line-height: 0;
43
- display: inline-block;
44
42
  border: $thumb-border-style $border-width $thumb-border-color;
45
- max-width: 100%;
46
43
  box-shadow: $box-shadow;
44
+ display: inline-block;
45
+ line-height: 0;
46
+ max-width: 100%;
47
47
 
48
48
  &:hover,
49
49
  &:focus {
@@ -58,9 +58,9 @@ $thumb-transition-speed: 200ms !default;
58
58
  /* Image Thumbnails */
59
59
  .th {
60
60
  @include thumb;
61
- @include single-transition(all,$thumb-transition-speed,ease-out);
61
+ @include single-transition(all, $thumb-transition-speed, ease-out);
62
62
 
63
63
  &.radius { @include radius($thumb-radius); }
64
64
  }
65
65
  }
66
- }
66
+ }
@@ -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
  // Tooltip Variables
@@ -37,9 +37,9 @@ $tooltip-max-width: 300px !default;
37
37
  /* Tooltips */
38
38
  .has-tip {
39
39
  border-bottom: $has-tip-border-bottom;
40
+ color: $has-tip-font-color;
40
41
  cursor: $has-tip-cursor-type;
41
42
  font-weight: $has-tip-font-weight;
42
- color: $has-tip-font-color;
43
43
 
44
44
  &:hover,
45
45
  &:focus {
@@ -52,29 +52,29 @@ $tooltip-max-width: 300px !default;
52
52
  }
53
53
 
54
54
  .tooltip {
55
+ background: $tooltip-bg;
56
+ color: $tooltip-font-color;
55
57
  display: none;
56
- position: absolute;
57
- z-index: 1006;
58
- font-weight: $tooltip-font-weight;
59
58
  font-size: $tooltip-font-size;
59
+ font-weight: $tooltip-font-weight;
60
60
  line-height: $tooltip-line-height;
61
- padding: $tooltip-padding;
62
61
  max-width: $tooltip-max-width;
63
- #{$default-float}: 50%;
62
+ padding: $tooltip-padding;
63
+ position: absolute;
64
64
  width: 100%;
65
- color: $tooltip-font-color;
66
- background: $tooltip-bg;
65
+ z-index: 1006;
66
+ #{$default-float}: 50%;
67
67
 
68
- &>.nub {
69
- display: block;
70
- #{$default-float}: $tooltip-pip-size;
71
- position: absolute;
72
- width: 0;
73
- height: 0;
68
+ > .nub {
74
69
  border: solid $tooltip-pip-size;
75
70
  border-color: transparent transparent $tooltip-bg transparent;
76
- top: -($tooltip-pip-size * 2);
71
+ display: block;
72
+ height: 0;
77
73
  pointer-events: none;
74
+ position: absolute;
75
+ top: -($tooltip-pip-size * 2);
76
+ width: 0;
77
+ #{$default-float}: $tooltip-pip-size;
78
78
 
79
79
  &.rtl {
80
80
  left: auto;
@@ -87,34 +87,34 @@ $tooltip-max-width: 300px !default;
87
87
  }
88
88
  &.round {
89
89
  @include radius($tooltip-rounded);
90
- &>.nub {
90
+ > .nub {
91
91
  left: 2rem;
92
92
  }
93
93
  }
94
94
 
95
95
  &.opened {
96
- color: $has-tip-font-color-hover !important;
97
96
  border-bottom: $has-tip-border-bottom-hover !important;
97
+ color: $has-tip-font-color-hover !important;
98
98
  }
99
99
  }
100
100
 
101
101
  .tap-to-close {
102
+ color: $tooltip-close-font-color;
102
103
  display: block;
103
104
  font-size: $tooltip-close-font-size;
104
- color: $tooltip-close-font-color;
105
105
  font-weight: $tooltip-close-font-weight;
106
106
  }
107
107
 
108
108
  @media #{$small} {
109
109
  .tooltip {
110
- &>.nub {
110
+ > .nub {
111
111
  border-color: transparent transparent $tooltip-bg transparent;
112
112
  top: -($tooltip-pip-size * 2);
113
113
  }
114
114
  &.tip-top>.nub {
115
115
  border-color: $tooltip-bg transparent transparent transparent;
116
- top: auto;
117
116
  bottom: -($tooltip-pip-size * 2);
117
+ top: auto;
118
118
  }
119
119
 
120
120
  &.tip-left,
@@ -122,17 +122,17 @@ $tooltip-max-width: 300px !default;
122
122
 
123
123
  &.tip-left>.nub {
124
124
  border-color: transparent transparent transparent $tooltip-bg;
125
- right: -($tooltip-pip-size * 2);
126
125
  left: auto;
127
- top: 50%;
128
126
  margin-top: -$tooltip-pip-size;
127
+ right: -($tooltip-pip-size * 2);
128
+ top: 50%;
129
129
  }
130
130
  &.tip-right>.nub {
131
131
  border-color: transparent $tooltip-bg transparent transparent;
132
- right: auto;
133
132
  left: -($tooltip-pip-size * 2);
134
- top: 50%;
135
133
  margin-top: -$tooltip-pip-size;
134
+ right: auto;
135
+ top: 50%;
136
136
  }
137
137
 
138
138
  }