semantic-ui-sass 0.15.4.2 → 0.15.5.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: 72bfddb17f0eace847a5d30710863c1bf464ab78
4
- data.tar.gz: e3555bafae0ede1caa4d0216f54aaa8f4553a3cc
3
+ metadata.gz: 0b8f73befe8103b136dc4f6a7a5a7de44fb1bf98
4
+ data.tar.gz: cb6ac9c96e0934e853018819a7d530dddc0eb5d4
5
5
  SHA512:
6
- metadata.gz: f338e0300e9376ec0f81fb91e0fb59667aee962467be4db5220eb63d1b7bacf653fe811f3bc03704bc3a6b96fb38f7c69712006a9b8b69c6bb4b9b7ef735dd9b
7
- data.tar.gz: 44f7c62745b96db708230fb39118206809cc3c290347790d7d8ec064057d961dac242b4ff8d6746ff90534ad478a0d620a45955bc2ef1e8770db6399a30f7a4a
6
+ metadata.gz: a712dad21e3f14a6ba2be8a0e658a4ed681ad9ee64397184a931bdcabf3d69c775bcc8427a2b4053961526c9f57103b11892fdb53906f9b94cd6b684329cd75f
7
+ data.tar.gz: 0c769d3453da108fc4a7cdff5eaf613690daea795c8882a0c6eb64da79293c06a0978aeba021f9601230d4886a6cee2935c1781177698947ceba8ab5b72ea796
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.15.5.0
2
+
3
+ * Update Semantic UI to 0.15.5
4
+
1
5
  ## 0.15.4.2
2
6
 
3
7
  * Fix netsted import error
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ## Installation and Usage
6
6
 
7
7
  ```ruby
8
- gem 'semantic-ui-sass', '~> 0.15.4.2'
8
+ gem 'semantic-ui-sass', '~> 0.15.5.0'
9
9
  ```
10
10
  or
11
11
 
