semantic-ui-rails 0.8.4.1 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/app/assets/javascripts/semantic-ui/modules/accordion.js +1 -1
  4. data/app/assets/javascripts/semantic-ui/modules/behavior/api.js +1 -1
  5. data/app/assets/javascripts/semantic-ui/modules/behavior/form.js +1 -1
  6. data/app/assets/javascripts/semantic-ui/modules/behavior/state.js +1 -1
  7. data/app/assets/javascripts/semantic-ui/modules/chatroom.js +1 -1
  8. data/app/assets/javascripts/semantic-ui/modules/checkbox.js +1 -1
  9. data/app/assets/javascripts/semantic-ui/modules/dimmer.js +1 -1
  10. data/app/assets/javascripts/semantic-ui/modules/dropdown.js +1 -1
  11. data/app/assets/javascripts/semantic-ui/modules/modal.js +2 -2
  12. data/app/assets/javascripts/semantic-ui/modules/nag.js +1 -1
  13. data/app/assets/javascripts/semantic-ui/modules/rating.js +1 -1
  14. data/app/assets/javascripts/semantic-ui/modules/search.js +1 -1
  15. data/app/assets/javascripts/semantic-ui/modules/shape.js +1 -1
  16. data/app/assets/javascripts/semantic-ui/modules/sidebar.js +1 -1
  17. data/app/assets/javascripts/semantic-ui/modules/tab.js +1 -1
  18. data/app/assets/javascripts/semantic-ui/modules/transition.js +1 -2
  19. data/app/assets/javascripts/semantic-ui/modules/video.js +1 -1
  20. data/app/assets/stylesheets/semantic-ui/elements/image.less +181 -181
  21. data/app/assets/stylesheets/semantic-ui/modules/accordion.less +197 -197
  22. data/app/assets/stylesheets/semantic-ui/modules/chatroom.less +280 -280
  23. data/app/assets/stylesheets/semantic-ui/modules/dimmer.less +2 -0
  24. data/app/assets/stylesheets/semantic-ui/modules/modal.less +5 -2
  25. data/app/assets/stylesheets/semantic-ui/modules/nag.less +172 -172
  26. data/app/assets/stylesheets/semantic-ui/modules/popup.less +255 -255
  27. data/app/assets/stylesheets/semantic-ui/modules/video.less +98 -98
  28. data/lib/generators/semantic/install/templates/semantic-ui.css.less +1 -1
  29. data/lib/semantic/ui/rails/version.rb +1 -1
  30. data/semantic-ui-rails.gemspec +1 -0
  31. data/semantic.thor +15 -5
  32. metadata +15 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e456af30609092c629a8806d93b17f08c626628
4
- data.tar.gz: b972f6caa726a4bf246ac04114f1492db5376e85
3
+ metadata.gz: 9b12ac9b8bbdd79cbeb1e2c163549882a7989d80
4
+ data.tar.gz: c024ffac7eb24535145ea900ebcced52a10d6574
5
5
  SHA512:
6
- metadata.gz: d3decfaa5679ba5e994ae7f99e30dc78ab39dc2047738e3d86c3c73617719417c97b1730ab4dee5527b5444127b0cf60c05b0158c9517083b0fd54b408f9b3d0
7
- data.tar.gz: 3ea966a194159c11bc1d0927ebd114dd98b86bf78bf10265e16badbb7b64f0edc4a3161f85ab43cba6632e90cb0a97be57c9e4a97a7c69d22842da50606dcbbf
6
+ metadata.gz: a6077505cf91bc59ce74e69b4fcdab70b6cdc216f331f58ce1ae60a98c1c48aa9779eb94bce6d4648efd865c011d4fd072736909eb9d9b7a827ac2ea5e3e6dd8
7
+ data.tar.gz: 14c3c145068368ebc38ee4d9b2a50676384092e1074713963bdf106398287b41c23a77e12a7a97f078065d9e2880518f66bb87accd24d9144bb84deb1404e7c7
data/README.md CHANGED
@@ -10,6 +10,7 @@ Inside your Gemfile add the following lines:
10
10
  ```ruby
11
11
  gem 'therubyracer', platforms: :ruby # or any other runtime
12
12
  gem 'less-rails'
13
+ gem 'autoprefixer-rails'
13
14
  gem 'semantic-ui-rails'
14
15
  ```
