illusion 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +4 -0
- data/sass/_illusion.scss +1 -0
- data/sass/_reset.scss +227 -0
- metadata +5 -4
- data/README.rdoc +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71dd9a566512e004b3ce6f9a6ba10648d2a4eebc
|
4
|
+
data.tar.gz: 980b4f34402aee287e9219d2ba0f5e230ca535a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c90cd924f1c2e72a798bc4a6bfa9a93a8560a053d6b3393f1b7e8bd7d1949f92273d8caa16f21981178a485543c498de05912d5808c95c104a1d51675622e708
|
7
|
+
data.tar.gz: 480dd345d1ba7e706c6898072ae8b673f1d08cf1f356f82a653ea9899704d50e66d9396ef8fa71d942f1d3c429e5cad3c3a419e399964476fb4556c1b5f8a757
|
data/LICENSE.txt
CHANGED
data/README.md
ADDED
data/sass/_illusion.scss
CHANGED
data/sass/_reset.scss
ADDED
@@ -0,0 +1,227 @@
|
|
1
|
+
//
|
2
|
+
// Reset CSS
|
3
|
+
// Adapted from http://github.com/necolas/normalize.css
|
4
|
+
// --------------------------------------------------
|
5
|
+
|
6
|
+
// Display in IE6-9 and FF3
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
article,
|
10
|
+
aside,
|
11
|
+
details,
|
12
|
+
figcaption,
|
13
|
+
figure,
|
14
|
+
footer,
|
15
|
+
header,
|
16
|
+
hgroup,
|
17
|
+
nav,
|
18
|
+
section {
|
19
|
+
display: block;
|
20
|
+
}
|
21
|
+
|
22
|
+
// Display block in IE6-9 and FF3
|
23
|
+
// -------------------------
|
24
|
+
|
25
|
+
audio,
|
26
|
+
canvas,
|
27
|
+
video {
|
28
|
+
display: inline-block;
|
29
|
+
*display: inline;
|
30
|
+
*zoom: 1;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Prevents modern browsers from displaying 'audio' without controls
|
34
|
+
// -------------------------
|
35
|
+
|
36
|
+
audio:not([controls]) {
|
37
|
+
display: none;
|
38
|
+
}
|
39
|
+
|
40
|
+
// Base settings
|
41
|
+
// -------------------------
|
42
|
+
|
43
|
+
html {
|
44
|
+
font-size: 100%;
|
45
|
+
-webkit-text-size-adjust: 100%;
|
46
|
+
-ms-text-size-adjust: 100%;
|
47
|
+
}
|
48
|
+
|
49
|
+
// Focus states
|
50
|
+
a:focus {
|
51
|
+
@include tab-focus();
|
52
|
+
}
|
53
|
+
|
54
|
+
// Hover & Active
|
55
|
+
a:hover,
|
56
|
+
a:active {
|
57
|
+
outline: 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
// Prevents sub and sup affecting line-height in all browsers
|
61
|
+
// -------------------------
|
62
|
+
|
63
|
+
sub,
|
64
|
+
sup {
|
65
|
+
position: relative;
|
66
|
+
font-size: 75%;
|
67
|
+
line-height: 0;
|
68
|
+
vertical-align: baseline;
|
69
|
+
}
|
70
|
+
|
71
|
+
sup {
|
72
|
+
top: -0.5em;
|
73
|
+
}
|
74
|
+
|
75
|
+
sub {
|
76
|
+
bottom: -0.25em;
|
77
|
+
}
|
78
|
+
|
79
|
+
// Img border in a's and image quality
|
80
|
+
// -------------------------
|
81
|
+
|
82
|
+
img {
|
83
|
+
/* Responsive images (ensure images don't scale beyond their parents) */
|
84
|
+
max-width: 100%; /* Part 1: Set a maxium relative to the parent */
|
85
|
+
width: auto\9; /* IE7-8 need help adjusting responsive images */
|
86
|
+
height: auto; /* Part 2: Scale the height according to the width, otherwise you get stretching */
|
87
|
+
|
88
|
+
vertical-align: middle;
|
89
|
+
border: 0;
|
90
|
+
-ms-interpolation-mode: bicubic;
|
91
|
+
}
|
92
|
+
|
93
|
+
// Prevent max-width from affecting Google Maps
|
94
|
+
#map_canvas img,
|
95
|
+
.google-maps img {
|
96
|
+
max-width: none;
|
97
|
+
}
|
98
|
+
|
99
|
+
// Forms
|
100
|
+
// -------------------------
|
101
|
+
|
102
|
+
// Font size in all browsers, margin changes, misc consistency
|
103
|
+
button,
|
104
|
+
input,
|
105
|
+
select,
|
106
|
+
textarea {
|
107
|
+
margin: 0;
|
108
|
+
font-size: 100%;
|
109
|
+
vertical-align: middle;
|
110
|
+
}
|
111
|
+
|
112
|
+
button,
|
113
|
+
input {
|
114
|
+
*overflow: visible; // Inner spacing ie IE6/7
|
115
|
+
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
|
116
|
+
}
|
117
|
+
|
118
|
+
button::-moz-focus-inner,
|
119
|
+
input::-moz-focus-inner {
|
120
|
+
// Inner padding and border oddities in FF3/4
|
121
|
+
padding: 0;
|
122
|
+
border: 0;
|
123
|
+
}
|
124
|
+
|
125
|
+
button,
|
126
|
+
html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
|
127
|
+
input[type="reset"],
|
128
|
+
input[type="submit"] {
|
129
|
+
-webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
|
130
|
+
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
|
131
|
+
}
|
132
|
+
|
133
|
+
label,
|
134
|
+
select,
|
135
|
+
button,
|
136
|
+
input[type="button"],
|
137
|
+
input[type="reset"],
|
138
|
+
input[type="submit"],
|
139
|
+
input[type="radio"],
|
140
|
+
input[type="checkbox"] {
|
141
|
+
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
|
142
|
+
}
|
143
|
+
|
144
|
+
input[type="search"] {
|
145
|
+
// Appearance in Safari/Chrome
|
146
|
+
@include box-sizing(content-box);
|
147
|
+
-webkit-appearance: textfield;
|
148
|
+
}
|
149
|
+
|
150
|
+
input[type="search"]::-webkit-search-decoration,
|
151
|
+
input[type="search"]::-webkit-search-cancel-button {
|
152
|
+
-webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
|
153
|
+
}
|
154
|
+
|
155
|
+
textarea {
|
156
|
+
overflow: auto; // Remove vertical scrollbar in IE6-9
|
157
|
+
vertical-align: top; // Readability and alignment cross-browser
|
158
|
+
}
|
159
|
+
|
160
|
+
// Printing
|
161
|
+
// -------------------------
|
162
|
+
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
163
|
+
|
164
|
+
@media print {
|
165
|
+
|
166
|
+
* {
|
167
|
+
text-shadow: none !important;
|
168
|
+
color: #000 !important; // Black prints faster: h5bp.com/s
|
169
|
+
background: transparent !important;
|
170
|
+
box-shadow: none !important;
|
171
|
+
}
|
172
|
+
|
173
|
+
a,
|
174
|
+
a:visited {
|
175
|
+
text-decoration: underline;
|
176
|
+
}
|
177
|
+
|
178
|
+
a[href]:after {
|
179
|
+
content: " (" attr(href) ")";
|
180
|
+
}
|
181
|
+
|
182
|
+
abbr[title]:after {
|
183
|
+
content: " (" attr(title) ")";
|
184
|
+
}
|
185
|
+
|
186
|
+
// Don't show links for images, or javascript/internal links
|
187
|
+
.ir a:after,
|
188
|
+
a[href^="javascript:"]:after,
|
189
|
+
a[href^="#"]:after {
|
190
|
+
content: "";
|
191
|
+
}
|
192
|
+
|
193
|
+
pre,
|
194
|
+
blockquote {
|
195
|
+
border: 1px solid #999;
|
196
|
+
page-break-inside: avoid;
|
197
|
+
}
|
198
|
+
|
199
|
+
thead {
|
200
|
+
display: table-header-group; // h5bp.com/t
|
201
|
+
}
|
202
|
+
|
203
|
+
tr,
|
204
|
+
img {
|
205
|
+
page-break-inside: avoid;
|
206
|
+
}
|
207
|
+
|
208
|
+
img {
|
209
|
+
max-width: 100% !important;
|
210
|
+
}
|
211
|
+
|
212
|
+
@page {
|
213
|
+
margin: 0.5cm;
|
214
|
+
}
|
215
|
+
|
216
|
+
p,
|
217
|
+
h2,
|
218
|
+
h3 {
|
219
|
+
orphans: 3;
|
220
|
+
widows: 3;
|
221
|
+
}
|
222
|
+
|
223
|
+
h2,
|
224
|
+
h3 {
|
225
|
+
page-break-after: avoid;
|
226
|
+
}
|
227
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: illusion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Janssens
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shoulda
|
@@ -86,14 +86,15 @@ executables: []
|
|
86
86
|
extensions: []
|
87
87
|
extra_rdoc_files:
|
88
88
|
- LICENSE.txt
|
89
|
-
- README.
|
89
|
+
- README.md
|
90
90
|
files:
|
91
91
|
- LICENSE.txt
|
92
|
-
- README.
|
92
|
+
- README.md
|
93
93
|
- lib/illusion.rb
|
94
94
|
- sass/_basics.scss
|
95
95
|
- sass/_ie.scss
|
96
96
|
- sass/_illusion.scss
|
97
|
+
- sass/_reset.scss
|
97
98
|
homepage: http://github.com/timble/illusion
|
98
99
|
licenses:
|
99
100
|
- MIT
|
data/README.rdoc
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
= illusion
|
2
|
-
|
3
|
-
Description goes here.
|
4
|
-
|
5
|
-
== Contributing to illusion
|
6
|
-
|
7
|
-
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
|
-
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
9
|
-
* Fork the project.
|
10
|
-
* Start a feature/bugfix branch.
|
11
|
-
* Commit and push until you are happy with your contribution.
|
12
|
-
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
|
-
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
|
-
|
15
|
-
== Copyright
|
16
|
-
|
17
|
-
Copyright (c) 2014 Tom Janssens. See LICENSE.txt for
|
18
|
-
further details.
|
19
|
-
|