furtive 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/app/assets/stylesheets/_base.scss +144 -0
- data/app/assets/stylesheets/_mixins.scss +31 -0
- data/app/assets/stylesheets/_normalize.scss +423 -0
- data/app/assets/stylesheets/_typography.scss +35 -0
- data/app/assets/stylesheets/_variables.scss +39 -0
- data/app/assets/stylesheets/furtive.scss +5 -0
- data/furtive.gemspec +23 -0
- data/lib/furtive.rb +5 -0
- data/lib/furtive/engine.rb +6 -0
- data/lib/furtive/version.rb +3 -0
- metadata +87 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4b81d2ce8877c83a4c538f110b8b609ff9fec818
|
4
|
+
data.tar.gz: b2c0dacbf4652a79c28ee6910f809805d0c91364
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4dba2f93b0a2a9e1c821d383b3831aa071357216114138d96d21e583f3bfac442371e869a2a5e8df853e30c1db134c07b598df8f2fb4442709b15f401c79282e
|
7
|
+
data.tar.gz: 4a0bcea6357d4969bbe523cb09c4dd3f0a77a6abfa8ceca2a608923104e157837ded77671205009c08393bd7c0414da44f59ee222c918e17932777ca102d3969
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 John Otander
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Furtive
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'furtive'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install furtive
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it ( http://github.com/<my-github-username>/furtive/fork )
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,144 @@
|
|
1
|
+
*, *:before, *:after {
|
2
|
+
-webkit-box-sizing: border-box;
|
3
|
+
-moz-box-sizing: border-box;
|
4
|
+
box-sizing: border-box;
|
5
|
+
}
|
6
|
+
|
7
|
+
html,
|
8
|
+
body {
|
9
|
+
height: 100%;
|
10
|
+
margin: 0;
|
11
|
+
}
|
12
|
+
|
13
|
+
.clearfix { @include clearfix; }
|
14
|
+
|
15
|
+
.pull-left { float: left; }
|
16
|
+
.pull-right { float: right; }
|
17
|
+
.pull-center { float: center; }
|
18
|
+
.pull-none { float: none; }
|
19
|
+
|
20
|
+
.center { margin: auto auto; }
|
21
|
+
|
22
|
+
.center-children { @include center-children; }
|
23
|
+
.right-children { @include right-children; }
|
24
|
+
.left-children { @include left-children; }
|
25
|
+
|
26
|
+
/* Room
|
27
|
+
Classes to add margin.
|
28
|
+
---------------------------------------------------------------------------- */
|
29
|
+
|
30
|
+
.room-sm { margin: $margin/2; }
|
31
|
+
.room-sm-top { margin-top: $margin/2; }
|
32
|
+
.room-sm-left { margin-left: $margin/2; }
|
33
|
+
.room-sm-right { margin-right: $margin/2; }
|
34
|
+
.room-sm-bottom { margin-bottom: $margin/2; }
|
35
|
+
.room-sm-x { margin: 0 $margin/2; }
|
36
|
+
.room-sm-y { margin: $margin/2 0; }
|
37
|
+
|
38
|
+
.room { margin: $margin; }
|
39
|
+
.room-top { margin-top: $margin; }
|
40
|
+
.room-left { margin-left: $margin; }
|
41
|
+
.room-right { margin-right: $margin; }
|
42
|
+
.room-bottom { margin-bottom: $margin; }
|
43
|
+
.room-x { margin: 0 $margin; }
|
44
|
+
.room-y { margin: $margin 0; }
|
45
|
+
|
46
|
+
.room-lg { margin: $margin*2; }
|
47
|
+
.room-lg-top { margin-top: $margin*2; }
|
48
|
+
.room-lg-left { margin-left: $margin*2; }
|
49
|
+
.room-lg-right { margin-right: $margin*2; }
|
50
|
+
.room-lg-bottom { margin-bottom: $margin*2; }
|
51
|
+
.room-lg-x { margin: 0 $margin*2; }
|
52
|
+
.room-lg-y { margin: $margin*2 0; }
|
53
|
+
|
54
|
+
.no-room { margin: 0; }
|
55
|
+
|
56
|
+
/* Cushion
|
57
|
+
Classes to add padding.
|
58
|
+
---------------------------------------------------------------------------- */
|
59
|
+
|
60
|
+
.cushion-sm { padding: $padding/2; }
|
61
|
+
.cushion-sm-top { padding-top: $padding/2; }
|
62
|
+
.cushion-sm-left { padding-left: $padding/2; }
|
63
|
+
.cushion-sm-right { padding-right: $padding/2; }
|
64
|
+
.cushion-sm-bottom { padding-bottom: $padding/2; }
|
65
|
+
.cushion-sm-x { padding: 0 $padding/2; }
|
66
|
+
.cushion-sm-y { padding: $padding/2 0; }
|
67
|
+
|
68
|
+
.cushion { padding: $padding; }
|
69
|
+
.cushion-top { padding-top: $padding; }
|
70
|
+
.cushion-left { padding-left: $padding; }
|
71
|
+
.cushion-right { padding-right: $padding; }
|
72
|
+
.cushion-bottom { padding-bottom: $padding; }
|
73
|
+
.cushion-x { padding: 0 $padding; }
|
74
|
+
.cushion-y { padding: $padding 0; }
|
75
|
+
|
76
|
+
.cushion-lg { padding: $padding*2; }
|
77
|
+
.cushion-lg-top { padding-top: $padding*2; }
|
78
|
+
.cushion-lg-left { padding-left: $padding*2; }
|
79
|
+
.cushion-lg-right { padding-right: $padding*2; }
|
80
|
+
.cushion-lg-bottom { padding-bottom: $padding*2; }
|
81
|
+
.cushion-lg-x { padding: 0 $padding*2; }
|
82
|
+
.cushion-lg-y { padding: $padding*2 0; }
|
83
|
+
|
84
|
+
.no-cushion { padding: 0; }
|
85
|
+
|
86
|
+
/* Background Colors
|
87
|
+
Classes to add pretty background colors.
|
88
|
+
Courtesy of clrs.cc
|
89
|
+
---------------------------------------------------------------------------- */
|
90
|
+
|
91
|
+
.bg-navy { background-color: $navy; }
|
92
|
+
.bg-blue { background-color: $blue; }
|
93
|
+
.bg-aqua { background-color: $aqua; }
|
94
|
+
.bg-teal { background-color: $teal; }
|
95
|
+
.bg-olive { background-color: $olive; }
|
96
|
+
.bg-green { background-color: $green; }
|
97
|
+
.bg-lime { background-color: $lime; }
|
98
|
+
.bg-yellow { background-color: $yellow; }
|
99
|
+
.bg-orange { background-color: $orange; }
|
100
|
+
.bg-red { background-color: $red; }
|
101
|
+
.bg-fuchsia { background-color: $fuchsia; }
|
102
|
+
.bg-purple { background-color: $purple; }
|
103
|
+
.bg-maroon { background-color: $maroon; }
|
104
|
+
.bg-white { background-color: $white; }
|
105
|
+
.bg-gray { background-color: $gray; }
|
106
|
+
.bg-silver { background-color: $silver; }
|
107
|
+
.bg-black { background-color: $black; }
|
108
|
+
|
109
|
+
/* Font Colors
|
110
|
+
Classes to add pretty font colors.
|
111
|
+
Courtesy of clrs.cc
|
112
|
+
---------------------------------------------------------------------------- */
|
113
|
+
|
114
|
+
.navy { color: $navy; }
|
115
|
+
.blue { color: $blue; }
|
116
|
+
.aqua { color: $aqua; }
|
117
|
+
.teal { color: $teal; }
|
118
|
+
.olive { color: $olive; }
|
119
|
+
.green { color: $green; }
|
120
|
+
.lime { color: $lime; }
|
121
|
+
.yellow { color: $yellow; }
|
122
|
+
.orange { color: $orange; }
|
123
|
+
.red { color: $red; }
|
124
|
+
.fuchsia { color: $fuchsia; }
|
125
|
+
.purple { color: $purple; }
|
126
|
+
.maroon { color: $maroon; }
|
127
|
+
.white { color: $white; }
|
128
|
+
.silver { color: $silver; }
|
129
|
+
.gray { color: $gray; }
|
130
|
+
.black { color: $black; }
|
131
|
+
|
132
|
+
/* Links
|
133
|
+
Make links pretty.
|
134
|
+
Courtesy of clrs.cc
|
135
|
+
---------------------------------------------------------------------------- */
|
136
|
+
|
137
|
+
a {
|
138
|
+
transition: color .3s ease-in-out;
|
139
|
+
}
|
140
|
+
|
141
|
+
a:link { color: $blue; }
|
142
|
+
a:visited { color: $purple; }
|
143
|
+
a:hover { color: $aqua; }
|
144
|
+
a:active { color: $orange; }
|
@@ -0,0 +1,31 @@
|
|
1
|
+
@mixin center-children { text-align: center; }
|
2
|
+
@mixin right-children { text-align: right; }
|
3
|
+
@mixin left-children { text-align: left; }
|
4
|
+
|
5
|
+
@mixin full-width {
|
6
|
+
width: 100%;
|
7
|
+
left: 0;
|
8
|
+
overflow-x: hidden;
|
9
|
+
|
10
|
+
&:after, &:before {
|
11
|
+
content: "";
|
12
|
+
position: fixed;
|
13
|
+
top: 0;
|
14
|
+
bottom: 0;
|
15
|
+
width: 9999px;
|
16
|
+
}
|
17
|
+
&:before { right: 100% }
|
18
|
+
&:after { left: 100% }
|
19
|
+
}
|
20
|
+
|
21
|
+
// Clearfix Acknowledgements
|
22
|
+
// https://github.com/thoughtbot/bourbon/blob/master/dist/addons/_clearfix.scss
|
23
|
+
// Micro clearfix: [Nicolas Gallagher](http://nicolasgallagher.com/micro-clearfix-hack/)
|
24
|
+
// From: Thoughbot's bourbon library.
|
25
|
+
@mixin clearfix {
|
26
|
+
&:after {
|
27
|
+
content:"";
|
28
|
+
display:table;
|
29
|
+
clear:both;
|
30
|
+
}
|
31
|
+
}
|
@@ -0,0 +1,423 @@
|
|
1
|
+
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Set default font family to sans-serif.
|
5
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
6
|
+
* user zoom.
|
7
|
+
*/
|
8
|
+
|
9
|
+
html {
|
10
|
+
font-family: sans-serif; /* 1 */
|
11
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
12
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
13
|
+
}
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Remove default margin.
|
17
|
+
*/
|
18
|
+
|
19
|
+
body {
|
20
|
+
margin: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* HTML5 display definitions
|
24
|
+
========================================================================== */
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Correct `block` display not defined in IE 8/9.
|
28
|
+
*/
|
29
|
+
|
30
|
+
article,
|
31
|
+
aside,
|
32
|
+
details,
|
33
|
+
figcaption,
|
34
|
+
figure,
|
35
|
+
footer,
|
36
|
+
header,
|
37
|
+
hgroup,
|
38
|
+
main,
|
39
|
+
nav,
|
40
|
+
section,
|
41
|
+
summary {
|
42
|
+
display: block;
|
43
|
+
}
|
44
|
+
|
45
|
+
/**
|
46
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
47
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
48
|
+
*/
|
49
|
+
|
50
|
+
audio,
|
51
|
+
canvas,
|
52
|
+
progress,
|
53
|
+
video {
|
54
|
+
display: inline-block; /* 1 */
|
55
|
+
vertical-align: baseline; /* 2 */
|
56
|
+
}
|
57
|
+
|
58
|
+
/**
|
59
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
60
|
+
* Remove excess height in iOS 5 devices.
|
61
|
+
*/
|
62
|
+
|
63
|
+
audio:not([controls]) {
|
64
|
+
display: none;
|
65
|
+
height: 0;
|
66
|
+
}
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Address `[hidden]` styling not present in IE 8/9.
|
70
|
+
* Hide the `template` element in IE, Safari, and Firefox < 22.
|
71
|
+
*/
|
72
|
+
|
73
|
+
[hidden],
|
74
|
+
template {
|
75
|
+
display: none;
|
76
|
+
}
|
77
|
+
|
78
|
+
/* Links
|
79
|
+
========================================================================== */
|
80
|
+
|
81
|
+
/**
|
82
|
+
* Remove the gray background color from active links in IE 10.
|
83
|
+
*/
|
84
|
+
|
85
|
+
a {
|
86
|
+
background: transparent;
|
87
|
+
}
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
91
|
+
*/
|
92
|
+
|
93
|
+
a:active,
|
94
|
+
a:hover {
|
95
|
+
outline: 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
/* Text-level semantics
|
99
|
+
========================================================================== */
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
103
|
+
*/
|
104
|
+
|
105
|
+
abbr[title] {
|
106
|
+
border-bottom: 1px dotted;
|
107
|
+
}
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
111
|
+
*/
|
112
|
+
|
113
|
+
b,
|
114
|
+
strong {
|
115
|
+
font-weight: bold;
|
116
|
+
}
|
117
|
+
|
118
|
+
/**
|
119
|
+
* Address styling not present in Safari 5 and Chrome.
|
120
|
+
*/
|
121
|
+
|
122
|
+
dfn {
|
123
|
+
font-style: italic;
|
124
|
+
}
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
128
|
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
129
|
+
*/
|
130
|
+
|
131
|
+
h1 {
|
132
|
+
font-size: 2em;
|
133
|
+
margin: 0.67em 0;
|
134
|
+
}
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Address styling not present in IE 8/9.
|
138
|
+
*/
|
139
|
+
|
140
|
+
mark {
|
141
|
+
background: #ff0;
|
142
|
+
color: #000;
|
143
|
+
}
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Address inconsistent and variable font size in all browsers.
|
147
|
+
*/
|
148
|
+
|
149
|
+
small {
|
150
|
+
font-size: 80%;
|
151
|
+
}
|
152
|
+
|
153
|
+
/**
|
154
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
155
|
+
*/
|
156
|
+
|
157
|
+
sub,
|
158
|
+
sup {
|
159
|
+
font-size: 75%;
|
160
|
+
line-height: 0;
|
161
|
+
position: relative;
|
162
|
+
vertical-align: baseline;
|
163
|
+
}
|
164
|
+
|
165
|
+
sup {
|
166
|
+
top: -0.5em;
|
167
|
+
}
|
168
|
+
|
169
|
+
sub {
|
170
|
+
bottom: -0.25em;
|
171
|
+
}
|
172
|
+
|
173
|
+
/* Embedded content
|
174
|
+
========================================================================== */
|
175
|
+
|
176
|
+
/**
|
177
|
+
* Remove border when inside `a` element in IE 8/9.
|
178
|
+
*/
|
179
|
+
|
180
|
+
img {
|
181
|
+
border: 0;
|
182
|
+
}
|
183
|
+
|
184
|
+
/**
|
185
|
+
* Correct overflow displayed oddly in IE 9.
|
186
|
+
*/
|
187
|
+
|
188
|
+
svg:not(:root) {
|
189
|
+
overflow: hidden;
|
190
|
+
}
|
191
|
+
|
192
|
+
/* Grouping content
|
193
|
+
========================================================================== */
|
194
|
+
|
195
|
+
/**
|
196
|
+
* Address margin not present in IE 8/9 and Safari 5.
|
197
|
+
*/
|
198
|
+
|
199
|
+
figure {
|
200
|
+
margin: 1em 40px;
|
201
|
+
}
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Address differences between Firefox and other browsers.
|
205
|
+
*/
|
206
|
+
|
207
|
+
hr {
|
208
|
+
-moz-box-sizing: content-box;
|
209
|
+
box-sizing: content-box;
|
210
|
+
height: 0;
|
211
|
+
}
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Contain overflow in all browsers.
|
215
|
+
*/
|
216
|
+
|
217
|
+
pre {
|
218
|
+
overflow: auto;
|
219
|
+
}
|
220
|
+
|
221
|
+
/**
|
222
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
223
|
+
*/
|
224
|
+
|
225
|
+
code,
|
226
|
+
kbd,
|
227
|
+
pre,
|
228
|
+
samp {
|
229
|
+
font-family: monospace, monospace;
|
230
|
+
font-size: 1em;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* Forms
|
234
|
+
========================================================================== */
|
235
|
+
|
236
|
+
/**
|
237
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
238
|
+
* styling of `select`, unless a `border` property is set.
|
239
|
+
*/
|
240
|
+
|
241
|
+
/**
|
242
|
+
* 1. Correct color not being inherited.
|
243
|
+
* Known issue: affects color of disabled elements.
|
244
|
+
* 2. Correct font properties not being inherited.
|
245
|
+
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
246
|
+
*/
|
247
|
+
|
248
|
+
button,
|
249
|
+
input,
|
250
|
+
optgroup,
|
251
|
+
select,
|
252
|
+
textarea {
|
253
|
+
color: inherit; /* 1 */
|
254
|
+
font: inherit; /* 2 */
|
255
|
+
margin: 0; /* 3 */
|
256
|
+
}
|
257
|
+
|
258
|
+
/**
|
259
|
+
* Address `overflow` set to `hidden` in IE 8/9/10.
|
260
|
+
*/
|
261
|
+
|
262
|
+
button {
|
263
|
+
overflow: visible;
|
264
|
+
}
|
265
|
+
|
266
|
+
/**
|
267
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
268
|
+
* All other form control elements do not inherit `text-transform` values.
|
269
|
+
* Correct `button` style inheritance in Firefox, IE 8+, and Opera
|
270
|
+
* Correct `select` style inheritance in Firefox.
|
271
|
+
*/
|
272
|
+
|
273
|
+
button,
|
274
|
+
select {
|
275
|
+
text-transform: none;
|
276
|
+
}
|
277
|
+
|
278
|
+
/**
|
279
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
280
|
+
* and `video` controls.
|
281
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
282
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
283
|
+
* `input` and others.
|
284
|
+
*/
|
285
|
+
|
286
|
+
button,
|
287
|
+
html input[type="button"], /* 1 */
|
288
|
+
input[type="reset"],
|
289
|
+
input[type="submit"] {
|
290
|
+
-webkit-appearance: button; /* 2 */
|
291
|
+
cursor: pointer; /* 3 */
|
292
|
+
}
|
293
|
+
|
294
|
+
/**
|
295
|
+
* Re-set default cursor for disabled elements.
|
296
|
+
*/
|
297
|
+
|
298
|
+
button[disabled],
|
299
|
+
html input[disabled] {
|
300
|
+
cursor: default;
|
301
|
+
}
|
302
|
+
|
303
|
+
/**
|
304
|
+
* Remove inner padding and border in Firefox 4+.
|
305
|
+
*/
|
306
|
+
|
307
|
+
button::-moz-focus-inner,
|
308
|
+
input::-moz-focus-inner {
|
309
|
+
border: 0;
|
310
|
+
padding: 0;
|
311
|
+
}
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
315
|
+
* the UA stylesheet.
|
316
|
+
*/
|
317
|
+
|
318
|
+
input {
|
319
|
+
line-height: normal;
|
320
|
+
}
|
321
|
+
|
322
|
+
/**
|
323
|
+
* It's recommended that you don't attempt to style these elements.
|
324
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
325
|
+
*
|
326
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
327
|
+
* 2. Remove excess padding in IE 8/9/10.
|
328
|
+
*/
|
329
|
+
|
330
|
+
input[type="checkbox"],
|
331
|
+
input[type="radio"] {
|
332
|
+
box-sizing: border-box; /* 1 */
|
333
|
+
padding: 0; /* 2 */
|
334
|
+
}
|
335
|
+
|
336
|
+
/**
|
337
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
338
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
339
|
+
* decrement button to change from `default` to `text`.
|
340
|
+
*/
|
341
|
+
|
342
|
+
input[type="number"]::-webkit-inner-spin-button,
|
343
|
+
input[type="number"]::-webkit-outer-spin-button {
|
344
|
+
height: auto;
|
345
|
+
}
|
346
|
+
|
347
|
+
/**
|
348
|
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
349
|
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
350
|
+
* (include `-moz` to future-proof).
|
351
|
+
*/
|
352
|
+
|
353
|
+
input[type="search"] {
|
354
|
+
-webkit-appearance: textfield; /* 1 */
|
355
|
+
-moz-box-sizing: content-box;
|
356
|
+
-webkit-box-sizing: content-box; /* 2 */
|
357
|
+
box-sizing: content-box;
|
358
|
+
}
|
359
|
+
|
360
|
+
/**
|
361
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
362
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
363
|
+
* padding (and `textfield` appearance).
|
364
|
+
*/
|
365
|
+
|
366
|
+
input[type="search"]::-webkit-search-cancel-button,
|
367
|
+
input[type="search"]::-webkit-search-decoration {
|
368
|
+
-webkit-appearance: none;
|
369
|
+
}
|
370
|
+
|
371
|
+
/**
|
372
|
+
* Define consistent border, margin, and padding.
|
373
|
+
*/
|
374
|
+
|
375
|
+
fieldset {
|
376
|
+
border: 1px solid #c0c0c0;
|
377
|
+
margin: 0 2px;
|
378
|
+
padding: 0.35em 0.625em 0.75em;
|
379
|
+
}
|
380
|
+
|
381
|
+
/**
|
382
|
+
* 1. Correct `color` not being inherited in IE 8/9.
|
383
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
384
|
+
*/
|
385
|
+
|
386
|
+
legend {
|
387
|
+
border: 0; /* 1 */
|
388
|
+
padding: 0; /* 2 */
|
389
|
+
}
|
390
|
+
|
391
|
+
/**
|
392
|
+
* Remove default vertical scrollbar in IE 8/9.
|
393
|
+
*/
|
394
|
+
|
395
|
+
textarea {
|
396
|
+
overflow: auto;
|
397
|
+
}
|
398
|
+
|
399
|
+
/**
|
400
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
401
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
402
|
+
*/
|
403
|
+
|
404
|
+
optgroup {
|
405
|
+
font-weight: bold;
|
406
|
+
}
|
407
|
+
|
408
|
+
/* Tables
|
409
|
+
========================================================================== */
|
410
|
+
|
411
|
+
/**
|
412
|
+
* Remove most spacing between table cells.
|
413
|
+
*/
|
414
|
+
|
415
|
+
table {
|
416
|
+
border-collapse: collapse;
|
417
|
+
border-spacing: 0;
|
418
|
+
}
|
419
|
+
|
420
|
+
td,
|
421
|
+
th {
|
422
|
+
padding: 0;
|
423
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
body {
|
2
|
+
-webkit-font-smoothing: antialiased;
|
3
|
+
box-sizing: border-box;
|
4
|
+
}
|
5
|
+
|
6
|
+
pre, code {
|
7
|
+
cursor: text;
|
8
|
+
font-family: $monospace-font-family;
|
9
|
+
}
|
10
|
+
|
11
|
+
.txt-muted {
|
12
|
+
opacity: 0.7;
|
13
|
+
}
|
14
|
+
|
15
|
+
.txt-thin {
|
16
|
+
font-weight: 100;
|
17
|
+
}
|
18
|
+
|
19
|
+
.txt-bold {
|
20
|
+
font-weight: bold;
|
21
|
+
}
|
22
|
+
|
23
|
+
.txt-caps {
|
24
|
+
font-variant: small-caps;
|
25
|
+
}
|
26
|
+
|
27
|
+
.txt-justify {
|
28
|
+
text-align: justify;
|
29
|
+
}
|
30
|
+
|
31
|
+
.txt-ellipsis {
|
32
|
+
text-overflow: ellipsis;
|
33
|
+
white-space: nowrap;
|
34
|
+
overflow: hidden;
|
35
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
$margin: 20px;
|
2
|
+
$padding: 20px;
|
3
|
+
|
4
|
+
$font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
5
|
+
$monospace-font-family: "Monaco", "Lucida Console", Courier, monospace;
|
6
|
+
|
7
|
+
$font-color: #444;
|
8
|
+
$font-weight: 400;
|
9
|
+
|
10
|
+
$header-font-weight: 200;
|
11
|
+
$header-font-family: $font-family;
|
12
|
+
|
13
|
+
$subtle: #999;
|
14
|
+
$light-gray: #d6d6d6;
|
15
|
+
$font-color: #444;
|
16
|
+
|
17
|
+
$primary-color: #27aa94;
|
18
|
+
$primary-color-hover: darken($primary-color, 5%);
|
19
|
+
|
20
|
+
/* Colors
|
21
|
+
Courtesy of clrs.cc
|
22
|
+
---------------------------------------------------------------------------- */
|
23
|
+
$navy: #001f3f;
|
24
|
+
$blue: #0074d9;
|
25
|
+
$aqua: #7fdbff;
|
26
|
+
$teal: #39cccc;
|
27
|
+
$olive: #3d9970;
|
28
|
+
$green: #2ecc40;
|
29
|
+
$lime: #01ff70;
|
30
|
+
$yellow: #ffdc00;
|
31
|
+
$orange: #ff851b;
|
32
|
+
$red: #ff4136;
|
33
|
+
$maroon: #85144b;
|
34
|
+
$fuchsia: #f012be;
|
35
|
+
$purple: #b10dc9;
|
36
|
+
$white: #ffffff;
|
37
|
+
$silver: #dddddd;
|
38
|
+
$gray: #aaaaaa;
|
39
|
+
$black: #111111;
|
data/furtive.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'furtive/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "furtive"
|
8
|
+
spec.version = Furtive::VERSION
|
9
|
+
spec.authors = ["John Otander"]
|
10
|
+
spec.email = ["johnotander@gmail.com"]
|
11
|
+
spec.summary = %q{Utility CSS classes for every project.}
|
12
|
+
spec.description = %q{Utility CSS classes for every project.}
|
13
|
+
spec.homepage = "http://johnotander.com/furtive"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|
data/lib/furtive.rb
ADDED
metadata
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: furtive
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- John Otander
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-04-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.5'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Utility CSS classes for every project.
|
42
|
+
email:
|
43
|
+
- johnotander@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- app/assets/stylesheets/_base.scss
|
54
|
+
- app/assets/stylesheets/_mixins.scss
|
55
|
+
- app/assets/stylesheets/_normalize.scss
|
56
|
+
- app/assets/stylesheets/_typography.scss
|
57
|
+
- app/assets/stylesheets/_variables.scss
|
58
|
+
- app/assets/stylesheets/furtive.scss
|
59
|
+
- furtive.gemspec
|
60
|
+
- lib/furtive.rb
|
61
|
+
- lib/furtive/engine.rb
|
62
|
+
- lib/furtive/version.rb
|
63
|
+
homepage: http://johnotander.com/furtive
|
64
|
+
licenses:
|
65
|
+
- MIT
|
66
|
+
metadata: {}
|
67
|
+
post_install_message:
|
68
|
+
rdoc_options: []
|
69
|
+
require_paths:
|
70
|
+
- lib
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
requirements: []
|
82
|
+
rubyforge_project:
|
83
|
+
rubygems_version: 2.2.2
|
84
|
+
signing_key:
|
85
|
+
specification_version: 4
|
86
|
+
summary: Utility CSS classes for every project.
|
87
|
+
test_files: []
|