15
16
  Then run `bundle install` to install gems.
@@ -334,7 +334,7 @@ $.fn.accordion = function(parameters) {
334
334
  return false;
335
335
  }
336
336
  else {
337
- module.error(error.method);
337
+ module.error(error.method, query);
338
338
  return false;
339
339
  }
340
340
  });
@@ -479,7 +479,7 @@
479
479
  return false;
480
480
  }
481
481
  else {
482
- module.error(error.method);
482
+ module.error(error.method, query);
483
483
  return false;
484
484
  }
485
485
  });
@@ -515,7 +515,7 @@ $.fn.form = function(fields, parameters) {
515
515
  return false;
516
516
  }
517
517
  else {
518
- module.error(error.method);
518
+ module.error(error.method, query);
519
519
  return false;
520
520
  }
521
521
  });
@@ -571,7 +571,7 @@ $.fn.state = function(parameters) {
571
571
  return false;
572
572
  }
573
573
  else {
574
- module.error(error.method);
574
+ module.error(error.method, query);
575
575
  return false;
576
576
  }
577
577
  });
@@ -563,7 +563,7 @@ $.fn.chatroom = function(parameters) {
563
563
  found = instance[value];
564
564
  }
565
565
  else {
566
- module.error(error.method);
566
+ module.error(error.method, query);
567
567
  }
568
568
  });
569
569
  }
@@ -265,7 +265,7 @@ $.fn.checkbox = function(parameters) {
265
265
  return false;
266
266
  }
267
267
  else {
268
- module.error(error.method);
268
+ module.error(error.method, query);
269
269
  return false;
270
270
  }
271
271
  });
@@ -491,7 +491,7 @@ $.fn.dimmer = function(parameters) {
491
491
  return false;
492
492
  }
493
493
  else {
494
- module.error(error.method);
494
+ module.error(error.method, query);
495
495
  return false;
496
496
  }
497
497
  });
@@ -717,7 +717,7 @@ $.fn.dropdown = function(parameters) {
717
717
  return false;
718
718
  }
719
719
  else {
720
- module.error(error.method);
720
+ module.error(error.method, query);
721
721
  return false;
722
722
  }
723
723
  });
@@ -229,6 +229,7 @@ $.fn.modal = function(parameters) {
229
229
  module.debug('Showing modal');
230
230
  module.cacheSizes();
231
231
  module.set.position();
232
+ module.set.type();
232
233
 
233
234
  if( $otherModals.filter(':visible').size() > 0 ) {
234
235
  module.debug('Other modals visible, queueing show animation');
@@ -421,7 +422,6 @@ $.fn.modal = function(parameters) {
421
422
  active: function() {
422
423
  module.add.keyboardShortcuts();
423
424
  module.save.focus();
424
- module.set.type();
425
425
  $module
426
426
  .addClass(className.active)
427
427
  ;
@@ -597,7 +597,7 @@ $.fn.modal = function(parameters) {
597
597
  return false;
598
598
  }
599
599
  else {
600
- module.error(error.method);
600
+ module.error(error.method, query);
601
601
  return false;
602
602
  }
603
603
  });
@@ -434,7 +434,7 @@ $.fn.nag = function(parameters) {
434
434
  return false;
435
435
  }
436
436
  else {
437
- module.error(error.method);
437
+ module.error(error.method, query);
438
438
  return false;
439
439
  }
440
440
  });
@@ -324,7 +324,7 @@ $.fn.rating = function(parameters) {
324
324
  return false;
325
325
  }
