open-consul/ui/styles/_lists.scss

105 lines
2.1 KiB
SCSS
Raw Normal View History

.list-group-item {
padding: 0;
border-width: 2px;
2014-04-25 19:12:21 +00:00
border-bottom-width: 2px;
2014-06-02 14:50:24 +00:00
border-radius: 2px;
2014-04-24 20:21:55 +00:00
margin-bottom: 15px;
margin-top: 15px;
2014-04-30 16:15:54 +00:00
@include transition(background-color .3s ease-in-out);
.list-group-item-heading, .list-inline {
margin: 10px 15px 10px 15px;
padding: 0px 5px 10px 5px;
}
.list-inline {
padding-left: 0px;
color: $gray;
2014-04-23 14:45:58 +00:00
font-size: 13px;
overflow: scroll;
height: 30px;
}
.list-group-item-heading {
border-bottom: 2px solid #eee;
color: $gray-darker;
.heading-helper {
float: right;
font-weight: 600;
color: $gray-light;
font-size: 14px;
}
}
.list-bar {
width: 100%;
height: 20px;
}
2014-04-24 20:21:55 +00:00
&.list-link:hover {
cursor: pointer;
background-color: lighten($gray-background, 8%);
}
2014-05-30 18:26:11 +00:00
&.list-condensed-link:hover {
cursor: pointer;
background-color: lighten($gray-background, 8%);
}
&.list-condensed-link, &.list-condensed {
2014-05-30 18:26:11 +00:00
border-color: $gray-background;
margin-bottom: 4px;
margin-top: 4px;
height: 40px;
&.double-line {
2014-06-09 15:28:35 +00:00
height: 54px;
}
2014-05-30 18:26:11 +00:00
font-weight: 700;
.name {
font-size: 15px;
padding-top: 6px;
2014-05-30 18:26:11 +00:00
small {
padding-right: 8px;
padding-top: 2px;
2014-05-30 18:26:11 +00:00
font-size: 12px;
color: $gray-light;
}
}
ul.sub {
li {
padding: 0;
}
margin: 0;
font-size: 12px;
color: $gray-light;
}
2014-05-30 18:26:11 +00:00
}
.list-bar-horizontal {
width: 20px;
float: left;
height: 100%;
margin-right: 10px;
}
2014-04-24 17:58:03 +00:00
&.active {
@include transition(border-color .1s linear);
border-color: $purple;
.list-bar, .list-bar-horizontal {
@include transition(background-color .1s linear);
background-color: $purple;
}
2014-04-24 17:58:03 +00:00
}
}