table_beet 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/table_beet/formatters/html_template/data/js/jquery.quicksearch.js +181 -0
- data/lib/table_beet/formatters/html_template/index.erb +45 -7
- data/lib/table_beet/version.rb +1 -1
- metadata +5 -32
- data/lib/table_beet/formatters/html_template/data/js/coffee/groundwork.coffee +0 -207
- data/lib/table_beet/formatters/html_template/data/scss/_buttons.scss +0 -178
- data/lib/table_beet/formatters/html_template/data/scss/_callouts.scss +0 -51
- data/lib/table_beet/formatters/html_template/data/scss/_font-awesome.scss +0 -534
- data/lib/table_beet/formatters/html_template/data/scss/_forms.scss +0 -164
- data/lib/table_beet/formatters/html_template/data/scss/_global.scss +0 -31
- data/lib/table_beet/formatters/html_template/data/scss/_grid.scss +0 -384
- data/lib/table_beet/formatters/html_template/data/scss/_layout.scss +0 -78
- data/lib/table_beet/formatters/html_template/data/scss/_messages.scss +0 -59
- data/lib/table_beet/formatters/html_template/data/scss/_mixins.scss +0 -197
- data/lib/table_beet/formatters/html_template/data/scss/_mobile-reset.scss +0 -11
- data/lib/table_beet/formatters/html_template/data/scss/_modals.scss +0 -101
- data/lib/table_beet/formatters/html_template/data/scss/_navigation.scss +0 -284
- data/lib/table_beet/formatters/html_template/data/scss/_orbit.scss +0 -239
- data/lib/table_beet/formatters/html_template/data/scss/_popovers.scss +0 -10
- data/lib/table_beet/formatters/html_template/data/scss/_reset.scss +0 -77
- data/lib/table_beet/formatters/html_template/data/scss/_responsive.scss +0 -293
- data/lib/table_beet/formatters/html_template/data/scss/_social-icons.scss +0 -92
- data/lib/table_beet/formatters/html_template/data/scss/_tables.scss +0 -80
- data/lib/table_beet/formatters/html_template/data/scss/_tabs.scss +0 -137
- data/lib/table_beet/formatters/html_template/data/scss/_tooltips.scss +0 -161
- data/lib/table_beet/formatters/html_template/data/scss/_typography.scss +0 -263
- data/lib/table_beet/formatters/html_template/data/scss/_ui-elements.scss +0 -10
- data/lib/table_beet/formatters/html_template/data/scss/_variables.scss +0 -134
- data/lib/table_beet/formatters/html_template/data/scss/_webfonts.scss +0 -19
- data/lib/table_beet/formatters/html_template/data/scss/groundwork-ie.scss +0 -64
- data/lib/table_beet/formatters/html_template/data/scss/groundwork.scss +0 -37
- data/lib/table_beet/formatters/html_template/data/scss/no-svg.scss +0 -69
@@ -1,78 +0,0 @@
|
|
1
|
-
// ====================
|
2
|
-
// layout helpers
|
3
|
-
// ====================
|
4
|
-
.stick {
|
5
|
-
position:fixed;
|
6
|
-
z-index:1;
|
7
|
-
&.middle { top:50%; }
|
8
|
-
&.center { left:50%; }
|
9
|
-
&.right { right:0; }
|
10
|
-
&.left { left:0; }
|
11
|
-
&.top { top:0; }
|
12
|
-
&.bottom { bottom:0; }
|
13
|
-
}
|
14
|
-
.inline { display:inline-block; width:auto; }
|
15
|
-
.zero { margin:0; padding:0; }
|
16
|
-
.pull-right { float:right; }
|
17
|
-
.pull-left { float:left; }
|
18
|
-
.padded { padding:$gutter;
|
19
|
-
&.double { padding:$gutter*2; }
|
20
|
-
&.tripple { padding:$gutter*3; }
|
21
|
-
}
|
22
|
-
.pad-top { padding-top:$gutter;
|
23
|
-
&.double { padding-top:$gutter*2; }
|
24
|
-
&.tripple { padding-top:$gutter*3; }
|
25
|
-
}
|
26
|
-
.pad-right { padding-right:$gutter;
|
27
|
-
&.double { padding-right:$gutter*2; }
|
28
|
-
&.tripple { padding-right:$gutter*3; }
|
29
|
-
}
|
30
|
-
.pad-bottom { padding-bottom:$gutter;
|
31
|
-
&.double { padding-bottom:$gutter*2; }
|
32
|
-
&.tripple { padding-bottom:$gutter*3; }
|
33
|
-
}
|
34
|
-
.pad-left { padding-left:$gutter;
|
35
|
-
&.double { padding-left:$gutter*2; }
|
36
|
-
&.tripple { padding-left:$gutter*3; }
|
37
|
-
}
|
38
|
-
.gapped { margin:$gutter;
|
39
|
-
&.double { margin:$gutter*2; }
|
40
|
-
&.tripple { margin:$gutter*3; }
|
41
|
-
}
|
42
|
-
.gap-top { margin-top:$gutter;
|
43
|
-
&.double { margin-top:$gutter*2; }
|
44
|
-
&.tripple { margin-top:$gutter*3; }
|
45
|
-
}
|
46
|
-
.gap-right { margin-right:$gutter;
|
47
|
-
&.double { margin-right:$gutter*2; }
|
48
|
-
&.tripple { margin-right:$gutter*3; }
|
49
|
-
}
|
50
|
-
.gap-bottom { margin-bottom:$gutter;
|
51
|
-
&.double { margin-bottom:$gutter*2; }
|
52
|
-
&.tripple { margin-bottom:$gutter*3; }
|
53
|
-
}
|
54
|
-
.gap-left { margin-left:$gutter;
|
55
|
-
&.double { padding:$gutter*2; }
|
56
|
-
&.tripple { padding:$gutter*3; }
|
57
|
-
}
|
58
|
-
.border-right { border-right:1px solid $border-color; }
|
59
|
-
.border-left { border-left:1px solid $border-color; }
|
60
|
-
.border-top { border-top:1px solid $border-color; }
|
61
|
-
.border-bottom { border-bottom:1px solid $border-color; }
|
62
|
-
.align-top { display:table-cell; vertical-align:top; } // must have height
|
63
|
-
.align-right { text-align:right; }
|
64
|
-
.align-bottom { display:table-cell; vertical-align:bottom; } // must have height
|
65
|
-
.align-left { text-align:left; }
|
66
|
-
.align-center { text-align:center; }
|
67
|
-
.justify { text-align:justify; }
|
68
|
-
.center { display:block; margin:0 auto; }
|
69
|
-
.clear, .clearfix { display:block; clear:both;
|
70
|
-
&:after { content:''; display:block; clear:both; }
|
71
|
-
}.space { height:$gutter; }
|
72
|
-
.round { @include rounded(9999px); }
|
73
|
-
.rotate-90 { @include rotate(90deg); }
|
74
|
-
.rotate-180 { @include rotate(180deg); }
|
75
|
-
.rotate-270 { @include rotate(270deg); }
|
76
|
-
.rotate-90-ctr { @include rotate(-90deg); }
|
77
|
-
.rotate-180-ctr { @include rotate(-180deg); }
|
78
|
-
.rotate-270-ctr { @include rotate(-270deg); }
|
@@ -1,59 +0,0 @@
|
|
1
|
-
// ===================================
|
2
|
-
// Messages
|
3
|
-
// ===================================
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
.message {
|
9
|
-
position:relative;
|
10
|
-
word-wrap:break-word;
|
11
|
-
padding:0.25em 1em;
|
12
|
-
background:$button-color;
|
13
|
-
border:1px solid $button-active;
|
14
|
-
color:$button-text;
|
15
|
-
font-weight:bold;
|
16
|
-
text-decoration:none;
|
17
|
-
@include rounded($radius);
|
18
|
-
&.small {
|
19
|
-
font-size:0.8em;
|
20
|
-
}
|
21
|
-
&.large {
|
22
|
-
font-size:1.5em;
|
23
|
-
}
|
24
|
-
&.error {
|
25
|
-
background:$error-color;
|
26
|
-
border:1px solid darken($error-color, 10%);
|
27
|
-
color:$button-text;
|
28
|
-
}
|
29
|
-
&.warning {
|
30
|
-
background:$warning-color;
|
31
|
-
border:1px solid darken($warning-color, 10%);
|
32
|
-
color:$button-text;
|
33
|
-
}
|
34
|
-
&.success {
|
35
|
-
background:$success-color;
|
36
|
-
border:1px solid darken($success-color, 10%);
|
37
|
-
color:$button-text;
|
38
|
-
}
|
39
|
-
&.square {
|
40
|
-
@include rounded(0);
|
41
|
-
}
|
42
|
-
&.round {
|
43
|
-
@include rounded(9999px);
|
44
|
-
}
|
45
|
-
&.dismissible {
|
46
|
-
padding-right:3em;
|
47
|
-
&:after {
|
48
|
-
content:'X';
|
49
|
-
display:block;
|
50
|
-
padding:0.5em 0;
|
51
|
-
font-size:0.8em;
|
52
|
-
text-align:center;
|
53
|
-
position:absolute;
|
54
|
-
top:0;
|
55
|
-
right:1em;
|
56
|
-
line-height:1.5;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
@@ -1,197 +0,0 @@
|
|
1
|
-
// =============================================
|
2
|
-
// SCSS mixins by Gary Hepting
|
3
|
-
// Last Updated:2013-1-21
|
4
|
-
// =============================================
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
// ====================
|
10
|
-
// custom functions
|
11
|
-
// ====================
|
12
|
-
|
13
|
-
// convert x,y to approximate degrees
|
14
|
-
@function degrees($x, $y) {
|
15
|
-
@if ($x gt 0) {
|
16
|
-
@if ($y gt 0) {
|
17
|
-
@return 45;
|
18
|
-
} @elseif ($y == 0) {
|
19
|
-
@return 90;
|
20
|
-
} @else {
|
21
|
-
@return 315;
|
22
|
-
}
|
23
|
-
} @elseif ($x lt 0) {
|
24
|
-
@if ($y gt 0) {
|
25
|
-
@return 135;
|
26
|
-
} @elseif ($y == 0) {
|
27
|
-
@return 270;
|
28
|
-
} @else {
|
29
|
-
@return 225;
|
30
|
-
}
|
31
|
-
} @else {
|
32
|
-
@return 0;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
// strip unit of measurement from a value
|
37
|
-
@function numericvalue($val){
|
38
|
-
$unit: unit($val);
|
39
|
-
$number: $val / ($val * 0 + 1);
|
40
|
-
@return $number;
|
41
|
-
}
|
42
|
-
|
43
|
-
// ====================
|
44
|
-
// utilities
|
45
|
-
// ====================
|
46
|
-
|
47
|
-
// inline image with fallback support for IE 7-
|
48
|
-
@mixin data-image($file) {
|
49
|
-
background-image:url('../images/#{$file}'); // fallback
|
50
|
-
background-image:inline-image($file); // data URI
|
51
|
-
*background-image:url('../images/#{$file}'); // IE7- hack
|
52
|
-
}
|
53
|
-
|
54
|
-
// // vertical gradient with support for IE 6-8 & 10
|
55
|
-
// @mixin vertical-gradient($startColor, $endColor) {
|
56
|
-
// background:$endColor;
|
57
|
-
// @include background-image(linear-gradient($startColor, $endColor));
|
58
|
-
// @include filter-gradient($startColor, $endColor);
|
59
|
-
// }
|
60
|
-
|
61
|
-
// // horizontal gradient with support for IE 6-8 & 10
|
62
|
-
// @mixin horizontal-gradient($startColor, $endColor) {
|
63
|
-
// background:$endColor;
|
64
|
-
// @include background-image(linear-gradient(left, $startColor, $endColor));
|
65
|
-
// @include filter-gradient($startColor, $endColor, 1);
|
66
|
-
// }
|
67
|
-
|
68
|
-
// vertical gradient
|
69
|
-
@mixin gradient($startColor:$white, $endColor:$gray-2) {
|
70
|
-
background:$startColor; // fallback
|
71
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($startColor)}', endColorstr='#{ie-hex-str($endColor)}',GradientType=0 ); // IE 6-8
|
72
|
-
background:-ms-linear-gradient(top, $startColor 0%, $endColor 100%); // IE 10+
|
73
|
-
background:-o-linear-gradient(top, $startColor 0%, $endColor 100%); // Opera
|
74
|
-
background:-moz-linear-gradient(top, $startColor 0%, $endColor 100%); // Firefox
|
75
|
-
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, $startColor), color-stop(100%, $endColor)); // Webkit (Safari, Chrome, other)
|
76
|
-
background:-webkit-linear-gradient(top, $startColor 0%, $endColor 100%); // Webkit (Safari, Chrome, other)
|
77
|
-
background:linear-gradient(to bottom, $startColor 0%, $endColor 100%);
|
78
|
-
}
|
79
|
-
|
80
|
-
// box shadow
|
81
|
-
@mixin drop-shadow($color:rgba(0,0,0,0.2), $blur:0, $x:0, $y:0) { // color, blur, x, y
|
82
|
-
-ms-box-shadow:$x $y $blur $color; // IE10+
|
83
|
-
@if ($x == 0 and $y == 0) { // non directional glow
|
84
|
-
filter: Glow(color=#{ie-hex-str($color)},strength=#{numericvalue($blur)});
|
85
|
-
-ms-filter: glow(color=#{ie-hex-str($color)},strength=#{numericvalue($blur)});
|
86
|
-
} @else {
|
87
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=#{numericvalue($blur)}, Direction=#{degrees($x, $y)}, Color='#{ie-hex-str($color)}')"; // IE8
|
88
|
-
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=#{numericvalue($blur)}, Direction=#{degrees($x, $y)}, Color='#{ie-hex-str($color)}'); // IE7-
|
89
|
-
}
|
90
|
-
-o-box-shadow:$x $y $blur $color; // Opera
|
91
|
-
-moz-box-shadow:$x $y $blur $color; // Firefox
|
92
|
-
-webkit-box-shadow:$x $y $blur $color; // Webkit (Safari, Chrome, other)
|
93
|
-
box-shadow:$x $y $blur $color;
|
94
|
-
}
|
95
|
-
// filter drop shadow
|
96
|
-
@mixin filter-shadow($color:rgba(0,0,0,0.2), $blur:0, $x:0, $y:0) { // color, blur, x, y
|
97
|
-
-ms-filter: drop-shadow($x $y $blur $color); // IE9+
|
98
|
-
-o-filter: drop-shadow($x $y $blur $color); // Opera
|
99
|
-
-moz-filter: drop-shadow($x $y $blur $color); // Firefox
|
100
|
-
-webkit-filter: drop-shadow($x $y $blur $color); // Webkit (Safari, Chrome, other)
|
101
|
-
filter: drop-shadow($x $y $blur $color);
|
102
|
-
}
|
103
|
-
|
104
|
-
// inner box shadow
|
105
|
-
@mixin inner-shadow($color, $blur:0, $x:0, $y:0) { // color, blur, x, y
|
106
|
-
-ms-box-shadow:inset $x $y $blur $color; // IE10+
|
107
|
-
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=#{$blur}, Direction=135, Color='#{ie-hex-str($color)}')"; // IE8
|
108
|
-
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=#{$blur}, Direction=135, Color='#{ie-hex-str($color)}'); // IE7-
|
109
|
-
-o-box-shadow:inset $x $y $blur $color; // Opera
|
110
|
-
-moz-box-shadow:inset $x $y $blur $color; // Firefox
|
111
|
-
-webkit-box-shadow:inset $x $y $blur $color; // Webkit (Safari, Chrome, other)
|
112
|
-
box-shadow:inset $x $y $blur $color;
|
113
|
-
}
|
114
|
-
|
115
|
-
// transition
|
116
|
-
@mixin transition($transition:all 0.2s) {
|
117
|
-
-ms-transition:$transition; // IE10+
|
118
|
-
-o-transition:$transition; // Opera
|
119
|
-
-moz-transition:$transition; // Firefox
|
120
|
-
-webkit-transition:$transition; // Webkit (Safari, Chrome, other)
|
121
|
-
transition:$transition;
|
122
|
-
}
|
123
|
-
|
124
|
-
// border radius
|
125
|
-
@mixin rounded($radius:4px) {
|
126
|
-
-ms-border-radius:$radius; // IE10+
|
127
|
-
-o-border-radius:$radius; // Opera
|
128
|
-
-moz-border-radius:$radius; // Firefox
|
129
|
-
-webkit-border-radius:$radius; // Webkit (Safari, Chrome, other)
|
130
|
-
border-radius:$radius;
|
131
|
-
}
|
132
|
-
|
133
|
-
// rotate
|
134
|
-
@mixin rotate($deg:0deg){
|
135
|
-
-ms-transform:rotate($deg); // IE10+
|
136
|
-
-o-transform:rotate($deg); // Opera
|
137
|
-
-moz-transform:rotate($deg); // Firefox
|
138
|
-
-webkit-transform:rotate($deg); // Webkit (Safari, Chrome, other)
|
139
|
-
transform:rotate($deg);
|
140
|
-
}
|
141
|
-
|
142
|
-
// scale
|
143
|
-
@mixin scale($scale:0){
|
144
|
-
-ms-transform:scale($scale); // IE10+
|
145
|
-
-o-transform:scale($scale); // Opera
|
146
|
-
-moz-transform:scale($scale); // Firefox
|
147
|
-
-webkit-transform:scale($scale); // Webkit (Safari, Chrome, other)
|
148
|
-
transform:scale($scale);
|
149
|
-
}
|
150
|
-
|
151
|
-
// translate
|
152
|
-
@mixin translate($x:0, $y:0){
|
153
|
-
-ms-transform:translate($x,$y); // IE10+
|
154
|
-
-o-transform:translate($x,$y); // Opera
|
155
|
-
-moz-transform:translate($x,$y); // Firefox
|
156
|
-
-webkit-transform:translate($x,$y); // Webkit (Safari, Chrome, other)
|
157
|
-
transform:translate($x,$y);
|
158
|
-
}
|
159
|
-
|
160
|
-
// transform (translate, rotate & scale)
|
161
|
-
@mixin transform($x:0, $y:0, $scale:0, $deg:0deg){
|
162
|
-
-ms-transform:translate($x,$y) rotate($deg) scale($scale); // IE10+
|
163
|
-
-o-transform:translate($x,$y) rotate($deg) scale($scale); // Opera
|
164
|
-
-moz-transform:translate($x,$y) rotate($deg) scale($scale); // Firefox
|
165
|
-
-webkit-transform:translate($x,$y) rotate($deg) scale($scale); // Webkit (Safari, Chrome, other)
|
166
|
-
transform:translate($x,$y) rotate($deg) scale($scale);
|
167
|
-
}
|
168
|
-
|
169
|
-
// transform origin
|
170
|
-
@mixin transform-origin($x:0, $y:0){
|
171
|
-
-ms-transform-origin:$x $y; // IE10+
|
172
|
-
-o-transform-origin:$x $y; // Opera
|
173
|
-
-moz-transform-origin:$x $y; // Firefox
|
174
|
-
-webkit-transform-origin:$x $y; // Webkit (Safari, Chrome, other)
|
175
|
-
transform-origin:$x $y;
|
176
|
-
}
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
// ====================
|
182
|
-
// fonts
|
183
|
-
// ====================
|
184
|
-
|
185
|
-
// font stacks
|
186
|
-
@mixin font-stack($primaryFont:"", $secondaryFont:"", $fallbackFonts:"Arial, Helvetica, Geneva, sans-serif") {
|
187
|
-
/* might add inline-font-files() at some point */
|
188
|
-
@if $secondaryFont != "" {
|
189
|
-
font-family:#{$primaryFont}, #{$secondaryFont}, #{$fallbackFonts};
|
190
|
-
} @else {
|
191
|
-
@if $primaryFont != "" {
|
192
|
-
font-family:#{$primaryFont}, #{$fallbackFonts};
|
193
|
-
} @else {
|
194
|
-
font-family:#{$fallbackFonts};
|
195
|
-
}
|
196
|
-
}
|
197
|
-
}
|
@@ -1,101 +0,0 @@
|
|
1
|
-
// ===================================
|
2
|
-
// Modals
|
3
|
-
// ===================================
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
// .modal-ready {
|
9
|
-
// body, div.modal {
|
10
|
-
// @include transition(0.25s all ease-out);
|
11
|
-
// }
|
12
|
-
// #overlay {
|
13
|
-
// @include transition(0.2s all ease-in);
|
14
|
-
// }
|
15
|
-
// }
|
16
|
-
|
17
|
-
.modal-active {
|
18
|
-
body {
|
19
|
-
overflow:hidden;
|
20
|
-
}
|
21
|
-
.container {
|
22
|
-
// -webkit-filter:blur(3px);
|
23
|
-
// -moz-filter:blur(3px);
|
24
|
-
// -ms-filter:blur(3px);
|
25
|
-
// -o-filter:blur(3px);
|
26
|
-
// filter:blur(3px);
|
27
|
-
}
|
28
|
-
#overlay {
|
29
|
-
visibility:visible;
|
30
|
-
opacity:1;
|
31
|
-
}
|
32
|
-
div.modal.active {
|
33
|
-
visibility:visible;
|
34
|
-
opacity:1;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
#overlay {
|
39
|
-
visibility:hidden;
|
40
|
-
opacity:0;
|
41
|
-
position:fixed;
|
42
|
-
top:0;
|
43
|
-
left:0;
|
44
|
-
bottom:0;
|
45
|
-
right:0;
|
46
|
-
z-index:98;
|
47
|
-
width:100%;
|
48
|
-
height:100%;
|
49
|
-
@include inner-shadow(#000, 200px, 0, 0);
|
50
|
-
@include gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.9));
|
51
|
-
}
|
52
|
-
|
53
|
-
div.modal {
|
54
|
-
visibility:hidden;
|
55
|
-
opacity:0;
|
56
|
-
position:fixed;
|
57
|
-
top:10%;
|
58
|
-
left:10%;
|
59
|
-
z-index:99;
|
60
|
-
max-width:80%;
|
61
|
-
max-height:80%;
|
62
|
-
overflow:hidden;
|
63
|
-
padding:10px;
|
64
|
-
background:#222;
|
65
|
-
background:rgba(0,0,0,0.4);
|
66
|
-
@include drop-shadow(rgb(50,50,50), 50px, 0, 0);
|
67
|
-
@include rounded($radius);
|
68
|
-
&.iframe {
|
69
|
-
overflow:hidden;
|
70
|
-
width:80%;
|
71
|
-
height:80%;
|
72
|
-
}
|
73
|
-
.modal-content {
|
74
|
-
position:relative;
|
75
|
-
overflow:auto;
|
76
|
-
width:100%;
|
77
|
-
height:100%;
|
78
|
-
background:#fff;
|
79
|
-
padding:25px;
|
80
|
-
@include rounded($radius);
|
81
|
-
}
|
82
|
-
.close, .fullscreen {
|
83
|
-
position:absolute;
|
84
|
-
z-index:100;
|
85
|
-
font-size:1.25em;
|
86
|
-
top:10px;
|
87
|
-
right:10px;
|
88
|
-
padding:5px;
|
89
|
-
cursor:pointer;
|
90
|
-
color:#888;
|
91
|
-
background:#fff;
|
92
|
-
@include rounded($radius);
|
93
|
-
&:hover, &:focus {
|
94
|
-
color:black;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
.fullscreen {
|
98
|
-
right:auto;
|
99
|
-
left:10px;
|
100
|
-
}
|
101
|
-
}
|