pwnstyles_rails 0.1.16 → 0.1.17
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/_buttons.css.scss +8 -8
- data/app/assets/stylesheets/generic/_inputs.css.scss +3 -3
- data/app/assets/stylesheets/vars/_color_scheme.css.scss +16 -14
- data/lib/pwnstyles_rails/generators/assets/stylesheets/pwnstyles/_app_vars.css.scss +3 -0
- data/pwnstyles_rails.gemspec +1 -1
- metadata +16 -16
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.17
|
@@ -12,9 +12,9 @@ input[type=submit], input[type=button], button, a.button {
|
|
12
12
|
-webkit-border-radius: 2px;
|
13
13
|
border-radius: 2px;
|
14
14
|
|
15
|
-
color: $button-
|
15
|
+
color: $button-text-color;
|
16
16
|
&.emphasized {
|
17
|
-
color: $color-button-
|
17
|
+
color: $color-button-text-color;
|
18
18
|
text-shadow: 0 1px rgba(0, 0, 0, 0.1);
|
19
19
|
}
|
20
20
|
font-size: 1.21em;
|
@@ -51,17 +51,17 @@ input[type=submit], input[type=button], button, a.button {
|
|
51
51
|
}
|
52
52
|
|
53
53
|
&:visited {
|
54
|
-
color: $button-
|
54
|
+
color: $button-text-color;
|
55
55
|
&.emphasized {
|
56
|
-
color: $color-button-
|
56
|
+
color: $color-button-text-color;
|
57
57
|
}
|
58
58
|
}
|
59
59
|
|
60
60
|
&:hover {
|
61
|
-
color: $button-hover-
|
61
|
+
color: $button-hover-text-color;
|
62
62
|
border-color: $button-hover-border-color;
|
63
63
|
&.emphasized {
|
64
|
-
color: $color-button-hover-
|
64
|
+
color: $color-button-hover-text-color;
|
65
65
|
border-color: $color-button-hover-border-color;
|
66
66
|
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
67
67
|
}
|
@@ -98,10 +98,10 @@ input[type=submit], input[type=button], button, a.button {
|
|
98
98
|
}
|
99
99
|
}
|
100
100
|
&:active {
|
101
|
-
color: $button-active-
|
101
|
+
color: $button-active-text-color;
|
102
102
|
border-color: $button-active-border-color;
|
103
103
|
&.emphasized {
|
104
|
-
color: $color-button-active-
|
104
|
+
color: $color-button-active-text-color;
|
105
105
|
border-color: $color-button-active-border-color;
|
106
106
|
}
|
107
107
|
|
@@ -10,7 +10,7 @@ input[type=text], input[type=email], input[type=tel], input[type=password],
|
|
10
10
|
-moz-border-radius: 2px;
|
11
11
|
border-radius: 2px;
|
12
12
|
|
13
|
-
color: $input-
|
13
|
+
color: $input-text-color;
|
14
14
|
font: inherit;
|
15
15
|
line-height: inherit;
|
16
16
|
text-decoration: none;
|
@@ -43,12 +43,12 @@ textarea {
|
|
43
43
|
::-webkit-input-placeholder {
|
44
44
|
font: inherit;
|
45
45
|
text-shadow: none;
|
46
|
-
color: $input-placeholder-
|
46
|
+
color: $input-placeholder-text-color;
|
47
47
|
}
|
48
48
|
:-moz-placeholder {
|
49
49
|
font: inherit;
|
50
50
|
text-shadow: none;
|
51
|
-
color: $input-placeholder-
|
51
|
+
color: $input-placeholder-text-color;
|
52
52
|
}
|
53
53
|
|
54
54
|
// Multiple-choice fields.
|
@@ -14,17 +14,17 @@ $main-color5: adjust-hue($main-color1, 360 / $colors) !default;
|
|
14
14
|
|
15
15
|
// Header.
|
16
16
|
$header-background-color: change-color($main-color1,
|
17
|
-
$saturation:
|
17
|
+
$saturation: 60%, $lightness: 95%) !default;
|
18
18
|
$header-border-color: change-color($main-color1,
|
19
|
-
$saturation:
|
19
|
+
$saturation: 60%, $lightness: 76%) !default;
|
20
20
|
$header-title-color: change-color($main-color1,
|
21
21
|
$saturation: 100%, $lightness: 1%) !default;
|
22
22
|
$header-text-color: change-color($main-color1,
|
23
|
-
$saturation:
|
23
|
+
$saturation: 60%, $lightness: 21%) !default;
|
24
24
|
$header-menu-hover-color: change-color($main-color1,
|
25
|
-
$saturation:
|
25
|
+
$saturation: 60%, $lightness: 86%) !default;
|
26
26
|
$header-menu-hover-text-color: change-color($main-color1,
|
27
|
-
$saturation:
|
27
|
+
$saturation: 60%, $lightness: 0%) !default;
|
28
28
|
|
29
29
|
// Footer.
|
30
30
|
$footer-border-color: change-color($main-color1,
|
@@ -35,14 +35,14 @@ $footer-text-color: change-color($main-color1,
|
|
35
35
|
// Buttons.
|
36
36
|
$button-base-color: change-color($main-color1, $saturation: 5%) !default;
|
37
37
|
$button-color: change-color($button-base-color, $lightness: 95%) !default;
|
38
|
-
$button-
|
38
|
+
$button-text-color: change-color($button-base-color, $lightness: 43%) !default;
|
39
39
|
$button-border-color: change-color($button-base-color, $lightness: 86%)
|
40
40
|
!default;
|
41
|
-
$button-hover-
|
41
|
+
$button-hover-text-color: change-color($button-base-color, $lightness: 20%)
|
42
42
|
!default;
|
43
43
|
$button-hover-border-color: change-color($button-base-color, $lightness: 78%)
|
44
44
|
!default;
|
45
|
-
$button-active-
|
45
|
+
$button-active-text-color: change-color($button-base-color, $lightness: 0%)
|
46
46
|
!default;
|
47
47
|
$button-active-border-color: change-color($button-base-color, $lightness: 78%)
|
48
48
|
!default;
|
@@ -50,14 +50,14 @@ $button-active-border-color: change-color($button-base-color, $lightness: 78%)
|
|
50
50
|
$color-button-base-color: $main-color1 !default;
|
51
51
|
$color-button-color: change-color($color-button-base-color,
|
52
52
|
$lightness: 36%) !default;
|
53
|
-
$color-button-
|
53
|
+
$color-button-text-color: change-color($color-button-base-color,
|
54
54
|
$saturation: 0%, $lightness: 100%) !default;
|
55
55
|
$color-button-border-color: change-color($color-button-base-color,
|
56
56
|
$saturation: 57%, $lightness: 32%) !default;
|
57
|
-
$color-button-hover-
|
57
|
+
$color-button-hover-text-color: $color-button-text-color !default;
|
58
58
|
$color-button-hover-border-color: change-color($color-button-base-color,
|
59
59
|
$lightness: 22%) !default;
|
60
|
-
$color-button-active-
|
60
|
+
$color-button-active-text-color: $color-button-text-color !default;
|
61
61
|
$color-button-active-border-color: change-color($color-button-base-color,
|
62
62
|
$lightness: 22%) !default;
|
63
63
|
|
@@ -66,9 +66,9 @@ $color-button-active-border-color: change-color($color-button-base-color,
|
|
66
66
|
$input-base-color: $main-color1 !default;
|
67
67
|
$input-background-color: change-color($input-base-color,
|
68
68
|
$saturation: 66%, $lightness: 99%) !default;
|
69
|
-
$input-
|
69
|
+
$input-text-color: change-color($input-base-color,
|
70
70
|
$saturation: 5%, $lightness: 0%) !default;
|
71
|
-
$input-placeholder-
|
71
|
+
$input-placeholder-text-color: change-color($input-base-color,
|
72
72
|
$saturation: 5%, $lightness: 55%) !default;
|
73
73
|
|
74
74
|
$input-border-color: change-color($input-base-color,
|
@@ -88,6 +88,8 @@ $link-color: change-color($main-color1, $saturation: 60%, $lightness: 40%)
|
|
88
88
|
!default;
|
89
89
|
|
90
90
|
// Text.
|
91
|
+
$text-color: change-color($main-color1, $saturation: 0%, $lightness: 0%)
|
92
|
+
!default;
|
91
93
|
$heading-main-color: change-color($main-color1, $saturation: 50%) !default;
|
92
94
|
$h1-text-color: change-color($heading-main-color,
|
93
95
|
$lightness: 30%) !default;
|
@@ -106,4 +108,4 @@ $h6-text-color: change-color($heading-main-color,
|
|
106
108
|
$table-heading-text-color: change-color($main-color1,
|
107
109
|
$saturation: 100%, $lightness: 25%) !default;
|
108
110
|
$table-even-row-background-color: change-color($table-heading-text-color,
|
109
|
-
$saturation:
|
111
|
+
$saturation: 60%, $lightness: 98%) !default;
|
@@ -6,3 +6,6 @@
|
|
6
6
|
// If you use non-standard fonts, don't forget to add @font-face definitions.
|
7
7
|
// $main-font: Arial, Times, serif;
|
8
8
|
// $heading-font: Helvetica, Tahoma, sans-serif;
|
9
|
+
|
10
|
+
// Go to the URL below to learn about other variables that you can tweak.
|
11
|
+
// https://github.com/pwnall/pwnstyles_rails/tree/master/app/assets/stylesheets/vars
|
data/pwnstyles_rails.gemspec
CHANGED
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.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &12849540 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *12849540
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sass-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &12848940 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 3.2.4
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *12848940
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: shoulda
|
38
|
-
requirement: &
|
38
|
+
requirement: &12847760 !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: *12847760
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
|
-
requirement: &
|
49
|
+
requirement: &12845440 !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: *12845440
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: jeweler
|
60
|
-
requirement: &
|
60
|
+
requirement: &12843840 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.8.0
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *12843840
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rcov
|
71
|
-
requirement: &
|
71
|
+
requirement: &12858640 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *12858640
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: simplecov
|
82
|
-
requirement: &
|
82
|
+
requirement: &12855560 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *12855560
|
91
91
|
description: Included CSS was designed for reuse across pwnb.us apps.
|
92
92
|
email: victor@costan.us
|
93
93
|
executables: []
|
@@ -154,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
segments:
|
156
156
|
- 0
|
157
|
-
hash:
|
157
|
+
hash: 1469710471753106695
|
158
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
159
|
none: false
|
160
160
|
requirements:
|