pwnstyles_rails 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/assets/stylesheets/generic/_controls.css.scss +6 -1
- data/app/assets/stylesheets/generic/_links.css.scss +15 -1
- data/app/assets/stylesheets/generic/_menu.css.scss +4 -3
- data/app/assets/stylesheets/generic/_reset.css.scss +10 -16
- data/app/assets/stylesheets/modules/_header.css.scss +7 -9
- data/app/assets/stylesheets/vars/_fonts.css.scss +4 -0
- data/pwnstyles_rails.gemspec +3 -3
- metadata +16 -16
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
@@ -13,8 +13,13 @@ input[type=submit], input[type=button], button, a.button {
|
|
13
13
|
border: 1px solid $button-border-color;
|
14
14
|
color: $button-font-color;
|
15
15
|
font-size: 1.1em;
|
16
|
-
text-transform: uppercase;
|
17
16
|
text-decoration: none;
|
17
|
+
display: inline-block;
|
18
|
+
|
19
|
+
&:visited {
|
20
|
+
color: $button-font-color;
|
21
|
+
background-color: $button-color;
|
22
|
+
}
|
18
23
|
|
19
24
|
&:hover {
|
20
25
|
color: $button-hover-font-color;
|
@@ -2,7 +2,21 @@ a {
|
|
2
2
|
cursor: pointer;
|
3
3
|
text-decoration: underline;
|
4
4
|
}
|
5
|
-
|
5
|
+
|
6
|
+
// NOTE: broken into multiple sections so the selectors don't get too specific.
|
7
|
+
a {
|
8
|
+
color: $link-color;
|
9
|
+
background-color: transparent;
|
10
|
+
}
|
11
|
+
a:hover {
|
12
|
+
color: $link-color;
|
13
|
+
background-color: transparent;
|
14
|
+
}
|
15
|
+
a:active {
|
16
|
+
color: $link-color;
|
17
|
+
background-color: transparent;
|
18
|
+
}
|
19
|
+
a:visited {
|
6
20
|
color: $link-color;
|
7
21
|
background-color: transparent;
|
8
22
|
}
|
@@ -1,7 +1,5 @@
|
|
1
1
|
// Include in an ul or ol to make it a two-level menu.
|
2
2
|
@mixin menu-list($hover-color: $menu-hover-color, $last-item-right: false) {
|
3
|
-
margin: 0;
|
4
|
-
padding: 0;
|
5
3
|
list-style: none;
|
6
4
|
|
7
5
|
// Note: using nth-child(n) to get a more specific selector than the
|
@@ -25,9 +23,11 @@
|
|
25
23
|
}
|
26
24
|
}
|
27
25
|
> li:hover {
|
26
|
+
> a {
|
27
|
+
background-color: $hover-color;
|
28
|
+
}
|
28
29
|
> ol, > ul {
|
29
30
|
display: block;
|
30
|
-
background-color: inherit;
|
31
31
|
}
|
32
32
|
}
|
33
33
|
|
@@ -59,6 +59,7 @@
|
|
59
59
|
}
|
60
60
|
> li:last-child a {
|
61
61
|
vertical-align: bottom;
|
62
|
+
padding-right: 0;
|
62
63
|
}
|
63
64
|
> li:last-child a span {
|
64
65
|
display: inline-block;
|
@@ -1,14 +1,9 @@
|
|
1
|
-
html, body, div, span, object, iframe,
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
fieldset, form, label, legend,
|
8
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
9
|
-
article, aside, canvas, details, dialog, figcaption, figure,
|
10
|
-
footer, header, hgroup, menu, nav, section, summary,
|
11
|
-
time, mark, audio, video {
|
1
|
+
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
|
2
|
+
pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small,
|
3
|
+
strong, sub, sup, var, dl, dt, dd, ol, ul, li, fieldset, form, label,
|
4
|
+
legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
|
5
|
+
canvas, details, dialog, figcaption, figure, footer, header, hgroup, menu,
|
6
|
+
nav, section, summary, time, mark, audio, video {
|
12
7
|
margin: 0;
|
13
8
|
padding: 0;
|
14
9
|
border: 0;
|
@@ -20,9 +15,9 @@ time, mark, audio, video {
|
|
20
15
|
background: transparent;
|
21
16
|
}
|
22
17
|
|
23
|
-
article, aside, details, figcaption, figure, dialog,
|
24
|
-
|
25
|
-
|
18
|
+
article, aside, details, figcaption, figure, dialog, footer, header, hgroup,
|
19
|
+
menu, nav, section {
|
20
|
+
display: block;
|
26
21
|
}
|
27
22
|
|
28
23
|
dl, ul, ol {
|
@@ -33,8 +28,7 @@ blockquote, q {
|
|
33
28
|
quotes: none;
|
34
29
|
}
|
35
30
|
|
36
|
-
blockquote:before, blockquote:after,
|
37
|
-
q:before, q:after {
|
31
|
+
blockquote:before, blockquote:after, q:before, q:after {
|
38
32
|
content: '';
|
39
33
|
content: none;
|
40
34
|
}
|
@@ -1,16 +1,14 @@
|
|
1
1
|
header {
|
2
|
-
padding: 0;
|
3
2
|
background-color: $header-background-color;
|
4
3
|
border-bottom: 1px solid $header-border-color;
|
5
4
|
|
6
5
|
hgroup {
|
7
6
|
width: $page-width;
|
8
7
|
height: $header-height;
|
9
|
-
margin: 0 auto;
|
10
|
-
color: $header-text-color;
|
11
|
-
|
8
|
+
margin: 0 auto;
|
12
9
|
position: relative;
|
13
|
-
|
10
|
+
|
11
|
+
color: $header-text-color;
|
14
12
|
font-family: $heading-font;
|
15
13
|
font-weight: bold;
|
16
14
|
}
|
@@ -60,12 +58,12 @@ header {
|
|
60
58
|
@include menu-list($menu-hover-color, $last-item-right: true);
|
61
59
|
background-color: $header-background-color;
|
62
60
|
|
63
|
-
font-size:
|
64
|
-
line-height:
|
61
|
+
font-size: $header-menu-font-size;
|
62
|
+
line-height: $header-menu-line-height;
|
65
63
|
height: 100%;
|
66
64
|
> li > a {
|
67
|
-
padding-top:
|
68
|
-
height:
|
65
|
+
padding-top: $header-height - $header-menu-line-height;
|
66
|
+
height: $header-menu-line-height;
|
69
67
|
}
|
70
68
|
}
|
71
69
|
nav a img {
|
@@ -24,3 +24,7 @@ $h5-font-size: $main-font-size * 1.1 !default;
|
|
24
24
|
$h5-line-height: $main-line-height !default;
|
25
25
|
$h6-font-size: $main-font-size * 1 !default;
|
26
26
|
$h6-line-height: $main-line-height !default;
|
27
|
+
|
28
|
+
// Header.
|
29
|
+
$header-menu-font-size: 18px !default;
|
30
|
+
$header-menu-line-height: 24px !default;
|
data/pwnstyles_rails.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "pwnstyles_rails"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Victor Costan"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2012-02-04"
|
13
13
|
s.description = "Included CSS was designed for reuse across pwnb.us apps."
|
14
14
|
s.email = "victor@costan.us"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -62,7 +62,7 @@ Gem::Specification.new do |s|
|
|
62
62
|
s.homepage = "http://github.com/pwnall/pwnstyles_rails"
|
63
63
|
s.licenses = ["MIT"]
|
64
64
|
s.require_paths = ["lib"]
|
65
|
-
s.rubygems_version = "1.8.
|
65
|
+
s.rubygems_version = "1.8.15"
|
66
66
|
s.summary = "Rails 3 SCSS integration and non-trivial default style."
|
67
67
|
|
68
68
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwnstyles_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-02-04 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &14639820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *14639820
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sass-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &14639180 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 3.1.4
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *14639180
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: shoulda
|
38
|
-
requirement: &
|
38
|
+
requirement: &14638580 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *14638580
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
|
-
requirement: &
|
49
|
+
requirement: &14637940 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.0.0
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *14637940
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: jeweler
|
60
|
-
requirement: &
|
60
|
+
requirement: &14637340 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.6.0
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *14637340
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rcov
|
71
|
-
requirement: &
|
71
|
+
requirement: &14636700 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,7 +76,7 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *14636700
|
80
80
|
description: Included CSS was designed for reuse across pwnb.us apps.
|
81
81
|
email: victor@costan.us
|
82
82
|
executables: []
|
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
segments:
|
143
143
|
- 0
|
144
|
-
hash:
|
144
|
+
hash: -2823634831094979445
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
none: false
|
147
147
|
requirements:
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project:
|
153
|
-
rubygems_version: 1.8.
|
153
|
+
rubygems_version: 1.8.15
|
154
154
|
signing_key:
|
155
155
|
specification_version: 3
|
156
156
|
summary: Rails 3 SCSS integration and non-trivial default style.
|