@@ -130,11 +130,13 @@ $.fn.checkbox = function(parameters) {
130
130
 
131
131
  toggle: function(event) {
132
132
  module.verbose('Determining new checkbox state');
133
- if( module.is.disabled() ) {
134
- module.enable();
135
- }
136
- else if( module.is.enabled() && module.can.disable() ) {
137
- module.disable();
133
+ if( !$input.prop('disabled') ) {
134
+ if( module.is.disabled() ) {
135
+ module.enable();
136
+ }
137
+ else if( module.is.enabled() && module.can.disable() ) {
138
+ module.disable();
139
+ }
138
140
  }
139
141
  },
140
142
  setting: function(name, value) {
@@ -78,7 +78,7 @@ $.fn.modal = function(parameters) {
78
78
  $dimmable = $context
79
79
  .dimmer({
80
80
  closable : false,
81
- useCSS : true,
81
+ useCSS : false,
82
82
  duration : {
83
83
  show : settings.duration * 0.9,
84
84
  hide : settings.duration * 1.1
@@ -1,13 +1,5 @@
1
-
2
- //= depend_on_asset "semantic-ui/loader-large.gif"
3
- //= depend_on_asset "semantic-ui/loader-mini.gif"
4
- //= depend_on_asset "semantic-ui/loader-small.gif"
5
- //= depend_on_asset "semantic-ui/loader-medium.gif"
6
- //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
7
- //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
8
- //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
9
- //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
10
- /*
1
+ @import '../depends/loader';
2
+ /*
11
3
  * # Semantic - Form
12
4
  * http://github.com/jlukic/semantic-ui/
13
5
  *
@@ -1,13 +1,5 @@
1
-
2
- //= depend_on_asset "semantic-ui/loader-large.gif"
3
- //= depend_on_asset "semantic-ui/loader-mini.gif"
4
- //= depend_on_asset "semantic-ui/loader-small.gif"
5
- //= depend_on_asset "semantic-ui/loader-medium.gif"
6
- //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
7
- //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
8
- //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
9
- //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
10
- /*
1
+ @import '../depends/loader';
2
+ /*
11
3
  * # Semantic - Menu
12
4
  * http://github.com/jlukic/semantic-ui/
13
5
  *
@@ -119,11 +119,16 @@
119
119
  .ui.message > .close.icon {
120
120
  cursor: pointer;
121
121
  position: absolute;
122
- top: 1em;
123
- right: 0.5em;
122
+ right: 0em;
123
+ top: 0em;
124
+ width: 2.5em;
125
+ height: 2.5em;
124
126
  opacity: 0.7;
127
+ padding: 0.75em 0em 0em 0.75em;
128
+ z-index: 2;
125
129
  -webkit-transition: opacity 0.1s linear;
126
130
  transition: opacity 0.1s linear;
131
+ z-index: 10;
127
132
  }
128
133
 
129
134
  .ui.message > .close.icon:hover {
@@ -134,14 +139,17 @@
134
139
  States
135
140
  *******************************/
136
141
 
137
- .ui.message.visible,
138
- .ui.header.visible {
142
+ .ui.message.visible {
139
143
  display: block !important;
140
144
  }
141
145
 
142
- .ui.message.hidden,
143
- .ui.header.hidden {
144
- display: none;
146
+ .ui.icon.message.animating,
147
+ .ui.icon.message.visible {
148
+ display: table !important;
149
+ }
150
+
151
+ .ui.message.hidden {
152
+ display: none !important;
145
153
  }
146
154
 
147
155
  /*******************************
@@ -1,7 +1,4 @@
1
- //= depend_on_asset "semantic-ui/basic.icons.eot"
2
- //= depend_on_asset "semantic-ui/basic.icons.svg"
3
- //= depend_on_asset "semantic-ui/basic.icons.woff"
4
- //= depend_on_asset "semantic-ui/basic.icons.ttf"
1
+ @import '../depends/basic.icon';
5
2
  /*
6
3
  * # Semantic - basic.Icon (Basic)
7
4
  * http://github.com/jlukic/semantic-ui/
@@ -1,13 +1,5 @@
1
-
2
- //= depend_on_asset "semantic-ui/loader-large.gif"
3
- //= depend_on_asset "semantic-ui/loader-mini.gif"
4
- //= depend_on_asset "semantic-ui/loader-small.gif"
5
- //= depend_on_asset "semantic-ui/loader-medium.gif"
6
- //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
7
- //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
8
- //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
9
- //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
10
- /*
1
+ @import '../depends/loader';
2
+ /*
11
3
  * # Semantic - Button
12
4
  * http://github.com/jlukic/semantic-ui/
13
5
  *
@@ -42,7 +34,7 @@
42
34
  font-style: normal;
43
35
  text-align: center;
44
36
  text-decoration: none;
45
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
37
+ background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
46
38
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
47
39
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
48
40
  border-radius: 0.25em;
@@ -91,7 +83,7 @@
91
83
  ---------------*/
92
84
 
93
85
  .ui.button:hover {
94
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
86
+ background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
95
87
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
96
88
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.08));
97
89
  color: rgba(0, 0, 0, 0.7);
@@ -1,9 +1,5 @@
1
-
2
- //= depend_on_asset "semantic-ui/icons.eot"
3
- //= depend_on_asset "semantic-ui/icons.svg"
4
- //= depend_on_asset "semantic-ui/icons.woff"
5
- //= depend_on_asset "semantic-ui/icons.ttf"
6
- /*
1
+ @import '../depends/icon';
2
+ /*
7
3
  * # Semantic - Icon
8
4
  * http://github.com/jlukic/semantic-ui/
9
5
  *
@@ -1,13 +1,5 @@
1
-
2
- //= depend_on_asset "semantic-ui/loader-large.gif"
3
- //= depend_on_asset "semantic-ui/loader-mini.gif"
4
- //= depend_on_asset "semantic-ui/loader-small.gif"
5
- //= depend_on_asset "semantic-ui/loader-medium.gif"
6
- //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
7
- //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
8
- //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
9
- //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
10
- /*
1
+ @import '../depends/loader';
2
+ /*
11
3
  * # Semantic - Input
12
4
  * http://github.com/jlukic/semantic-ui/
13
5
  *
@@ -1,13 +1,5 @@
1
-
2
- //= depend_on_asset "semantic-ui/loader-large.gif"
3
- //= depend_on_asset "semantic-ui/loader-mini.gif"
4
- //= depend_on_asset "semantic-ui/loader-small.gif"
5
- //= depend_on_asset "semantic-ui/loader-medium.gif"
6
- //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
7
- //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
8
- //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
9
- //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
10
- /*
1
+ @import '../depends/loader';
2
+ /*
11
3
  * # Semantic - Loader
12
4
  * http://github.com/jlukic/semantic-ui/
13
5
  *
@@ -43,6 +43,10 @@
43
43
  z-index: 3 !important;
44
44
  }
45
45
 
46
+ .ui.reveal:hover > .hidden.content {
47
+ z-index: 5 !important;
48
+ }
49
+
46
50
  /*------------------
47
51
  Loose Coupling
48
52
  -------------------*/
@@ -404,7 +404,7 @@
404
404
  background-color: #555555;
405
405
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
406
406
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
407
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
407
+ background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.3)));
408
408
  background-image: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
409
409
  color: #FAFAFA;
410
410
  }
@@ -413,7 +413,7 @@
413
413
  background-color: #555555;
414
414
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.6)));
415
415
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
416
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.6)));
416
+ background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0.6)));
417
417
  background-image: linear-gradient(rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
418
418
  color: #EEEEEE;
419
419
  }
