semantic-ui-sass 0.14.0.0 → 0.15.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64fced5d889ca61f15a29fe28892619ae3a8a5d4
4
- data.tar.gz: e39dc59786251671dedaa32ca18b4dbedb2f86e2
3
+ metadata.gz: 11057cbb13278fba3b1f5e850e05ddadf706f921
4
+ data.tar.gz: 4bbd098cdddac0ab0731c06894c1a92689092684
5
5
  SHA512:
6
- metadata.gz: 19df4588aa4d19e6ef16ae4a29b839771ca567f9cdfec2139f307b115f81dc8f047e66ebeead323c199cd6588611868bd54a3a547e9b49ec08cbe3e97c30d994
7
- data.tar.gz: b427329b8cc84c39dbe493784383989f4f028444b71835828a3503af988ca609b665c8ba7506aa5858c74721ee0660a1e3d2ad024ce3ea586aee434107b498a2
6
+ metadata.gz: 047b2e7eb990105c3edbe5914df021ad6b03a383377298cef25feb25f209578c15884a3024bde0aba771ca99e4fe2cb4ed8b72f3b32024593da847684ad23f73
7
+ data.tar.gz: c9ce3e48f35c583bc5b1ed73d1a4c6452925cfbdf8d3a43c1fca89c7806f3305d90b3dfbb434230f5e1d3c868d0090d7b8ca884ce14b1560a02582e8a44025ec
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.15.1.0
2
+
3
+ * Update Semantic UI to 0.15.1
4
+
1
5
  ## 0.14.0.0
2
6
 
3
7
  * Update Semantic UI to 0.14.0
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ## Installation and Usage
6
6
 
7
7
  ```ruby
8
- gem 'semantic-ui-sass', '~> 0.14.0.0'
8
+ gem 'semantic-ui-sass', '~> 0.15.1.0'
9
9
  ```
10
10
  or
11
11
 
