pwnstyles_rails 0.1.25 → 0.1.26

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.25
1
+ 0.1.26
@@ -12,35 +12,27 @@ form {
12
12
  display: table-row;
13
13
  margin: 0;
14
14
  padding: 0 0 0.25em 0;
15
- vertical-align: top;
16
15
  &.hidden {
17
16
  display: none;
18
17
  }
19
18
 
20
19
  > * {
21
20
  display: table-cell;
22
- // When browsers implement inline-box-align, use it.
23
- // inline-box-align: initial;
24
- // vertical-align: baseline;
25
- vertical-align: top;
21
+ vertical-align: baseline;
26
22
  margin: 0;
27
23
  }
28
24
  > label, > .label, > .field_with_errors {
29
- display: block; // gets wrapped by table-cell
30
25
  padding-right: 0.375em;
31
26
  text-align: right;
32
27
  }
33
28
  > .value {
34
29
  padding-bottom: 0.25em;
35
- > input, select, textarea {
36
- vertical-align: top;
37
- }
38
- > input[type=checkbox], > input[type=radio] {
39
- vertical-align: middle;
40
- }
41
30
  > .field_with_errors {
42
31
  display: block;
43
32
  }
33
+ textarea {
34
+ vertical-align: top;
35
+ }
44
36
  }
45
37
  > .comment {
46
38
  padding: 0 0 0 0.5em;
@@ -13,10 +13,6 @@ select {
13
13
  @include pwnplus-select-field($input-border-color);
14
14
  }
15
15
 
16
- label, .label {
17
- @include pwnplus-label;
18
- }
19
-
20
16
  .field_with_errors {
21
17
  input[type=text], select, textarea {
22
18
  @include pwnplus-field-error-highlighting;
@@ -99,6 +99,6 @@ hr {
99
99
 
100
100
  @each $tag in input, select {
101
101
  #{$tag} {
102
- vertical-align: middle;
102
+ vertical-align: baseline;
103
103
  }
104
104
  }
@@ -50,6 +50,10 @@
50
50
  text-shadow: none;
51
51
  color: $placeholder-text-color;
52
52
  }
53
+ &::-webkit-outer-spin-button, &::-webkit-inner-spin-button {
54
+ -webkit-appearance: none;
55
+ margin: 0;
56
+ }
53
57
  }
54
58
 
55
59
  // Google Plus-like stylng for box-like form fields (radio, checkbox).
@@ -63,8 +67,9 @@
63
67
  ) {
64
68
  border: 1px solid $border-color;
65
69
  background-color: $background-color;
66
- width: 1.2em;
67
- height: 1.2em;
70
+ width: 1em;
71
+ height: 1em;
72
+ vertical-align: -2px;
68
73
 
69
74
  @include transition(all .218s);
70
75
 
@@ -126,13 +131,3 @@
126
131
  @include box-shadow(inset 0 1px 2px $highlight-shadow);
127
132
  }
128
133
 
129
- // Add the same padding to labels, so they align nicely with text fields.
130
- @mixin pwnplus-label {
131
- display: inline-block;
132
- margin: 0;
133
- font-size: inherit;
134
- line-height: inherit;
135
- border: 1px solid rgba(255, 255, 255, 0);
136
- padding: 0.125em 0;
137
- }
138
-
@@ -21,6 +21,7 @@
21
21
  li {
22
22
  margin: 0;
23
23
  padding: 0;
24
+ white-space: nowrap;
24
25
  }
25
26
 
26
27
  vertical-align: bottom;
@@ -35,7 +36,10 @@
35
36
 
36
37
  > ol {
37
38
  list-style: none;
38
- display: none;
39
+ display: block;
40
+ @include opacity(0);
41
+ height: 0;
42
+ overflow: hidden;
39
43
  background-color: $bar-color;
40
44
  margin: 0;
41
45
  padding: 0;
@@ -52,7 +56,8 @@
52
56
  }
53
57
  > li:hover {
54
58
  > ol {
55
- display: block;
59
+ @include opacity(1);
60
+ height: auto;
56
61
  }
57
62
  }
58
63
  li:hover > a {
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pwnstyles_rails"
8
- s.version = "0.1.25"
8
+ s.version = "0.1.26"
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-09-17"
12
+ s.date = "2012-09-18"
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 = [
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.25
4
+ version: 0.1.26
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-17 00:00:00.000000000 Z
12
+ date: 2012-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass-rails
@@ -212,7 +212,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
212
  version: '0'
213
213
  segments:
214
214
  - 0
215
- hash: 420375135802959521
215
+ hash: -4404462641710385656
216
216
  required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  none: false
218
218
  requirements: