semantic-ui-rails 0.9.3 → 0.9.5

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: d80aabefa4f0ba1c36b015ef4d3376a903f2d01d
4
- data.tar.gz: 31d9df6c9d6c9230bef60a5ffbb62f65e55517fc
3
+ metadata.gz: a3a4fb64c5af5df81b1706a00f8fb56c0f54d243
4
+ data.tar.gz: 975a4427e3d69096d59f9b9fc8fabcd30fb22aa1
5
5
  SHA512:
6
- metadata.gz: f9e7e5c22f26f43eca0ecf5e3e1a9dae5d80f79bd613865836e88b153ebeccde9868d657c70bbedbe7a024cfca1c679509c65f7c06699ce85237db26869bc786
7
- data.tar.gz: 339f595b66d172a00ac8dd8affe175fdb40a9b727fef491b018e27622e30556b7653ca8440e7d054e41f86e9517cce95bbcb2ed00b60c53b7f62bf904029bcc6
6
+ metadata.gz: d2a455088c4680322c04a276b478c59e2efe95d1363213cfc1432bfab5c28beb35afb29587b77496f8e697fcb4c4a095420134691e7eef35be0ed111d51025bd
7
+ data.tar.gz: 1bfcd1137e380f3784eb534788d5de8698a42190416898e1af54af9d1c5171cef651d4813545552a8e492d0274efaefa4e9ec6c49a4c6f6b4f9674696850598b
@@ -638,7 +638,7 @@ $.fn.form.settings = {
638
638
  },
639
639
  email: function(value){
640
640
  var
641
- emailRegExp = new RegExp("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?")
641
+ emailRegExp = new RegExp("[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?", "i")
642
642
  ;
643
643
  return emailRegExp.test(value);
644
644
  },
@@ -330,7 +330,7 @@ $.fn.dropdown = function(parameters) {
330
330
  ? module.get.value()
331
331
  : module.get.text()
332
332
  ;
333
- if(value) {
333
+ if(value !== undefined) {
334
334
  $item
335
335
  .each(function() {
336
336
  var
@@ -226,7 +226,6 @@ $.fn.modal = function(parameters) {
226
226
  : function(){}
227
227
  ;
228
228
  if( !module.is.active() ) {
229
- module.debug('Showing modal');
230
229
  module.cacheSizes();
231
230
  module.set.position();
232
231
  module.set.type();
@@ -237,6 +236,7 @@ $.fn.modal = function(parameters) {
237
236
  }
238
237
  else {
239
238
  if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
239
+ module.debug('Showing modal with css animations');
240
240
  $module
241
241
  .transition(settings.transition + ' in', settings.duration, function() {
242
242
  module.set.active();
@@ -245,6 +245,7 @@ $.fn.modal = function(parameters) {
245
245
  ;
246
246
  }
247
247
  else {
248
+ module.debug('Showing modal with javascript');
248
249
  $module
249
250
  .fadeIn(settings.duration, settings.easing, function() {
250
251
  module.set.active();
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Semantic - Dropdown
2
+ * # Semantic - Sidebar
3
3
  * http://github.com/jlukic/semantic-ui/
4
4
  *
5
5
  *
@@ -510,4 +510,4 @@ $.fn.sidebar.settings = {
510
510
 
511
511
  };
512
512
 
513
- })( jQuery, window , document );
513
+ })( jQuery, window , document );
@@ -124,7 +124,7 @@ $.fn.transition = function() {
124
124
  if(!module.has.direction() && module.can.transition()) {
125
125
  module.set.direction();
126
126
  }
127
- if(!module.has.transitionAvailable) {
127
+ if( !module.has.transitionAvailable() ) {
128
128
  module.restore.conditions();
129
129
  module.error(error.noAnimation);
130
130
  return false;
@@ -69,6 +69,7 @@
69
69
  .ui.form input[type="date"],
70
70
  .ui.form input[type="password"],
71
71
  .ui.form input[type="number"],
72
+ .ui.form input[type="url"],
72
73
  .ui.form input[type="tel"],
73
74
  .ui.form .ui.input {
74
75
  width: 100%;
@@ -80,7 +81,8 @@
80
81
  .ui.form input[type="date"],
81
82
  .ui.form input[type="password"],
82
83
  .ui.form input[type="number"],
83
- .ui.form input[type="tel"]{
84
+ .ui.form input[type="url"],
85
+ .ui.form input[type="tel"] {
84
86
 
85
87
  margin: 0em;
86
88
  padding: 0.85em 1.2em;
@@ -209,6 +211,7 @@
209
211
  .ui.form input[type="date"]:focus,
210
212
  .ui.form input[type="password"]:focus,
211
213
  .ui.form input[type="number"]:focus,
214
+ .ui.form input[type="url"]:focus,
212
215
  .ui.form input[type="tel"]:focus,
213
216
  .ui.form textarea:focus{
214
217
  color: rgba(0, 0, 0, 0.85);
@@ -261,6 +264,7 @@
261
264
  .ui.form .fields.error .field input[type="date"],
262
265
  .ui.form .fields.error .field input[type="password"],
263
266
  .ui.form .fields.error .field input[type="number"],
267
+ .ui.form .fields.error .field input[type="url"],
264
268
  .ui.form .fields.error .field input[type="tel"],
265
269
  .ui.form .field.error textarea,
266
270
  .ui.form .field.error input[type="text"],
@@ -268,7 +272,8 @@
268
272
  .ui.form .field.error input[type="date"],
269
273
  .ui.form .field.error input[type="password"],
270
274
  .ui.form .field.error input[type="number"],
271
- .ui.form .field.error input[type="tel"]{
275
+ .ui.form .field.error input[type="url"],
276
+ .ui.form .field.error input[type="tel"] {
272
277
  background-color: #FFFAFA;
273
278
  border-color: #E7BEBE;
274
279
  border-left: none;
@@ -289,6 +294,7 @@
289
294
  .ui.form .field.error input[type="date"]:focus,
290
295
  .ui.form .field.error input[type="password"]:focus,
291
296
  .ui.form .field.error input[type="number"]:focus,
297
+ .ui.form .field.error input[type="url"]:focus,
292
298
  .ui.form .field.error input[type="tel"]:focus{
293
299
  border-color: rgba(255, 80, 80, 1);
294
300
  color: rgba(255, 80, 80, 1);
@@ -425,6 +431,7 @@
425
431
  .ui.inverted.form .field.error input[type="date"],
426
432
  .ui.inverted.form .field.error input[type="password"],
427
433
  .ui.inverted.form .field.error input[type="number"],
434
+ .ui.inverted.form .field.error input[type="url"],
428
435
  .ui.inverted.form .field.error input[type="tel"]{
429
436
  background-color: #FFCCCC;
430
437
  }
@@ -561,6 +568,7 @@
561
568
  .ui.small.form input[type="date"],
562
569
  .ui.small.form input[type="password"],
563
570
  .ui.small.form input[type="number"],
571
+ .ui.small.form input[type="url"],
564
572
  .ui.small.form input[type="tel"],
565
573
  .ui.small.form label{
566
574
  font-size: 1em;
@@ -31,7 +31,7 @@
31
31
  -webkit-border-radius: 5px;
32
32
  -moz-border-radius: 5px;
33
33
  border-radius: 5px;
34
-
34
+
35
35
  -webkit-user-select: text;
36
36
  -moz-user-select: text;
37
37
  -ms-user-select: text;
@@ -132,7 +132,7 @@ a.ui.nag {
132
132
  Bottom
133
133
  ---------------*/
134
134
 
135
- .ui.botton.nag {
135
+ .ui.bottom.nag {
136
136
  -webkit-border-radius: 5px 5px 0px 0px;
137
137
  -moz-border-radius: 5px 5px 0px 0px;
138
138
  border-radius: 5px 5px 0px 0px;
@@ -79,6 +79,14 @@ body {
79
79
  ;
80
80
  }
81
81
 
82
+ /*-------------------
83
+ Coupling
84
+ --------------------*/
85
+
86
+ body.pushed.scrolling.ui.dimmable {
87
+ position: static;
88
+ }
89
+
82
90
 
83
91
  /*******************************
84
92
  Types
@@ -88,8 +96,11 @@ body {
88
96
  Direction
89
97
  --------------------*/
90
98
 
91
-
92
- .ui.right.sidebar {
99
+ .ui.right.very.thin.sidebar,
100
+ .ui.right.thin.sidebar,
101
+ .ui.right.sidebar,
102
+ .ui.right.wide.sidebar,
103
+ .ui.right.very.wide.sidebar {
93
104
  left: 100%;
94
105
  margin: 0px !important;
95
106
  }
@@ -1,7 +1,7 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Rails
4
- VERSION = "0.9.3"
4
+ VERSION = "0.9.5"
5
5
  end
6
6
  end
7
7
  end
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.9.3
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - nd0ut
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-19 00:00:00.000000000 Z
11
+ date: 2013-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: less-rails