less-rails-bootswatch 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Less
2
2
  module Rails
3
3
  module Bootswatch
4
- VERSION = "0.2.4"
4
+ VERSION = "0.2.5"
5
5
  end
6
6
  end
7
7
  end
@@ -27,14 +27,14 @@ a {
27
27
  // -----------------------------------------------------
28
28
 
29
29
  .navbar {
30
-
30
+
31
31
  .navbar-inner {
32
32
  @shadow: 0 2px 4px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
33
33
  .box-shadow(@shadow);
34
34
  border-top: 1px solid #E5E5E5;
35
35
  .border-radius(0);
36
36
  }
37
-
37
+
38
38
  .brand {
39
39
  text-shadow: none;
40
40
 
@@ -42,13 +42,13 @@ a {
42
42
  background-color: #EEEEEE;
43
43
  }
44
44
  }
45
-
45
+
46
46
  .nav > li > a {
47
- text-shadow: none;
47
+ text-shadow: none;
48
48
  }
49
-
49
+
50
50
  .dropdown-menu {
51
- .border-radius(0);
51
+ .border-radius(0);
52
52
  }
53
53
 
54
54
  .nav li.dropdown.active > .dropdown-toggle,
@@ -66,22 +66,22 @@ a {
66
66
  border-top-color: @black;
67
67
  opacity: 1;
68
68
  }
69
-
69
+
70
70
  .nav-collapse.in .nav li > a:hover {
71
71
  background-color: @grayLighter;
72
72
  }
73
-
73
+
74
74
  .nav-collapse .nav li > a {
75
75
  color: @textColor;
76
76
  text-decoration: none;
77
- font-weight: normal;
77
+ font-weight: normal;
78
78
  }
79
-
79
+
80
80
  .nav-collapse .navbar-form,
81
81
  .nav-collapse .navbar-search {
82
82
  border-color: transparent;
83
- }
84
-
83
+ }
84
+
85
85
  .navbar-search .search-query,
86
86
  .navbar-search .search-query:hover {
87
87
  border: 1px solid @grayLighter;
@@ -96,7 +96,11 @@ div.subnav {
96
96
  @shadow: 0 1px 2px rgba(0,0,0,.25);
97
97
  .box-shadow(@shadow);
98
98
  .border-radius(0);
99
-
99
+
100
+ &.subnav-fixed {
101
+ top: @navbarHeight;
102
+ }
103
+
100
104
  .nav > li > a:hover,
101
105
  .nav > .active > a,
102
106
  .nav > .active > a:hover {
@@ -108,7 +112,7 @@ div.subnav {
108
112
  .nav > li:first-child > a,
109
113
  .nav > li:first-child > a:hover {
110
114
  .border-radius(0);
111
- }
115
+ }
112
116
  }
113
117
 
114
118
  // BUTTONS
@@ -118,6 +122,10 @@ div.subnav {
118
122
  .buttonBackground(lighten(@linkColor, 5%), @linkColor);
119
123
  }
120
124
 
125
+ [class^="icon-"], [class*=" icon-"] {
126
+ vertical-align: -2px;
127
+ }
128
+
121
129
  // MODALS
122
130
  // -----------------------------------------------------
123
131
 
@@ -82,14 +82,14 @@
82
82
  @btnSuccessBackground: #62c462;
83
83
  @btnSuccessBackgroundHighlight: #51a351;
84
84
 
85
- @btnWarningBackground: lighten(@orange, 15%);
85
+ @btnWarningBackground: lighten(@orange, 10%);
86
86
  @btnWarningBackgroundHighlight: @orange;
87
87
 
88
88
  @btnDangerBackground: #ee5f5b;
89
89
  @btnDangerBackgroundHighlight: #bd362f;
90
90
 
91
- @btnInverseBackground: @gray;
92
- @btnInverseBackgroundHighlight: @grayDarker;
91
+ @btnInverseBackground: @linkColor;
92
+ @btnInverseBackgroundHighlight: darken(@linkColor, 5%);
93
93
 
94
94
 
95
95
  // Forms
@@ -144,7 +144,7 @@
144
144
 
145
145
  // Navbar
146
146
  // -------------------------
147
- @navbarHeight: 40px;
147
+ @navbarHeight: 70px;
148
148
  @navbarBackground: @bodyBackground;
149
149
  @navbarBackgroundHighlight: @bodyBackground;
150
150
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-rails-bootswatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
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-05-08 00:00:00.000000000 Z
12
+ date: 2012-05-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: less-rails-bootstrap