liqueur 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/stylesheets/_liqueur.scss +1 -2
- data/app/assets/stylesheets/liqueur/_reset.scss +16 -1
- data/app/assets/stylesheets/liqueur/reset/_body_margin.css.scss +3 -0
- data/app/assets/stylesheets/liqueur/reset/_disabling_user_zoom.css.scss +6 -0
- data/app/assets/stylesheets/liqueur/reset/_font_family.css.scss +3 -0
- data/app/assets/stylesheets/liqueur/reset/_fontsize_body_ie.css.scss +11 -0
- data/app/assets/stylesheets/liqueur/reset/_form.css.scss +59 -0
- data/app/assets/stylesheets/liqueur/reset/_html5.css.scss +11 -0
- data/app/assets/stylesheets/liqueur/reset/_images.css.scss +14 -0
- data/app/assets/stylesheets/liqueur/reset/_links.css.scss +15 -0
- data/app/assets/stylesheets/liqueur/reset/_lists.css.scss +14 -0
- data/app/assets/stylesheets/liqueur/reset/_print.css.scss +22 -0
- data/app/assets/stylesheets/liqueur/reset/_selection.css.scss +5 -0
- data/app/assets/stylesheets/liqueur/reset/_table.css.scss +10 -0
- data/app/assets/stylesheets/liqueur/reset/_tap_color.css.scss +3 -0
- data/app/assets/stylesheets/liqueur/reset/_typografy.css.scss +74 -0
- data/lib/liqueur/version.rb +1 -1
- data/liqueur.gemspec +1 -1
- metadata +17 -3
@@ -1,2 +1,17 @@
|
|
1
|
-
@import
|
1
|
+
@import "reset/html5";
|
2
|
+
@import "reset/disabling_user_zoom";
|
3
|
+
@import "reset/font_family";
|
4
|
+
@import "reset/fontsize_body_ie";
|
5
|
+
@import "reset/html5";
|
6
|
+
@import "reset/selection";
|
7
|
+
@import "reset/tap_color";
|
8
|
+
@import "reset/body_margin";
|
9
|
+
@import "reset/links";
|
10
|
+
@import "reset/typorgafy";
|
11
|
+
@import "reset/lists";
|
12
|
+
@import "reset/images";
|
13
|
+
@import "reset/form";
|
14
|
+
@import "reset/print";
|
15
|
+
|
2
16
|
@import 'reset/hr';
|
17
|
+
@import 'reset/clearfix';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
// Prevent iOS text size adjust on device orientation change, without disabling user zoom
|
2
|
+
// www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
3
|
+
html {
|
4
|
+
-webkit-text-size-adjust: 100%;
|
5
|
+
-ms-text-size-adjust: 100%;
|
6
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
form { margin: 0; }
|
2
|
+
fieldset { border: 0; margin: 0; padding: 0; }
|
3
|
+
|
4
|
+
/* Indicate that 'label' will shift focus to the associated form element */
|
5
|
+
label { cursor: pointer; }
|
6
|
+
|
7
|
+
/*
|
8
|
+
* 1. Correct color not inheriting in IE6/7/8/9
|
9
|
+
* 2. Correct alignment displayed oddly in IE6/7
|
10
|
+
*/
|
11
|
+
|
12
|
+
legend { border: 0; *margin-left: -7px; padding: 0; }
|
13
|
+
|
14
|
+
/*
|
15
|
+
* 1. Correct font-size not inheriting in all browsers
|
16
|
+
* 2. Remove margins in FF3/4 S5 Chrome
|
17
|
+
* 3. Define consistent vertical alignment display in all browsers
|
18
|
+
*/
|
19
|
+
|
20
|
+
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
|
21
|
+
|
22
|
+
/*
|
23
|
+
* 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
|
24
|
+
*/
|
25
|
+
|
26
|
+
button, input { line-height: normal; }
|
27
|
+
|
28
|
+
/*
|
29
|
+
* 1. Display hand cursor for clickable form elements
|
30
|
+
* 2. Allow styling of clickable form elements in iOS
|
31
|
+
* 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
|
32
|
+
*/
|
33
|
+
|
34
|
+
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
|
35
|
+
|
36
|
+
/*
|
37
|
+
* Consistent box sizing and appearance
|
38
|
+
*/
|
39
|
+
|
40
|
+
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
|
41
|
+
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
|
42
|
+
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
|
43
|
+
|
44
|
+
/*
|
45
|
+
* Remove inner padding and border in FF3/4: h5bp.com/l
|
46
|
+
*/
|
47
|
+
|
48
|
+
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
49
|
+
|
50
|
+
/*
|
51
|
+
* 1. Remove default vertical scrollbar in IE6/7/8/9
|
52
|
+
* 2. Allow only vertical resizing
|
53
|
+
*/
|
54
|
+
|
55
|
+
textarea { overflow: auto; vertical-align: top; resize: vertical; }
|
56
|
+
|
57
|
+
/* Colors for form validity */
|
58
|
+
input:valid, textarea:valid { }
|
59
|
+
input:invalid, textarea:invalid { background-color: #f0dddd; }
|
@@ -0,0 +1,22 @@
|
|
1
|
+
@media print {
|
2
|
+
* {
|
3
|
+
background: transparent !important;
|
4
|
+
color: black !important;
|
5
|
+
box-shadow:none !important;
|
6
|
+
text-shadow: none !important;
|
7
|
+
filter:none !important;
|
8
|
+
-ms-filter: none !important;
|
9
|
+
}
|
10
|
+
|
11
|
+
a, a:visited { text-decoration: underline; }
|
12
|
+
a[href]:after { content: " (" attr(href) ")"; }
|
13
|
+
abbr[title]:after { content: " (" attr(title) ")"; }
|
14
|
+
a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
|
15
|
+
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
16
|
+
thead { display: table-header-group; } /* h5bp.com/t */
|
17
|
+
tr, img { page-break-inside: avoid; }
|
18
|
+
img { max-width: 100% !important; }
|
19
|
+
@page { margin: 0.5cm; }
|
20
|
+
p, h2, h3 { orphans: 3; widows: 3; }
|
21
|
+
h2, h3 { page-break-after: avoid; }
|
22
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
abbr[title] {
|
2
|
+
border-bottom: 1px dotted;
|
3
|
+
}
|
4
|
+
|
5
|
+
strong {
|
6
|
+
font-weight: bold;
|
7
|
+
}
|
8
|
+
|
9
|
+
blockquote {
|
10
|
+
margin: 1em 40px;
|
11
|
+
}
|
12
|
+
|
13
|
+
dfn {
|
14
|
+
font-style: italic;
|
15
|
+
}
|
16
|
+
|
17
|
+
ins {
|
18
|
+
// background: #ff0;
|
19
|
+
// color: #000;
|
20
|
+
text-decoration: none;
|
21
|
+
}
|
22
|
+
|
23
|
+
mark {
|
24
|
+
// background: #ff0;
|
25
|
+
// color: #000;
|
26
|
+
font-style: italic;
|
27
|
+
font-weight: bold;
|
28
|
+
}
|
29
|
+
|
30
|
+
pre, code, kbd, samp {
|
31
|
+
font-family: monospace, serif;
|
32
|
+
_font-family: 'courier new', monospace;
|
33
|
+
font-size: 1em;
|
34
|
+
}
|
35
|
+
|
36
|
+
pre {
|
37
|
+
white-space: pre;
|
38
|
+
white-space: pre-wrap;
|
39
|
+
word-wrap: break-word;
|
40
|
+
}
|
41
|
+
|
42
|
+
q {
|
43
|
+
quotes: none;
|
44
|
+
|
45
|
+
&:before, &:after {
|
46
|
+
content: "";
|
47
|
+
content: none;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
small {
|
52
|
+
font-size: 85%;
|
53
|
+
}
|
54
|
+
|
55
|
+
sub, sup {
|
56
|
+
font-size: 75%;
|
57
|
+
line-height: 0;
|
58
|
+
position: relative;
|
59
|
+
vertical-align: baseline;
|
60
|
+
}
|
61
|
+
|
62
|
+
sup {
|
63
|
+
top: -0.5em;
|
64
|
+
}
|
65
|
+
|
66
|
+
sub {
|
67
|
+
bottom: -0.25em;
|
68
|
+
}
|
69
|
+
|
70
|
+
// do not use tags <b> and <i> for the text decoration
|
71
|
+
b, i {
|
72
|
+
font-weight: normal;
|
73
|
+
font-style: normal;
|
74
|
+
}
|
data/lib/liqueur/version.rb
CHANGED
data/liqueur.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.homepage = "http://aratak.github.com/liqueur/"
|
10
10
|
s.description = "CSS framework."
|
11
11
|
s.files = `git ls-files`.split("\n")
|
12
|
-
s.version = "0.0.
|
12
|
+
s.version = "0.0.4"
|
13
13
|
|
14
14
|
s.add_dependency "wiskey"
|
15
15
|
s.add_dependency "rails" , "~> 3.1.0"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: liqueur
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alexey Osipenko
|
@@ -67,8 +67,22 @@ files:
|
|
67
67
|
- app/assets/stylesheets/.gitkeep
|
68
68
|
- app/assets/stylesheets/_liqueur.scss
|
69
69
|
- app/assets/stylesheets/liqueur/_reset.scss
|
70
|
+
- app/assets/stylesheets/liqueur/reset/_body_margin.css.scss
|
70
71
|
- app/assets/stylesheets/liqueur/reset/_clearfix.scss
|
72
|
+
- app/assets/stylesheets/liqueur/reset/_disabling_user_zoom.css.scss
|
73
|
+
- app/assets/stylesheets/liqueur/reset/_font_family.css.scss
|
74
|
+
- app/assets/stylesheets/liqueur/reset/_fontsize_body_ie.css.scss
|
75
|
+
- app/assets/stylesheets/liqueur/reset/_form.css.scss
|
71
76
|
- app/assets/stylesheets/liqueur/reset/_hr.scss
|
77
|
+
- app/assets/stylesheets/liqueur/reset/_html5.css.scss
|
78
|
+
- app/assets/stylesheets/liqueur/reset/_images.css.scss
|
79
|
+
- app/assets/stylesheets/liqueur/reset/_links.css.scss
|
80
|
+
- app/assets/stylesheets/liqueur/reset/_lists.css.scss
|
81
|
+
- app/assets/stylesheets/liqueur/reset/_print.css.scss
|
82
|
+
- app/assets/stylesheets/liqueur/reset/_selection.css.scss
|
83
|
+
- app/assets/stylesheets/liqueur/reset/_table.css.scss
|
84
|
+
- app/assets/stylesheets/liqueur/reset/_tap_color.css.scss
|
85
|
+
- app/assets/stylesheets/liqueur/reset/_typografy.css.scss
|
72
86
|
- lib/liqueur.rb
|
73
87
|
- lib/liqueur/engine.rb
|
74
88
|
- lib/liqueur/sass_extensions.rb
|