326
326
  else {
327
- module.error(error.method);
327
+ module.error(error.method, query);
328
328
  return false;
329
329
  }
330
330
  });
@@ -537,7 +537,7 @@ $.fn.search = function(source, parameters) {
537
537
  return false;
538
538
  }
539
539
  else {
540
- module.error(error.method);
540
+ module.error(error.method, query);
541
541
  return false;
542
542
  }
543
543
  });
@@ -692,7 +692,7 @@ $.fn.shape = function(parameters) {
692
692
  return false;
693
693
  }
694
694
  else {
695
- module.error(error.method);
695
+ module.error(error.method, query);
696
696
  return false;
697
697
  }
698
698
  });
@@ -428,7 +428,7 @@ $.fn.sidebar = function(parameters) {
428
428
  return false;
429
429
  }
430
430
  else {
431
- module.error(error.method);
431
+ module.error(error.method, query);
432
432
  return false;
433
433
  }
434
434
  });
@@ -592,7 +592,7 @@
592
592
  return false;
593
593
  }
594
594
  else {
595
- module.error(error.method);
595
+ module.error(error.method, query);
596
596
  return false;
597
597
  }
598
598
  });
@@ -577,7 +577,6 @@ $.fn.transition = function() {
577
577
  return false;
578
578
  }
579
579
  else {
580
- module.error(error.method);
581
580
  return false;
582
581
  }
583
582
  });
@@ -597,7 +596,7 @@ $.fn.transition = function() {
597
596
  else if(response !== undefined) {
598
597
  returnedValue = response;
599
598
  }
600
- return found;
599
+ return found || false;
601
600
  }
602
601
  };
603
602
  module.initialize();
@@ -363,7 +363,7 @@ $.fn.video = function(parameters) {
363
363
  return false;
364
364
  }
365
365
  else {
366
- module.error(error.method);
366
+ module.error(error.method, query);
367
367
  return false;
368
368
  }
369
369
  });
@@ -1,181 +1,181 @@
1
- /*
2
- * # Semantic - Image
3
- * http://github.com/jlukic/semantic-ui/
4
- *
5
- *
6
- * Copyright 2013 Contributors
7
- * Released under the MIT license
8
- * http://opensource.org/licenses/MIT
9
- *
10
- */
11
-
12
-
13
- /*******************************
14
- Image
15
- *******************************/
16
-
17
- .ui.image {
18
- position: relative;
19
- display: inline-block;
20
- vertical-align: middle;
21
- max-width: 100%;
22
- background-color: rgba(0, 0, 0, 0.05);
23
- }
24
- img.ui.image {
25
- display: block;
26
- background: none;
27
- }
28
- .ui.image img {
29
- display: block;
30
- max-width: 100%;
31
- height: auto;
32
- }
33
-
34
- /*******************************
35
- States
36
- *******************************/
37
-
38
-
39
- .ui.disabled.image {
40
- cursor: default;
41
- opacity: 0.3;
42
- }
43
-
44
-
45
- /*******************************
46
- Variations
47
- *******************************/
48
-
49
- /*--------------
50
- Rounded
51
- ---------------*/
52
-
53
- .ui.rounded.images .image,
54
- .ui.rounded.images img,
55
- .ui.rounded.image img,
56
- .ui.rounded.image {
57
- -webkit-border-radius: 0.3125em;
58
- -moz-border-radius: 0.3125em;
59
- border-radius: 0.3125em;
60
- }
61
-
62
- /*--------------
63
- Circular
64
- ---------------*/
65
-
66
- .ui.circular.images .image,
67
- .ui.circular.images img,
68
- .ui.circular.image img,
69
- .ui.circular.image {
70
- -webkit-border-radius: 500rem;
71
- -moz-border-radius: 500rem;
72
- border-radius: 500rem;
73
- }
74
-
75
- /*--------------
76
- Fluid
77
- ---------------*/
78
-
79
- .ui.fluid.images,
80
- .ui.fluid.image,
81
- .ui.fluid.images img,
82
- .ui.fluid.image img {
83
- display: block;
84
- width: 100%;
85
- }
86
-
87
-
88
- /*--------------
89
- Avatar
90
- ---------------*/
91
-
92
- .ui.avatar.images .image,
93
- .ui.avatar.images img,
94
- .ui.avatar.image img,
95
- .ui.avatar.image {
96
- margin-right: 0.5em;
97
-
98
- display: inline-block;
99
- width: 2em;
100
- height: 2em;
101
-
102
- -webkit-border-radius: 500rem;
103
- -moz-border-radius: 500rem;
104
- border-radius: 500rem;
105
- }
106
-
107
-
108
-
109
- /*-------------------
110
- Floated
111
- --------------------*/
112
-
113
- .ui.floated.image,
114
- .ui.floated.images {
115
- float: left;
116
- margin-right: 1em;
117
- margin-bottom: 1em;
118
- }
119
- .ui.right.floated.images,
120
- .ui.right.floated.image {
121
- float: right;
122
- margin-bottom: 1em;
123
- margin-left: 1em;
124
- }
125
-
126
-
127
- /*--------------
128
- Sizes
129
- ---------------*/
130
-
131
- .ui.tiny.images .image,
132
- .ui.tiny.images img,
133
- .ui.tiny.image {
134
- width: 20px;
135
- font-size: 0.7rem;
136
- }
137
- .ui.mini.images .image,
138
- .ui.mini.images img,
139
- .ui.mini.image {
140
- width: 35px;
141
- font-size: 0.8rem;
142
- }
143
- .ui.small.images .image,
144
- .ui.small.images img,
145
- .ui.small.image {
146
- width: 80px;
147
- font-size: 0.9rem;
148
- }
149
- .ui.medium.images .image,
150
- .ui.medium.images img,
151
- .ui.medium.image {
152
- width: 300px;
153
- font-size: 1rem;
154
- }
155
- .ui.large.images .image,
156
- .ui.large.images img,
157
- .ui.large.image {
158
- width: 450px;
159
- font-size: 1.1rem;
160
- }
161
- .ui.huge.images .image,
162
- .ui.huge.images img,
163
- .ui.huge.image {
164
- width: 600px;
165
- font-size: 1.2rem;
166
- }
167
-
168
- /*******************************
169
- Groups
170
- *******************************/
171
-
172
- .ui.images {
173
- font-size: 0em;
174
- margin: 0em -0.25rem 0rem;
175
- }
176
-
177
- .ui.images .image,
178
- .ui.images img {
179
- display: inline-block;
180
- margin: 0em 0.25em 0.5em;
181
- }
1
+ /*
2
+ * # Semantic - Image
3
+ * http://github.com/jlukic/semantic-ui/
4
+ *
5
+ *
6
+ * Copyright 2013 Contributors
7
+ * Released under the MIT license
8
+ * http://opensource.org/licenses/MIT
9
+ *
10
+ */
11
+
12
+
13
+ /*******************************
14
+ Image
15
+ *******************************/
16
+
17
+ .ui.image {
18
+ position: relative;
19
+ display: inline-block;
20
+ vertical-align: middle;
21
+ max-width: 100%;
22
+ background-color: rgba(0, 0, 0, 0.05);
23
+ }
24
+ img.ui.image {
25
+ display: block;
26
+ background: none;
27
+ }
28
+ .ui.image img {
29
+ display: block;
30
+ max-width: 100%;
31
+ height: auto;
32
+ }
33
+
34
+ /*******************************
35
+ States
36
+ *******************************/
37
+
38
+
39
+ .ui.disabled.image {
40
+ cursor: default;
41
+ opacity: 0.3;
42
+ }
43
+
44
+
45
+ /*******************************
46
+ Variations
47
+ *******************************/
48
+
49
+ /*--------------
50
+ Rounded
51
+ ---------------*/
52
+
53
+ .ui.rounded.images .image,
54
+ .ui.rounded.images img,
55
+ .ui.rounded.image img,
56
+ .ui.rounded.image {
57
+ -webkit-border-radius: 0.3125em;
58
+ -moz-border-radius: 0.3125em;
59
+ border-radius: 0.3125em;
60
+ }
61
+
62
+ /*--------------
63
+ Circular
64
+ ---------------*/
65
+
66
+ .ui.circular.images .image,
67
+ .ui.circular.images img,
68
+ .ui.circular.image img,
69
+ .ui.circular.image {
70
+ -webkit-border-radius: 500rem;
71
+ -moz-border-radius: 500rem;
72
+ border-radius: 500rem;
73
+ }
74
+
75
+ /*--------------
76
+ Fluid
77
+ ---------------*/
78
+
79
+ .ui.fluid.images,
80
+ .ui.fluid.image,
81
+ .ui.fluid.images img,
82
+ .ui.fluid.image img {
83
+ display: block;
84
+ width: 100%;
85
+ }
86
+
87
+
88
+ /*--------------
89
+ Avatar
90
+ ---------------*/
91
+
92
+ .ui.avatar.images .image,
93
+ .ui.avatar.images img,
94
+ .ui.avatar.image img,
95
+ .ui.avatar.image {
96
+ margin-right: 0.5em;
97
+
98
+ display: inline-block;
99
+ width: 2em;
100
+ height: 2em;
101
+
102
+ -webkit-border-radius: 500rem;
103
+ -moz-border-radius: 500rem;
104
+ border-radius: 500rem;
105
+ }
106
+
107
+
108
+
109
+ /*-------------------
110
+ Floated
111
+ --------------------*/
112
+
113
+ .ui.floated.image,
114
+ .ui.floated.images {
115
+ float: left;
116
+ margin-right: 1em;
117
+ margin-bottom: 1em;
118
+ }
119
+ .ui.right.floated.images,
120
+ .ui.right.floated.image {
121
+ float: right;
122
+ margin-bottom: 1em;
123
+ margin-left: 1em;
124
+ }
125
+
126
+
127
+ /*--------------
128
+ Sizes
129
+ ---------------*/
130
+
131
+ .ui.tiny.images .image,
132
+ .ui.tiny.images img,
133
+ .ui.tiny.image {
134
+ width: 20px;
135
+ font-size: 0.7rem;
136
+ }
137
+ .ui.mini.images .image,
138
+ .ui.mini.images img,
139
+ .ui.mini.image {
140
+ width: 35px;
141
+ font-size: 0.8rem;
142
+ }
143
+ .ui.small.images .image,
144
+ .ui.small.images img,
145
+ .ui.small.image {
146
+ width: 80px;
147
+ font-size: 0.9rem;
148
+ }
149
+ .ui.medium.images .image,
150
+ .ui.medium.images img,
151
+ .ui.medium.image {
152
+ width: 300px;
153
+ font-size: 1rem;
154
+ }
155
+ .ui.large.images .image,
156
+ .ui.large.images img,
157
+ .ui.large.image {
158
+ width: 450px;
159
+ font-size: 1.1rem;
160
+ }
161
+ .ui.huge.images .image,
162
+ .ui.huge.images img,
163
+ .ui.huge.image {
164
+ width: 600px;
165
+ font-size: 1.2rem;
166
+ }
167
+
168
+ /*******************************
169
+ Groups
170
+ *******************************/
171
+
172
+ .ui.images {
173
+ font-size: 0em;
174
+ margin: 0em -0.25rem 0rem;
175
+ }
176
+
177
+ .ui.images .image,
178
+ .ui.images img {
179
+ display: inline-block;
180
+ margin: 0em 0.25em 0.5em;
181
+ }