Skip to content

Commit dd27d1e

Browse files
committed
Assets for Semantic UI 1.11.6
1 parent 9c18164 commit dd27d1e

6 files changed

Lines changed: 20 additions & 16 deletions

File tree

assets/stylesheets/semantic_ui/definitions/collections/form.less

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -565,22 +565,24 @@
565565
Required Field
566566
---------------------*/
567567

568-
.ui.form .required.fields > .field > label:after,
568+
.ui.form .required.fields:not(.grouped) > .field > label:after,
569+
.ui.form .required.fields.grouped > label:after,
569570
.ui.form .required.field > label:after,
570-
.ui.form .required.fields > .field > .checkbox:after,
571+
.ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
571572
.ui.form .required.field > .checkbox:after {
572573
margin: @requiredMargin;
573574
content: @requiredContent;
574575
color: @requiredColor;
575576
}
576577

577-
.ui.form .required.fields > .field > label:after,
578+
.ui.form .required.fields:not(.grouped) > .field > label:after,
579+
.ui.form .required.fields.grouped > label:after,
578580
.ui.form .required.field > label:after {
579581
display: inline-block;
580582
vertical-align: top;
581583
}
582584

583-
.ui.form .required.fields > .field > .checkbox:after,
585+
.ui.form .required.fields:not(.grouped) > .field > .checkbox:after,
584586
.ui.form .required.field > .checkbox:after {
585587
position: absolute;
586588
top: 0%;
@@ -897,4 +899,4 @@
897899
font-size: @huge;
898900
}
899901

900-
.loadUIOverrides();
902+
.loadUIOverrides();

assets/stylesheets/semantic_ui/definitions/elements/input.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636

3737
.ui.input {
3838
position: relative;
39-
display: inline-block;
39+
display: inline-flex;
4040
color: @inputColor;
4141
}
4242
.ui.input input {
4343
margin: 0em;
44-
width: 100%;
44+
flex-grow: 1;
4545
outline: none;
4646
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
4747
text-align: @textAlign;
@@ -284,7 +284,7 @@
284284
display: inline-flex;
285285
}
286286
.ui.labeled.input > .label {
287-
flex: 1 0 auto;
287+
flex-grow: 0;
288288
margin: 0;
289289
font-size: 1em;
290290
}
@@ -350,7 +350,7 @@
350350

351351
.ui.action.input > .button,
352352
.ui.action.input > .buttons {
353-
flex: 1 0 auto;
353+
flex-grow: 0;
354354
}
355355
.ui.action.input > .button,
356356
.ui.action.input > .buttons > .button {

assets/stylesheets/semantic_ui/definitions/modules/dropdown.less

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ select.ui.dropdown {
406406
/* Scrollbar in IE */
407407
@media all and (-ms-high-contrast:none) {
408408
.ui.selection.dropdown .menu {
409-
min-width: ~"calc(100% - "@scrollBarWidth~")";
409+
min-width: ~"calc(100% - "@scrollbarWidth~")";
410410
}
411411
}
412412

@@ -434,9 +434,7 @@ select.ui.dropdown {
434434
/* Menu Item */
435435
.ui.selection.dropdown .menu > .item {
436436
border-top: @selectionItemDivider;
437-
padding-left: @selectionHorizontalPadding !important;
438-
/* Add in spacing for scroll bar */
439-
padding-right: ~"calc("@selectionHorizontalPadding~" + 1em) !important~";
437+
padding: @selectionItemPadding !important;
440438
white-space: normal;
441439
word-wrap: normal;
442440
}

assets/stylesheets/semantic_ui/themes/default/globals/site.variables

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375
--------------------*/
376376

377377
/* Rendered Scrollbar Width */
378-
@scrollBarWidth: 15px;
378+
@scrollbarWidth: 15px;
379379

380380
/* Used to match floats with text */
381381
@lineHeightOffset : ((@lineHeight - 1em) / 2);

assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
/* Menu Header */
7070
@menuHeaderColor: @darkTextColor;
71-
@menuHeaderFontSize: 0.8em;
71+
@menuHeaderFontSize: 0.7857rem;
7272
@menuHeaderFontWeight: bold;
7373
@menuHeaderTextTransform: uppercase;
7474
@menuHeaderMargin: 1rem 0rem 0.75rem;
@@ -143,6 +143,10 @@
143143
@selectionMenuBoxShadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
144144
@selectionMenuItemBoxShadow: none;
145145

146+
@selectionItemHorizontalPadding: @itemHorizontalPadding;
147+
@selectionItemVerticalPadding: @itemVerticalPadding;
148+
@selectionItemPadding: @selectionItemVerticalPadding @selectionItemHorizontalPadding;
149+
146150
@selectionTransition:
147151
@transition,
148152
box-shadow 0.2s @defaultEasing,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Less
22
module Rails
33
module SemanticUI
4-
VERSION = '1.11.5.0'
4+
VERSION = '1.11.6.0'
55
end
66
end
77
end

0 commit comments

Comments
 (0)