semantic-ui-sass 0.8.3.0 → 0.8.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ec316c7e4a2d3d5b5add10dd55c077668e00597
4
- data.tar.gz: d8e85bbde5a89f7053254973345530c06298735d
3
+ metadata.gz: 942616fbe61eda3e4d61c35343f276deb88110d0
4
+ data.tar.gz: 74e30f26f89ad65ffcaf46d2e9250b4b882f7d50
5
5
  SHA512:
6
- metadata.gz: c78da212afb13d9efe088a4b8aa5af3b1eb2cd38a297006123cfb000dfdca2fcd89bad1ba0fa55f8566c69923d93336dbd7b6f988287cfcd000724d5b00fa474
7
- data.tar.gz: 372bfb459e06db35b768cf5ecedd6640ba347a5eb98eed4e68d5323d41f0480f8b84a78ba0b14d8f7540a8ca16627cb19c0107ba23f7b5f550dfbe2c2145e379
6
+ metadata.gz: 890a5c36b3c41cc4e095fd2643eb4045f3d5c191ca2c1cfaff92a789defefa28ac118c1dafe9226f2e57fe17573892eb1c9f9e430d674a7df761b7beb06b76a7
7
+ data.tar.gz: 0d189237f7a38c70f479511d3749bf68fe0d810d28f07833f7b0fab6e357ea33b3759f5103da8b65ea68c60c53388764a8b6c2a0a3b0eb6d87a630465f883677
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.8.4.0
2
+
3
+ * Update Semantic UI to 0.8.4
4
+
1
5
  ## 0.8.3.0
2
6
 
3
7
  * Update Semantic UI to 0.8.3
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ## Installation and Usage
6
6
 
7
7
  ```ruby
8
- gem 'semantic-ui-sass', '~> 0.8.3.0'
8
+ gem 'semantic-ui-sass', '~> 0.8.4.0'
9
9
  ```
10
10
  or
11
11
 
@@ -319,20 +319,20 @@ $.fn.accordion = function(parameters) {
319
319
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
320
320
  : query
321
321
  ;
322
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
323
- instance = instance[value];
324
- }
325
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
322
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
326
323
  instance = instance[camelCaseValue];
327
324
  }
328
- else if( instance[value] !== undefined ) {
329
- found = instance[value];
330
- return false;
331
- }
332
325
  else if( instance[camelCaseValue] !== undefined ) {
333
326
  found = instance[camelCaseValue];
334
327
  return false;
335
328
  }
