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;
|
2016-11-30 08:25:25 -05:00
|
|
|
border-bottom: 1px solid $list-border-light;
|
|
|
|
border-bottom: 1px solid $list-border;
|
2012-08-29 14:23:43 -04:00
|
|
|
|
2016-10-24 16:58:50 -04:00
|
|
|
&::after {
|
2014-03-20 08:23:07 -04:00
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2012-12-17 22:14:05 -05:00
|
|
|
&.disabled {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $list-text-disabled-color;
|
2012-12-17 22:14:05 -05:00
|
|
|
}
|
|
|
|
|
2013-06-17 14:00:59 -04:00
|
|
|
&.unstyled {
|
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-05 08:54:51 -05:00
|
|
|
&.warning-row {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $list-warning-row-bg;
|
|
|
|
border-color: $list-warning-row-border;
|
|
|
|
color: $list-warning-row-color;
|
2014-02-05 08:54:51 -05:00
|
|
|
}
|
|
|
|
|
2016-12-12 17:26:21 -05:00
|
|
|
&.smoke { background-color: $gray-light; }
|
2012-12-17 22:14:05 -05:00
|
|
|
|
2016-10-28 05:30:58 -04:00
|
|
|
&:not(.ui-sort-disabled):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 {
|
2016-12-12 17:26:21 -05:00
|
|
|
background: $gray-light;
|
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;
|
2016-12-12 17:26:21 -05:00
|
|
|
color: $white-normal;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
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-10-24 16:22:06 -04: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
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
h4,
|
|
|
|
h5 {
|
2013-08-02 06:44:25 -04:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2016-12-05 10:59:30 -05:00
|
|
|
// Generic content list
|
2015-09-03 09:09:55 -04:00
|
|
|
ul.content-list {
|
|
|
|
@include basic-list;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
2016-12-05 10:59:30 -05:00
|
|
|
li {
|
2016-12-12 17:26:21 -05:00
|
|
|
border-color: $white-normal;
|
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 {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2016-03-18 14:02:08 -04:00
|
|
|
}
|
|
|
|
|
2016-09-01 11:22:53 -04:00
|
|
|
.member-group-link {
|
2017-03-23 12:04:25 -04:00
|
|
|
color: $blue-600;
|
2016-09-01 11:22:53 -04:00
|
|
|
}
|
|
|
|
|
2016-02-26 09:02:34 -05:00
|
|
|
.description {
|
|
|
|
p {
|
|
|
|
@include str-truncated;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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,
|
2017-01-19 14:20:35 -05:00
|
|
|
> .btn-group,
|
|
|
|
> .dropdown.inline {
|
2016-06-08 13:44:39 -04:00
|
|
|
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;
|
2017-01-05 13:25:47 -05:00
|
|
|
|
|
|
|
@media(max-width: $screen-xs-max) {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2016-06-08 13:44:39 -04:00
|
|
|
}
|
2015-10-13 07:02:27 -04:00
|
|
|
}
|
2016-09-05 13:57:00 -04:00
|
|
|
|
|
|
|
.no-comments {
|
2016-09-16 05:37:19 -04:00
|
|
|
opacity: .5;
|
2016-09-05 13:57:00 -04:00
|
|
|
}
|
2015-09-03 12:48:35 -04:00
|
|
|
}
|
2016-05-19 01:46:09 -04:00
|
|
|
|
2016-09-01 08:48:20 -04:00
|
|
|
.member-controls {
|
|
|
|
float: none;
|
2016-09-01 11:22:53 -04:00
|
|
|
|
|
|
|
@media (min-width: $screen-sm-min) {
|
2016-09-01 08:48:20 -04:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2016-12-12 17:26:21 -05:00
|
|
|
border: dotted 1px $white-normal;
|
2016-05-19 01:46:09 -04:00
|
|
|
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-12-05 10:59:30 -05:00
|
|
|
// Content list using flexbox
|
|
|
|
.flex-list {
|
|
|
|
.flex-row {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
2016-12-21 18:18:47 -05:00
|
|
|
align-items: center;
|
2016-12-05 10:59:30 -05:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-main-content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
|
2016-12-20 17:58:04 -05:00
|
|
|
.row-fixed-content {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
2016-12-05 10:59:30 -05:00
|
|
|
.row-title {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-second-line {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
.btn-block {
|
|
|
|
margin-bottom: 0;
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-default {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color-secondary;
|
2016-12-05 10:59:30 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-17 12:29:09 -04:00
|
|
|
.panel > .content-list > li {
|
|
|
|
padding: $gl-padding-top $gl-padding;
|
|
|
|
}
|
|
|
|
|
2015-12-09 19:24:10 -05:00
|
|
|
ul.controls {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-01-08 09:19:19 -05:00
|
|
|
|
|
|
|
ul.indent-list {
|
|
|
|
padding: 10px 0 0 30px;
|
|
|
|
}
|