Browse Source

Add segment/card coupling with attached progress

pull/1785/head
jlukic 10 years ago
parent
commit
aea9abd618
2 changed files with 15 additions and 1 deletions
  1. 14
      src/definitions/modules/progress.less
  2. 2
      src/themes/default/modules/progress.variables

14
src/definitions/modules/progress.less

@ -336,6 +336,20 @@
border-radius: 0em; border-radius: 0em;
} }
/* Coupling */
.ui.segment > .ui.attached.progress,
.ui.card > .ui.attached.progress {
position: absolute;
top: auto;
left: 0;
bottom: 100%;
width: 100%;
}
.ui.segment > .ui.bottom.attached.progress,
.ui.card > .ui.bottom.attached.progress {
top: 100%;
bottom: auto;
}
/*-------------- /*--------------
Colors Colors

2
src/themes/default/modules/progress.variables

@ -90,7 +90,7 @@
/* Attached */ /* Attached */
@attachedBackground: transparent; @attachedBackground: transparent;
@attachedHeight: 3px;
@attachedHeight: 0.2rem;
@attachedBorderRadius: @borderRadius; @attachedBorderRadius: @borderRadius;
/* Inverted */ /* Inverted */

Loading…
Cancel
Save