semantic-ui-rails 0.10.1 → 0.10.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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/semantic-ui/modules/dropdown.js +8 -0
- data/app/assets/javascripts/semantic-ui/modules/sidebar.js +4 -1
- data/app/assets/stylesheets/semantic-ui/elements/input.less +4 -2
- data/app/assets/stylesheets/semantic-ui/modules/rating.less +1 -1
- data/lib/semantic/ui/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a88cd424cd62a09a4e92ac549c63c7c302b5444b
|
|
4
|
+
data.tar.gz: c1f83caee5e047fc8ae712011d1313039858eef2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 128ec43df0ea94e3541790ec1d046b5bc958340104113bef0cfad15bbf2dbd2d2248c36a228e0faf63f640f3cdb47a4472f15e45d5cd7c8319c812dce4a3e868
|
|
7
|
+
data.tar.gz: cfbe36f29f2f4c466cb5367e78f19988402ee4e5bc369f25f4ff9ab6bdff38b74fecc205444e48200ae31e6daa8fee632dfd189c95567719d787aaf88741314c
|
|
@@ -202,13 +202,15 @@ $.fn.sidebar = function(parameters) {
|
|
|
202
202
|
add: {
|
|
203
203
|
bodyCSS: function(direction, distance) {
|
|
204
204
|
var
|
|
205
|
+
invertDirection,
|
|
205
206
|
style
|
|
206
207
|
;
|
|
207
208
|
if(direction !== className.bottom) {
|
|
209
|
+
invertDirection = direction === 'right' ? -1 : 1;
|
|
208
210
|
style = ''
|
|
209
211
|
+ '<style title="' + namespace + '">'
|
|
210
212
|
+ 'body.pushed {'
|
|
211
|
-
+ ' margin-' +
|
|
213
|
+
+ ' margin-left: ' + invertDirection * distance + 'px !important;'
|
|
212
214
|
+ '}'
|
|
213
215
|
+ '</style>'
|
|
214
216
|
;
|
|
@@ -218,6 +220,7 @@ $.fn.sidebar = function(parameters) {
|
|
|
218
220
|
}
|
|
219
221
|
},
|
|
220
222
|
|
|
223
|
+
|
|
221
224
|
remove: {
|
|
222
225
|
bodyCSS: function() {
|
|
223
226
|
module.debug('Removing body css styles', $style);
|
|
@@ -286,14 +286,16 @@
|
|
|
286
286
|
border-bottom-right-radius: 0px !important;
|
|
287
287
|
border-right: none;
|
|
288
288
|
}
|
|
289
|
-
.ui.action.input > .button
|
|
289
|
+
.ui.action.input > .button,
|
|
290
|
+
.ui.action.input > .buttons, {
|
|
290
291
|
display: table-cell;
|
|
291
292
|
|
|
292
293
|
border-top-left-radius: 0px;
|
|
293
294
|
border-bottom-left-radius: 0px;
|
|
294
295
|
white-space: nowrap;
|
|
295
296
|
}
|
|
296
|
-
.ui.action.input > .button > .icon
|
|
297
|
+
.ui.action.input > .button > .icon,
|
|
298
|
+
.ui.action.input > .buttons > .button > .icon {
|
|
297
299
|
display: inline;
|
|
298
300
|
vertical-align: top;
|
|
299
301
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: semantic-ui-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- nd0ut
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-12-
|
|
11
|
+
date: 2013-12-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: less-rails
|