semantic-ui-sass 0.12.5.0 → 0.13.0.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/app/assets/javascripts/semantic-ui/accordion.js +26 -21
- data/app/assets/javascripts/semantic-ui/behavior/form.js +59 -25
- data/app/assets/javascripts/semantic-ui/checkbox.js +2 -0
- data/app/assets/javascripts/semantic-ui/dimmer.js +2 -2
- data/app/assets/javascripts/semantic-ui/modal.js +23 -0
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +17 -0
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +29 -35
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +1 -7
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +36 -8
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +1 -0
- data/lib/semantic/ui/sass/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 936440d4f4659868bc5f0574a7f55cc5a39388fe
|
4
|
+
data.tar.gz: 777a61bd367f76bbc2cdcdce8a0c0317dabc0437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d68a706cb55a750fe70cba8ba859359fefb07f25e6fa779ea94ce3a532dad310bf399e1c3694cc6970440f3896212141e4ba69e89a626e3eb769a14f532f609e
|
7
|
+
data.tar.gz: 3f5f83ea2434d902ec4f620552c9afde17ffadb8dd7637b51ee3c13cb62ef99edd87fe1a5708f968b2e9b7282d1807779fa809737f7efa29c96caa2a44fce02f
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -85,15 +85,23 @@ $.fn.accordion = function(parameters) {
|
|
85
85
|
;
|
86
86
|
module.toggle(index);
|
87
87
|
},
|
88
|
-
|
89
|
-
|
90
|
-
$(this)
|
91
|
-
|
92
|
-
.removeAttr('style')
|
93
|
-
.children()
|
88
|
+
resetDisplay: function() {
|
89
|
+
$(this).css('display', '');
|
90
|
+
if( $(this).attr('style') == '') {
|
91
|
+
$(this)
|
94
92
|
.attr('style', '')
|
95
93
|
.removeAttr('style')
|
96
|
-
|
94
|
+
;
|
95
|
+
}
|
96
|
+
},
|
97
|
+
resetOpacity: function() {
|
98
|
+
$(this).css('opacity', '');
|
99
|
+
if( $(this).attr('style') == '') {
|
100
|
+
$(this)
|
101
|
+
.attr('style', '')
|
102
|
+
.removeAttr('style')
|
103
|
+
;
|
104
|
+
}
|
97
105
|
}
|
98
106
|
},
|
99
107
|
|
@@ -134,19 +142,17 @@ $.fn.accordion = function(parameters) {
|
|
134
142
|
$previousContent
|
135
143
|
.stop()
|
136
144
|
.children()
|
145
|
+
.stop()
|
137
146
|
.animate({
|
138
147
|
opacity: 0
|
139
|
-
}, settings.duration, module.event.
|
148
|
+
}, settings.duration, module.event.resetOpacity)
|
140
149
|
.end()
|
141
150
|
.slideUp(settings.duration , settings.easing, function() {
|
142
151
|
$previousContent
|
143
152
|
.removeClass(className.active)
|
144
|
-
.attr('style', '')
|
145
|
-
.removeAttr('style')
|
146
153
|
.children()
|
147
|
-
.attr('style', '')
|
148
|
-
.removeAttr('style')
|
149
154
|
;
|
155
|
+
$.proxy(module.event.resetDisplay, this)();
|
150
156
|
})
|
151
157
|
;
|
152
158
|
}
|
@@ -156,15 +162,16 @@ $.fn.accordion = function(parameters) {
|
|
156
162
|
$activeContent
|
157
163
|
.stop()
|
158
164
|
.children()
|
159
|
-
.
|
160
|
-
.
|
165
|
+
.stop()
|
166
|
+
.animate({
|
167
|
+
opacity: 1
|
168
|
+
}, settings.duration)
|
161
169
|
.end()
|
162
170
|
.slideDown(settings.duration, settings.easing, function() {
|
163
171
|
$activeContent
|
164
172
|
.addClass(className.active)
|
165
|
-
.attr('style', '')
|
166
|
-
.removeAttr('style')
|
167
173
|
;
|
174
|
+
$.proxy(module.event.resetDisplay, this)();
|
168
175
|
$.proxy(settings.onOpen, $activeContent)();
|
169
176
|
$.proxy(settings.onChange, $activeContent)();
|
170
177
|
})
|
@@ -186,15 +193,13 @@ $.fn.accordion = function(parameters) {
|
|
186
193
|
.show()
|
187
194
|
.stop()
|
188
195
|
.children()
|
196
|
+
.stop()
|
189
197
|
.animate({
|
190
198
|
opacity: 0
|
191
|
-
}, settings.duration, module.event.
|
199
|
+
}, settings.duration, module.event.resetOpacity)
|
192
200
|
.end()
|
193
201
|
.slideUp(settings.duration, settings.easing, function(){
|
194
|
-
|
195
|
-
.attr('style', '')
|
196
|
-
.removeAttr('style')
|
197
|
-
;
|
202
|
+
$.proxy(module.event.resetDisplay, this)();
|
198
203
|
$.proxy(settings.onClose, $activeContent)();
|
199
204
|
$.proxy(settings.onChange, $activeContent)();
|
200
205
|
})
|
@@ -58,23 +58,7 @@ $.fn.form = function(fields, parameters) {
|
|
58
58
|
|
59
59
|
initialize: function() {
|
60
60
|
module.verbose('Initializing form validation', $module, validation, settings);
|
61
|
-
|
62
|
-
$field
|
63
|
-
.on('keydown' + eventNamespace, module.event.field.keydown)
|
64
|
-
;
|
65
|
-
}
|
66
|
-
$module
|
67
|
-
.on('submit' + eventNamespace, module.validate.form)
|
68
|
-
;
|
69
|
-
$field
|
70
|
-
.on('blur' + eventNamespace, module.event.field.blur)
|
71
|
-
;
|
72
|
-
$submit
|
73
|
-
.on('click' + eventNamespace, module.submit)
|
74
|
-
;
|
75
|
-
$field
|
76
|
-
.on(module.get.changeEvent() + eventNamespace, module.event.field.change)
|
77
|
-
;
|
61
|
+
module.bindEvents();
|
78
62
|
module.instantiate();
|
79
63
|
},
|
80
64
|
|
@@ -88,8 +72,8 @@ $.fn.form = function(fields, parameters) {
|
|
88
72
|
|
89
73
|
destroy: function() {
|
90
74
|
module.verbose('Destroying previous module', instance);
|
75
|
+
module.removeEvents();
|
91
76
|
$module
|
92
|
-
.off(eventNamespace)
|
93
77
|
.removeData(moduleNamespace)
|
94
78
|
;
|
95
79
|
},
|
@@ -106,6 +90,51 @@ $.fn.form = function(fields, parameters) {
|
|
106
90
|
;
|
107
91
|
},
|
108
92
|
|
93
|
+
bindEvents: function() {
|
94
|
+
if(settings.keyboardShortcuts) {
|
95
|
+
$field
|
96
|
+
.on('keydown' + eventNamespace, module.event.field.keydown)
|
97
|
+
;
|
98
|
+
}
|
99
|
+
$module
|
100
|
+
.on('submit' + eventNamespace, module.validate.form)
|
101
|
+
;
|
102
|
+
$field
|
103
|
+
.on('blur' + eventNamespace, module.event.field.blur)
|
104
|
+
;
|
105
|
+
$submit
|
106
|
+
.on('click' + eventNamespace, module.submit)
|
107
|
+
;
|
108
|
+
$field
|
109
|
+
.each(function() {
|
110
|
+
var
|
111
|
+
type = $(this).prop('type'),
|
112
|
+
inputEvent = module.get.changeEvent(type)
|
113
|
+
;
|
114
|
+
if(settings.inline == true) {
|
115
|
+
}
|
116
|
+
$(this)
|
117
|
+
.on(inputEvent + eventNamespace, module.event.field.change)
|
118
|
+
;
|
119
|
+
})
|
120
|
+
;
|
121
|
+
},
|
122
|
+
|
123
|
+
removeEvents: function() {
|
124
|
+
$module
|
125
|
+
.off(eventNamespace)
|
126
|
+
;
|
127
|
+
$field
|
128
|
+
.off(eventNamespace)
|
129
|
+
;
|
130
|
+
$submit
|
131
|
+
.off(eventNamespace)
|
132
|
+
;
|
133
|
+
$field
|
134
|
+
.off(eventNamespace)
|
135
|
+
;
|
136
|
+
},
|
137
|
+
|
109
138
|
event: {
|
110
139
|
field: {
|
111
140
|
keydown: function(event) {
|
@@ -171,13 +200,18 @@ $.fn.form = function(fields, parameters) {
|
|
171
200
|
},
|
172
201
|
|
173
202
|
get: {
|
174
|
-
changeEvent: function() {
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
203
|
+
changeEvent: function(type) {
|
204
|
+
if(type == 'checkbox' || type == 'radio') {
|
205
|
+
return 'change';
|
206
|
+
}
|
207
|
+
else {
|
208
|
+
return (document.createElement('input').oninput !== undefined)
|
209
|
+
? 'input'
|
210
|
+
: (document.createElement('input').onpropertychange !== undefined)
|
211
|
+
? 'propertychange'
|
212
|
+
: 'keyup'
|
213
|
+
;
|
214
|
+
}
|
181
215
|
},
|
182
216
|
field: function(identifier) {
|
183
217
|
module.verbose('Finding field with identifier', identifier);
|
@@ -112,6 +112,7 @@ $.fn.checkbox = function(parameters) {
|
|
112
112
|
module.debug('Enabling checkbox', $input);
|
113
113
|
$input
|
114
114
|
.prop('checked', true)
|
115
|
+
.trigger('change')
|
115
116
|
;
|
116
117
|
$.proxy(settings.onChange, $input.get())();
|
117
118
|
$.proxy(settings.onEnable, $input.get())();
|
@@ -121,6 +122,7 @@ $.fn.checkbox = function(parameters) {
|
|
121
122
|
module.debug('Disabling checkbox');
|
122
123
|
$input
|
123
124
|
.prop('checked', false)
|
125
|
+
.trigger('change')
|
124
126
|
;
|
125
127
|
$.proxy(settings.onChange, $input.get())();
|
126
128
|
$.proxy(settings.onDisable, $input.get())();
|
@@ -155,7 +155,7 @@ $.fn.dimmer = function(parameters) {
|
|
155
155
|
: function(){}
|
156
156
|
;
|
157
157
|
module.set.dimmed();
|
158
|
-
if(settings.useCSS && $.fn.transition !== undefined && $dimmer.transition('is supported')) {
|
158
|
+
if(settings.on != 'hover' && settings.useCSS && $.fn.transition !== undefined && $dimmer.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(settings.useCSS && $.fn.transition !== undefined && $dimmer.transition('is supported')) {
|
193
|
+
if(settings.on != 'hover' && settings.useCSS && $.fn.transition !== undefined && $dimmer.transition('is supported')) {
|
194
194
|
module.verbose('Hiding dimmer with css');
|
195
195
|
$dimmer
|
196
196
|
.transition({
|
@@ -16,6 +16,7 @@ $.fn.modal = function(parameters) {
|
|
16
16
|
$allModules = $(this),
|
17
17
|
$window = $(window),
|
18
18
|
$document = $(document),
|
19
|
+
$body = $('body'),
|
19
20
|
|
20
21
|
time = new Date().getTime(),
|
21
22
|
performance = [],
|
@@ -127,6 +128,7 @@ $.fn.modal = function(parameters) {
|
|
127
128
|
refresh: function() {
|
128
129
|
module.remove.scrolling();
|
129
130
|
module.cacheSizes();
|
131
|
+
module.set.screenHeight();
|
130
132
|
module.set.type();
|
131
133
|
module.set.position();
|
132
134
|
},
|
@@ -239,6 +241,7 @@ $.fn.modal = function(parameters) {
|
|
239
241
|
if( !module.is.active() ) {
|
240
242
|
module.cacheSizes();
|
241
243
|
module.set.position();
|
244
|
+
module.set.screenHeight();
|
242
245
|
module.set.type();
|
243
246
|
|
244
247
|
if( $otherModals.filter(':visible').size() > 0 && !settings.allowMultiple) {
|
@@ -309,6 +312,7 @@ $.fn.modal = function(parameters) {
|
|
309
312
|
$module
|
310
313
|
.transition('reset')
|
311
314
|
;
|
315
|
+
module.remove.screenHeight();
|
312
316
|
}
|
313
317
|
module.remove.active();
|
314
318
|
});
|
@@ -402,6 +406,14 @@ $.fn.modal = function(parameters) {
|
|
402
406
|
active: function() {
|
403
407
|
$module.removeClass(className.active);
|
404
408
|
},
|
409
|
+
screenHeight: function() {
|
410
|
+
if(module.cache.height > module.cache.pageHeight) {
|
411
|
+
module.debug('Removing page height');
|
412
|
+
$body
|
413
|
+
.css('height', '')
|
414
|
+
;
|
415
|
+
}
|
416
|
+
},
|
405
417
|
keyboardShortcuts: function() {
|
406
418
|
module.verbose('Removing keyboard shortcuts');
|
407
419
|
$document
|
@@ -416,6 +428,7 @@ $.fn.modal = function(parameters) {
|
|
416
428
|
|
417
429
|
cacheSizes: function() {
|
418
430
|
module.cache = {
|
431
|
+
pageHeight : $body.outerHeight(),
|
419
432
|
height : $module.outerHeight() + settings.offset + parseInt($module.css('marginTop'), 10),
|
420
433
|
contextHeight : (settings.context == 'body')
|
421
434
|
? $(window).height()
|
@@ -441,6 +454,14 @@ $.fn.modal = function(parameters) {
|
|
441
454
|
},
|
442
455
|
|
443
456
|
set: {
|
457
|
+
screenHeight: function() {
|
458
|
+
if(module.cache.height > module.cache.pageHeight) {
|
459
|
+
module.debug('Modal is taller than page content, resizing page height');
|
460
|
+
$body
|
461
|
+
.css('height', module.cache.height + settings.padding)
|
462
|
+
;
|
463
|
+
}
|
464
|
+
},
|
444
465
|
active: function() {
|
445
466
|
module.add.keyboardShortcuts();
|
446
467
|
module.save.focus();
|
@@ -683,6 +704,8 @@ $.fn.modal.settings = {
|
|
683
704
|
offset : 0,
|
684
705
|
transition : 'scale',
|
685
706
|
|
707
|
+
padding : 30,
|
708
|
+
|
686
709
|
onShow : function(){},
|
687
710
|
onHide : function(){},
|
688
711
|
onApprove : function(){ return true; },
|
@@ -489,6 +489,23 @@
|
|
489
489
|
padding-right: 1%;
|
490
490
|
}
|
491
491
|
|
492
|
+
/* Swap to full width on mobile */
|
493
|
+
|
494
|
+
@media only screen and (max-width : 767px) {
|
495
|
+
.ui.form .two.fields > .fields,
|
496
|
+
.ui.form .two.fields > .field,
|
497
|
+
.ui.form .three.fields > .fields,
|
498
|
+
.ui.form .three.fields > .field,
|
499
|
+
.ui.form .four.fields > .fields,
|
500
|
+
.ui.form .four.fields > .field,
|
501
|
+
.ui.form .five.fields > .fields,
|
502
|
+
.ui.form .five.fields > .field {
|
503
|
+
width: 100%;
|
504
|
+
padding-left: 0%;
|
505
|
+
padding-right: 0%;
|
506
|
+
}
|
507
|
+
}
|
508
|
+
|
492
509
|
.ui.form .fields .field:first-child {
|
493
510
|
padding-left: 0%;
|
494
511
|
}
|
@@ -93,21 +93,19 @@
|
|
93
93
|
color: rgba(30, 30, 30, 0.6);
|
94
94
|
}
|
95
95
|
|
96
|
-
.ui.menu .dropdown
|
97
|
-
.ui.menu .dropdown
|
96
|
+
.ui.menu .dropdown .menu .item,
|
97
|
+
.ui.menu .dropdown .menu .item a:not(.button) {
|
98
98
|
color: rgba(0, 0, 0, 0.75);
|
99
99
|
}
|
100
100
|
|
101
101
|
/* Hover */
|
102
102
|
|
103
103
|
.ui.menu .item .menu a.item:hover,
|
104
|
-
.ui.menu .item .menu
|
105
|
-
.ui.menu .item .menu .link.item:hover,
|
106
|
-
.ui.menu .item .menu .link.item.hover {
|
104
|
+
.ui.menu .item .menu .link.item:hover {
|
107
105
|
color: rgba(0, 0, 0, 0.85);
|
108
106
|
}
|
109
107
|
|
110
|
-
.ui.menu .dropdown
|
108
|
+
.ui.menu .dropdown .menu .item a:not(.button):hover {
|
111
109
|
color: rgba(0, 0, 0, 0.85);
|
112
110
|
}
|
113
111
|
|
@@ -158,7 +156,7 @@
|
|
158
156
|
position: absolute;
|
159
157
|
content: '';
|
160
158
|
top: 0%;
|
161
|
-
|
159
|
+
left: 0px;
|
162
160
|
width: 1px;
|
163
161
|
height: 100%;
|
164
162
|
background-image: linear-gradient(
|
@@ -167,6 +165,11 @@
|
|
167
165
|
rgba(0, 0, 0, 0.05) 100%);
|
168
166
|
}
|
169
167
|
|
168
|
+
.ui.menu > .menu:not(.right):first-child > .item:first-child:before,
|
169
|
+
.ui.menu .item:first-child:before {
|
170
|
+
display: none;
|
171
|
+
}
|
172
|
+
|
170
173
|
.ui.menu .menu.right .item:before,
|
171
174
|
.ui.menu .item.right:before {
|
172
175
|
right: auto;
|
@@ -286,6 +289,11 @@
|
|
286
289
|
Dropdowns
|
287
290
|
---------------*/
|
288
291
|
|
292
|
+
.ui.menu .dropdown .menu .item .icon {
|
293
|
+
float: none;
|
294
|
+
margin: 0em 0.75em 0em 0em;
|
295
|
+
}
|
296
|
+
|
289
297
|
.ui.menu .dropdown.item .menu {
|
290
298
|
left: 1px;
|
291
299
|
margin: 0px;
|
@@ -357,16 +365,14 @@
|
|
357
365
|
---------------*/
|
358
366
|
|
359
367
|
.ui.link.menu .item:hover,
|
360
|
-
.ui.menu .item.hover,
|
361
368
|
.ui.menu .link.item:hover,
|
362
369
|
.ui.menu a.item:hover,
|
363
|
-
.ui.menu .ui.dropdown .menu .item.hover,
|
364
370
|
.ui.menu .ui.dropdown .menu .item:hover {
|
365
371
|
cursor: pointer;
|
366
372
|
background-color: rgba(0, 0, 0, 0.02);
|
367
373
|
}
|
368
374
|
|
369
|
-
.ui.menu .ui.dropdown.active {
|
375
|
+
.ui.menu .ui.dropdown.item.active {
|
370
376
|
background-color: rgba(0, 0, 0, 0.02);
|
371
377
|
-webkit-box-shadow: none;
|
372
378
|
box-shadow: none;
|
@@ -433,8 +439,7 @@
|
|
433
439
|
---------------*/
|
434
440
|
|
435
441
|
.ui.menu .item.disabled,
|
436
|
-
.ui.menu .item.disabled:hover
|
437
|
-
.ui.menu .item.disabled.hover {
|
442
|
+
.ui.menu .item.disabled:hover {
|
438
443
|
cursor: default;
|
439
444
|
color: rgba(0, 0, 0, 0.2);
|
440
445
|
background-color: transparent !important;
|
@@ -490,13 +495,13 @@
|
|
490
495
|
text-align: center;
|
491
496
|
}
|
492
497
|
|
493
|
-
.ui.vertical.menu .item > .icon
|
498
|
+
.ui.vertical.menu .item > i.icon {
|
494
499
|
float: right;
|
495
500
|
width: 1.22em;
|
496
501
|
margin: 0em 0em 0em 0.5em;
|
497
502
|
}
|
498
503
|
|
499
|
-
.ui.vertical.menu .item > .label + .icon {
|
504
|
+
.ui.vertical.menu .item > .label + i.icon {
|
500
505
|
float: none;
|
501
506
|
margin: 0em 0.25em 0em 0em;
|
502
507
|
}
|
@@ -548,7 +553,7 @@
|
|
548
553
|
font-size: 1rem;
|
549
554
|
}
|
550
555
|
|
551
|
-
.ui.vertical.menu .dropdown.item .menu .item .icon {
|
556
|
+
.ui.vertical.menu .dropdown.item .menu .item i.icon {
|
552
557
|
margin-right: 0em;
|
553
558
|
}
|
554
559
|
|
@@ -580,8 +585,7 @@
|
|
580
585
|
color: rgba(0, 0, 0, 0.4);
|
581
586
|
}
|
582
587
|
|
583
|
-
.ui.tiered.menu > .menu > .item:hover
|
584
|
-
.ui.tiered.menu > .menu > .item.hover {
|
588
|
+
.ui.tiered.menu > .menu > .item:hover {
|
585
589
|
color: rgba(0, 0, 0, 0.8);
|
586
590
|
}
|
587
591
|
|
@@ -645,8 +649,7 @@
|
|
645
649
|
color: rgba(255, 255, 255, 0.6);
|
646
650
|
}
|
647
651
|
|
648
|
-
.ui.inverted.tiered.menu > .menu > .item:hover
|
649
|
-
.ui.inverted.tiered.menu > .menu > .item.hover {
|
652
|
+
.ui.inverted.tiered.menu > .menu > .item:hover {
|
650
653
|
color: rgba(255, 255, 255, 0.9);
|
651
654
|
}
|
652
655
|
|
@@ -745,7 +748,7 @@
|
|
745
748
|
text-align: center;
|
746
749
|
}
|
747
750
|
|
748
|
-
.ui.pagination.menu .icon.item .icon {
|
751
|
+
.ui.pagination.menu .icon.item i.icon {
|
749
752
|
vertical-align: top;
|
750
753
|
}
|
751
754
|
|
@@ -953,7 +956,6 @@
|
|
953
956
|
|
954
957
|
/* Hover */
|
955
958
|
|
956
|
-
.ui.secondary.vertical.pointing.menu > .item.hover,
|
957
959
|
.ui.secondary.vertical.pointing.menu > .item:hover {
|
958
960
|
background-color: transparent;
|
959
961
|
color: rgba(0, 0, 0, 0.7);
|
@@ -1089,7 +1091,7 @@
|
|
1089
1091
|
margin: 0.5em 0em;
|
1090
1092
|
}
|
1091
1093
|
|
1092
|
-
.ui.vertical.text.menu .item > .icon {
|
1094
|
+
.ui.vertical.text.menu .item > i.icon {
|
1093
1095
|
float: none;
|
1094
1096
|
margin: 0em 0.83em 0em 0em;
|
1095
1097
|
}
|
@@ -1100,7 +1102,6 @@
|
|
1100
1102
|
|
1101
1103
|
/*--- hover ---*/
|
1102
1104
|
|
1103
|
-
.ui.text.menu .item.hover,
|
1104
1105
|
.ui.text.menu .item:hover {
|
1105
1106
|
opacity: 1;
|
1106
1107
|
background-color: transparent;
|
@@ -1272,14 +1273,13 @@
|
|
1272
1273
|
color: rgba(255, 255, 255, 0.8);
|
1273
1274
|
}
|
1274
1275
|
|
1275
|
-
.ui.inverted.menu .dropdown
|
1276
|
-
.ui.inverted.menu .dropdown
|
1276
|
+
.ui.inverted.menu .dropdown .menu .item,
|
1277
|
+
.ui.inverted.menu .dropdown .menu .item a {
|
1277
1278
|
color: rgba(0, 0, 0, 0.75) !important;
|
1278
1279
|
}
|
1279
1280
|
|
1280
1281
|
.ui.inverted.menu .item.disabled,
|
1281
|
-
.ui.inverted.menu .item.disabled:hover
|
1282
|
-
.ui.inverted.menu .item.disabled.hover {
|
1282
|
+
.ui.inverted.menu .item.disabled:hover {
|
1283
1283
|
color: rgba(255, 255, 255, 0.2);
|
1284
1284
|
}
|
1285
1285
|
|
@@ -1310,21 +1310,16 @@
|
|
1310
1310
|
/*--- Hover ---*/
|
1311
1311
|
|
1312
1312
|
.ui.link.inverted.menu .item:hover,
|
1313
|
-
.ui.inverted.menu .item.hover,
|
1314
1313
|
.ui.inverted.menu .link.item:hover,
|
1315
1314
|
.ui.inverted.menu a.item:hover,
|
1316
|
-
.ui.inverted.menu .dropdown.item.hover,
|
1317
1315
|
.ui.inverted.menu .dropdown.item:hover {
|
1318
1316
|
background-color: rgba(255, 255, 255, 0.1);
|
1319
1317
|
}
|
1320
1318
|
|
1321
1319
|
.ui.inverted.menu a.item:hover,
|
1322
|
-
.ui.inverted.menu .item.hover,
|
1323
1320
|
.ui.inverted.menu .item > a:hover,
|
1324
1321
|
.ui.inverted.menu .item .menu a.item:hover,
|
1325
|
-
.ui.inverted.menu .item .menu
|
1326
|
-
.ui.inverted.menu .item .menu .link.item:hover,
|
1327
|
-
.ui.inverted.menu .item .menu .link.item.hover {
|
1322
|
+
.ui.inverted.menu .item .menu .link.item:hover {
|
1328
1323
|
color: rgba(255, 255, 255, 1);
|
1329
1324
|
}
|
1330
1325
|
|
@@ -1691,7 +1686,6 @@
|
|
1691
1686
|
background-color: #FCFCFC;
|
1692
1687
|
}
|
1693
1688
|
|
1694
|
-
.ui.pointing.menu .active.item.hover:after,
|
1695
1689
|
.ui.pointing.menu .active.item:hover:after {
|
1696
1690
|
background-color: #FAFAFA;
|
1697
1691
|
}
|
@@ -1752,7 +1746,7 @@
|
|
1752
1746
|
font-size: 0.875rem;
|
1753
1747
|
}
|
1754
1748
|
|
1755
|
-
.ui.large.menu .dropdown
|
1749
|
+
.ui.large.menu .dropdown .item {
|
1756
1750
|
font-size: 1rem;
|
1757
1751
|
}
|
1758
1752
|
|
@@ -215,16 +215,10 @@
|
|
215
215
|
---------------------*/
|
216
216
|
|
217
217
|
.ui.labeled.input .corner.label {
|
218
|
-
|
219
|
-
right: 1px;
|
220
|
-
font-size: 0.55em;
|
218
|
+
font-size: 0.7em;
|
221
219
|
border-top-right-radius: 0.3125em;
|
222
220
|
}
|
223
221
|
|
224
|
-
.ui.labeled.input .corner.label > .icon {
|
225
|
-
margin: 0.4em 0em 0em 2em;
|
226
|
-
}
|
227
|
-
|
228
222
|
.ui.labeled.input input {
|
229
223
|
padding-right: 2.5em !important;
|
230
224
|
}
|
@@ -313,9 +313,8 @@ a.ui.label:hover:before {
|
|
313
313
|
right: 0em;
|
314
314
|
z-index: 10;
|
315
315
|
margin: 0em;
|
316
|
-
|
317
|
-
|
318
|
-
height: 2rem;
|
316
|
+
width: 3em;
|
317
|
+
height: 3em;
|
319
318
|
padding: 0em;
|
320
319
|
text-align: center;
|
321
320
|
-webkit-transition: color 0.2s ease;
|
@@ -340,21 +339,50 @@ a.ui.label:hover:before {
|
|
340
339
|
}
|
341
340
|
|
342
341
|
.ui.corner.label .icon {
|
343
|
-
|
342
|
+
font-size: 0.875em;
|
343
|
+
margin: 0.5em 0em 0em 1.25em;
|
344
344
|
}
|
345
345
|
|
346
346
|
.ui.corner.label .text {
|
347
347
|
display: inline-block;
|
348
348
|
font-weight: bold;
|
349
|
-
margin: 0.5em 0em 0em
|
349
|
+
margin: 0.5em 0em 0em 1em;
|
350
350
|
width: 2.5em;
|
351
|
-
font-size: 0.
|
351
|
+
font-size: 0.875em;
|
352
352
|
text-align: center;
|
353
353
|
-webkit-transform: rotate(45deg);
|
354
354
|
-ms-transform: rotate(45deg);
|
355
355
|
transform: rotate(45deg);
|
356
356
|
}
|
357
357
|
|
358
|
+
/* Coupling */
|
359
|
+
|
360
|
+
.ui.rounded.image > .ui.corner.label,
|
361
|
+
.ui.input > .ui.corner.label,
|
362
|
+
.ui.segment > .ui.corner.label {
|
363
|
+
overflow: hidden;
|
364
|
+
}
|
365
|
+
|
366
|
+
.ui.segment > .ui.corner.label {
|
367
|
+
top: -1px;
|
368
|
+
right: -1px;
|
369
|
+
}
|
370
|
+
|
371
|
+
.ui.segment > .ui.left.corner.label {
|
372
|
+
right: auto;
|
373
|
+
left: -1px;
|
374
|
+
}
|
375
|
+
|
376
|
+
.ui.input > .ui.corner.label {
|
377
|
+
top: 1px;
|
378
|
+
right: 1px;
|
379
|
+
}
|
380
|
+
|
381
|
+
.ui.input > .ui.right.corner.label {
|
382
|
+
right: auto;
|
383
|
+
left: 1px;
|
384
|
+
}
|
385
|
+
|
358
386
|
/* Left Corner */
|
359
387
|
|
360
388
|
.ui.left.corner.label,
|
@@ -372,11 +400,11 @@ a.ui.label:hover:before {
|
|
372
400
|
}
|
373
401
|
|
374
402
|
.ui.left.corner.label .icon {
|
375
|
-
margin: 0.
|
403
|
+
margin: 0.5em 0em 0em -1em;
|
376
404
|
}
|
377
405
|
|
378
406
|
.ui.left.corner.label .text {
|
379
|
-
margin: 0.5em 0em 0em -
|
407
|
+
margin: 0.5em 0em 0em -1em;
|
380
408
|
-webkit-transform: rotate(-45deg);
|
381
409
|
-ms-transform: rotate(-45deg);
|
382
410
|
transform: rotate(-45deg);
|
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.
|
4
|
+
version: 0.13.0.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-02-
|
11
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|