@@ -107,12 +107,10 @@ $.fn.form = function(fields, parameters) {
107
107
  ;
108
108
  $field
109
109
  .each(function() {
110
- var
110
+ var
111
111
  type = $(this).prop('type'),
112
112
  inputEvent = module.get.changeEvent(type)
113
113
  ;
114
- if(settings.inline == true) {
115
- }
116
114
  $(this)
117
115
  .on(inputEvent + eventNamespace, module.event.field.change)
118
116
  ;
@@ -201,7 +199,7 @@ $.fn.form = function(fields, parameters) {
201
199
 
202
200
  get: {
203
201
  changeEvent: function(type) {
204
- if(type == 'checkbox' || type == 'radio') {
202
+ if(type == 'checkbox' || type == 'radio' || type == 'hidden') {
205
203
  return 'change';
206
204
  }
207
205
  else {
@@ -216,7 +216,9 @@ $.fn.dropdown = function(parameters) {
216
216
  : $choice.text(),
217
217
  value = ( $choice.data(metadata.value) !== undefined)
218
218
  ? $choice.data(metadata.value)
219
- : text.toLowerCase(),
219
+ : (typeof text === 'string')
220
+ ? text.toLowerCase()
221
+ : text,
220
222
  callback = function() {
221
223
  module.determine.selectAction(text, value);
222
224
  $.proxy(settings.onChange, element)(value, text);
@@ -332,7 +334,7 @@ $.fn.dropdown = function(parameters) {
332
334
  : $module.data(metadata.value)
333
335
  ;
334
336
  },
335
- item: function(value) {
337
+ item: function(value, strict) {
336
338
  var
337
339
  $selectedItem = false
338
340
  ;
@@ -342,6 +344,13 @@ $.fn.dropdown = function(parameters) {
342
344
  ? module.get.value()
343
345
  : module.get.text()
344
346
  ;
347
+ if(strict === undefined && value === '') {
348
+ module.debug('Ambiguous dropdown value using strict type check', value);
349
+ strict = true;
350
+ }
351
+ else {
352
+ strict = strict || false;
353
+ }
345
354
  if(value !== undefined) {
346
355
  $item
347
356
  .each(function() {
@@ -352,13 +361,25 @@ $.fn.dropdown = function(parameters) {
352
361
  : $choice.text(),
353
362
  optionValue = ( $choice.data(metadata.value) !== undefined )
354
363
  ? $choice.data(metadata.value)
355
- : optionText.toLowerCase()
364
+ : (typeof optionText === 'string')
365
+ ? optionText.toLowerCase()
366
+ : optionText
356
367
  ;
357
- if( optionValue == value ) {
358
- $selectedItem = $(this);
368
+ if(strict) {
369
+ if( optionValue === value ) {
370
+ $selectedItem = $(this);
371
+ }
372
+ else if( !$selectedItem && optionText === value ) {
373
+ $selectedItem = $(this);
374
+ }
359
375
  }
360
- else if( !$selectedItem && optionText == value ) {
361
- $selectedItem = $(this);
376
+ else {
377
+ if( optionValue == value ) {
378
+ $selectedItem = $(this);
379
+ }
380
+ else if( !$selectedItem && optionText == value ) {
381
+ $selectedItem = $(this);
382
+ }
362
383
  }
363
384
  })
364
385
  ;
@@ -416,7 +437,10 @@ $.fn.dropdown = function(parameters) {
416
437
  value: function(value) {
417
438
  module.debug('Adding selected value to hidden input', value, $input);
418
439
  if($input.size() > 0) {
419
- $input.val(value);
440
+ $input
441
+ .val(value)
442
+ .trigger('change')
443
+ ;
420
444
  }
421
445
  else {
422
446
  $module.data(metadata.value, value);
@@ -25,6 +25,12 @@ $.fn.modal = function(parameters) {
25
25
  methodInvoked = (typeof query == 'string'),
26
26
  queryArguments = [].slice.call(arguments, 1),
27
27
 
28
+ requestAnimationFrame = window.requestAnimationFrame
29
+ || window.mozRequestAnimationFrame
30
+ || window.webkitRequestAnimationFrame
31
+ || window.msRequestAnimationFrame
32
+ || function(callback) { setTimeout(callback, 0); },
33
+
28
34
  returnedValue
29
35
  ;
30
36
 
@@ -247,10 +253,12 @@ $.fn.modal = function(parameters) {
247
253
  module.hideOthers(module.showModal);
248
254
  }
249
255
  else {
256
+ $.proxy(settings.onShow, element)();
250
257
  if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
251
258
  module.debug('Showing modal with css animations');
252
259
  $module
253
260
  .transition(settings.transition + ' in', settings.duration, function() {
261
+ $.proxy(settings.onVisible, element)();
254
262
  module.set.active();
255
263
  callback();
256
264
  })
@@ -260,12 +268,12 @@ $.fn.modal = function(parameters) {
260
268
  module.debug('Showing modal with javascript');
261
269
  $module
262
270
  .fadeIn(settings.duration, settings.easing, function() {
271
+ $.proxy(settings.onVisible, element)();
263
272
  module.set.active();
264
273
  callback();
265
274
  })
266
275
  ;
267
276
  }
268
- $.proxy(settings.onShow, element)();
269
277
  }
270
278
  }
271
279
  else {
@@ -327,9 +335,11 @@ $.fn.modal = function(parameters) {
327
335
  }
328
336
  module.debug('Hiding modal');
329
337
  module.remove.keyboardShortcuts();
338
+ $.proxy(settings.onHide, element)();
330
339
  if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
331
340
  $module
332
341
  .transition(settings.transition + ' out', settings.duration, function() {
342
+ $.proxy(settings.onHidden, element)();
333
343
  module.remove.active();
334
344
  module.restore.focus();
335
345
  callback();
@@ -339,13 +349,13 @@ $.fn.modal = function(parameters) {
339
349
  else {
340
350
  $module
341
351
  .fadeOut(settings.duration, settings.easing, function() {
352
+ $.proxy(settings.onHidden, element)();
342
353
  module.remove.active();
343
354
  module.restore.focus();
344
355
  callback();
345
356
  })
346
357
  ;
347
358
  }
348
- $.proxy(settings.onHide, element)();
349
359
  },
350
360
 
351
361
  hideAll: function(callback) {
@@ -706,6 +716,10 @@ $.fn.modal.settings = {
706
716
 
707
717
  onShow : function(){},
708
718
  onHide : function(){},
719
+
720
+ onVisible : function(){},
721
+ onHidden : function(){},
722
+
709
723
  onApprove : function(){ return true; },
710
724
  onDeny : function(){ return true; },
711
725
 
@@ -83,8 +83,8 @@
83
83
  .ui.form input[type="url"],
84
84
  .ui.form input[type="tel"] {
85
85
  margin: 0em;
86
- padding: 0.85em 1.2em;
87
- font-size: 0.875em;
86
+ padding: 0.65em 1em;
87
+ font-size: 1em;
88
88
  background-color: #FFFFFF;
89
89
  border: 1px solid rgba(0, 0, 0, 0.15);
90
90
  outline: none;
@@ -225,8 +225,8 @@
225
225
  }
226
226
 
227
227
  .ui.menu .item > .input input {
228
- padding-top: 0.5em;
229
- padding-bottom: 0.5em;
228
+ padding-top: 0.35em;
229
+ padding-bottom: 0.35em;
230
230
  }
231
231
 
232
232
  .ui.vertical.menu .item > .input input {
@@ -235,10 +235,6 @@
235
235
  padding-bottom: 0.63em;
236
236
  }
237
237
 
238
- .ui.vertical.menu .ui.input > .icon {
239
- padding-top: 0.63em;
240
- }
241
-
242
238
  /* Action Input */
243
239
 
244
240
  .ui.menu:not(.vertical) .item > .button.labeled > .icon {
@@ -69,6 +69,10 @@
69
69
  border-radius: 0px 0px 5px 0px;
70
70
  }
71
71
 
72
+ .ui.table tfoot th:only-child {
73
+ border-radius: 0px 0px 5px 5px;
74
+ }
75
+
72
76
  /* Table Cells */
73
77
 
74
78
  .ui.table td {
@@ -470,16 +470,16 @@ i.basic.icon.export:before {
470
470
  /* '' */
471
471
 
472
472
  i.basic.icon.hide:before {
473
- content: '\e80f';
473
+ content: '\e70b';
474
474
  }
475
475
 
476
- /* '' */
476
+ /* '' */
477
477
 
478
478
  i.basic.icon.unhide:before {
479
- content: '\e70b';
479
+ content: '\e80f';
480
480
  }
481
481
 
482
- /* '' */
482
+ /* '' */
483
483
 
484
484
  i.basic.icon.facebook:before {
485
485
  content: '\f301';
@@ -33,7 +33,7 @@
33
33
  font-style: normal;
34
34
  text-align: center;
35
35
  text-decoration: none;
36
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
36
+ background-image: -webkit-gradient(linear, top left, bottom left, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.05)));
37
37
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
38
38
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05));
39
39
  border-radius: 0.25em;
@@ -82,7 +82,7 @@
82
82
  ---------------*/
83
83
 
84
84
  .ui.button:hover {
85
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.08)));
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));
88
88
  color: rgba(0, 0, 0, 0.7);
@@ -1732,6 +1732,7 @@ i.square.inverted.icon {
1732
1732
  i.inverted.icon {
1733
1733
  background-color: #222222;
1734
1734
  color: #FFFFFF;
1735
+ -moz-osx-font-smoothing: grayscale;
1735
1736
  }
1736
1737
 
1737
1738
  /*-------------------
@@ -27,8 +27,8 @@
27
27
  width: 100%;
28
28
  font-family: "Helvetica Neue", "Helvetica", Arial;
29
29
  margin: 0em;
30
- padding: 0.85em 1.2em;
31
- font-size: 0.875em;
30
+ padding: 0.65em 1em;
31
+ font-size: 1em;
32
32
  background-color: #FFFFFF;
33
33
  border: 1px solid rgba(0, 0, 0, 0.15);
34
34
  outline: none;
@@ -216,7 +216,11 @@
216
216
 
217
217
  .ui.labeled.input .corner.label {
218
218
  font-size: 0.7em;
219
- border-top-right-radius: 0.3125em;
219
+ border-radius: 0 0.3125em;
220
+ }
221
+
222
+ .ui.labeled.input .left.corner.label {
223
+ border-radius: 0.3125em 0;
220
224
  }
221
225
 
222
226
  .ui.labeled.input input {
@@ -94,11 +94,14 @@
94
94
  width: 100% !important;
95
95
  }
96
96
 
97
- .ui.slide.reveal:hover > .visible.content {
97
+ .ui.slide.reveal:hover > .visible.content,
98
+ .ui.slide.reveal:focus > .visible.content,
99
+ {
98
100
  left: -100% !important;
99
101
  }
100
102
 
101
- .ui.slide.reveal:hover > .hidden.content {
103
+ .ui.slide.reveal:hover > .hidden.content,
104
+ .ui.slide.reveal:focus > .hidden.content {
102
105
  left: 0% !important;
103
106
  }
104
107
 
@@ -111,12 +114,14 @@
111
114
  right: 100% !important;
112
115
  }
113
116
 
114
- .ui.right.slide.reveal:hover > .visible.content {
117
+ .ui.right.slide.reveal:hover > .visible.content,
118
+ .ui.right.slide.reveal:focus > .visible.content {
115
119
  left: 100% !important;
116
120
  right: auto !important;
117
121
  }
118
122
 
119
- .ui.right.slide.reveal:hover > .hidden.content {
123
+ .ui.right.slide.reveal:hover > .hidden.content,
124
+ .ui.right.slide.reveal:focus > .hidden.content {
120
125
  left: auto !important;
121
126
  right: 0% !important;
122
127
  }
@@ -135,12 +140,14 @@
135
140
  bottom: auto !important;
136
141
  }
137
142
 
138
- .ui.slide.up.reveal:hover > .visible.content {
143
+ .ui.slide.up.reveal:hover > .visible.content,
144
+ .ui.slide.up.reveal:focus > .visible.content {
139
145
  top: -100% !important;
140
146
  left: 0% !important;
141
147
  }
142
148
 
143
- .ui.slide.up.reveal:hover > .hidden.content {
149
+ .ui.slide.up.reveal:hover > .hidden.content,
150
+ .ui.slide.up.reveal:focus > .hidden.content {
144
151
  top: 0% !important;
145
152
  left: 0% !important;
146
153
  }
@@ -159,12 +166,14 @@
159
166
  left: 0% !important;
160
167
  }
161
168
 
162
- .ui.slide.down.reveal:hover > .visible.content {
169
+ .ui.slide.down.reveal:hover > .visible.content,
170
+ .ui.slide.down.reveal:focus > .visible.content {
163
171
  left: 0% !important;
164
172
  bottom: -100% !important;
165
173
  }
166
174
 
167
- .ui.slide.down.reveal:hover > .hidden.content {
175
+ .ui.slide.down.reveal:hover > .hidden.content,
176
+ .ui.slide.down.reveal:focus > .hidden.content {
168
177
  left: 0% !important;
169
178
  bottom: 0% !important;
170
179
  }
@@ -177,7 +186,8 @@
177
186
  opacity: 1;
178
187
  }
179
188
 
180
- .ui.fade.reveal:hover > .visible.content {
189
+ .ui.fade.reveal:hover > .visible.content,
190
+ .ui.fade.reveal:focus > .visible.content {
181
191
  opacity: 0;
182
192
  }
183
193
 
@@ -194,7 +204,9 @@
194
204
  }
195
205
 
196
206
  .ui.move.reveal:hover > .visible.content,
197
- .ui.move.left.reveal:hover > .visible.content {
207
+ .ui.move.left.reveal:hover > .visible.content,
208
+ .ui.move.reveal:focus > .visible.content,
209
+ .ui.move.left.reveal:focus > .visible.content {
198
210
  right: 100% !important;
199
211
  }
200
212
 
@@ -205,7 +217,8 @@
205
217
  left: 0% !important;
206
218
  }
207
219
 
208
- .ui.move.right.reveal:hover > .visible.content {
220
+ .ui.move.right.reveal:hover > .visible.content,
221
+ .ui.move.right.reveal:focus > .visible.content {
209
222
  left: 100% !important;
210
223
  }
211
224
 
@@ -216,7 +229,8 @@
216
229
  bottom: 0% !important;
217
230
  }
218
231
 
219
- .ui.move.up.reveal:hover > .visible.content {
232
+ .ui.move.up.reveal:hover > .visible.content,
233
+ .ui.move.up.reveal:focus > .visible.content {
220
234
  bottom: 100% !important;
221
235
  }
222
236
 
@@ -228,7 +242,8 @@
228
242
  bottom: auto !important;
229
243
  }
230
244
 
231
- .ui.move.down.reveal:hover > .visible.content {
245
+ .ui.move.down.reveal:hover > .visible.content,
246
+ .ui.move.down.reveal:focus > .visible.content {
232
247
  top: 100% !important;
233
248
  }
234
249
 
@@ -252,7 +267,9 @@
252
267
  }
253
268
 
254
269
  .ui.rotate.reveal:hover > .visible.content,
255
- .ui.rotate.right.reveal:hover > .visible.content {
270
+ .ui.rotate.right.reveal:hover > .visible.content,
271
+ .ui.rotate.reveal:focus > .visible.content,
272
+ .ui.rotate.right.reveal:focus > .visible.content {
256
273
  -webkit-transform: rotate(110deg);
257
274
  -ms-transform: rotate(110deg);
258
275
  transform: rotate(110deg);
@@ -264,7 +281,8 @@
264
281
  transform-origin: bottom left;
265
282
  }
266
283
 
267
- .ui.rotate.left.reveal:hover > .visible.content {
284
+ .ui.rotate.left.reveal:hover > .visible.content,
285
+ .ui.rotate.left.reveal:focus > .visible.content {
268
286
  -webkit-transform: rotate(-110deg);
269
287
  -ms-transform: rotate(-110deg);
270
288
  transform: rotate(-110deg);
@@ -283,7 +301,8 @@
283
301
  transition: none !important;
284
302
  }
285
303
 
286
- .ui.disabled.reveal:hover > .visible.content {
304
+ .ui.disabled.reveal:hover > .visible.content,
305
+ .ui.disabled.reveal:focus > .visible.content {
287
306
  position: static !important;
288
307
  display: block !important;
289
308
  opacity: 1 !important;
@@ -296,7 +315,8 @@
296
315
  transform: none !important;
297
316
  }
298
317
 
299
- .ui.disabled.reveal:hover > .hidden.content {
318
+ .ui.disabled.reveal:hover > .hidden.content,
319
+ .ui.disabled.reveal:focus > .hidden.content {
300
320
  display: none !important;
301
321
  }
302
322
 
@@ -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
  }
@@ -32,22 +32,28 @@
32
32
  position: absolute;
33
33
  z-index: 2;
34
34
  content: '';
35
- top: 0em;
36
- right: -1.45em;
37
- border-bottom: 1.5em solid transparent;
38
- border-left: 1.5em solid #FFFFFF;
39
- border-top: 1.5em solid transparent;
40
- width: 0em;
41
- height: 0em;
35
+ top: 0.42em;
36
+ right: -1em;
37
+ border: medium none;
38
+ background-color: #FFFFFF;
39
+ width: 2.2em;
40
+ height: 2.2em;
41
+ -webkit-transform: rotate(-45deg);
42
+ -ms-transform: rotate(-45deg);
43
+ transform: rotate(-45deg);
44
+ -webkit-box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 0.15) inset;
45
+ box-shadow: -1px -1px 0 0 rgba(0, 0, 0, 0.15) inset;
42
46
  }
43
47
 
44
48
  .ui.step,
45
49
  .ui.steps .step,
46
50
  .ui.steps .step:after {
47
- -webkit-transition: opacity 0.1s ease,
51
+ -webkit-transition: background-color 0.1s ease,
52
+ opacity 0.1s ease,
48
53
  color 0.1s ease,
49
54
  -webkit-box-shadow 0.1s ease;
50
- transition: opacity 0.1s ease,
55
+ transition: background-color 0.1s ease,
56
+ opacity 0.1s ease,
51
57
  color 0.1s ease,
52
58
  box-shadow 0.1s ease;
53
59
  }
@@ -56,6 +62,8 @@
56
62
  Types
57
63
  *******************************/
58
64
 
65
+ /* Vertical */
66
+
59
67
  .ui.vertical.steps {
60
68
  overflow: visible;
61
69
  }
@@ -83,18 +91,35 @@
83
91
  display: none;
84
92
  }
85
93
 
86
- /* Disabled */
87
-
88
- .ui.vertical.steps .disabled.step:after {
89
- padding: 1em 2em;
90
- }
91
-
92
94
  /* Active Arrow */
93
95
 
94
96
  .ui.vertical.steps .active.step:after {
95
97
  display: block;
96
98
  }
97
99
 
100
+ /* Two Line */
101
+
102
+ .ui.vertical.steps .two.line.step {
103
+ line-height: 1.3;
104
+ }
105
+
106
+ .ui.vertical.steps .two.line.active.step:after {
107
+ position: absolute;
108
+ z-index: 2;
109
+ content: '';
110
+ top: 0em;
111
+ right: -1.45em;
112
+ background-color: transparent;
113
+ border-bottom: 2.35em solid transparent;
114
+ border-left: 1.55em solid #555555;
115
+ border-top: 2.35em solid transparent;
116
+ width: 0em;
117
+ height: 0em;
118
+ -webkit-transform: none;
119
+ -ms-transform: none;
120
+ transform: none;
121
+ }
122
+
98
123
  /*******************************
99
124
  Group
100
125
  *******************************/
@@ -151,7 +176,7 @@
151
176
  .ui.steps .step:hover:after,
152
177
  .ui.step:hover,
153
178
  .ui.step.hover::after {
154
- border-left-color: #F7F7F7;
179
+ background-color: #F7F7F7;
155
180
  }
156
181
 
157
182
  /* Hover */
@@ -167,7 +192,7 @@
167
192
  .ui.steps .step:active:after,
168
193
  .ui.steps.down::after,
169
194
  .ui.steps:active::after {
170
- border-left-color: #F0F0F0;
195
+ background-color: #F0F0F0;
171
196
  }
172
197
 
173
198
  /* Active */
@@ -182,7 +207,9 @@
182
207
 
183
208
  .ui.steps .step.active:after,
184
209
  .ui.active.steps:after {
185
- border-left-color: #555555;
210
+ background-color: #555555;
211
+ -webkit-box-shadow: none;
212
+ box-shadow: none;
186
213
  }
187
214
 
188
215
  /* Disabled */
@@ -194,18 +221,9 @@
194
221
  color: #CBCBCB;
195
222
  }
196
223
 
224
+ .ui.steps .disabled.step:after,
197
225
  .ui.disabled.step:after {
198
- border: none;
199
226
  background-color: #FFFFFF;
200
- top: 0.42em;
201
- right: -1em;
202
- width: 2.15em;
203
- height: 2.15em;
204
- -webkit-transform: rotate(-45deg);
205
- -ms-transform: rotate(-45deg);
206
- transform: rotate(-45deg);
207
- -webkit-box-shadow: -1px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
208
- box-shadow: -1px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
209
227
  }
210
228
 
211
229
  /*******************************
@@ -104,19 +104,19 @@
104
104
  color: rgba(0, 0, 0, 0.8);
105
105
  }
106
106
 
107
- .ui.checkbox input:focus + label {
107
+ .ui.checkbox input:focus ~ label {
108
108
  color: rgba(0, 0, 0, 0.8);
109
109
  }
110
110
 
111
111
  /*--- Outside Label ---*/
112
112
 
113
- .ui.checkbox + label {
113
+ .ui.checkbox ~ label {
114
114
  cursor: pointer;
115
115
  opacity: 0.85;
116
116
  vertical-align: middle;
117
117
  }
118
118
 
119
- .ui.checkbox + label:hover {
119
+ .ui.checkbox ~ label:hover {
120
120
  opacity: 1;
121
121
  }
122
122
 
@@ -141,16 +141,16 @@
141
141
 
142
142
  /*--- Focus ---*/
143
143
 
144
- .ui.checkbox input:focus + .box:before,
145
- .ui.checkbox input:focus + label:before {
144
+ .ui.checkbox input:focus ~ .box:before,
145
+ .ui.checkbox input:focus ~ label:before {
146
146
  -webkit-box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
147
147
  box-shadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.3);
148
148
  }
149
149
 
150
150
  /*--- Active ---*/
151
151
 
152
- .ui.checkbox input:checked + .box:after,
153
- .ui.checkbox input:checked + label:after {
152
+ .ui.checkbox input:checked ~ .box:after,
153
+ .ui.checkbox input:checked ~ label:after {
154
154
  -ms-filter: "progid:DXImageTransform.Microsoft@include ctb-Alpha(Opacity=100);";
155
155
  filter: alpha(opacity=100);
156
156
  opacity: 1;
@@ -158,10 +158,10 @@
158
158
 
159
159
  /*--- Disabled ---*/
160
160
 
161
- .ui.disabled.checkbox + .box:after,
162
- .ui.checkbox input[disabled] + .box:after,
161
+ .ui.disabled.checkbox ~ .box:after,
162
+ .ui.checkbox input[disabled] ~ .box:after,
163
163
  .ui.disabled.checkbox label,
164
- .ui.checkbox input[disabled] + label {
164
+ .ui.checkbox input[disabled] ~ label {
165
165
  opacity: 0.4;
166
166
  color: rgba(0, 0, 0, 0.3);
167
167
  }
@@ -272,10 +272,10 @@
272
272
 
273
273
  /* Selected Slider Toggle */
274
274
 
275
- .ui.slider.checkbox input:checked + .box:before,
276
- .ui.slider.checkbox input:checked + label:before,
277
- .ui.slider.checkbox input:checked + .box:after,
278
- .ui.slider.checkbox input:checked + label:after {
275
+ .ui.slider.checkbox input:checked ~ .box:before,
276
+ .ui.slider.checkbox input:checked ~ label:before,
277
+ .ui.slider.checkbox input:checked ~ .box:after,
278
+ .ui.slider.checkbox input:checked ~ label:after {
279
279
  left: 1.75em;
280
280
  }
281
281
 
@@ -288,8 +288,8 @@
288
288
 
289
289
  /* On Color */
290
290
 
291
- .ui.slider.checkbox input:checked + .box:after,
292
- .ui.slider.checkbox input:checked + label:after {
291
+ .ui.slider.checkbox input:checked ~ .box:after,
292
+ .ui.slider.checkbox input:checked ~ label:after {
293
293
  background-color: #89B84C;
294
294
  }
295
295
 
@@ -361,8 +361,8 @@
361
361
 
362
362
  /* Active */
363
363
 
364
- .ui.toggle.checkbox input:checked + .box:after,
365
- .ui.toggle.checkbox input:checked + label:after {
364
+ .ui.toggle.checkbox input:checked ~ .box:after,
365
+ .ui.toggle.checkbox input:checked ~ label:after {
366
366
  left: 1.75em;
367
367
  background-color: #89B84C;
368
368
  }
@@ -213,7 +213,8 @@
213
213
  ----------------------*/
214
214
 
215
215
  .ui.dropdown.error,
216
- .ui.dropdown.error .item {
216
+ .ui.dropdown.error > .text,
217
+ .ui.dropdown.error > .default.text {
217
218
  color: #D95C5C !important;
218
219
  }
219
220
 
@@ -228,20 +229,25 @@
228
229
  box-shadow: 0px 0px 0px 1px rgba(231, 190, 190, 1) !important;
229
230
  }
230
231
 
231
- .ui.dropdown.error .menu {
232
+ .ui.dropdown.error > .menu,
233
+ .ui.dropdown.error > .menu .menu {
232
234
  -webkit-box-shadow: 0px 0px 1px 1px #E7BEBE !important;
233
235
  box-shadow: 0px 0px 1px 1px #E7BEBE !important;
234
236
  }
235
237
 
238
+ .ui.dropdown.error > .menu .item {
239
+ color: #D95C5C !important;
240
+ }
241
+
236
242
  /* Item Hover */
237
243
 
238
- .ui.dropdown.error .menu .item:hover {
244
+ .ui.dropdown.error > .menu .item:hover {
239
245
  background-color: #FFF2F2 !important;
240
246
  }
241
247
 
242
248
  /* Item Active */
243
249
 
244
- .ui.dropdown.error .menu .active.item {
250
+ .ui.dropdown.error > .menu .active.item {
245
251
  background-color: #FDCFCF !important;
246
252
  }
247
253
 
@@ -316,7 +322,7 @@
316
322
  word-wrap: break-word;
317
323
  white-space: normal;
318
324
  background-color: #FFFFFF;
319
- padding: 0.5em 1em;
325
+ padding: 0.65em 1em;
320
326
  line-height: 1.33;
321
327
  color: rgba(0, 0, 0, 0.8);
322
328
  -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1) !important;
@@ -337,12 +343,12 @@
337
343
 
338
344
  .ui.selection.dropdown,
339
345
  .ui.selection.dropdown .menu {
340
- top: 100%;
341
346
  -webkit-transition: -webkit-box-shadow 0.2s ease-out;
342
347
  transition: box-shadow 0.2s ease-out;
343
348
  }
344
349
 
345
350
  .ui.selection.dropdown .menu {
351
+ top: 100%;
346
352
  max-height: 312px;
347
353
  overflow-x: hidden;
348
354
  overflow-y: auto;
@@ -457,7 +463,7 @@
457
463
 
458
464
  .ui.pointing.dropdown .menu .active.item:first-child {
459
465
  background: transparent -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.03));
460
- 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)));
461
467
  background: transparent linear-gradient(transparent, rgba(0, 0, 0, 0.03));
462
468
  }
463
469
 
@@ -15,9 +15,11 @@
15
15
 
16
16
  body {
17
17
  -webkit-transition: margin 0.3s ease,
18
- -webkit-transform 0.3s ease;
18
+ -webkit-transform 0.3s ease/*rtl:append:,
19
+ padding 0.3s ease*/;
19
20
  transition: margin 0.3s ease,
20
- transform 0.3s ease;
21
+ transform 0.3s ease/*rtl:append:,
22
+ padding 0.3s ease*/;
21
23
  }
22
24
 
23
25
  .ui.sidebar {
@@ -1,8 +1,8 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Sass
4
- VERSION = "0.14.0.0"
5
- SEMANTIC_UI_SHA = 'bb105bf5dccdc4b2c4cfe3ed79ef600e91cf65d7'
4
+ VERSION = "0.15.1.0"
5
+ SEMANTIC_UI_SHA = '16f00646a3e3cf2ba2eebf6c973bbcf1e5ee0e64'
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.14.0.0
4
+ version: 0.15.1.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-03-04 00:00:00.000000000 Z
11
+ date: 2014-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler