gitlabhq/app/assets/stylesheets/gitlab_bootstrap/lists.scss

74 lines
1.1 KiB
SCSS
Raw Normal View History

/**
* Well styled list
*
*/
.well-list {
margin: 0;
list-style: none;
li {
background-color: #FFF;
padding: 10px;
min-height: 20px;
border-bottom: 1px solid #eee;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
&.disabled {
color: #888;
}
&.smoke { background-color: #f5f5f5; }
2012-10-02 09:26:24 +02:00
&:hover {
background: $hover;
border-bottom: 1px solid #ADF;
2012-10-02 09:26:24 +02:00
}
&:last-child {
2013-01-04 22:35:31 +01:00
border-bottom: none;
2013-01-04 23:35:38 +01:00
&.bottom {
background: #f5f5f5;
}
}
.author { color: #999; }
p {
padding-top: 1px;
margin: 0;
color: #222;
img {
position: relative;
top: 3px;
}
}
.well-title {
font-size: 14px;
line-height: 18px;
}
}
}
2012-11-10 22:08:47 +01:00
ol, ul {
&.styled {
li {
padding: 2px;
2012-11-10 22:08:47 +01:00
}
}
}
/** light list with border-bottom between li **/
ul.bordered-list {
margin: 5px 0px;
padding: 0px;
li {
padding: 5px 0;
border-bottom: 1px solid #EEE;
overflow: hidden;
display: block;
margin: 0px;
&:last-child { border:none }
}
}