avante_rails 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/avante_rails/version.rb
CHANGED
@@ -19,6 +19,7 @@
|
|
19
19
|
border-color: #c43c35 #c43c35 #882a25;
|
20
20
|
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
21
21
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
22
|
+
|
22
23
|
@include gradient-vertical(#ee5f5b, #c43c35);
|
23
24
|
}
|
24
25
|
|
@@ -26,6 +27,7 @@
|
|
26
27
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
27
28
|
border-color: #57a957 #57a957 #3d773d;
|
28
29
|
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
30
|
+
|
29
31
|
@include gradient-vertical(#62c462, #57a957);
|
30
32
|
}
|
31
33
|
|
@@ -33,6 +35,7 @@
|
|
33
35
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
34
36
|
border-color: #339bb9 #339bb9 #22697d;
|
35
37
|
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
38
|
+
|
36
39
|
@include gradient-vertical(#5bc0de, #339bb9);
|
37
40
|
}
|
38
41
|
|
@@ -49,12 +52,24 @@
|
|
49
52
|
|
50
53
|
@include gradient-vertical(#ffffff, #e6e6e6);
|
51
54
|
@include border-radius(4px);
|
52
|
-
@include box-shadow(inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05));
|
53
55
|
|
54
56
|
&:hover { background-position: 0 -15px; color: #333; text-decoration: none; }
|
55
57
|
&:focus { outline: 1px dotted #666; }
|
56
58
|
}
|
57
59
|
|
60
|
+
// remove border-radius from IE9
|
61
|
+
:root .btn {
|
62
|
+
border-radius: 0 \0;
|
63
|
+
}
|
64
|
+
|
65
|
+
// Help Firefox not add extra padding to buttons
|
66
|
+
.btn {
|
67
|
+
&::-moz-focus-inner {
|
68
|
+
padding: 0;
|
69
|
+
border: 0;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
58
73
|
.btn.primary {
|
59
74
|
color: #ffffff;
|
60
75
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
@@ -79,7 +94,6 @@
|
|
79
94
|
font-size: 110%;
|
80
95
|
line-height: normal;
|
81
96
|
padding: 9px 14px 9px;
|
82
|
-
@include border-radius(6px);
|
83
97
|
}
|
84
98
|
|
85
99
|
.btn.small {
|
@@ -72,7 +72,7 @@
|
|
72
72
|
background-image: -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
73
73
|
background-image: -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10
|
74
74
|
background-image: linear-gradient(left, $startColor, $endColor); // Le standard
|
75
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr
|
75
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#{$startColor}", endColorstr="#{$endColor}", GradientType=1);
|
76
76
|
}
|
77
77
|
|
78
78
|
@mixin gradient-vertical ($startColor: #555, $endColor: #333) {
|
@@ -85,7 +85,7 @@
|
|
85
85
|
background-image: -webkit-linear-gradient(top, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
86
86
|
background-image: -o-linear-gradient(top, $startColor, $endColor); // Opera 11.10
|
87
87
|
background-image: linear-gradient(top, $startColor, $endColor); // The standard
|
88
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr
|
88
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#{$startColor}", endColorstr="#{$endColor}", GradientType=0); // IE9 and down
|
89
89
|
}
|
90
90
|
|
91
91
|
@mixin gradient-directional ($startColor: #555, $endColor: #333, $deg: 45deg) {
|
@@ -107,7 +107,9 @@
|
|
107
107
|
background-image: -ms-linear-gradient($startColor, $midColor $colorStop, $endColor);
|
108
108
|
background-image: -o-linear-gradient($startColor, $midColor $colorStop, $endColor);
|
109
109
|
background-image: linear-gradient($startColor, $midColor $colorStop, $endColor);
|
110
|
-
|
110
|
+
|
111
|
+
// IE9 and down, gets no color-stop at all for proper fallback
|
112
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#{$startColor}", endColorstr="#{$endColor}", GradientType=0);
|
111
113
|
}
|
112
114
|
|
113
115
|
// Reset filters for IE
|
metadata
CHANGED
@@ -1,34 +1,48 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: avante_rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Daniel Lopes
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-01-30 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: rails
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 1
|
32
|
+
- 0
|
21
33
|
version: 3.1.0
|
22
34
|
type: :runtime
|
23
|
-
|
24
|
-
version_requirements: *70123143951500
|
35
|
+
version_requirements: *id001
|
25
36
|
description: Highly customizable, plugable and mobile friendly css framework.
|
26
|
-
email:
|
37
|
+
email:
|
27
38
|
- avante@objetiva.co
|
28
39
|
executables: []
|
40
|
+
|
29
41
|
extensions: []
|
42
|
+
|
30
43
|
extra_rdoc_files: []
|
31
|
-
|
44
|
+
|
45
|
+
files:
|
32
46
|
- .gitignore
|
33
47
|
- Gemfile
|
34
48
|
- README.md
|
@@ -61,26 +75,36 @@ files:
|
|
61
75
|
- vendor/assets/stylesheets/avante/vendor/normalize.scss
|
62
76
|
homepage: http://avante.objetiva.co/
|
63
77
|
licenses: []
|
78
|
+
|
64
79
|
post_install_message:
|
65
80
|
rdoc_options: []
|
66
|
-
|
81
|
+
|
82
|
+
require_paths:
|
67
83
|
- lib
|
68
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
85
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
hash: 3
|
90
|
+
segments:
|
91
|
+
- 0
|
92
|
+
version: "0"
|
93
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
94
|
none: false
|
76
|
-
requirements:
|
77
|
-
- -
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
hash: 3
|
99
|
+
segments:
|
100
|
+
- 0
|
101
|
+
version: "0"
|
80
102
|
requirements: []
|
103
|
+
|
81
104
|
rubyforge_project: avante_rails
|
82
105
|
rubygems_version: 1.8.15
|
83
106
|
signing_key:
|
84
107
|
specification_version: 3
|
85
108
|
summary: Visual agnostic css foundation.
|
86
109
|
test_files: []
|
110
|
+
|