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;
|
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 {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-02-25 13:44:11 -05:00
|
|
|
}
|
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 {
|
2017-08-17 06:20:55 -04:00
|
|
|
@include new-style-dropdown;
|
|
|
|
|
2015-09-03 12:48:35 -04:00
|
|
|
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
|
|
|
|
2017-05-08 03:41:58 -04:00
|
|
|
&.has-tooltip,
|
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 {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-12-05 10:59:30 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
2017-09-29 11:54:49 -04:00
|
|
|
|
|
|
|
.avatar-cell {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
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;
|
2017-07-14 19:04:01 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2015-12-09 19:24:10 -05:00
|
|
|
|
|
|
|
.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-05-04 08:11:15 -04:00
|
|
|
margin-bottom: 0;
|
2015-12-09 19:24:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-07-14 19:04:01 -04:00
|
|
|
|
|
|
|
.issuable-pipeline-broken a,
|
|
|
|
.issuable-pipeline-status a,
|
|
|
|
.author_link {
|
|
|
|
display: flex;
|
|
|
|
}
|
2015-12-09 19:24:10 -05:00
|
|
|
}
|
2017-01-08 09:19:19 -05:00
|
|
|
|
|
|
|
ul.indent-list {
|
|
|
|
padding: 10px 0 0 30px;
|
|
|
|
}
|
2017-05-16 10:29:38 -04:00
|
|
|
|
|
|
|
|
|
|
|
// Specific styles for tree list
|
2017-10-04 10:10:24 -04:00
|
|
|
@keyframes spin-avatar {
|
|
|
|
from { transform: rotate(0deg); }
|
|
|
|
to { transform: rotate(360deg); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.groups-list-tree-container {
|
|
|
|
.has-no-search-results {
|
|
|
|
text-align: center;
|
|
|
|
padding: $gl-padding;
|
|
|
|
font-style: italic;
|
|
|
|
color: $well-light-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .group-list-tree > .group-row.has-children:first-child {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-list-tree .avatar-container.content-loading {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
> a,
|
|
|
|
> a .avatar {
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
> a {
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> a .avatar {
|
|
|
|
border: 2px solid $white-normal;
|
|
|
|
|
|
|
|
&.identicon {
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 2px outset $kdb-border;
|
|
|
|
border-radius: 50%;
|
|
|
|
animation: spin-avatar 3s infinite linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-16 10:29:38 -04:00
|
|
|
.group-list-tree {
|
|
|
|
.folder-toggle-wrap {
|
|
|
|
float: left;
|
|
|
|
line-height: $list-text-height;
|
|
|
|
font-size: 0;
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: $gl-font-size;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.folder-caret,
|
2017-10-04 10:10:24 -04:00
|
|
|
.item-type-icon {
|
2017-05-16 10:29:38 -04:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.folder-caret {
|
|
|
|
width: 15px;
|
|
|
|
}
|
|
|
|
|
2017-10-04 10:10:24 -04:00
|
|
|
.item-type-icon {
|
2017-05-16 10:29:38 -04:00
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
2017-10-04 10:10:24 -04:00
|
|
|
> .group-row:not(.has-children) {
|
2017-05-16 10:29:38 -04:00
|
|
|
.folder-caret .fa {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-list li:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-list-tree {
|
|
|
|
margin-bottom: 0;
|
2017-06-08 04:44:22 -04:00
|
|
|
margin-left: 30px;
|
2017-05-17 02:08:32 -04:00
|
|
|
position: relative;
|
|
|
|
|
2017-05-17 02:28:28 -04:00
|
|
|
&::before {
|
2017-05-17 02:08:32 -04:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
2017-06-06 23:30:51 -04:00
|
|
|
top: 5px;
|
2017-05-17 02:08:32 -04:00
|
|
|
bottom: 0;
|
|
|
|
left: -16px;
|
|
|
|
border-left: 2px solid $border-white-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-row {
|
|
|
|
position: relative;
|
2017-05-17 02:28:28 -04:00
|
|
|
|
|
|
|
&::before {
|
2017-05-17 02:08:32 -04:00
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
width: 10px;
|
|
|
|
height: 0;
|
|
|
|
border-top: 2px solid $border-white-normal;
|
|
|
|
position: absolute;
|
|
|
|
top: 30px;
|
|
|
|
left: -16px;
|
|
|
|
}
|
|
|
|
|
2017-05-17 02:28:28 -04:00
|
|
|
&:last-child::before {
|
|
|
|
background: $white-light;
|
2017-05-17 02:08:32 -04:00
|
|
|
height: auto;
|
|
|
|
top: 30px;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2017-10-04 10:10:24 -04:00
|
|
|
|
|
|
|
&.being-removed {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2017-05-17 02:08:32 -04:00
|
|
|
}
|
|
|
|
}
|
2017-06-07 04:45:48 -04:00
|
|
|
|
2017-06-06 23:30:51 -04:00
|
|
|
.group-row {
|
|
|
|
padding: 0;
|
2017-10-04 10:10:24 -04:00
|
|
|
|
|
|
|
&.has-children {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top: 1px solid $white-normal;
|
|
|
|
}
|
2017-07-07 17:33:10 -04:00
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
.group-row-contents:not(:hover) {
|
|
|
|
border-bottom: 1px solid transparent;
|
|
|
|
}
|
|
|
|
}
|
2017-06-06 23:30:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.group-row-contents {
|
2017-06-07 04:45:48 -04:00
|
|
|
padding: 10px 10px 8px;
|
2017-06-06 23:30:51 -04:00
|
|
|
border-top: solid 1px transparent;
|
|
|
|
border-bottom: solid 1px $white-normal;
|
|
|
|
|
2017-06-07 04:45:48 -04:00
|
|
|
&:hover {
|
2017-06-06 23:30:51 -04:00
|
|
|
border-color: $row-hover-border;
|
|
|
|
background-color: $row-hover;
|
2017-06-07 04:45:48 -04:00
|
|
|
cursor: pointer;
|
2017-06-06 23:30:51 -04:00
|
|
|
}
|
2017-07-31 06:34:45 -04:00
|
|
|
|
|
|
|
.avatar-container > a {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-10-04 10:10:24 -04:00
|
|
|
|
|
|
|
&.has-more-items {
|
|
|
|
display: block;
|
|
|
|
padding: 20px 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.group-list-tree {
|
|
|
|
li.group-row {
|
|
|
|
&.has-description {
|
|
|
|
.title {
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
line-height: $list-text-height;
|
|
|
|
}
|
2017-06-06 23:30:51 -04:00
|
|
|
}
|
2017-05-16 10:29:38 -04:00
|
|
|
}
|
2017-06-06 10:01:42 -04:00
|
|
|
|
|
|
|
.js-groups-list-holder {
|
|
|
|
.groups-list-loading {
|
|
|
|
font-size: 34px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|