329
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
330
+ instance = instance[value];
331
+ }
332
+ else if( instance[value] !== undefined ) {
333
+ found = instance[value];
334
+ return false;
335
+ }
336
336
  else {
337
337
  module.error(error.method);
338
338
  return false;
@@ -246,7 +246,7 @@ $.fn.form = function(fields, parameters) {
246
246
  .html(errors[0])
247
247
  ;
248
248
  if(!promptExists) {
249
- if(settings.transition && $.fn.transition !== undefined) {
249
+ if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
250
250
  module.verbose('Displaying error with css transition', settings.transition);
251
251
  $prompt.transition(settings.transition + ' in', settings.duration);
252
252
  }
@@ -279,7 +279,7 @@ $.fn.form = function(fields, parameters) {
279
279
  ;
280
280
  if(settings.inline && $prompt.is(':visible')) {
281
281
  module.verbose('Removing prompt for field', field);
282
- if(settings.transition && $.fn.transition !== undefined) {
282
+ if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
283
283
  $prompt.transition(settings.transition + ' out', settings.duration, function() {
284
284
  $prompt.remove();
285
285
  });
@@ -500,20 +500,20 @@ $.fn.form = function(fields, parameters) {
500
500
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
501
501
  : query
502
502
  ;
503
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
504
- instance = instance[value];
505
- }
506
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
503
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
507
504
  instance = instance[camelCaseValue];
508
505
  }
509
- else if( instance[value] !== undefined ) {
510
- found = instance[value];
511
- return false;
512
- }
513
506
  else if( instance[camelCaseValue] !== undefined ) {
514
507
  found = instance[camelCaseValue];
515
508
  return false;
516
509
  }
510
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
511
+ instance = instance[value];
512
+ }
513
+ else if( instance[value] !== undefined ) {
514
+ found = instance[value];
515
+ return false;
516
+ }
517
517
  else {
518
518
  module.error(error.method);
519
519
  return false;
@@ -556,20 +556,20 @@ $.fn.state = function(parameters) {
556
556
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
557
557
  : query
558
558
  ;
559
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
560
- instance = instance[value];
561
- }
562
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
559
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
563
560
  instance = instance[camelCaseValue];
564
561
  }
565
- else if( instance[value] !== undefined ) {
566
- found = instance[value];
567
- return false;
568
- }
569
562
  else if( instance[camelCaseValue] !== undefined ) {
570
563
  found = instance[camelCaseValue];
571
564
  return false;
572
565
  }
566
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
567
+ instance = instance[value];
568
+ }
569
+ else if( instance[value] !== undefined ) {
570
+ found = instance[value];
571
+ return false;
572
+ }
573
573
  else {
574
574
  module.error(error.method);
575
575
  return false;
@@ -250,20 +250,20 @@ $.fn.checkbox = function(parameters) {
250
250
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
251
251
  : query
252
252
  ;
253
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
254
- instance = instance[value];
255
- }
256
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
253
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
257
254
  instance = instance[camelCaseValue];
258
255
  }
259
- else if( instance[value] !== undefined ) {
260
- found = instance[value];
261
- return false;
262
- }
263
256
  else if( instance[camelCaseValue] !== undefined ) {
264
257
  found = instance[camelCaseValue];
265
258
  return false;
266
259
  }
260
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
261
+ instance = instance[value];
262
+ }
263
+ else if( instance[value] !== undefined ) {
264
+ found = instance[value];
265
+ return false;
266
+ }
267
267
  else {
268
268
  module.error(error.method);
269
269
  return false;
@@ -155,7 +155,7 @@ $.fn.dimmer = function(parameters) {
155
155
  : function(){}
156
156
  ;
157
157
  module.set.dimmed();
158
- if($.fn.transition !== undefined && settings.useCSS) {
158
+ if(settings.useCSS && $.fn.transition !== undefined && $module.transition('is supported')) {
159
159
  $dimmer
160
160
  .transition({
161
161
  animation : settings.transition + ' in',
@@ -190,7 +190,7 @@ $.fn.dimmer = function(parameters) {
190
190
  ? callback
191
191
  : function(){}
192
192
  ;
193
- if($.fn.transition !== undefined && settings.useCSS) {
193
+ if(settings.useCSS && $.fn.transition !== undefined && $module.transition('is supported')) {
194
194
  module.verbose('Hiding dimmer with css');
195
195
  $dimmer
196
196
  .transition({
@@ -434,7 +434,7 @@ $.fn.dropdown = function(parameters) {
434
434
  if(settings.transition == 'none') {
435
435
  callback();
436
436
  }
437
- else if($.fn.transition !== undefined) {
437
+ else if($.fn.transition !== undefined && $module.transition('is supported')) {
438
438
  $currentMenu.transition({
439
439
  animation : settings.transition + ' in',
440
440
  duration : settings.duration,
@@ -482,7 +482,7 @@ $.fn.dropdown = function(parameters) {
482
482
  callback = callback || function(){};
483
483
  if(module.is.visible($currentMenu) ) {
484
484
  module.verbose('Doing menu hide animation', $currentMenu);
485
- if($.fn.transition !== undefined) {
485
+ if($.fn.transition !== undefined && $module.transition('is supported')) {
486
486
  $currentMenu.transition({
487
487
  animation : settings.transition + ' out',
488
488
  duration : settings.duration,
@@ -702,20 +702,20 @@ $.fn.dropdown = function(parameters) {
702
702
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
703
703
  : query
704
704
  ;
705
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
706
- instance = instance[value];
707
- }
708
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
705
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
709
706
  instance = instance[camelCaseValue];
710
707
  }
711
- else if( instance[value] !== undefined ) {
712
- found = instance[value];
713
- return false;
714
- }
715
708
  else if( instance[camelCaseValue] !== undefined ) {
716
709
  found = instance[camelCaseValue];
717
710
  return false;
718
711
  }
712
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
713
+ instance = instance[value];
714
+ }
715
+ else if( instance[value] !== undefined ) {
716
+ found = instance[value];
717
+ return false;
718
+ }
719
719
  else {
720
720
  module.error(error.method);
721
721
  return false;
@@ -235,7 +235,7 @@ $.fn.modal = function(parameters) {
235
235
  module.hideOthers(module.showModal);
236
236
  }
237
237
  else {
238
- if(settings.transition && $.fn.transition !== undefined) {
238
+ if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
239
239
  $module
240
240
  .transition(settings.transition + ' in', settings.duration, function() {
241
241
  module.set.active();
@@ -301,7 +301,7 @@ $.fn.modal = function(parameters) {
301
301
  if( module.is.active() ) {
302
302
  module.debug('Hiding modal');
303
303
  module.remove.keyboardShortcuts();
304
- if(settings.transition && $.fn.transition !== undefined) {
304
+ if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
305
305
  $module
306
306
  .transition(settings.transition + ' out', settings.duration, function() {
307
307
  module.remove.active();
@@ -419,20 +419,20 @@ $.fn.nag = function(parameters) {
419
419
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
420
420
  : query
421
421
  ;
422
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
423
- instance = instance[value];
424
- }
425
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
422
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
426
423
  instance = instance[camelCaseValue];
427
424
  }
428
- else if( instance[value] !== undefined ) {
429
- found = instance[value];
430
- return false;
431
- }
432
425
  else if( instance[camelCaseValue] !== undefined ) {
433
426
  found = instance[camelCaseValue];
434
427
  return false;
435
428
  }
429
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
430
+ instance = instance[value];
431
+ }
432
+ else if( instance[value] !== undefined ) {
433
+ found = instance[value];
434
+ return false;
435
+ }
436
436
  else {
437
437
  module.error(error.method);
438
438
  return false;
@@ -256,7 +256,7 @@ $.fn.popup = function(parameters) {
256
256
  $module
257
257
  .addClass(className.visible)
258
258
  ;
259
- if(settings.transition && $.fn.transition !== undefined) {
259
+ if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
260
260
  $popup
261
261
  .transition(settings.transition + ' in', settings.duration, function() {
262
262
  module.bind.close();
@@ -278,7 +278,7 @@ $.fn.popup = function(parameters) {
278
278
  hide: function(callback) {
279
279
  callback = callback || function(){};
280
280
  module.debug('Hiding pop-up');
281
- if(settings.transition && $.fn.transition !== undefined) {
281
+ if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
282
282
  $popup
283
283
  .transition(settings.transition + ' out', settings.duration, function() {
284
284
  module.reset();
@@ -309,20 +309,20 @@ $.fn.rating = function(parameters) {
309
309
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
310
310
  : query
311
311
  ;
312
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
313
- instance = instance[value];
314
- }
315
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
312
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
316
313
  instance = instance[camelCaseValue];
317
314
  }
318
- else if( instance[value] !== undefined ) {
319
- found = instance[value];
320
- return false;
321
- }
322
315
  else if( instance[camelCaseValue] !== undefined ) {
323
316
  found = instance[camelCaseValue];
324
317
  return false;
325
318
  }
319
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
320
+ instance = instance[value];
321
+ }
322
+ else if( instance[value] !== undefined ) {
323
+ found = instance[value];
324
+ return false;
325
+ }
326
326
  else {
327
327
  module.error(error.method);
328
328
  return false;
@@ -522,20 +522,20 @@ $.fn.search = function(source, parameters) {
522
522
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
523
523
  : query
524
524
  ;
525
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
526
- instance = instance[value];
527
- }
528
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
525
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
529
526
  instance = instance[camelCaseValue];
530
527
  }
531
- else if( instance[value] !== undefined ) {
532
- found = instance[value];
533
- return false;
534
- }
535
528
  else if( instance[camelCaseValue] !== undefined ) {
536
529
  found = instance[camelCaseValue];
537
530
  return false;
538
531
  }
532
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
533
+ instance = instance[value];
534
+ }
535
+ else if( instance[value] !== undefined ) {
536
+ found = instance[value];
537
+ return false;
538
+ }
539
539
  else {
540
540
  module.error(error.method);
541
541
  return false;
@@ -677,20 +677,20 @@ $.fn.shape = function(parameters) {
677
677
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
678
678
  : query
679
679
  ;
680
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
681
- instance = instance[value];
682
- }
683
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
680
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
684
681
  instance = instance[camelCaseValue];
685
682
  }
686
- else if( instance[value] !== undefined ) {
687
- found = instance[value];
688
- return false;
689
- }
690
683
  else if( instance[camelCaseValue] !== undefined ) {
691
684
  found = instance[camelCaseValue];
692
685
  return false;
693
686
  }
687
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
688
+ instance = instance[value];
689
+ }
690
+ else if( instance[value] !== undefined ) {
691
+ found = instance[value];
692
+ return false;
693
+ }
694
694
  else {
695
695
  module.error(error.method);
696
696
  return false;
@@ -413,20 +413,20 @@ $.fn.sidebar = function(parameters) {
413
413
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
414
414
  : query
415
415
  ;
416
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
417
- instance = instance[value];
418
- }
419
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
416
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
420
417
  instance = instance[camelCaseValue];
421
418
  }
422
- else if( instance[value] !== undefined ) {
423
- found = instance[value];
424
- return false;
425
- }
426
419
  else if( instance[camelCaseValue] !== undefined ) {
427
420
  found = instance[camelCaseValue];
428
421
  return false;
429
422
  }
423
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
424
+ instance = instance[value];
425
+ }
426
+ else if( instance[value] !== undefined ) {
427
+ found = instance[value];
428
+ return false;
429
+ }
430
430
  else {
431
431
  module.error(error.method);
432
432
  return false;
@@ -101,6 +101,10 @@ $.fn.transition = function() {
101
101
 
102
102
  animate: function(overrideSettings) {
103
103
  settings = overrideSettings || settings;
104
+ if(!module.is.supported()) {
105
+ module.error(error.support);
106
+ return false;
107
+ }
104
108
  module.debug('Preparing animation', settings.animation);
105
109
  if(module.is.animating()) {
106
110
  if(settings.queue) {
@@ -120,7 +124,7 @@ $.fn.transition = function() {
120
124
  if(!module.has.direction() && module.can.transition()) {
121
125
  module.set.direction();
122
126
  }
123
- if(!module.can.animate()) {
127
+ if(!module.has.transitionAvailable) {
124
128
  module.restore.conditions();
125
129
  module.error(error.noAnimation);
126
130
  return false;
@@ -172,6 +176,16 @@ $.fn.transition = function() {
172
176
  if( $module.hasClass(className.inward) || $module.hasClass(className.outward) ) {
173
177
  return true;
174
178
  }
179
+ },
180
+ transitionAvailable: function() {
181
+ if($module.css(animationName) !== 'none') {
182
+ module.debug('CSS definition found');
183
+ return true;
184
+ }
185
+ else {
186
+ module.debug('Unable to find css definition');
187
+ return false;
188
+ }
175
189
  }
176
190
  },
177
191
 
@@ -332,7 +346,7 @@ $.fn.transition = function() {
332
346
  ;
333
347
  for(animation in animations){
334
348
  if( element.style[animation] !== undefined ){
335
- module.verbose('Determining animation vendor name property', animations[animation]);
349
+ module.verbose('Determined animation vendor name property', animations[animation]);
336
350
  return animations[animation];
337
351
  }
338
352
  }
@@ -352,7 +366,7 @@ $.fn.transition = function() {
352
366
  ;
353
367
  for(animation in animations){
354
368
  if( element.style[animation] !== undefined ){
355
- module.verbose('Determining animation vendor end event', animations[animation]);
369
+ module.verbose('Determined animation vendor end event', animations[animation]);
356
370
  return animations[animation];
357
371
  }
358
372
  }
@@ -362,16 +376,6 @@ $.fn.transition = function() {
362
376
  },
363
377
 
364
378
  can: {
365
- animate: function() {
366
- if($module.css(animationName) !== 'none') {
367
- module.debug('CSS definition found');
368
- return true;
369
- }
370
- else {
371
- module.debug('Unable to find css definition');
372
- return false;
373
- }
374
- },
375
379
  transition: function() {
376
380
  var
377
381
  $clone = $('<div>').addClass( $module.attr('class') ).appendTo($('body')),
@@ -400,6 +404,9 @@ $.fn.transition = function() {
400
404
  },
401
405
  visible: function() {
402
406
  return $module.is(':visible');
407
+ },
408
+ supported: function() {
409
+ return(animationName !== false && animationEnd !== false);
403
410
  }
404
411
  },
405
412
 
@@ -555,21 +562,22 @@ $.fn.transition = function() {
555
562
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
556
563
  : query
557
564
  ;
558
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
559
- instance = instance[value];
560
- }
561
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
565
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
562
566
  instance = instance[camelCaseValue];
563
567
  }
564
- else if( instance[value] !== undefined ) {
565
- found = instance[value];
566
- return false;
567
- }
568
568
  else if( instance[camelCaseValue] !== undefined ) {
569
569
  found = instance[camelCaseValue];
570
570
  return false;
571
571
  }
572
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
573
+ instance = instance[value];
574
+ }
575
+ else if( instance[value] !== undefined ) {
576
+ found = instance[value];
577
+ return false;
578
+ }
572
579
  else {
580
+ module.error(error.method);
573
581
  return false;
574
582
  }
575
583
  });
@@ -589,7 +597,7 @@ $.fn.transition = function() {
589
597
  else if(response !== undefined) {
590
598
  returnedValue = response;
591
599
  }
592
- return found || false;
600
+ return found;
593
601
  }
594
602
  };
595
603
  module.initialize();
@@ -645,7 +653,8 @@ $.fn.transition.settings = {
645
653
  // possible errors
646
654
  error: {
647
655
  noAnimation : 'There is no css animation matching the one you specified.',
648
- method : 'The method you called is not defined'
656
+ method : 'The method you called is not defined',
657
+ support : 'This browser does not support CSS animations'
649
658
  }
650
659
 
651
660
  };
@@ -348,20 +348,20 @@ $.fn.video = function(parameters) {
348
348
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
349
349
  : query
350
350
  ;
351
- if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
352
- instance = instance[value];
353
- }
354
- else if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
351
+ if( $.isPlainObject( instance[camelCaseValue] ) && (depth != maxDepth) ) {
355
352
  instance = instance[camelCaseValue];
356
353
  }
357
- else if( instance[value] !== undefined ) {
358
- found = instance[value];
359
- return false;
360
- }
361
354
  else if( instance[camelCaseValue] !== undefined ) {
362
355
  found = instance[camelCaseValue];
363
356
  return false;
364
357
  }
358
+ else if( $.isPlainObject( instance[value] ) && (depth != maxDepth) ) {
359
+ instance = instance[value];
360
+ }
361
+ else if( instance[value] !== undefined ) {
362
+ found = instance[value];
363
+ return false;
364
+ }
365
365
  else {
366
366
  module.error(error.method);
367
367
  return false;
@@ -63,7 +63,6 @@
63
63
  ---------------------*/
64
64
 
65
65
  .ui.form textarea,
66
- .ui.form select,
67
66
  .ui.form input[type="text"],
68
67
  .ui.form input[type="email"],
69
68
  .ui.form input[type="date"],
@@ -75,7 +74,6 @@
75
74
  }
76
75
 
77
76
  .ui.form textarea,
78
- .ui.form select,
79
77
  .ui.form input[type="text"],
80
78
  .ui.form input[type="email"],
81
79
  .ui.form input[type="date"],
@@ -180,8 +178,7 @@
180
178
  .ui.form input[type="password"]:focus,
181
179
  .ui.form input[type="number"]:focus,
182
180
  .ui.form input[type="tel"]:focus,
183
- .ui.form textarea:focus,
184
- .ui.form select:focus {
181
+ .ui.form textarea:focus {
185
182
  color: rgba(0, 0, 0, 0.85);
186
183
  border-color: rgba(0, 0, 0, 0.2);
187
184
  border-bottom-left-radius: 0;
@@ -548,8 +545,7 @@
548
545
  .ui.small.form input[type="password"],
549
546
  .ui.small.form input[type="number"],
550
547
  .ui.small.form input[type="tel"],
551
- .ui.small.form label,
552
- .ui.small.form select {
548
+ .ui.small.form label {
553
549
  font-size: 1em;
554
550
  }
555
551
 
@@ -8,5 +8,6 @@
8
8
  @import 'label';
9
9
  @import 'loader';
10
10
  @import 'progress';
11
+ @import 'reveal';
11
12
  @import 'segment';
12
13
  @import 'step';
@@ -0,0 +1,322 @@
1
+ /*
2
+ * # Semantic - Reveal
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
+ Reveal
14
+ *******************************/
15
+
16
+ .ui.reveal {
17
+ display: inline-block;
18
+ position: relative !important;
19
+ z-index: 2 !important;
20
+ font-size: 0em !important;
21
+ }
22
+
23
+ .ui.reveal > .content {
24
+ font-size: 1rem !important;
25
+ }
26
+
27
+ .ui.reveal > .visible.content {
28
+ -webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s;
29
+ transition: all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s;
30
+ }
31
+
32
+ .ui.reveal > .visible.content {
33
+ position: absolute !important;
34
+ top: 0em !important;
35
+ left: 0em !important;
36
+ z-index: 4 !important;
37
+ -webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s;
38
+ transition: all 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s;
39
+ }
40
+
41
+ .ui.reveal > .hidden.content {
42
+ position: relative !important;
43
+ z-index: 3 !important;
44
+ }
45
+
46
+ /*------------------
47
+ Loose Coupling
48
+ -------------------*/
49
+
50
+ .ui.reveal.button {
51
+ overflow: hidden;
52
+ }
53
+
54
+ /*******************************
55
+ Types
56
+ *******************************/
57
+
58
+ /*--------------
59
+ Slide
60
+ ---------------*/
61
+
62
+ .ui.slide.reveal {
63
+ position: relative !important;
64
+ display: block;
65
+ overflow: hidden !important;
66
+ white-space: nowrap;
67
+ }
68
+
69
+ .ui.slide.reveal > .content {
70
+ display: block;
71
+ float: left;
72
+ -webkit-box-sizing: border-box;
73
+ -moz-box-sizing: border-box;
74
+ -ms-box-sizing: border-box;
75
+ box-sizing: border-box;
76
+ margin: 0em;
77
+ -webkit-transition: top 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
78
+ left 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
79
+ right 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
80
+ bottom 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s;
81
+ transition: top 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
82
+ left 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
83
+ right 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s,
84
+ bottom 0.8s cubic-bezier(0.175, 0.885, 0.320, 1) 0.15s;
85
+ }
86
+
87
+ .ui.slide.reveal > .visible.content {
88
+ position: relative !important;
89
+ }
90
+
91
+ .ui.slide.reveal > .hidden.content {
92
+ position: absolute !important;
93
+ left: 100% !important;
94
+ width: 100% !important;
95
+ }
96
+
97
+ .ui.slide.reveal:hover > .visible.content {
98
+ left: -100% !important;
99
+ }
100
+
101
+ .ui.slide.reveal:hover > .hidden.content {
102
+ left: 0% !important;
103
+ }
104
+
105
+ .ui.right.slide.reveal > .visible.content {
106
+ left: 0%;
107
+ }
108
+
109
+ .ui.right.slide.reveal > .hidden.content {
110
+ left: auto !important;
111
+ right: 100% !important;
112
+ }
113
+
114
+ .ui.right.slide.reveal:hover > .visible.content {
115
+ left: 100% !important;
116
+ right: auto !important;
117
+ }
118
+
119
+ .ui.right.slide.reveal:hover > .hidden.content {
120
+ left: auto !important;
121
+ right: 0% !important;
122
+ }
123
+
124
+ .ui.up.slide.reveal > .visible.content {
125
+ top: 0% !important;
126
+ left: 0% !important;
127
+ right: auto !important;
128
+ bottom: auto !important;
129
+ }
130
+
131
+ .ui.up.slide.reveal > .hidden.content {
132
+ top: 100% !important;
133
+ left: 0% !important;
134
+ right: auto !important;
135
+ bottom: auto !important;
136
+ }
137
+
138
+ .ui.slide.up.reveal:hover > .visible.content {
139
+ top: -100% !important;
140
+ left: 0% !important;
141
+ }
142
+
143
+ .ui.slide.up.reveal:hover > .hidden.content {
144
+ top: 0% !important;
145
+ left: 0% !important;
146
+ }
147
+
148
+ .ui.down.slide.reveal > .visible.content {
149
+ top: auto !important;
150
+ right: auto !important;
151
+ bottom: auto !important;
152
+ bottom: 0% !important;
153
+ }
154
+
155
+ .ui.down.slide.reveal > .hidden.content {
156
+ top: auto !important;
157
+ right: auto !important;
158
+ bottom: 100% !important;
159
+ left: 0% !important;
160
+ }
161
+
162
+ .ui.slide.down.reveal:hover > .visible.content {
163
+ left: 0% !important;
164
+ bottom: -100% !important;
165
+ }
166
+
167
+ .ui.slide.down.reveal:hover > .hidden.content {
168
+ left: 0% !important;
169
+ bottom: 0% !important;
170
+ }
171
+
172
+ /*--------------
173
+ Fade
174
+ ---------------*/
175
+
176
+ .ui.fade.reveal > .visible.content {
177
+ opacity: 1;
178
+ }
179
+
180
+ .ui.fade.reveal:hover > .visible.content {
181
+ opacity: 0;
182
+ }
183
+
184
+ /*--------------
185
+ Move
186
+ ---------------*/
187
+
188
+ .ui.move.reveal > .visible.content,
189
+ .ui.move.left.reveal > .visible.content {
190
+ left: auto !important;
191
+ top: auto !important;
192
+ bottom: auto !important;
193
+ right: 0% !important;
194
+ }
195
+
196
+ .ui.move.reveal:hover > .visible.content,
197
+ .ui.move.left.reveal:hover > .visible.content {
198
+ right: 100% !important;
199
+ }
200
+
201
+ .ui.move.right.reveal > .visible.content {
202
+ right: auto !important;
203
+ top: auto !important;
204
+ bottom: auto !important;
205
+ left: 0% !important;
206
+ }
207
+
208
+ .ui.move.right.reveal:hover > .visible.content {
209
+ left: 100% !important;
210
+ }
211
+
212
+ .ui.move.up.reveal > .visible.content {
213
+ right: auto !important;
214
+ left: auto !important;
215
+ top: auto !important;
216
+ bottom: 0% !important;
217
+ }
218
+
219
+ .ui.move.up.reveal:hover > .visible.content {
220
+ bottom: 100% !important;
221
+ }
222
+
223
+ .ui.move.down.reveal > .visible.content {
224
+ right: auto !important;
225
+ left: auto !important;
226
+ bottom: auto !important;
227
+ top: 0% !important;
228
+ bottom: auto !important;
229
+ }
230
+
231
+ .ui.move.down.reveal:hover > .visible.content {
232
+ top: 100% !important;
233
+ }
234
+
235
+ /*--------------
236
+ Rotate
237
+ ---------------*/
238
+
239
+ .ui.rotate.reveal > .visible.content {
240
+ -webkit-transition-duration: 0.8s;
241
+ transition-duration: 0.8s;
242
+ -webkit-transform: rotate(0deg);
243
+ -ms-transform: rotate(0deg);
244
+ transform: rotate(0deg);
245
+ }
246
+
247
+ .ui.rotate.reveal > .visible.content,
248
+ .ui.rotate.right.reveal > .visible.content {
249
+ -webkit-transform-origin: bottom right;
250
+ -ms-transform-origin: bottom right;
251
+ transform-origin: bottom right;
252
+ }
253
+
254
+ .ui.rotate.reveal:hover > .visible.content,
255
+ .ui.rotate.right.reveal:hover > .visible.content {
256
+ -webkit-transform: rotate(110deg);
257
+ -ms-transform: rotate(110deg);
258
+ transform: rotate(110deg);
259
+ }
260
+
261
+ .ui.rotate.left.reveal > .visible.content {
262
+ -webkit-transform-origin: bottom left;
263
+ -ms-transform-origin: bottom left;
264
+ transform-origin: bottom left;
265
+ }
266
+
267
+ .ui.rotate.left.reveal:hover > .visible.content {
268
+ -webkit-transform: rotate(-110deg);
269
+ -ms-transform: rotate(-110deg);
270
+ transform: rotate(-110deg);
271
+ }
272
+
273
+ /*******************************
274
+ States
275
+ *******************************/
276
+
277
+ .ui.disabled.reveal {
278
+ opacity: 1 !important;
279
+ }
280
+
281
+ .ui.disabled.reveal > .content {
282
+ -webkit-transition: none !important;
283
+ transition: none !important;
284
+ }
285
+
286
+ .ui.disabled.reveal:hover > .visible.content {
287
+ position: static !important;
288
+ display: block !important;
289
+ opacity: 1 !important;
290
+ top: 0 !important;
291
+ left: 0 !important;
292
+ right: auto !important;
293
+ bottom: auto !important;
294
+ -webkit-transform: none !important;
295
+ -ms-transform: none !important;
296
+ transform: none !important;
297
+ }
298
+
299
+ .ui.disabled.reveal:hover > .hidden.content {
300
+ display: none !important;
301
+ }
302
+
303
+ /*******************************
304
+ Variations
305
+ *******************************/
306
+
307
+ /*--------------
308
+ Masked
309
+ ---------------*/
310
+
311
+ .ui.masked.reveal {
312
+ overflow: hidden;
313
+ }
314
+
315
+ /*--------------
316
+ Instant
317
+ ---------------*/
318
+
319
+ .ui.instant.reveal > .content {
320
+ -webkit-transition-delay: 0s !important;
321
+ transition-delay: 0s !important;
322
+ }
@@ -7,7 +7,6 @@
7
7
  @import 'nag';
8
8
  @import 'popup';
9
9
  @import 'rating';
10
- @import 'reveal';
11
10
  @import 'search';
12
11
  @import 'shape';
13
12
  @import 'sidebar';
@@ -1,8 +1,8 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Sass
4
- VERSION = "0.8.3.0"
5
- SEMANTIC_UI_SHA = '26f96b2372f85e723e6c6679409467947806f683'
4
+ VERSION = "0.8.4.0"
5
+ SEMANTIC_UI_SHA = '6f86381332731196f7812d36f379b5dd18065de6'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic-ui-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3.0
4
+ version: 0.8.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - doabit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-30 00:00:00.000000000 Z
11
+ date: 2013-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -206,6 +206,7 @@ files:
206
206
  - app/assets/stylesheets/semantic-ui/elements/_label.scss
207
207
  - app/assets/stylesheets/semantic-ui/elements/_loader.scss
208
208
  - app/assets/stylesheets/semantic-ui/elements/_progress.scss
209
+ - app/assets/stylesheets/semantic-ui/elements/_reveal.scss
209
210
  - app/assets/stylesheets/semantic-ui/elements/_segment.scss
210
211
  - app/assets/stylesheets/semantic-ui/elements/_step.scss
211
212
  - app/assets/stylesheets/semantic-ui/modules/_accordion.scss