Browse Source

Adds padded segment

pull/2034/head
jlukic 9 years ago
parent
commit
663d05436c
2 changed files with 16 additions and 1 deletions
  1. 12
      src/definitions/elements/segment.less
  2. 5
      src/themes/default/elements/segment.variables

12
src/definitions/elements/segment.less

@ -219,6 +219,18 @@
border-top: 1px solid @selectedBorderColor;
}
/*-------------------
Padded
--------------------*/
.ui.padded.segment {
padding: @paddedSegmentPadding;
}
.ui[class*="very padded"].segment {
padding: @veryPaddedSegmentPadding;
}
/*-------------------
Compact
--------------------*/

5
src/themes/default/elements/segment.variables

@ -28,7 +28,6 @@
/* Page Grid Segment */
@pageGridMargin: (2 * @verticalPadding);
/*******************************
States
*******************************/
@ -70,6 +69,10 @@
@raisedShadow
;
/* Padded */
@paddedSegmentPadding: 2em;
@veryPaddedSegmentPadding: 3em;
/* Attached */
@attachedTopOffset: 0px;
@attachedBottomOffset: 0px;

Loading…
Cancel
Save