pwnstyles_rails 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/assets/javascripts/pwn-fx.js.coffee +2 -1
- data/app/assets/stylesheets/_pwnstyles.css.scss +2 -1
- data/app/assets/stylesheets/generic/_buttons.css.scss +119 -0
- data/app/assets/stylesheets/generic/_inputs.css.scss +93 -0
- data/app/assets/stylesheets/vars/_color_scheme.css.scss +60 -33
- data/pwnstyles_rails.gemspec +5 -4
- metadata +20 -19
- data/app/assets/stylesheets/generic/_controls.css.scss +0 -91
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.12
|
@@ -141,7 +141,8 @@ class PwnFxClass
|
|
141
141
|
# Called when an XHR request issued by PwnFx.xhr works out.
|
142
142
|
_xhr_onload: ->
|
143
143
|
if @status < 200 || @status >= 300
|
144
|
-
throw new Error(
|
144
|
+
throw new Error(
|
145
|
+
"XHR result ignored due to HTTP #{@status}: #{@statusText}")
|
145
146
|
@pwnfxOnData @responseText
|
146
147
|
|
147
148
|
# Singleton instance.
|
@@ -3,9 +3,10 @@
|
|
3
3
|
@import 'vars/layout_sizes.css.scss';
|
4
4
|
|
5
5
|
@import 'generic/reset.css.scss';
|
6
|
-
@import 'generic/
|
6
|
+
@import 'generic/buttons.css.scss';
|
7
7
|
@import 'generic/forms.css.scss';
|
8
8
|
@import 'generic/images.css.scss';
|
9
|
+
@import 'generic/inputs.css.scss';
|
9
10
|
@import 'generic/links.css.scss';
|
10
11
|
@import 'generic/lists.css.scss';
|
11
12
|
@import 'generic/menu.css.scss';
|
@@ -0,0 +1,119 @@
|
|
1
|
+
input[type=submit], input[type=button], button, a.button {
|
2
|
+
display: inline-block;
|
3
|
+
|
4
|
+
margin: 0;
|
5
|
+
padding: 0.1em 1ex;
|
6
|
+
border: 1px solid $button-border-color;
|
7
|
+
&.emphasized {
|
8
|
+
border-color: $color-button-border-color;
|
9
|
+
}
|
10
|
+
|
11
|
+
-moz-border-radius: 2px;
|
12
|
+
-webkit-border-radius: 2px;
|
13
|
+
border-radius: 2px;
|
14
|
+
|
15
|
+
color: $button-font-color;
|
16
|
+
&.emphasized {
|
17
|
+
color: $color-button-font-color;
|
18
|
+
text-shadow: 0 1px rgba(0, 0, 0, 0.1);
|
19
|
+
}
|
20
|
+
font-size: 1.21em;
|
21
|
+
line-height: 1.35em;
|
22
|
+
text-decoration: none;
|
23
|
+
text-overflow: ellipsis;
|
24
|
+
|
25
|
+
background-color: $button-color;
|
26
|
+
background: -webkit-gradient(linear, 0% 40%, 0% 70%,
|
27
|
+
from(darken($button-color, 1%)), to(lighten($button-color, 1%)));
|
28
|
+
background: -moz-gradient(linear, 0% 40%, 0% 70%,
|
29
|
+
from(darken($button-color, 1%)), to(lighten($button-color, 1%)));
|
30
|
+
&.emphasized {
|
31
|
+
background-color: $color-button-color;
|
32
|
+
background: -webkit-gradient(linear, 0% 40%, 0% 70%,
|
33
|
+
from(darken($color-button-color, 1%)),
|
34
|
+
to(lighten($color-button-color, 1%)));
|
35
|
+
background: -moz-gradient(linear, 0% 40%, 0% 70%,
|
36
|
+
from(darken($color-button-color, 1%)),
|
37
|
+
to(lighten($color-button-color, 1%)));
|
38
|
+
}
|
39
|
+
|
40
|
+
-webkit-transition: all .218s;
|
41
|
+
-moz-transition: all .218s;
|
42
|
+
transition: all .218s;
|
43
|
+
|
44
|
+
img {
|
45
|
+
-webkit-filter: grayscale(0.66);
|
46
|
+
}
|
47
|
+
&.emphasized {
|
48
|
+
img {
|
49
|
+
-webkit-filter: brightness(-0.2);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
&:visited {
|
54
|
+
color: $button-font-color;
|
55
|
+
&.emphasized {
|
56
|
+
color: $color-button-font-color;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
&:hover {
|
61
|
+
color: $button-hover-font-color;
|
62
|
+
border-color: $button-hover-border-color;
|
63
|
+
&.emphasized {
|
64
|
+
color: $color-button-hover-font-color;
|
65
|
+
border-color: $color-button-hover-border-color;
|
66
|
+
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
67
|
+
}
|
68
|
+
|
69
|
+
background: -webkit-gradient(linear, 0% 40%, 0% 70%,
|
70
|
+
from(darken($button-color, 1%)), to(lighten($button-color, 2%)));
|
71
|
+
background: -moz-gradient(linear, 0% 40%, 0% 70%,
|
72
|
+
from(darken($button-color, 1%)), to(lighten($button-color, 2%)));
|
73
|
+
&.emphasized {
|
74
|
+
background: -webkit-gradient(linear, 0% 40%, 0% 70%,
|
75
|
+
from(darken($color-button-color, 1%)),
|
76
|
+
to(lighten($color-button-color, 2%)));
|
77
|
+
background: -moz-gradient(linear, 0% 40%, 0% 70%,
|
78
|
+
from(darken($color-button-color, 1%)),
|
79
|
+
to(lighten($color-button-color, 2%)));
|
80
|
+
}
|
81
|
+
|
82
|
+
img {
|
83
|
+
-webkit-filter: grayscale(0.33);
|
84
|
+
}
|
85
|
+
&.emphasized {
|
86
|
+
img {
|
87
|
+
-webkit-filter: brightness(-0.1);
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
&:active {
|
92
|
+
color: $button-active-font-color;
|
93
|
+
border-color: $button-active-border-color;
|
94
|
+
&.emphasized {
|
95
|
+
color: $color-button-active-font-color;
|
96
|
+
border-color: $color-button-active-border-color;
|
97
|
+
}
|
98
|
+
|
99
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
100
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
101
|
+
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
102
|
+
&.emphasized {
|
103
|
+
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
104
|
+
|
105
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
|
106
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
|
107
|
+
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
|
108
|
+
}
|
109
|
+
|
110
|
+
img {
|
111
|
+
-webkit-filter: grayscale(0);
|
112
|
+
}
|
113
|
+
&.emphasized {
|
114
|
+
img {
|
115
|
+
-webkit-filter: brightness(0);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
// Text fields.
|
2
|
+
input[type=text], input[type=email], input[type=tel], input[type=password],
|
3
|
+
input[type=search], input[type=number], textarea {
|
4
|
+
margin: 0;
|
5
|
+
padding: 0.1em 0.5ex;
|
6
|
+
border: 1px solid $input-border-color;
|
7
|
+
border-top-color: $input-border-top-color;
|
8
|
+
|
9
|
+
-moz-border-radius: 2px;
|
10
|
+
-webkit-border-radius: 2px;
|
11
|
+
border-radius: 2px;
|
12
|
+
|
13
|
+
color: $input-font-color;
|
14
|
+
font: inherit;
|
15
|
+
text-decoration: none;
|
16
|
+
|
17
|
+
background-color: $input-background-color;
|
18
|
+
|
19
|
+
-webkit-transition: all .218s;
|
20
|
+
-moz-transition: all .218s;
|
21
|
+
transition: all .218s;
|
22
|
+
|
23
|
+
&:hover {
|
24
|
+
border-color: $input-hover-border-color;
|
25
|
+
|
26
|
+
-moz-box-shadow: inset 0px 1px 2px $input-hover-shadow-color;
|
27
|
+
-webkit-box-shadow: inset 0px 1px 2px $input-hover-shadow-color;
|
28
|
+
box-shadow: inset 0px 1px 2px $input-hover-shadow-color;
|
29
|
+
}
|
30
|
+
&:focus {
|
31
|
+
border-color: $input-focus-border-color;
|
32
|
+
outline: none;
|
33
|
+
|
34
|
+
-moz-box-shadow: inset 0px 1px 2px $input-focus-shadow-color;
|
35
|
+
-webkit-box-shadow: inset 0px 1px 2px $input-focus-shadow-color;
|
36
|
+
box-shadow: inset 0px 1px 2px $input-focus-shadow-color;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
textarea {
|
40
|
+
height: 5.25em;
|
41
|
+
}
|
42
|
+
::-webkit-input-placeholder {
|
43
|
+
font: inherit;
|
44
|
+
text-shadow: none;
|
45
|
+
color: $input-placeholder-font-color;
|
46
|
+
}
|
47
|
+
:-moz-placeholder {
|
48
|
+
font: inherit;
|
49
|
+
text-shadow: none;
|
50
|
+
color: $input-placeholder-font-color;
|
51
|
+
}
|
52
|
+
|
53
|
+
// Multiple-choice fields.
|
54
|
+
input[type=radio], input[type=checkbox] {
|
55
|
+
border: 1px solid $input-border-color;
|
56
|
+
background-color: $input-background-color;
|
57
|
+
|
58
|
+
&:hover {
|
59
|
+
border-color: $input-hover-border-color;
|
60
|
+
|
61
|
+
box-shadow: inset 0px 1px 2px $input-hover-shadow-color;
|
62
|
+
-moz-box-shadow: inset 0px 1px 2px $input-hover-shadow-color;
|
63
|
+
-webkit-box-shadow: inset 0px 1px 2px $input-hover-shadow-color;
|
64
|
+
}
|
65
|
+
&:focus {
|
66
|
+
border-color: $input-focus-border-color;
|
67
|
+
outline: none;
|
68
|
+
|
69
|
+
-moz-box-shadow: inset 0px 1px 2px $input-focus-shadow-color;
|
70
|
+
-webkit-box-shadow: inset 0px 1px 2px $input-focus-shadow-color;
|
71
|
+
box-shadow: inset 0px 1px 2px $input-focus-shadow-color;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
// Error highlighting.
|
76
|
+
.field_with_errors {
|
77
|
+
input[type=text], input[type=email], input[type=tel], input[type=password],
|
78
|
+
input[type=search], input[type=number], textarea {
|
79
|
+
border: 1px solid #FF0000;
|
80
|
+
box-shadow: inset 0px 1px 2px #FF8888;
|
81
|
+
-moz-box-shadow: inset 0px 1px 2px #FF8888;
|
82
|
+
-webkit-box-shadow: inset 0px 1px 2px #FF8888;
|
83
|
+
background-color: #FFEEEE;
|
84
|
+
}
|
85
|
+
|
86
|
+
input[type=radio], input[type=checkbox] {
|
87
|
+
border: 1px solid #FF0000;
|
88
|
+
box-shadow: inset 0px 1px 2px #FF8888;
|
89
|
+
-moz-box-shadow: inset 0px 1px 2px #FF8888;
|
90
|
+
-webkit-box-shadow: inset 0px 1px 2px #FF8888;
|
91
|
+
background-color: #FFEEEE;
|
92
|
+
}
|
93
|
+
}
|
@@ -27,52 +27,79 @@ $footer-border-color: change-color($main-color1,
|
|
27
27
|
$footer-text-color: change-color($main-color1,
|
28
28
|
$saturation: 54%, $lightness: 16%) !default;
|
29
29
|
|
30
|
-
//
|
31
|
-
$button-base-color: $main-color1 !default;
|
32
|
-
$button-color: change-color($button-base-color, $lightness:
|
33
|
-
$button-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
30
|
+
// Buttons.
|
31
|
+
$button-base-color: change-color($main-color1, $saturation: 5%) !default;
|
32
|
+
$button-color: change-color($button-base-color, $lightness: 95%) !default;
|
33
|
+
$button-font-color: change-color($button-base-color, $lightness: 43%) !default;
|
34
|
+
$button-border-color: change-color($button-base-color, $lightness: 86%)
|
35
|
+
!default;
|
36
|
+
$button-hover-font-color: change-color($button-base-color, $lightness: 20%)
|
37
|
+
!default;
|
38
|
+
$button-hover-border-color: change-color($button-base-color, $lightness: 78%)
|
39
|
+
!default;
|
40
|
+
$button-active-font-color: change-color($button-base-color, $lightness: 0%)
|
41
|
+
!default;
|
42
|
+
$button-active-border-color: change-color($button-base-color, $lightness: 78%)
|
43
|
+
!default;
|
44
|
+
|
45
|
+
$color-button-base-color: $main-color1 !default;
|
46
|
+
$color-button-color: change-color($color-button-base-color,
|
47
|
+
$lightness: 36%) !default;
|
48
|
+
$color-button-font-color: change-color($color-button-base-color,
|
49
|
+
$saturation: 0%, $lightness: 100%) !default;
|
50
|
+
$color-button-border-color: change-color($color-button-base-color,
|
51
|
+
$saturation: 57%, $lightness: 32%) !default;
|
52
|
+
$color-button-hover-font-color: $color-button-font-color !default;
|
53
|
+
$color-button-hover-border-color: change-color($color-button-base-color,
|
54
|
+
$lightness: 22%) !default;
|
55
|
+
$color-button-active-font-color: $color-button-font-color !default;
|
56
|
+
$color-button-active-border-color: change-color($color-button-base-color,
|
57
|
+
$lightness: 22%) !default;
|
43
58
|
|
59
|
+
|
60
|
+
// Input fields.
|
44
61
|
$input-base-color: $main-color1 !default;
|
45
|
-
$input-border-color: change-color($input-base-color,
|
46
|
-
$saturation: 100%, $lightness: 20%) !default;
|
47
|
-
$input-shadow-color: change-color($input-base-color,
|
48
|
-
$saturation: 66%, $lightness: 88%) !default;
|
49
62
|
$input-background-color: change-color($input-base-color,
|
50
|
-
|
51
|
-
$
|
52
|
-
|
53
|
-
$
|
54
|
-
|
63
|
+
$saturation: 66%, $lightness: 99%) !default;
|
64
|
+
$input-font-color: change-color($input-base-color,
|
65
|
+
$saturation: 5%, $lightness: 0%) !default;
|
66
|
+
$input-placeholder-font-color: change-color($input-base-color,
|
67
|
+
$saturation: 5%, $lightness: 55%) !default;
|
55
68
|
|
56
|
-
$
|
57
|
-
|
69
|
+
$input-border-color: change-color($input-base-color,
|
70
|
+
$saturation: 5%, $lightness: 85%) !default;
|
71
|
+
$input-border-top-color: change-color($input-base-color,
|
72
|
+
$saturation: 5%, $lightness: 75%) !default;
|
73
|
+
$input-hover-border-color: change-color($input-base-color,
|
74
|
+
$saturation: 5%, $lightness: 66%) !default;
|
75
|
+
$input-hover-shadow-color: change-color($input-base-color,
|
76
|
+
$saturation: 5%, $lightness: 88%) !default;
|
77
|
+
$input-focus-border-color: change-color($input-base-color,
|
78
|
+
$saturation: 100%, $lightness: 33%) !default;
|
79
|
+
$input-focus-shadow-color: change-color($input-base-color,
|
80
|
+
$saturation: 66%, $lightness: 88%) !default;
|
81
|
+
|
82
|
+
$menu-hover-color: change-color($main-color1, $saturation: 66%, $lightness: 76%)
|
83
|
+
!default;
|
84
|
+
|
85
|
+
$link-color: change-color($main-color1, $saturation: 66%, $lightness: 16%)
|
86
|
+
!default;
|
58
87
|
|
59
|
-
$link-color: change-color($main-color1,
|
60
|
-
$saturation: 66%, $lightness: 16%) !default;
|
61
88
|
|
62
89
|
// Text.
|
63
|
-
$heading-main-color: $main-color1 !default;
|
90
|
+
$heading-main-color: change-color($main-color1, $saturation: 50%) !default;
|
64
91
|
$h1-text-color: change-color($heading-main-color,
|
65
|
-
$
|
92
|
+
$lightness: 30%) !default;
|
66
93
|
$h2-text-color: change-color($heading-main-color,
|
67
|
-
$
|
94
|
+
$lightness: 28%) !default;
|
68
95
|
$h3-text-color: change-color($heading-main-color,
|
69
|
-
$
|
96
|
+
$lightness: 26%) !default;
|
70
97
|
$h4-text-color: change-color($heading-main-color,
|
71
|
-
$
|
98
|
+
$lightness: 24%) !default;
|
72
99
|
$h5-text-color: change-color($heading-main-color,
|
73
|
-
$
|
100
|
+
$lightness: 22%) !default;
|
74
101
|
$h6-text-color: change-color($heading-main-color,
|
75
|
-
$
|
102
|
+
$lightness: 20%) !default;
|
76
103
|
|
77
104
|
// Tables.
|
78
105
|
$table-heading-text-color: change-color($main-color1,
|
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.12"
|
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 = "2012-02-
|
12
|
+
s.date = "2012-02-11"
|
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 = [
|
@@ -27,9 +27,10 @@ Gem::Specification.new do |s|
|
|
27
27
|
"VERSION",
|
28
28
|
"app/assets/javascripts/pwn-fx.js.coffee",
|
29
29
|
"app/assets/stylesheets/_pwnstyles.css.scss",
|
30
|
-
"app/assets/stylesheets/generic/
|
30
|
+
"app/assets/stylesheets/generic/_buttons.css.scss",
|
31
31
|
"app/assets/stylesheets/generic/_forms.css.scss",
|
32
32
|
"app/assets/stylesheets/generic/_images.css.scss",
|
33
|
+
"app/assets/stylesheets/generic/_inputs.css.scss",
|
33
34
|
"app/assets/stylesheets/generic/_links.css.scss",
|
34
35
|
"app/assets/stylesheets/generic/_lists.css.scss",
|
35
36
|
"app/assets/stylesheets/generic/_menu.css.scss",
|
@@ -62,7 +63,7 @@ Gem::Specification.new do |s|
|
|
62
63
|
s.homepage = "http://github.com/pwnall/pwnstyles_rails"
|
63
64
|
s.licenses = ["MIT"]
|
64
65
|
s.require_paths = ["lib"]
|
65
|
-
s.rubygems_version = "1.8.
|
66
|
+
s.rubygems_version = "1.8.16"
|
66
67
|
s.summary = "Rails 3 SCSS integration and non-trivial default style."
|
67
68
|
|
68
69
|
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.12
|
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: 2012-02-
|
12
|
+
date: 2012-02-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70150876326320 !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: *70150876326320
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sass-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &70150876341440 !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: *70150876341440
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: shoulda
|
38
|
-
requirement: &
|
38
|
+
requirement: &70150876340480 !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: *70150876340480
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
|
-
requirement: &
|
49
|
+
requirement: &70150876339140 !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: *70150876339140
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: jeweler
|
60
|
-
requirement: &
|
60
|
+
requirement: &70150876337960 !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: *70150876337960
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rcov
|
71
|
-
requirement: &
|
71
|
+
requirement: &70150876336880 !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: *70150876336880
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: simplecov
|
82
|
-
requirement: &
|
82
|
+
requirement: &70150876335880 !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: *70150876335880
|
91
91
|
description: Included CSS was designed for reuse across pwnb.us apps.
|
92
92
|
email: victor@costan.us
|
93
93
|
executables: []
|
@@ -106,9 +106,10 @@ files:
|
|
106
106
|
- VERSION
|
107
107
|
- app/assets/javascripts/pwn-fx.js.coffee
|
108
108
|
- app/assets/stylesheets/_pwnstyles.css.scss
|
109
|
-
- app/assets/stylesheets/generic/
|
109
|
+
- app/assets/stylesheets/generic/_buttons.css.scss
|
110
110
|
- app/assets/stylesheets/generic/_forms.css.scss
|
111
111
|
- app/assets/stylesheets/generic/_images.css.scss
|
112
|
+
- app/assets/stylesheets/generic/_inputs.css.scss
|
112
113
|
- app/assets/stylesheets/generic/_links.css.scss
|
113
114
|
- app/assets/stylesheets/generic/_lists.css.scss
|
114
115
|
- app/assets/stylesheets/generic/_menu.css.scss
|
@@ -152,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
152
153
|
version: '0'
|
153
154
|
segments:
|
154
155
|
- 0
|
155
|
-
hash:
|
156
|
+
hash: 3523360690976403031
|
156
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
158
|
none: false
|
158
159
|
requirements:
|
@@ -161,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
162
|
version: '0'
|
162
163
|
requirements: []
|
163
164
|
rubyforge_project:
|
164
|
-
rubygems_version: 1.8.
|
165
|
+
rubygems_version: 1.8.16
|
165
166
|
signing_key:
|
166
167
|
specification_version: 3
|
167
168
|
summary: Rails 3 SCSS integration and non-trivial default style.
|
@@ -1,91 +0,0 @@
|
|
1
|
-
// Submit buttons.
|
2
|
-
input[type=submit], input[type=button], button, a.button {
|
3
|
-
margin: 0;
|
4
|
-
padding: 0.1em 1ex;
|
5
|
-
-moz-border-radius: 4px;
|
6
|
-
-webkit-border-radius: 4px;
|
7
|
-
border-radius: 4px;
|
8
|
-
-moz-box-shadow: 0px 1px 3px $button-shadow-color;
|
9
|
-
-webkit-box-shadow: 0px 1px 3px $button-shadow-color;
|
10
|
-
box-shadow: 0px 1px 3px $button-shadow-color;
|
11
|
-
|
12
|
-
background-color: $button-color;
|
13
|
-
border: 1px solid $button-border-color;
|
14
|
-
color: $button-font-color;
|
15
|
-
font-size: 1.21em;
|
16
|
-
line-height: 1.35em;
|
17
|
-
text-decoration: none;
|
18
|
-
display: inline-block;
|
19
|
-
|
20
|
-
&:visited {
|
21
|
-
color: $button-font-color;
|
22
|
-
background-color: $button-color;
|
23
|
-
}
|
24
|
-
|
25
|
-
&:hover {
|
26
|
-
color: $button-hover-font-color;
|
27
|
-
background-color: $button-color;
|
28
|
-
}
|
29
|
-
&:active {
|
30
|
-
background-color: $button-color;
|
31
|
-
-moz-box-shadow: inset 0px 2px 2px $button-active-shadow-color;
|
32
|
-
-webkit-box-shadow: inset 0px 2px 2px $button-active-shadow-color;
|
33
|
-
box-shadow: inset 0px 2px 2px $button-active-shadow-color;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
// Text fields.
|
38
|
-
input[type=text], input[type=email], input[type=tel], input[type=password],
|
39
|
-
input[type=search], input[type=number], textarea {
|
40
|
-
margin: 0;
|
41
|
-
padding: 0.1em 0.5ex;
|
42
|
-
border: 1px solid $input-border-color;
|
43
|
-
-moz-border-radius: 4px;
|
44
|
-
-webkit-border-radius: 4px;
|
45
|
-
border-radius: 4px;
|
46
|
-
-moz-box-shadow: inset 0px 2px 2px $input-shadow-color;
|
47
|
-
-webkit-box-shadow: inset 0px 2px 2px $input-shadow-color;
|
48
|
-
box-shadow: inset 0px 2px 2px $input-shadow-color;
|
49
|
-
background-color: $input-background-color;
|
50
|
-
|
51
|
-
text-decoration: none;
|
52
|
-
|
53
|
-
&:hover {
|
54
|
-
border: 1px solid $button-hover-border-color;
|
55
|
-
}
|
56
|
-
&:focus {
|
57
|
-
color: #331400;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
textarea {
|
61
|
-
height: 5.25em;
|
62
|
-
}
|
63
|
-
|
64
|
-
// Multiple-choice fields.
|
65
|
-
input[type=radio], input[type=checkbox] {
|
66
|
-
border: 1px solid $input-border-color;
|
67
|
-
box-shadow: inset 0px 1px 2px $input-shadow-color;
|
68
|
-
-moz-box-shadow: inset 0px 1px 2px $input-shadow-color;
|
69
|
-
-webkit-box-shadow: inset 0px 1px 2px $input-shadow-color;
|
70
|
-
background-color: $input-background-color;
|
71
|
-
}
|
72
|
-
|
73
|
-
// Error highlighting.
|
74
|
-
.field_with_errors {
|
75
|
-
input[type=text], input[type=email], input[type=tel], input[type=password],
|
76
|
-
input[type=search], input[type=number], textarea {
|
77
|
-
border: 1px solid #FF0000;
|
78
|
-
box-shadow: inset 0px 1px 2px #FF8888;
|
79
|
-
-moz-box-shadow: inset 0px 1px 2px #FF8888;
|
80
|
-
-webkit-box-shadow: inset 0px 1px 2px #FF8888;
|
81
|
-
background-color: #FFEEEE;
|
82
|
-
}
|
83
|
-
|
84
|
-
input[type=radio], input[type=checkbox] {
|
85
|
-
border: 1px solid #FF0000;
|
86
|
-
box-shadow: inset 0px 1px 2px #FF8888;
|
87
|
-
-moz-box-shadow: inset 0px 1px 2px #FF8888;
|
88
|
-
-webkit-box-shadow: inset 0px 1px 2px #FF8888;
|
89
|
-
background-color: #FFEEEE;
|
90
|
-
}
|
91
|
-
}
|