semantic-ui-sass 2.1.3.0 → 2.1.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/CHANGELOG.md +6 -0
- data/README.md +5 -5
- data/app/assets/javascripts/semantic-ui/api.js +1 -1
- data/app/assets/javascripts/semantic-ui/dropdown.js +9 -4
- data/app/assets/javascripts/semantic-ui/form.js +184 -90
- data/app/assets/javascripts/semantic-ui/search.js +1 -1
- data/app/assets/javascripts/semantic-ui/site.js +2 -2
- data/app/assets/javascripts/semantic-ui/tab.js +2 -2
- data/app/assets/stylesheets/semantic-ui.scss +2 -3
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +14 -15
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +7 -7
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +3 -2
- data/app/assets/stylesheets/semantic-ui/elements/_container.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +1 -2
- data/app/assets/stylesheets/semantic-ui/elements/_list.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +3 -2
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/globals/_all.scss +2 -2
- data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/globals/_site.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_ad.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_card.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +1 -1
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +1 -1
- data/app/helpers/semantic_breadcrumbs_helper.rb +2 -2
- data/lib/semantic/ui/sass/breadcrumbs.rb +7 -7
- data/lib/semantic/ui/sass/version.rb +2 -2
- data/spec/helpers/semantic_breadcrumbs_helper_spec.rb +4 -4
- metadata +2 -2
@@ -350,7 +350,7 @@ $.fn.search = function(parameters) {
|
|
350
350
|
$.each(results, function(index, category) {
|
351
351
|
if($.isArray(category.results)) {
|
352
352
|
result = module.search.object(value, category.results, lookupFields)[0];
|
353
|
-
//
|
353
|
+
// don't continue searching if a result is found
|
354
354
|
if(result) {
|
355
355
|
return false;
|
356
356
|
}
|
@@ -81,7 +81,7 @@ $.site = $.fn.site = function(parameters) {
|
|
81
81
|
requestAnimationFrame: function() {
|
82
82
|
module.debug('Normalizing requestAnimationFrame');
|
83
83
|
if(window.requestAnimationFrame === undefined) {
|
84
|
-
module.debug('RequestAnimationFrame not available,
|
84
|
+
module.debug('RequestAnimationFrame not available, normalizing event');
|
85
85
|
window.requestAnimationFrame = window.requestAnimationFrame
|
86
86
|
|| window.mozRequestAnimationFrame
|
87
87
|
|| window.webkitRequestAnimationFrame
|
@@ -484,4 +484,4 @@ $.extend($.expr[ ":" ], {
|
|
484
484
|
});
|
485
485
|
|
486
486
|
|
487
|
-
})( jQuery, window , document );
|
487
|
+
})( jQuery, window , document );
|
@@ -107,7 +107,7 @@ $.fn.tab = function(parameters) {
|
|
107
107
|
|
108
108
|
bind: {
|
109
109
|
events: function() {
|
110
|
-
// if using $.tab
|
110
|
+
// if using $.tab don't add events
|
111
111
|
if( !$.isWindow( element ) ) {
|
112
112
|
module.debug('Attaching tab activation events to element', $module);
|
113
113
|
$module
|
@@ -895,4 +895,4 @@ $.fn.tab.settings = {
|
|
895
895
|
|
896
896
|
};
|
897
897
|
|
898
|
-
})( jQuery, window , document );
|
898
|
+
})( jQuery, window , document );
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.1.
|
2
|
+
* # Semantic UI 2.1.4 - Grid
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
@@ -1190,6 +1190,7 @@
|
|
1190
1190
|
|
1191
1191
|
/* Top Aligned */
|
1192
1192
|
.ui[class*="top aligned"].grid > .column:not(.row),
|
1193
|
+
.ui[class*="top aligned"].grid > .row > .column,
|
1193
1194
|
.ui.grid > [class*="top aligned"].row > .column,
|
1194
1195
|
.ui.grid > [class*="top aligned"].column:not(.row),
|
1195
1196
|
.ui.grid > .row > [class*="top aligned"].column {
|
@@ -1206,6 +1207,7 @@
|
|
1206
1207
|
|
1207
1208
|
/* Middle Aligned */
|
1208
1209
|
.ui[class*="middle aligned"].grid > .column:not(.row),
|
1210
|
+
.ui[class*="middle aligned"].grid > .row > .column,
|
1209
1211
|
.ui.grid > [class*="middle aligned"].row > .column,
|
1210
1212
|
.ui.grid > [class*="middle aligned"].column:not(.row),
|
1211
1213
|
.ui.grid > .row > [class*="middle aligned"].column {
|
@@ -1222,6 +1224,7 @@
|
|
1222
1224
|
|
1223
1225
|
/* Bottom Aligned */
|
1224
1226
|
.ui[class*="bottom aligned"].grid > .column:not(.row),
|
1227
|
+
.ui[class*="bottom aligned"].grid > .row > .column,
|
1225
1228
|
.ui.grid > [class*="bottom aligned"].row > .column,
|
1226
1229
|
.ui.grid > [class*="bottom aligned"].column:not(.row),
|
1227
1230
|
.ui.grid > .row > [class*="bottom aligned"].column {
|
@@ -1272,7 +1275,8 @@
|
|
1272
1275
|
|
1273
1276
|
|
1274
1277
|
/* Left Aligned */
|
1275
|
-
.ui[class*="left aligned"].grid .column,
|
1278
|
+
.ui[class*="left aligned"].grid > .column,
|
1279
|
+
.ui[class*="left aligned"].grid > .row > .column,
|
1276
1280
|
.ui.grid > [class*="left aligned"].row > .column,
|
1277
1281
|
.ui.grid > [class*="left aligned"].column.column,
|
1278
1282
|
.ui.grid > .row > [class*="left aligned"].column {
|
@@ -1283,7 +1287,8 @@
|
|
1283
1287
|
}
|
1284
1288
|
|
1285
1289
|
/* Center Aligned */
|
1286
|
-
.ui[class*="center aligned"].grid .column,
|
1290
|
+
.ui[class*="center aligned"].grid > .column,
|
1291
|
+
.ui[class*="center aligned"].grid > .row > .column,
|
1287
1292
|
.ui.grid > [class*="center aligned"].row > .column,
|
1288
1293
|
.ui.grid > [class*="center aligned"].column.column,
|
1289
1294
|
.ui.grid > .row > [class*="center aligned"].column {
|
@@ -1300,7 +1305,8 @@
|
|
1300
1305
|
}
|
1301
1306
|
|
1302
1307
|
/* Right Aligned */
|
1303
|
-
.ui[class*="right aligned"].grid .column,
|
1308
|
+
.ui[class*="right aligned"].grid > .column,
|
1309
|
+
.ui[class*="right aligned"].grid > .row > .column,
|
1304
1310
|
.ui.grid > [class*="right aligned"].row > .column,
|
1305
1311
|
.ui.grid > [class*="right aligned"].column.column,
|
1306
1312
|
.ui.grid > .row > [class*="right aligned"].column {
|
@@ -1311,24 +1317,17 @@
|
|
1311
1317
|
}
|
1312
1318
|
|
1313
1319
|
/* Justified */
|
1314
|
-
.ui.justified.grid,
|
1315
|
-
.ui.justified.grid > .row > .column,
|
1316
1320
|
.ui.justified.grid > .column,
|
1317
|
-
.ui.grid .
|
1318
|
-
.ui.grid > .justified.row > .column
|
1321
|
+
.ui.justified.grid > .row > .column,
|
1322
|
+
.ui.grid > .justified.row > .column,
|
1323
|
+
.ui.grid > .justified.column.column,
|
1324
|
+
.ui.grid > .row > .justified.column {
|
1319
1325
|
text-align: justify;
|
1320
1326
|
-webkit-hyphens: auto;
|
1321
1327
|
-moz-hyphens: auto;
|
1322
1328
|
-ms-hyphens: auto;
|
1323
1329
|
hyphens: auto;
|
1324
1330
|
}
|
1325
|
-
.ui.grid .justified.column {
|
1326
|
-
text-align: justify !important;
|
1327
|
-
-webkit-hyphens: auto !important;
|
1328
|
-
-moz-hyphens: auto !important;
|
1329
|
-
-ms-hyphens: auto !important;
|
1330
|
-
hyphens: auto !important;
|
1331
|
-
}
|
1332
1331
|
|
1333
1332
|
/*----------------------
|
1334
1333
|
Colored
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.1.
|
2
|
+
* # Semantic UI 2.1.4 - Message
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
@@ -68,33 +68,33 @@
|
|
68
68
|
}
|
69
69
|
|
70
70
|
/* List */
|
71
|
-
.ui.message
|
71
|
+
.ui.message .list:not(.ui) {
|
72
72
|
text-align: left;
|
73
73
|
padding: 0em;
|
74
74
|
opacity: 0.85;
|
75
75
|
list-style-position: inside;
|
76
76
|
margin: 0.5em 0em 0em;
|
77
77
|
}
|
78
|
-
.ui.message
|
78
|
+
.ui.message .list:not(.ui):first-child {
|
79
79
|
margin-top: 0em;
|
80
80
|
}
|
81
|
-
.ui.message
|
81
|
+
.ui.message .list:not(.ui):last-child {
|
82
82
|
margin-bottom: 0em;
|
83
83
|
}
|
84
|
-
.ui.message
|
84
|
+
.ui.message .list:not(.ui) li {
|
85
85
|
position: relative;
|
86
86
|
list-style-type: none;
|
87
87
|
margin: 0em 0em 0.3em 1em;
|
88
88
|
padding: 0em;
|
89
89
|
}
|
90
|
-
.ui.message
|
90
|
+
.ui.message .list:not(.ui) li:before {
|
91
91
|
position: absolute;
|
92
92
|
content: '•';
|
93
93
|
left: -1em;
|
94
94
|
height: 100%;
|
95
95
|
vertical-align: baseline;
|
96
96
|
}
|
97
|
-
.ui.message
|
97
|
+
.ui.message .list:not(.ui) li:last-child {
|
98
98
|
margin-bottom: 0em;
|
99
99
|
}
|
100
100
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.1.
|
2
|
+
* # Semantic UI 2.1.4 - Button
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
@@ -851,9 +851,10 @@
|
|
851
851
|
border-radius: 0px;
|
852
852
|
border-top-left-radius: inherit;
|
853
853
|
border-bottom-left-radius: inherit;
|
854
|
+
text-align: center;
|
855
|
+
margin: 0em;
|
854
856
|
width: 2.57142857em;
|
855
857
|
background-color: rgba(0, 0, 0, 0.05);
|
856
|
-
text-align: center;
|
857
858
|
color: '';
|
858
859
|
box-shadow: -1px 0px 0px 0px transparent inset;
|
859
860
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.1.
|
2
|
+
* # Semantic UI 2.1.4 - Label
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
@@ -16,7 +16,6 @@
|
|
16
16
|
|
17
17
|
.ui.label {
|
18
18
|
display: inline-block;
|
19
|
-
white-space: nowrap;
|
20
19
|
line-height: 1;
|
21
20
|
vertical-align: baseline;
|
22
21
|
margin: 0em 0.14285714em;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Semantic UI 2.1.
|
2
|
+
* # Semantic UI 2.1.4 - Segment
|
3
3
|
* http://github.com/semantic-org/semantic-ui/
|
4
4
|
*
|
5
5
|
*
|
@@ -75,7 +75,8 @@
|
|
75
75
|
|
76
76
|
/* Grid */
|
77
77
|
.ui.page.grid.segment,
|
78
|
-
.ui.grid .ui.segment.column
|
78
|
+
.ui.grid > .row > .ui.segment.column,
|
79
|
+
.ui.grid > .ui.segment.column {
|
79
80
|
padding-top: 2em;
|
80
81
|
padding-bottom: 2em;
|
81
82
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
@import '
|
2
|
-
@import '
|
1
|
+
@import 'reset';
|
2
|
+
@import 'site';
|