2012-12-17 22:14:05 -05:00
|
|
|
/**
|
|
|
|
* Well styled list
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.well-list {
|
2016-02-29 12:19:00 -05:00
|
|
|
position: relative;
|
2012-12-17 22:14:05 -05:00
|
|
|
margin: 0;
|
2013-12-30 18:12:02 -05:00
|
|
|
padding: 0;
|
2012-12-17 22:14:05 -05:00
|
|
|
list-style: none;
|
2013-12-30 18:12:02 -05:00
|
|
|
|
2015-12-09 19:24:10 -05:00
|
|
|
> li {
|
2014-06-03 03:01:15 -04:00
|
|
|
padding: 10px 15px;
|
2012-08-29 14:23:43 -04:00
|
|
|
min-height: 20px;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
|
|
2014-03-20 08:23:07 -04:00
|
|
|
&:after {
|
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2012-12-17 22:14:05 -05:00
|
|
|
&.disabled {
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
2013-06-17 14:00:59 -04:00
|
|
|
&.unstyled {
|
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-05 08:54:51 -05:00
|
|
|
&.warning-row {
|
|
|
|
background-color: #fcf8e3;
|
|
|
|
border-color: #faebcc;
|
|
|
|
color: #8a6d3b;
|
|
|
|
}
|
|
|
|
|
2015-03-17 21:01:33 -04:00
|
|
|
&.smoke { background-color: $background-color; }
|
2012-12-17 22:14:05 -05:00
|
|
|
|
2012-10-02 03:26:24 -04:00
|
|
|
&:hover {
|
2016-02-23 11:13:43 -05:00
|
|
|
background: $row-hover;
|
2012-10-02 03:26:24 -04:00
|
|
|
}
|
2012-12-17 22:14:05 -05:00
|
|
|
|
|
|
|
&:last-child {
|
2013-01-04 16:35:31 -05:00
|
|
|
border-bottom: none;
|
2013-01-04 17:35:38 -05:00
|
|
|
|
|
|
|
&.bottom {
|
2015-03-17 21:01:33 -04:00
|
|
|
background: $background-color;
|
2013-01-04 17:35:38 -05:00
|
|
|
}
|
2012-12-17 22:14:05 -05:00
|
|
|
}
|
|
|
|
|
2014-03-26 03:25:02 -04:00
|
|
|
.list-item-name {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
|
2012-08-29 14:23:43 -04:00
|
|
|
p {
|
2012-11-10 17:08:42 -05:00
|
|
|
padding-top: 1px;
|
2012-11-23 11:33:43 -05:00
|
|
|
margin: 0;
|
2015-03-18 01:48:00 -04:00
|
|
|
color: $gray-dark;
|
2012-08-29 14:23:43 -04:00
|
|
|
img {
|
2012-11-23 11:33:43 -05:00
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
2012-08-29 14:23:43 -04:00
|
|
|
}
|
|
|
|
}
|
2012-12-17 22:14:05 -05:00
|
|
|
|
|
|
|
.well-title {
|
2015-01-15 17:55:45 -05:00
|
|
|
font-size: $list-font-size;
|
2012-12-17 22:14:05 -05:00
|
|
|
line-height: 18px;
|
|
|
|
}
|
2012-08-29 14:23:43 -04:00
|
|
|
}
|
|
|
|
}
|
2012-11-10 16:08:47 -05:00
|
|
|
|
2012-12-13 14:44:55 -05:00
|
|
|
|
|
|
|
/** light list with border-bottom between li **/
|
2016-01-12 20:49:43 -05:00
|
|
|
ul.bordered-list, ul.unstyled-list {
|
2015-08-26 16:44:02 -04:00
|
|
|
@include basic-list;
|
2013-08-02 06:44:25 -04:00
|
|
|
|
|
|
|
&.top-list {
|
|
|
|
li:first-child {
|
|
|
|
padding-top: 0;
|
2015-08-26 16:44:02 -04:00
|
|
|
|
2013-08-02 06:44:25 -04:00
|
|
|
h4, h5 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-12-13 14:44:55 -05:00
|
|
|
}
|
2014-10-05 01:53:44 -04:00
|
|
|
|
2016-01-12 20:49:43 -05:00
|
|
|
ul.unstyled-list > li {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2015-12-08 16:53:48 -05:00
|
|
|
ul.task-list {
|
|
|
|
li.task-list-item {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul:not(.task-list) {
|
|
|
|
padding-left: 1.3em;
|
|
|
|
}
|
2014-10-05 01:53:44 -04:00
|
|
|
}
|
2015-09-03 09:09:55 -04:00
|
|
|
|
|
|
|
ul.content-list {
|
|
|
|
@include basic-list;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
2015-09-07 05:44:00 -04:00
|
|
|
> li {
|
2015-10-19 05:19:45 -04:00
|
|
|
border-color: $table-border-color;
|
2016-02-25 14:13:36 -05:00
|
|
|
font-size: $list-font-size;
|
2016-03-18 14:02:08 -04:00
|
|
|
color: $list-text-color;
|
2016-02-25 13:44:11 -05:00
|
|
|
|
2016-08-04 09:00:18 -04:00
|
|
|
&.no-description {
|
|
|
|
.title {
|
|
|
|
line-height: $list-text-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-25 13:44:11 -05:00
|
|
|
.title {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2015-09-03 11:21:48 -04:00
|
|
|
|
2016-03-18 14:02:08 -04:00
|
|
|
a {
|
|
|
|
color: $gl-dark-link-color;
|
|
|
|
}
|
|
|
|
|
2016-02-26 09:02:34 -05:00
|
|
|
.description {
|
|
|
|
p {
|
|
|
|
@include str-truncated;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-03 11:21:48 -04:00
|
|
|
.avatar {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
2015-09-03 12:48:35 -04:00
|
|
|
|
|
|
|
.controls {
|
|
|
|
float: right;
|
2015-10-13 07:02:27 -04:00
|
|
|
|
2016-07-06 12:34:47 -04:00
|
|
|
> .control-text {
|
|
|
|
margin-right: $gl-padding-top;
|
2016-08-04 09:00:18 -04:00
|
|
|
line-height: $list-text-height;
|
2016-07-06 12:34:47 -04:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-08 13:44:39 -04:00
|
|
|
> .btn,
|
|
|
|
> .btn-group {
|
|
|
|
margin-right: $gl-padding-top;
|
|
|
|
display: inline-block;
|
2016-08-04 09:00:18 -04:00
|
|
|
margin-top: 3px;
|
2016-06-08 11:14:20 -04:00
|
|
|
margin-bottom: 4px;
|
2016-06-08 13:44:39 -04:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2015-10-13 07:02:27 -04:00
|
|
|
}
|
2016-09-05 13:57:00 -04:00
|
|
|
|
|
|
|
.no-comments {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2015-09-03 12:48:35 -04:00
|
|
|
}
|
2016-05-19 01:46:09 -04:00
|
|
|
|
|
|
|
// When dragging a list item
|
|
|
|
&.ui-sortable-helper {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.list-placeholder {
|
|
|
|
background-color: $gray-light;
|
|
|
|
border: dotted 1px $gray-dark;
|
|
|
|
margin: 1px 0;
|
2016-06-14 12:48:42 -04:00
|
|
|
min-height: 52px;
|
2016-05-19 01:46:09 -04:00
|
|
|
}
|
2015-09-03 09:09:55 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-17 12:29:09 -04:00
|
|
|
.panel > .content-list > li {
|
|
|
|
padding: $gl-padding-top $gl-padding;
|
2016-07-07 03:44:02 -04:00
|
|
|
|
|
|
|
&.commit {
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
padding-left: 46px + $gl-padding;
|
|
|
|
}
|
|
|
|
}
|
2016-03-17 12:29:09 -04:00
|
|
|
}
|
|
|
|
|
2015-12-09 19:24:10 -05:00
|
|
|
ul.controls {
|
|
|
|
padding-top: 1px;
|
|
|
|
float: right;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding: 10px 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> li {
|
|
|
|
float: left;
|
2015-12-16 10:30:01 -05:00
|
|
|
margin-right: 10px;
|
2016-01-13 08:37:25 -05:00
|
|
|
|
2015-12-16 10:30:01 -05:00
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2015-12-09 19:24:10 -05:00
|
|
|
|
|
|
|
.author_link {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
.avatar-inline {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|