Browse Source

Adds fitted list variation

pull/912/head
jlukic 10 years ago
parent
commit
f76e2974c5
1 changed files with 19 additions and 7 deletions
  1. 26
      src/definitions/views/list.less

26
src/definitions/views/list.less

@ -54,7 +54,7 @@ ol.ui.list li,
list-style-position: inside;
padding: 0.3em 0em;
line-height: 1.2em;
line-height: 1.2;
}
.ui.list .item:after {
@ -102,7 +102,7 @@ ol.ui.list li,
.ui.list .item > .content {
display: inline-block;
vertical-align: middle;
line-height: 1.2em;
line-height: 1.2;
}
.ui.list .item > .icon + .content {
display: table-cell;
@ -303,7 +303,19 @@ ol.ui.list li,
color: #FFFFFF;
}
/*-------------------
Fitted
--------------------*/
.ui.fitted.list:not(.selection) .item {
padding-left: 0em;
padding-right: 0em;
}
.ui.fitted.selection.list .item {
margin-left: -0.5em;
margin-right: -0.5em;
}
/*-------------------
Bulleted
@ -322,6 +334,9 @@ ul.ui.list li:before,
position: absolute;
left: -1.5em;
content: '•';
line-height: 1.2rem;
vertical-align: top;
}
ul.ui.list ul,
@ -398,7 +413,6 @@ ol.ui.horizontal.list,
ol.ui.horizontal.list li:before,
.ui.ordered.horizontal.list .item:before {
position: static;
left: 0em;
margin: 0em 0.5em 0em 0em;
}
@ -410,8 +424,6 @@ ol.ui.horizontal.list li:before,
.ui.divided.list > .item,
.ui.divided.list:not(.horizontal) > .list {
border-top: 1px solid rgba(0, 0, 0, 0.1);
padding-left: 0.5em;
padding-right: 0.5em;
}
.ui.divided.list .item .menu .item {
border-width: 0px;
@ -472,7 +484,7 @@ ol.ui.horizontal.list li:before,
padding-left: 0.75em;
padding-right: 0.75em;
line-height: 0.6em;
line-height: 0.6;
}
.ui.horizontal.divided.list > .item:first-child {
border-left: none;
@ -554,7 +566,7 @@ ol.ui.horizontal.list li:before,
padding-left: 0.75em;
padding-right: 0.75em;
line-height: 0.6em;
line-height: 0.6;
}
.ui.horizontal.celled.list .item:last-child {
border-bottom: none;

Loading…
Cancel
Save