avante_rails 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AvanteRails
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -8,7 +8,7 @@
8
8
  .odd { background-color:#F1F5FA; }
9
9
  .even { background-color:#FFF; }
10
10
  .highlight { background-color:#FFFFCC; }
11
- .hint, .weak { color: #9e9e9e; font-size: 80% }
11
+ .hint, .weak { color: #9e9e9e; font-size: 90% }
12
12
  .hidden { display: none; }
13
13
  .invisible { visibility: hidden; }
14
14
  .wide { width: 100%; }
@@ -13,9 +13,19 @@ fieldset {
13
13
  border: none;
14
14
  }
15
15
 
16
- input[type="text"],
17
- input[type="password"],
16
+ input[type="date"],
17
+ input[type="datetime"],
18
+ input[type="datetime-local"],
18
19
  input[type="email"],
20
+ input[type="file"],
21
+ input[type="month"],
22
+ input[type="number"],
23
+ input[type="password"],
24
+ input[type="tel"],
25
+ input[type="text"],
26
+ input[type="time"],
27
+ input[type="url"],
28
+ input[type="week"],
19
29
  textarea,
20
30
  select {
21
31
  border: 1px solid #ccc;
@@ -30,28 +40,25 @@ select {
30
40
  margin-bottom: 10px;
31
41
 
32
42
  @include border-radius(2px);
33
- }
34
-
35
- input[type="text"]:focus,
36
- input[type="password"]:focus,
37
- input[type="email"]:focus,
38
- textarea:focus {
39
- border: 1px solid #3997D3;
40
- color: #444;
41
-
42
- @include box-shadow(0px 0px 0px 3px #E3EFF6);
43
- }
44
43
 
45
- input, textarea {
46
44
  @include box-shadow(
47
- 0px 0px 0px 3px #EEEEEE,
45
+ 0px 0px 0px 3px #F3F3F3,
48
46
  inset 0 1px 3px rgba(0, 0, 0, 0.1)
49
47
  );
48
+
49
+ &:focus {
50
+ border: 1px solid #3997D3;
51
+ color: #444;
52
+ @include box-shadow(0px 0px 0px 3px #E3EFF6);
53
+ }
50
54
  }
51
55
 
52
- textarea { min-height: 60px; }
56
+ select {
57
+ padding: 0;
58
+ @include box-shadow(none);
59
+ }
53
60
 
54
- select { padding: 0; }
61
+ textarea { min-height: 60px; }
55
62
 
56
63
  label {
57
64
  display: block;
@@ -112,4 +119,4 @@ label span {
112
119
  label.required:after {
113
120
  content: " *";
114
121
  color: #D60000;
115
- }
122
+ }
@@ -15,8 +15,8 @@ ul.pills-content {
15
15
  ul.tabs-content>li,
16
16
  ul.pills-content>li { display:none; }
17
17
 
18
- ul.tabs-content>li.active,
19
- ul.pills-content>li.active { display: block; }
18
+ ul.tabs-content>li.current,
19
+ ul.pills-content>li.current { display: block; }
20
20
 
21
21
  /* Classic */
22
22
 
@@ -52,14 +52,14 @@ ul.pills-content>li.active { display: block; }
52
52
  a:hover { background: #F7F7F7; }
53
53
  }
54
54
 
55
- li.active a {
55
+ li.current a {
56
56
  background: #fff;
57
57
  border-width: 1px 1px 0 1px;
58
58
  height: 30px;
59
59
  cursor: default;
60
60
  }
61
61
 
62
- li.active a:hover { background: #FFF; }
62
+ li.current a:hover { background: #FFF; }
63
63
 
64
64
  }
65
65
 
@@ -83,7 +83,7 @@ ul.tabs.vertical {
83
83
  background: #FFF;
84
84
  }
85
85
 
86
- li.active a {
86
+ li.current a {
87
87
  height: auto;
88
88
  margin: 0;
89
89
  background: #00A6FC;
@@ -120,7 +120,7 @@ ul.contained.tabs-content>li { padding: 20px; border: solid 0 #ddd; border-width
120
120
  a:hover { color: #555; }
121
121
  }
122
122
 
123
- li.active a, li.active a:hover {
123
+ li.current a, li.current a:hover {
124
124
  color: #ffffff;
125
125
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
126
126
  background-color: #00A6FC;
@@ -107,9 +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
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);
112
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#{$startColor}", endColorstr="#{$endColor}", GradientType=0);
113
113
  }
114
114
 
115
115
  // Reset filters for IE
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avante_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Lopes
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-30 00:00:00 Z
18
+ date: 2012-02-01 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails