semantic-ui-sass 0.9.2.0 → 0.9.3.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: 79ebf2c4a73936fa2a2be8a540fa71754ae25cea
4
- data.tar.gz: 6106367f78bc7fa3b78c21f9af108d774a6c6f52
3
+ metadata.gz: 933bdcf6cfe3af17e4a3409d52db5c8d3ba43e8d
4
+ data.tar.gz: 63992307ab53a0bd77cc1d95e03ecc7898fb49dd
5
5
  SHA512:
6
- metadata.gz: 18e46e6317b497abbb73be3f25d35406cb3439e57cdf6d31ddd7c288382fdb245020020aee7c0872ce7023fce4d8699ee489c93074ec9eaba8c31d5fa436d94d
7
- data.tar.gz: 89b476f9d7806cedc5005c04e92e08d87634ded6d9e2befb62d888a77d98fb1f43ab5824046174e84840dd595fcc2551c9890b665b0e3f599804fa7b30e569dd
6
+ metadata.gz: 59e6ae5ca61c0857f2cb8e39010f4a4b7a103e661fb6457a3edb3ca5522f208383aec3b801a31b3d24f1a37e9c68d80d0961c8ae1aaa39b1c4f9dc9d04882be9
7
+ data.tar.gz: 11e4eba43186d21da3e63b2c3809ba02369fd593791eeeeca2f621c21e2dc3b4f0e89424eda3c291f99b800e2a50490e597c1cb43e4d615dfbca5d087a418bd1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.9.3.0
2
+
3
+ * Update Semantic UI to 0.9.3
4
+
1
5
  ## 0.9.2.0
2
6
 
3
7
  * Update Semantic UI to 0.9.2
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ## Installation and Usage
6
6
 
7
7
  ```ruby
8
- gem 'semantic-ui-sass', '~> 0.9.2.0'
8
+ gem 'semantic-ui-sass', '~> 0.9.3.0'
9
9
  ```
10
10
  or
11
11
 
@@ -406,7 +406,7 @@ $.fn.accordion.settings = {
406
406
  selector : {
407
407
  title : '.title',
408
408
  content : '.content'
409
- },
409
+ }
410
410
 
411
411
 
412
412
  };
@@ -164,7 +164,7 @@ $.fn.dimmer = function(parameters) {
164
164
  complete : function() {
165
165
  module.set.active();
166
166
  callback();
167
- },
167
+ }
168
168
  })
169
169
  ;
170
170
  }
@@ -210,8 +210,12 @@ $.fn.dropdown = function(parameters) {
210
210
  click: function (event) {
211
211
  var
212
212
  $choice = $(this),
213
- text = $choice.data(metadata.text) || $choice.text(),
214
- value = $choice.data(metadata.value) || text.toLowerCase()
213
+ text = ( $choice.data(metadata.text) !== undefined )
214
+ ? $choice.data(metadata.text)
215
+ : $choice.text(),
216
+ value = ( $choice.data(metadata.value) !== undefined)
217
+ ? $choice.data(metadata.value)
218
+ : text.toLowerCase()
215
219
  ;
216
220
  if( $choice.find(selector.menu).size() === 0 ) {
217
221
  module.determine.selectAction(text, value);
@@ -322,15 +326,21 @@ $.fn.dropdown = function(parameters) {
322
326
  ;
323
327
  value = (value !== undefined)
324
328
  ? value
325
- : ( module.get.value() || module.get.text() )
329
+ : ( module.get.value() !== undefined)
330
+ ? module.get.value()
331
+ : module.get.text()
326
332
  ;
327
333
  if(value) {
328
334
  $item
329
335
  .each(function() {
330
336
  var
331
337
  $choice = $(this),
332
- optionText = $choice.data(metadata.text) || $choice.text(),
333
- optionValue = $choice.data(metadata.value) || optionText.toLowerCase()
338
+ optionText = ( $choice.data(metadata.text) !== undefined )
339
+ ? $choice.data(metadata.text)
340
+ : $choice.text(),
341
+ optionValue = ( $choice.data(metadata.value) !== undefined )
342
+ ? $choice.data(metadata.value)
343
+ : optionText.toLowerCase()
334
344
  ;
335
345
  if( optionValue == value || optionText == value ) {
336
346
  $selectedItem = $(this);
@@ -369,7 +379,10 @@ $.fn.dropdown = function(parameters) {
369
379
  ;
370
380
  if($selectedItem) {
371
381
  module.debug('Setting selected menu item to', $selectedItem);
372
- selectedText = $selectedItem.data(metadata.text) || $selectedItem.text();
382
+ selectedText = ($selectedItem.data(metadata.text) !== undefined)
383
+ ? $selectedItem.data(metadata.text)
384
+ : $selectedItem.text()
385
+ ;
373
386
  $item
374
387
  .removeClass(className.active)
375
388
  ;
@@ -783,7 +796,7 @@ $.fn.dropdown.settings = {
783
796
  transition : 'slide down',
784
797
  duration : 250,
785
798
 
786
- onChange : function(){},
799
+ onChange : function(value, text){},
787
800
  onShow : function(){},
788
801
  onHide : function(){},
789
802
 
@@ -676,7 +676,7 @@ $.fn.modal.settings = {
676
676
  className : {
677
677
  active : 'active',
678
678
  scrolling : 'scrolling'
679
- },
679
+ }
680
680
  };
681
681
 
682
682
 
@@ -81,7 +81,7 @@
81
81
  Hover
82
82
  ---------------*/
83
83
 
84
- .ui.button:not(.loading):hover {
84
+ .ui.button:hover {
85
85
  background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
86
86
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
87
87
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
@@ -101,8 +101,8 @@
101
101
  Down
102
102
  ---------------*/
103
103
 
104
- .ui.button:not(.loading):active,
105
- .ui.active.button:not(.loading):active {
104
+ .ui.button:active,
105
+ .ui.active.button:active {
106
106
  background-color: #F1F1F1;
107
107
  color: rgba(0, 0, 0, 0.7);
108
108
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset !important;
@@ -347,6 +347,14 @@
347
347
  box-shadow: none;
348
348
  }
349
349
 
350
+ .ui.inverted.segment .segment {
351
+ color: rgba(0, 0, 0, 0.7);
352
+ }
353
+
354
+ .ui.inverted.segment .inverted.segment {
355
+ color: #FFFFFF;
356
+ }
357
+
350
358
  .ui.inverted.segment,
351
359
  .ui.primary.inverted.segment {
352
360
  background-color: #222222;
@@ -25,6 +25,10 @@
25
25
  background-color: #FFFFFF;
26
26
  border: 1px solid #DDDDDD;
27
27
  border-radius: 5px;
28
+ -webkit-user-select: text;
29
+ -moz-user-select: text;
30
+ -ms-user-select: text;
31
+ user-select: text;
28
32
  }
29
33
 
30
34
  /*******************************
@@ -113,7 +113,7 @@ ol.ui.list li,
113
113
  }
114
114
 
115
115
  .ui.list .item > .icon + .content {
116
- float: left;
116
+ display: table-cell;
117
117
  vertical-align: top;
118
118
  }
119
119
 
@@ -1,8 +1,8 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Sass
4
- VERSION = "0.9.2.0"
5
- SEMANTIC_UI_SHA = '2fd79f9386e1fbef498399f88deedb979d4ae3dd'
4
+ VERSION = "0.9.3.0"
5
+ SEMANTIC_UI_SHA = 'c1c40d8c7bfd2b01a042f8dbddd5398f219dd77e'
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.9.2.0
4
+ version: 0.9.3.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-11-09 00:00:00.000000000 Z
11
+ date: 2013-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -305,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
305
305
  version: '0'
306
306
  requirements: []
307
307
  rubyforge_project:
308
- rubygems_version: 2.0.3
308
+ rubygems_version: 2.1.11
309
309
  signing_key:
310
310
  specification_version: 4
311
311
  summary: Semantic UI, converted to Sass and ready to drop into Rails & Compass.