less-rails-semantic_ui 1.11.1.0 → 1.11.4.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/assets/javascripts/semantic_ui/definitions/modules/accordion.js +59 -39
- data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +3 -4
- data/assets/javascripts/semantic_ui/definitions/modules/search.js +30 -4
- data/assets/javascripts/semantic_ui/definitions/modules/transition.js +4 -0
- data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +33 -14
- data/assets/stylesheets/semantic_ui/definitions/elements/header.less +1 -0
- data/assets/stylesheets/semantic_ui/definitions/globals/site.less +16 -0
- data/assets/stylesheets/semantic_ui/definitions/modules/accordion.less +1 -1
- data/assets/stylesheets/semantic_ui/definitions/modules/modal.less +1 -0
- data/assets/stylesheets/semantic_ui/definitions/views/card.less +10 -2
- data/assets/stylesheets/semantic_ui/themes/chubby/elements/header.variables +4 -4
- data/assets/stylesheets/semantic_ui/themes/default/elements/header.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +9 -9
- data/assets/stylesheets/semantic_ui/themes/default/modules/modal.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/default/views/card.variables +4 -0
- data/lib/less/rails/semantic_ui/version.rb +1 -1
- 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: 8bff1d5e26c135d87165db1d8bad1585555414e7
|
4
|
+
data.tar.gz: 891dd73627f7c73f90717542078677f334099989
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: addc033e2884951fd9a603bf6493edf37438f9e4c6a34670a622914b307fc306a515aa89dbcb7d2c7dce6f0abd09a21e34b5999f618f43fff8b483590941006f
|
7
|
+
data.tar.gz: 7a2cd66c0ab6a36eb1bb691fa2b93882d329f9937f9d0ece7f9d338c9c2f030ce4c1fbdbcfc29e42b9c933de197418ccbc6acb3e60f863e2c8b21427820f785e
|
@@ -61,10 +61,8 @@ $.fn.accordion = function(parameters) {
|
|
61
61
|
module = {
|
62
62
|
|
63
63
|
initialize: function() {
|
64
|
-
module.debug('Initializing
|
65
|
-
|
66
|
-
.on('click' + eventNamespace, selector.title, module.event.click)
|
67
|
-
;
|
64
|
+
module.debug('Initializing', $module);
|
65
|
+
module.bind.events();
|
68
66
|
module.observeChanges();
|
69
67
|
module.instantiate();
|
70
68
|
},
|
@@ -77,12 +75,10 @@ $.fn.accordion = function(parameters) {
|
|
77
75
|
},
|
78
76
|
|
79
77
|
destroy: function() {
|
80
|
-
module.debug('Destroying previous
|
78
|
+
module.debug('Destroying previous instance', $module);
|
81
79
|
$module
|
82
|
-
.removeData(moduleNamespace)
|
83
|
-
;
|
84
|
-
$title
|
85
80
|
.off(eventNamespace)
|
81
|
+
.removeData(moduleNamespace)
|
86
82
|
;
|
87
83
|
},
|
88
84
|
|
@@ -105,6 +101,14 @@ $.fn.accordion = function(parameters) {
|
|
105
101
|
}
|
106
102
|
},
|
107
103
|
|
104
|
+
bind: {
|
105
|
+
events: function() {
|
106
|
+
module.debug('Binding delegated events');
|
107
|
+
$module
|
108
|
+
.on('click' + eventNamespace, selector.trigger, module.event.click)
|
109
|
+
;
|
110
|
+
}
|
111
|
+
},
|
108
112
|
|
109
113
|
event: {
|
110
114
|
click: function() {
|
@@ -117,13 +121,16 @@ $.fn.accordion = function(parameters) {
|
|
117
121
|
$activeTitle = (query !== undefined)
|
118
122
|
? (typeof query === 'number')
|
119
123
|
? $title.eq(query)
|
120
|
-
: $(query)
|
121
|
-
: $(this),
|
124
|
+
: $(query).closest(selector.title)
|
125
|
+
: $(this).closest(selector.title),
|
122
126
|
$activeContent = $activeTitle.next($content),
|
123
|
-
|
127
|
+
isAnimating = $activeContent.hasClass(className.animating),
|
128
|
+
isActive = $activeContent.hasClass(className.active),
|
129
|
+
isOpen = (isActive && !isAnimating),
|
130
|
+
isOpening = (!isActive && isAnimating)
|
124
131
|
;
|
125
132
|
module.debug('Toggling visibility of content', $activeTitle);
|
126
|
-
if(
|
133
|
+
if(isOpen || isOpening) {
|
127
134
|
if(settings.collapsible) {
|
128
135
|
module.close.call($activeTitle);
|
129
136
|
}
|
@@ -132,7 +139,7 @@ $.fn.accordion = function(parameters) {
|
|
132
139
|
}
|
133
140
|
}
|
134
141
|
else {
|
135
|
-
|
142
|
+
module.open.call($activeTitle);
|
136
143
|
}
|
137
144
|
},
|
138
145
|
|
@@ -141,13 +148,14 @@ $.fn.accordion = function(parameters) {
|
|
141
148
|
$activeTitle = (query !== undefined)
|
142
149
|
? (typeof query === 'number')
|
143
150
|
? $title.eq(query)
|
144
|
-
: $(query)
|
145
|
-
: $(this),
|
146
|
-
$activeContent
|
147
|
-
|
148
|
-
|
151
|
+
: $(query).closest(selector.title)
|
152
|
+
: $(this).closest(selector.title),
|
153
|
+
$activeContent = $activeTitle.next($content),
|
154
|
+
isAnimating = $activeContent.hasClass(className.animating),
|
155
|
+
isActive = $activeContent.hasClass(className.active),
|
156
|
+
isUnopen = (!isActive && !isAnimating)
|
149
157
|
;
|
150
|
-
if(
|
158
|
+
if(isUnopen) {
|
151
159
|
module.debug('Opening accordion content', $activeTitle);
|
152
160
|
if(settings.exclusive) {
|
153
161
|
module.closeOthers.call($activeTitle);
|
@@ -155,23 +163,25 @@ $.fn.accordion = function(parameters) {
|
|
155
163
|
$activeTitle
|
156
164
|
.addClass(className.active)
|
157
165
|
;
|
166
|
+
$activeContent.addClass(className.animating);
|
158
167
|
if(settings.animateChildren) {
|
159
168
|
if($.fn.transition !== undefined && $module.transition('is supported')) {
|
160
169
|
$activeContent
|
161
170
|
.children()
|
162
171
|
.transition({
|
163
|
-
animation
|
172
|
+
animation : 'fade in',
|
173
|
+
queue : false,
|
164
174
|
useFailSafe : true,
|
165
|
-
debug
|
166
|
-
verbose
|
167
|
-
duration
|
175
|
+
debug : settings.debug,
|
176
|
+
verbose : settings.verbose,
|
177
|
+
duration : settings.duration
|
168
178
|
})
|
169
179
|
;
|
170
180
|
}
|
171
181
|
else {
|
172
182
|
$activeContent
|
173
183
|
.children()
|
174
|
-
.stop()
|
184
|
+
.stop(true)
|
175
185
|
.animate({
|
176
186
|
opacity: 1
|
177
187
|
}, settings.duration, module.resetOpacity)
|
@@ -179,9 +189,10 @@ $.fn.accordion = function(parameters) {
|
|
179
189
|
}
|
180
190
|
}
|
181
191
|
$activeContent
|
182
|
-
.stop()
|
192
|
+
.stop(true)
|
183
193
|
.slideDown(settings.duration, settings.easing, function() {
|
184
194
|
$activeContent
|
195
|
+
.removeClass(className.animating)
|
185
196
|
.addClass(className.active)
|
186
197
|
;
|
187
198
|
module.reset.display.call(this);
|
@@ -197,19 +208,21 @@ $.fn.accordion = function(parameters) {
|
|
197
208
|
$activeTitle = (query !== undefined)
|
198
209
|
? (typeof query === 'number')
|
199
210
|
? $title.eq(query)
|
200
|
-
: $(query)
|
201
|
-
: $(this),
|
211
|
+
: $(query).closest(selector.title)
|
212
|
+
: $(this).closest(selector.title),
|
202
213
|
$activeContent = $activeTitle.next($content),
|
203
|
-
|
214
|
+
isAnimating = $activeContent.hasClass(className.animating),
|
215
|
+
isActive = $activeContent.hasClass(className.active),
|
216
|
+
isOpening = (!isActive && isAnimating),
|
217
|
+
isClosing = (isActive && isAnimating)
|
204
218
|
;
|
205
|
-
if(isActive) {
|
219
|
+
if((isActive || isOpening) && !isClosing) {
|
206
220
|
module.debug('Closing accordion content', $activeContent);
|
207
221
|
$activeTitle
|
208
222
|
.removeClass(className.active)
|
209
223
|
;
|
210
224
|
$activeContent
|
211
|
-
.
|
212
|
-
.show()
|
225
|
+
.addClass(className.animating)
|
213
226
|
;
|
214
227
|
if(settings.animateChildren) {
|
215
228
|
if($.fn.transition !== undefined && $module.transition('is supported')) {
|
@@ -217,6 +230,7 @@ $.fn.accordion = function(parameters) {
|
|
217
230
|
.children()
|
218
231
|
.transition({
|
219
232
|
animation : 'fade out',
|
233
|
+
queue : false,
|
220
234
|
useFailSafe : true,
|
221
235
|
debug : settings.debug,
|
222
236
|
verbose : settings.verbose,
|
@@ -227,7 +241,7 @@ $.fn.accordion = function(parameters) {
|
|
227
241
|
else {
|
228
242
|
$activeContent
|
229
243
|
.children()
|
230
|
-
.stop()
|
244
|
+
.stop(true)
|
231
245
|
.animate({
|
232
246
|
opacity: 0
|
233
247
|
}, settings.duration, module.resetOpacity)
|
@@ -235,8 +249,12 @@ $.fn.accordion = function(parameters) {
|
|
235
249
|
}
|
236
250
|
}
|
237
251
|
$activeContent
|
238
|
-
.stop()
|
252
|
+
.stop(true)
|
239
253
|
.slideUp(settings.duration, settings.easing, function() {
|
254
|
+
$activeContent
|
255
|
+
.removeClass(className.animating)
|
256
|
+
.removeClass(className.active)
|
257
|
+
;
|
240
258
|
module.reset.display.call(this);
|
241
259
|
settings.onClose.call(this);
|
242
260
|
settings.onChange.call(this);
|
@@ -249,7 +267,7 @@ $.fn.accordion = function(parameters) {
|
|
249
267
|
var
|
250
268
|
$activeTitle = (index !== undefined)
|
251
269
|
? $title.eq(index)
|
252
|
-
: $(this),
|
270
|
+
: $(this).closest(selector.title),
|
253
271
|
$parentTitles = $activeTitle.parents(selector.content).prev(selector.title),
|
254
272
|
$activeAccordion = $activeTitle.closest(selector.accordion),
|
255
273
|
activeSelector = selector.title + '.' + className.active + ':visible',
|
@@ -524,8 +542,8 @@ $.fn.accordion.settings = {
|
|
524
542
|
closeNested : false,
|
525
543
|
animateChildren : true,
|
526
544
|
|
527
|
-
duration :
|
528
|
-
easing : '
|
545
|
+
duration : 350,
|
546
|
+
easing : 'easeOutQuad',
|
529
547
|
|
530
548
|
onOpen : function(){},
|
531
549
|
onClose : function(){},
|
@@ -536,12 +554,14 @@ $.fn.accordion.settings = {
|
|
536
554
|
},
|
537
555
|
|
538
556
|
className : {
|
539
|
-
active
|
557
|
+
active : 'active',
|
558
|
+
animating : 'animating'
|
540
559
|
},
|
541
560
|
|
542
561
|
selector : {
|
543
562
|
accordion : '.accordion',
|
544
563
|
title : '.title',
|
564
|
+
trigger : '.title',
|
545
565
|
content : '.content'
|
546
566
|
}
|
547
567
|
|
@@ -549,8 +569,8 @@ $.fn.accordion.settings = {
|
|
549
569
|
|
550
570
|
// Adds easing
|
551
571
|
$.extend( $.easing, {
|
552
|
-
|
553
|
-
return c*(
|
572
|
+
easeOutQuad: function (x, t, b, c, d) {
|
573
|
+
return -c *(t/=d)*(t-2) + b;
|
554
574
|
}
|
555
575
|
});
|
556
576
|
|
@@ -31,7 +31,7 @@ $.fn.dropdown = function(parameters) {
|
|
31
31
|
;
|
32
32
|
|
33
33
|
$allModules
|
34
|
-
.each(function() {
|
34
|
+
.each(function(index) {
|
35
35
|
var
|
36
36
|
settings = ( $.isPlainObject(parameters) )
|
37
37
|
? $.extend(true, {}, $.fn.dropdown.settings, parameters)
|
@@ -210,17 +210,16 @@ $.fn.dropdown = function(parameters) {
|
|
210
210
|
.prependTo($module)
|
211
211
|
;
|
212
212
|
}
|
213
|
-
module.
|
213
|
+
module.setup.reference();
|
214
214
|
},
|
215
215
|
reference: function() {
|
216
216
|
var
|
217
|
-
index = $allModules.index($module),
|
218
217
|
$firstModules,
|
219
218
|
$lastModules
|
220
219
|
;
|
221
220
|
module.debug('Dropdown behavior was called on select, replacing with closest dropdown');
|
222
221
|
// replace module reference
|
223
|
-
$module = $module.
|
222
|
+
$module = $module.closest(selector.dropdown);
|
224
223
|
module.refresh();
|
225
224
|
// adjust all modules
|
226
225
|
$firstModules = $allModules.slice(0, index);
|
@@ -439,8 +439,7 @@ $.fn.search = function(parameters) {
|
|
439
439
|
? settings.searchFields
|
440
440
|
: [settings.searchFields],
|
441
441
|
searchExp = searchTerm.replace(regExp.escape, '\\$&'),
|
442
|
-
searchRegExp = new RegExp(regExp.exact + searchExp, 'i')
|
443
|
-
fullTextRegExp = new RegExp(searchExp, 'i')
|
442
|
+
searchRegExp = new RegExp(regExp.exact + searchExp, 'i')
|
444
443
|
;
|
445
444
|
|
446
445
|
source = source || settings.source;
|
@@ -462,7 +461,7 @@ $.fn.search = function(parameters) {
|
|
462
461
|
if( content[field].match(searchRegExp) ) {
|
463
462
|
results.push(content);
|
464
463
|
}
|
465
|
-
else if(
|
464
|
+
else if(settings.searchFullText && module.fuzzySearch(searchTerm, content[field]) ) {
|
466
465
|
fullTextResults.push(content);
|
467
466
|
}
|
468
467
|
}
|
@@ -472,6 +471,33 @@ $.fn.search = function(parameters) {
|
|
472
471
|
}
|
473
472
|
},
|
474
473
|
|
474
|
+
fuzzySearch: function(query, term) {
|
475
|
+
var
|
476
|
+
termLength = term.length,
|
477
|
+
queryLength = query.length
|
478
|
+
;
|
479
|
+
query = query.toLowerCase();
|
480
|
+
term = term.toLowerCase();
|
481
|
+
if(queryLength > termLength) {
|
482
|
+
return false;
|
483
|
+
}
|
484
|
+
if(queryLength === termLength) {
|
485
|
+
return (query === term);
|
486
|
+
}
|
487
|
+
search: for (var characterIndex = 0, nextCharacterIndex = 0; characterIndex < queryLength; characterIndex++) {
|
488
|
+
var
|
489
|
+
queryCharacter = query.charCodeAt(characterIndex)
|
490
|
+
;
|
491
|
+
while(nextCharacterIndex < termLength) {
|
492
|
+
if(term.charCodeAt(nextCharacterIndex++) === queryCharacter) {
|
493
|
+
continue search;
|
494
|
+
}
|
495
|
+
}
|
496
|
+
return false;
|
497
|
+
}
|
498
|
+
return true;
|
499
|
+
},
|
500
|
+
|
475
501
|
parse: {
|
476
502
|
response: function(response, searchTerm) {
|
477
503
|
var
|
@@ -795,7 +821,7 @@ $.fn.search = function(parameters) {
|
|
795
821
|
}
|
796
822
|
});
|
797
823
|
}
|
798
|
-
if
|
824
|
+
if( $.isFunction( found ) ) {
|
799
825
|
response = found.apply(context, passedArguments);
|
800
826
|
}
|
801
827
|
else if(found !== undefined) {
|
@@ -176,6 +176,10 @@ $.fn.transition = function() {
|
|
176
176
|
module.debug('Animation is already occurring, will not execute repeated animation', settings.animation);
|
177
177
|
return false;
|
178
178
|
}
|
179
|
+
else {
|
180
|
+
module.debug('New animation started, completing previous early', settings.animation);
|
181
|
+
module.complete();
|
182
|
+
}
|
179
183
|
}
|
180
184
|
if( module.can.animate() ) {
|
181
185
|
module.set.animating(settings.animation);
|
@@ -1188,6 +1188,7 @@
|
|
1188
1188
|
.ui.grid [class*="left aligned"].column,
|
1189
1189
|
.ui.grid > [class*="left aligned"].row > .column {
|
1190
1190
|
text-align: left;
|
1191
|
+
align-items: flex-start !important;
|
1191
1192
|
}
|
1192
1193
|
.ui.grid [class*="left aligned"].column{
|
1193
1194
|
text-align: left !important;
|
@@ -1199,6 +1200,7 @@
|
|
1199
1200
|
.ui[class*="center aligned"].grid > .column,
|
1200
1201
|
.ui.grid > [class*="center aligned"].row > .column {
|
1201
1202
|
text-align: center;
|
1203
|
+
align-items: center !important;
|
1202
1204
|
}
|
1203
1205
|
.ui.grid [class*="center aligned"].column{
|
1204
1206
|
text-align: center !important;
|
@@ -1210,6 +1212,7 @@
|
|
1210
1212
|
.ui[class*="right aligned"].grid > .column,
|
1211
1213
|
.ui.grid > [class*="right aligned"].row > .column {
|
1212
1214
|
text-align: right;
|
1215
|
+
align-items: flex-end !important;
|
1213
1216
|
}
|
1214
1217
|
.ui.grid [class*="right aligned"].column{
|
1215
1218
|
text-align: right !important;
|
@@ -1240,11 +1243,24 @@
|
|
1240
1243
|
.ui.grid [class*="top aligned"].column,
|
1241
1244
|
.ui.grid > [class*="top aligned"].row > .column {
|
1242
1245
|
vertical-align: top;
|
1243
|
-
|
1246
|
+
justify-content: flex-start !important;
|
1244
1247
|
}
|
1245
1248
|
.ui.grid [class*="top aligned"].column {
|
1246
1249
|
vertical-align: top !important;
|
1247
|
-
|
1250
|
+
justify-content: flex-start !important;
|
1251
|
+
}
|
1252
|
+
|
1253
|
+
.ui.stretched.grid > .row > .column,
|
1254
|
+
.ui.stretched.grid > .column,
|
1255
|
+
.ui.grid .stretched.column,
|
1256
|
+
.ui.grid > .stretched.row > .column {
|
1257
|
+
display: flex !important;
|
1258
|
+
}
|
1259
|
+
.ui.stretched.grid > .row > .column > *,
|
1260
|
+
.ui.stretched.grid > .column > *,
|
1261
|
+
.ui.grid .stretched.column > *,
|
1262
|
+
.ui.grid > .stretched.row > .column > * {
|
1263
|
+
flex-grow: 1;
|
1248
1264
|
}
|
1249
1265
|
|
1250
1266
|
/* Middle Aligned */
|
@@ -1253,11 +1269,11 @@
|
|
1253
1269
|
.ui[class*="middle aligned"].grid > .column,
|
1254
1270
|
.ui.grid > [class*="middle aligned"].row > .column {
|
1255
1271
|
vertical-align: middle;
|
1256
|
-
|
1272
|
+
justify-content: center !important;
|
1257
1273
|
}
|
1258
1274
|
.ui.grid [class*="middle aligned"].column{
|
1259
1275
|
vertical-align: middle !important;
|
1260
|
-
|
1276
|
+
justify-content: center !important;
|
1261
1277
|
}
|
1262
1278
|
|
1263
1279
|
/* Bottom Aligned */
|
@@ -1266,10 +1282,10 @@
|
|
1266
1282
|
.ui[class*="bottom aligned"].grid > .column,
|
1267
1283
|
.ui.grid > [class*="bottom aligned"].row > .column {
|
1268
1284
|
vertical-align: bottom;
|
1269
|
-
|
1285
|
+
justify-content: flex-end !important;
|
1270
1286
|
}
|
1271
1287
|
.ui.grid [class*="bottom aligned"].column {
|
1272
|
-
|
1288
|
+
justify-content: flex-end !important;
|
1273
1289
|
vertical-align: bottom !important;
|
1274
1290
|
}
|
1275
1291
|
|
@@ -1397,7 +1413,6 @@
|
|
1397
1413
|
padding-bottom: (@rowSpacing / 2);
|
1398
1414
|
}
|
1399
1415
|
|
1400
|
-
|
1401
1416
|
/*----------------------
|
1402
1417
|
Equal Width
|
1403
1418
|
-----------------------*/
|
@@ -1427,14 +1442,13 @@
|
|
1427
1442
|
.ui.grid > [class*="equal width"].row {
|
1428
1443
|
display: flex;
|
1429
1444
|
flex-direction: row;
|
1430
|
-
align-items: stretch;
|
1431
1445
|
}
|
1432
1446
|
.ui[class*="equal width"].grid > .column,
|
1433
1447
|
.ui[class*="equal width"].grid > .row > .column,
|
1434
1448
|
.ui.grid > [class*="equal width"].row > .column {
|
1435
|
-
display:
|
1449
|
+
display: block;
|
1436
1450
|
flex-direction: column;
|
1437
|
-
flex: 1
|
1451
|
+
flex-grow: 1;
|
1438
1452
|
}
|
1439
1453
|
|
1440
1454
|
|
@@ -1459,21 +1473,25 @@
|
|
1459
1473
|
}
|
1460
1474
|
|
1461
1475
|
/* Flexbox (Experimental / Overrides Where Supported) */
|
1462
|
-
.ui[class*="equal height"].grid
|
1476
|
+
.ui[class*="equal height"].grid {
|
1477
|
+
display: flex;
|
1478
|
+
flex-direction: column;
|
1479
|
+
}
|
1463
1480
|
.ui[class*="equal height"].grid > .row,
|
1464
1481
|
.ui.grid > [class*="equal height"].row {
|
1465
1482
|
display: flex;
|
1466
1483
|
flex-direction: row;
|
1467
|
-
align-items: stretch;
|
1468
1484
|
}
|
1469
1485
|
.ui[class*="equal height"].grid > .column,
|
1470
1486
|
.ui[class*="equal height"].grid > .row > .column,
|
1471
1487
|
.ui.grid > [class*="equal height"].row > .column {
|
1472
|
-
display:
|
1488
|
+
display: block;
|
1473
1489
|
flex-direction: column;
|
1474
|
-
flex:
|
1490
|
+
flex-grow: 1;
|
1475
1491
|
}
|
1476
1492
|
|
1493
|
+
|
1494
|
+
|
1477
1495
|
/*-------------------
|
1478
1496
|
Doubling
|
1479
1497
|
--------------------*/
|
@@ -1690,6 +1708,7 @@
|
|
1690
1708
|
padding: (@stackableRowSpacing / 2) (@stackableGutter / 2) !important;
|
1691
1709
|
}
|
1692
1710
|
.ui.stackable.grid > .row {
|
1711
|
+
display: block !important;
|
1693
1712
|
margin: 0em;
|
1694
1713
|
padding: 0em;
|
1695
1714
|
}
|
@@ -85,6 +85,22 @@ h5 {
|
|
85
85
|
font-size: @h5;
|
86
86
|
}
|
87
87
|
|
88
|
+
h1:first-child,
|
89
|
+
h2:first-child,
|
90
|
+
h3:first-child,
|
91
|
+
h4:first-child,
|
92
|
+
h5:first-child {
|
93
|
+
margin-top: 0em;
|
94
|
+
}
|
95
|
+
|
96
|
+
h1:last-child,
|
97
|
+
h2:last-child,
|
98
|
+
h3:last-child,
|
99
|
+
h4:last-child,
|
100
|
+
h5:last-child {
|
101
|
+
margin-bottom: 0em;
|
102
|
+
}
|
103
|
+
|
88
104
|
|
89
105
|
/*******************************
|
90
106
|
Text
|
@@ -99,8 +99,6 @@
|
|
99
99
|
margin-top: @consecutiveGroupDistance;
|
100
100
|
}
|
101
101
|
|
102
|
-
|
103
|
-
|
104
102
|
/*--------------
|
105
103
|
Rounded Edges
|
106
104
|
---------------*/
|
@@ -335,6 +333,16 @@
|
|
335
333
|
width: @buttonWidth;
|
336
334
|
}
|
337
335
|
|
336
|
+
/*--------------
|
337
|
+
Dimmer
|
338
|
+
---------------*/
|
339
|
+
|
340
|
+
.ui.cards > .card .dimmer,
|
341
|
+
.ui.card .dimmer {
|
342
|
+
background: @dimmerBackground;
|
343
|
+
z-index: @dimmerZIndex;
|
344
|
+
}
|
345
|
+
|
338
346
|
/*--------------
|
339
347
|
Labels
|
340
348
|
---------------*/
|
@@ -25,7 +25,6 @@
|
|
25
25
|
@subHeaderLineHeight: 1.2em;
|
26
26
|
@subHeaderColor: rgba(0, 0, 0, 0.5);
|
27
27
|
|
28
|
-
|
29
28
|
/* Icon */
|
30
29
|
@iconOpacity: 1;
|
31
30
|
@iconSize: 1.5em;
|
@@ -41,6 +40,7 @@
|
|
41
40
|
@imageAlignment: middle;
|
42
41
|
|
43
42
|
/* Label */
|
43
|
+
@labelSize: @medium;
|
44
44
|
@labelDistance: 0.5rem;
|
45
45
|
@labelVerticalAlign: middle;
|
46
46
|
|
@@ -377,17 +377,17 @@
|
|
377
377
|
/* Rendered Scrollbar Width */
|
378
378
|
@scrollBarWidth: 15px;
|
379
379
|
|
380
|
-
/*
|
381
|
-
@
|
382
|
-
@
|
383
|
-
@headerBottomMargin : 1rem;
|
384
|
-
@headerMargin : @headerTopMargin 0em @headerBottomMargin;
|
380
|
+
/* Used to match floats with text */
|
381
|
+
@lineHeightOffset : ((@lineHeight - 1em) / 2);
|
382
|
+
@headerLineHeightOffset : (@headerLineHeight - 1em) / 2;
|
385
383
|
|
386
|
-
/*
|
387
|
-
@
|
384
|
+
/* Header Spacing */
|
385
|
+
@headerTopMargin : ~"calc(2rem - "@headerLineHeightOffset~")";
|
386
|
+
@headerBottomMargin : 1rem;
|
387
|
+
@headerMargin : @headerTopMargin 0em @headerBottomMargin;
|
388
388
|
|
389
|
-
/*
|
390
|
-
@
|
389
|
+
/* Minimum Mobile Width */
|
390
|
+
@pageMinWidth : 320px;
|
391
391
|
|
392
392
|
/* Positive / Negative Dupes */
|
393
393
|
@successColor : @positiveColor;
|
@@ -70,7 +70,7 @@
|
|
70
70
|
@mobileContentPadding: 1rem;
|
71
71
|
@mobileImagePadding: 0rem 0rem 1rem;
|
72
72
|
@mobileDescriptionPadding: 1rem 0rem ;
|
73
|
-
@mobileButtonDistance:
|
73
|
+
@mobileButtonDistance: 1rem;
|
74
74
|
@mobileActionPadding: 1rem 1rem (1rem - @mobileButtonDistance);
|
75
75
|
@mobileImageIconSize: 5rem;
|
76
76
|
@mobileCloseTop: 0.5rem;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails-semantic_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxim Dobryakov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: less-rails
|