@@ -463,7 +463,7 @@
463
463
 
464
464
  .ui.pointing.dropdown .menu .active.item:first-child {
465
465
  background: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.03));
466
- background: transparent-webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.03)));
466
+ background: transparent-webkit-gradient(linear, top left, bottom left, from(transparent), to(rgba(0, 0, 0, 0.03)));
467
467
  background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.03));
468
468
  }
469
469
 
@@ -1,13 +1,5 @@
1
-
2
- //= depend_on_asset "semantic-ui/loader-large.gif"
3
- //= depend_on_asset "semantic-ui/loader-mini.gif"
4
- //= depend_on_asset "semantic-ui/loader-small.gif"
5
- //= depend_on_asset "semantic-ui/loader-medium.gif"
6
- //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
7
- //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
8
- //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
9
- //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
10
- /*
1
+ @import '../depends/loader';
2
+ /*
11
3
  * # Semantic - Search
12
4
  * http://github.com/jlukic/semantic-ui/
13
5
  *
@@ -1,13 +1,5 @@
1
-
2
- //= depend_on_asset "semantic-ui/loader-large.gif"
3
- //= depend_on_asset "semantic-ui/loader-mini.gif"
4
- //= depend_on_asset "semantic-ui/loader-small.gif"
5
- //= depend_on_asset "semantic-ui/loader-medium.gif"
6
- //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
7
- //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
8
- //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
9
- //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
10
- /*
1
+ @import '../depends/loader';
2
+ /*
11
3
  * # Semantic - Tab
12
4
  * http://github.com/jlukic/semantic-ui/
13
5
  *
@@ -1,8 +1,8 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Sass
4
- VERSION = "0.15.4.2"
5
- SEMANTIC_UI_SHA = '2a2a51854c0852e511cc8bb48ee151add55e67b8'
4
+ VERSION = "0.15.5.0"
5
+ SEMANTIC_UI_SHA = '7a0c7844de0127ee20c603577afee28e2ef4a1a1'
6
6
  end
7
7
  end
8
8
  end
data/tasks/converter.rb CHANGED
@@ -17,30 +17,30 @@ class Converter
17
17
  TOKEN = ENV['TOKEN']
18
18
  BROWSERS = ['last 2 version', '> 1%', 'opera 12.1', 'safari 6', 'ie 9', 'bb 10', 'android 4']
19
19
 
20
- DEPENDS = {
21
- icon: %Q{
22
- //= depend_on_asset "semantic-ui/icons.eot"
23
- //= depend_on_asset "semantic-ui/icons.svg"
24
- //= depend_on_asset "semantic-ui/icons.woff"
25
- //= depend_on_asset "semantic-ui/icons.ttf"
26
- },
27
- basic_icon: %Q{
28
- //= depend_on_asset "semantic-ui/basic.icons.eot"
29
- //= depend_on_asset "semantic-ui/basic.icons.svg"
30
- //= depend_on_asset "semantic-ui/basic.icons.woff"
31
- //= depend_on_asset "semantic-ui/basic.icons.ttf"
32
- },
33
- loader: %Q{
34
- //= depend_on_asset "semantic-ui/loader-large.gif"
35
- //= depend_on_asset "semantic-ui/loader-mini.gif"
36
- //= depend_on_asset "semantic-ui/loader-small.gif"
37
- //= depend_on_asset "semantic-ui/loader-medium.gif"
38
- //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
39
- //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
40
- //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
41
- //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
42
- }
43
- }
20
+ # DEPENDS = {
21
+ # icon: %Q{
22
+ # //= depend_on_asset "semantic-ui/icons.eot"
23
+ # //= depend_on_asset "semantic-ui/icons.svg"
24
+ # //= depend_on_asset "semantic-ui/icons.woff"
25
+ # //= depend_on_asset "semantic-ui/icons.ttf"
26
+ # },
27
+ # basic_icon: %Q{
28
+ # //= depend_on_asset "semantic-ui/basic.icons.eot"
29
+ # //= depend_on_asset "semantic-ui/basic.icons.svg"
30
+ # //= depend_on_asset "semantic-ui/basic.icons.woff"
31
+ # //= depend_on_asset "semantic-ui/basic.icons.ttf"
32
+ # },
33
+ # loader: %Q{
34
+ # //= depend_on_asset "semantic-ui/loader-large.gif"
35
+ # //= depend_on_asset "semantic-ui/loader-mini.gif"
36
+ # //= depend_on_asset "semantic-ui/loader-small.gif"
37
+ # //= depend_on_asset "semantic-ui/loader-medium.gif"
38
+ # //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
39
+ # //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
40
+ # //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
41
+ # //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
42
+ # }
43
+ # }
44
44
 
45
45
  def initialize(branch)
46
46
  @repo = 'Semantic-Org/Semantic-UI'
@@ -67,31 +67,6 @@ class Converter
67
67
  store_version
68
68
  end
69
69
 
70
- # def prepare_depend_asset
71
- # icons = %Q{
72
- # //= depend_on_asset "semantic-ui/icons.eot"
73
- # //= depend_on_asset "semantic-ui/icons.svg"
74
- # //= depend_on_asset "semantic-ui/icons.woff"
75
- # //= depend_on_asset "semantic-ui/icons.ttf"
76
- # }
77
- # base_icons = %Q{
78
- # //= depend_on_asset "semantic-ui/basic.icons.eot"
79
- # //= depend_on_asset "semantic-ui/basic.icons.svg"
80
- # //= depend_on_asset "semantic-ui/basic.icons.woff"
81
- # //= depend_on_asset "semantic-ui/basic.icons.ttf"
82
- # }
83
- # loader = %Q{
84
- # //= depend_on_asset "semantic-ui/loader-large.gif"
85
- # //= depend_on_asset "semantic-ui/loader-mini.gif"
86
- # //= depend_on_asset "semantic-ui/loader-small.gif"
87
- # //= depend_on_asset "semantic-ui/loader-medium.gif"
88
- # //= depend_on_asset "semantic-ui/loader-mini-inverted.gif"
89
- # //= depend_on_asset "semantic-ui/loader-small-inverted.gif"
90
- # //= depend_on_asset "semantic-ui/loader-medium-inverted.gif"
91
- # //= depend_on_asset "semantic-ui/loader-large-inverted.gif"
92
- # }
93
- # end
94
-
95
70
  def process_stylesheets_assets
96
71
  main_content = ''
97
72
  semantic_ui_less_paths.each do |path, sha|
@@ -218,13 +193,11 @@ private
218
193
  # Check depent asset
219
194
 
220
195
  if name == "icon"
221
- # content = "@import '../depends/icon';\n" + content
222
- content = DEPENDS[:icon] + content
196
+ content = "@import '../depends/icon';\n" + content
223
197
  end
224
198
 
225
199
  if name == "basic.icon"
226
- # content = "@import '../depends/base.icon';\n" + content
227
- content = DEPENDS[:base_icon] + content
200
+ content = "@import '../depends/basic.icon';\n" + content
228
201
  end
229
202
 
230
203
  content = check_depend_asset(content)
@@ -240,8 +213,7 @@ private
240
213
 
241
214
  def check_depend_asset(content)
242
215
  if content.scan(/loader-\w+.gif/).length > 0
243
- # "@import '../depends/loader';\n" + content
244
- DEPENDS[:loader] + content
216
+ "@import '../depends/loader';\n" + content
245
217
  else
246
218
  content
247
219
  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.15.4.2
4
+ version: 0.15.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - doabit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-10 00:00:00.000000000 Z
11
+ date: 2014-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -354,3 +354,4 @@ test_files:
354
354
  - spec/helpers/semantic_flash_helper_spec.rb
355
355
  - spec/helpers/semantic_icon_helper_spec.rb
356
356
  - spec/spec_helper.rb
357
+ has_rdoc: