Browse Source

Add segment groups #1809

pull/1785/head
jlukic 9 years ago
parent
commit
6c27b6117b
1 changed files with 40 additions and 0 deletions
  1. 40
      src/definitions/elements/segment.less

40
src/definitions/elements/segment.less

@ -579,6 +579,46 @@
margin-bottom: 0em;
}
/*-------------------
Groups
--------------------*/
.ui.segments > .segment {
top: 0px;
bottom: 0px;
margin: 0em @attachedHorizontalOffset;
width: @attachedWidth;
max-width: @attachedWidth;
border-radius: 0px;
box-shadow: @attachedBoxShadow;
border: @attachedBorder;
}
.ui.segments > .segment:not(:first-child) {
border-top: none;
}
/* Top */
.ui.segments > .segment:first-child {
margin-top: 0em;
bottom: 0px;
margin-bottom: 0em;
top: @attachedTopOffset;
margin-top: @margin;
border-radius: @borderRadius @borderRadius 0em 0em;
}
/* Bottom */
.ui.segments > .segment:last-child {
bottom: 0px;
margin-top: 0em;
margin-bottom: 0em;
top: @attachedBottomOffset;
box-shadow: @attachedBottomBoxShadow;
border-radius: 0em 0em @borderRadius @borderRadius;
}
.loadUIOverrides();
}

Loading…
Cancel
Save