sass-rails-bootstrap 2.2.2.2 → 2.2.2.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -43,12 +43,13 @@
|
|
43
43
|
// Reset fonts for other sizes
|
44
44
|
.btn-group > .btn-mini
|
45
45
|
font-size: $fontSizeMini
|
46
|
+
|
46
47
|
.btn-group > .btn-small
|
47
48
|
font-size: $fontSizeSmall
|
48
49
|
|
49
50
|
.btn-group > .btn-large
|
50
51
|
font-size: $fontSizeLarge
|
51
|
-
|
52
|
+
|
52
53
|
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
53
54
|
.btn-group > .btn:first-child
|
54
55
|
margin-left: 0
|
@@ -58,9 +59,9 @@
|
|
58
59
|
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
59
60
|
.btn-group > .btn:last-child,
|
60
61
|
.btn-group > .dropdown-toggle
|
61
|
-
+border-top-
|
62
|
-
+border-bottom-
|
63
|
-
|
62
|
+
+border-top-right-radius($baseBorderRadius)
|
63
|
+
+border-bottom-right-radius($baseBorderRadius)
|
64
|
+
|
64
65
|
// Reset corners for large buttons
|
65
66
|
.btn-group > .btn.large:first-child
|
66
67
|
margin-left: 0
|
@@ -69,8 +70,8 @@
|
|
69
70
|
|
70
71
|
.btn-group > .btn.large:last-child,
|
71
72
|
.btn-group > .large.dropdown-toggle
|
72
|
-
+border-top-
|
73
|
-
+border-bottom-
|
73
|
+
+border-top-right-radius($borderRadiusLarge)
|
74
|
+
+border-bottom-right-radius($borderRadiusLarge)
|
74
75
|
|
75
76
|
// On hover/focus/active, bring the proper btn to front
|
76
77
|
.btn-group > .btn:hover,
|
@@ -93,21 +94,21 @@
|
|
93
94
|
.btn-group > .btn + .dropdown-toggle
|
94
95
|
padding-left: 8px
|
95
96
|
padding-right: 8px
|
96
|
-
$shadow: inset 1px 0 0 rgba(255,255,255
|
97
|
+
$shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)
|
97
98
|
+box-shadow($shadow)
|
98
99
|
*padding-top: 5px
|
99
100
|
*padding-bottom: 5px
|
100
|
-
|
101
|
+
|
101
102
|
.btn-group > .btn-mini + .dropdown-toggle
|
102
103
|
padding-left: 5px
|
103
104
|
padding-right: 5px
|
104
105
|
*padding-top: 2px
|
105
106
|
*padding-bottom: 2px
|
106
|
-
|
107
|
+
|
107
108
|
.btn-group > .btn-small + .dropdown-toggle
|
108
109
|
*padding-top: 5px
|
109
110
|
*padding-bottom: 4px
|
110
|
-
|
111
|
+
|
111
112
|
.btn-group > .btn-large + .dropdown-toggle
|
112
113
|
padding-left: 12px
|
113
114
|
padding-right: 12px
|
@@ -121,29 +122,29 @@
|
|
121
122
|
background-image: none
|
122
123
|
$shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05)
|
123
124
|
+box-shadow($shadow)
|
124
|
-
|
125
|
+
|
125
126
|
// Keep the hover's background when dropdown is open
|
126
127
|
.btn.dropdown-toggle
|
127
128
|
background-color: $btnBackgroundHighlight
|
128
|
-
|
129
|
+
|
129
130
|
.btn-primary.dropdown-toggle
|
130
131
|
background-color: $btnPrimaryBackgroundHighlight
|
131
|
-
|
132
|
+
|
132
133
|
.btn-warning.dropdown-toggle
|
133
134
|
background-color: $btnWarningBackgroundHighlight
|
134
|
-
|
135
|
+
|
135
136
|
.btn-danger.dropdown-toggle
|
136
137
|
background-color: $btnDangerBackgroundHighlight
|
137
|
-
|
138
|
+
|
138
139
|
.btn-success.dropdown-toggle
|
139
140
|
background-color: $btnSuccessBackgroundHighlight
|
140
|
-
|
141
|
+
|
141
142
|
.btn-info.dropdown-toggle
|
142
143
|
background-color: $btnInfoBackgroundHighlight
|
143
|
-
|
144
|
+
|
144
145
|
.btn-inverse.dropdown-toggle
|
145
146
|
background-color: $btnInverseBackgroundHighlight
|
146
|
-
|
147
|
+
|
147
148
|
|
148
149
|
// Reposition the caret
|
149
150
|
.btn .caret
|
@@ -160,11 +161,13 @@
|
|
160
161
|
border-left-width: 5px
|
161
162
|
border-right-width: 5px
|
162
163
|
border-top-width: 5px
|
163
|
-
|
164
|
+
|
164
165
|
// Upside down carets for .dropup
|
165
166
|
.dropup .btn-large .caret
|
166
167
|
border-bottom-width: 5px
|
167
168
|
|
169
|
+
|
170
|
+
|
168
171
|
// Account for other colors
|
169
172
|
.btn-primary,
|
170
173
|
.btn-warning,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-rails-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.2.
|
4
|
+
version: 2.2.2.3
|
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:
|
12
|
+
date: 2013-01-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &73628120 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *73628120
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sass-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &73622750 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 3.2.3
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *73622750
|
36
36
|
description: SASS version of the CSS toolkit from Twitter for Rails 3.1+ asset pipeline.
|
37
37
|
email:
|
38
38
|
- voidproxy@gmail.com
|