2012-12-18 03:14:05 +00:00
|
|
|
/**
|
|
|
|
* Well styled list
|
|
|
|
*
|
|
|
|
*/
|
2018-05-29 15:08:35 +00:00
|
|
|
.hover-list {
|
2016-02-29 17:19:00 +00:00
|
|
|
position: relative;
|
2012-12-18 03:14:05 +00:00
|
|
|
margin: 0;
|
2013-12-30 23:12:02 +00:00
|
|
|
padding: 0;
|
2012-12-18 03:14:05 +00:00
|
|
|
list-style: none;
|
2013-12-30 23:12:02 +00:00
|
|
|
|
2015-12-10 00:24:10 +00:00
|
|
|
> li {
|
2014-06-03 07:01:15 +00:00
|
|
|
padding: 10px 15px;
|
2012-08-29 18:23:43 +00:00
|
|
|
min-height: 20px;
|
2016-11-30 13:25:25 +00:00
|
|
|
border-bottom: 1px solid $list-border;
|
2017-12-19 20:45:17 +00:00
|
|
|
word-wrap: break-word;
|
2012-08-29 18:23:43 +00:00
|
|
|
|
2016-10-24 20:58:50 +00:00
|
|
|
&::after {
|
2014-03-20 12:23:07 +00:00
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2012-12-18 03:14:05 +00:00
|
|
|
&.disabled {
|
2018-08-16 19:31:53 +00:00
|
|
|
color: $gl-text-color-tertiary;
|
2012-12-18 03:14:05 +00:00
|
|
|
}
|
|
|
|
|
2018-04-06 08:22:57 +00:00
|
|
|
&:not(.ui-sort-disabled):hover {
|
2018-08-16 19:31:53 +00:00
|
|
|
background: $blue-50;
|
2018-04-06 08:22:57 +00:00
|
|
|
}
|
|
|
|
|
2013-06-17 18:00:59 +00:00
|
|
|
&.unstyled {
|
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-05 13:54:51 +00:00
|
|
|
&.warning-row {
|
2018-08-16 19:31:53 +00:00
|
|
|
background-color: $orange-100;
|
|
|
|
border-color: $orange-200;
|
|
|
|
color: $orange-700;
|
2014-02-05 13:54:51 +00:00
|
|
|
|
2018-04-06 08:22:57 +00:00
|
|
|
&:hover {
|
2018-08-16 19:31:53 +00:00
|
|
|
background: $orange-100;
|
2018-04-06 08:22:57 +00:00
|
|
|
}
|
2012-12-18 03:14:05 +00:00
|
|
|
|
2012-10-02 07:26:24 +00:00
|
|
|
}
|
2012-12-18 03:14:05 +00:00
|
|
|
|
2018-04-06 08:22:57 +00:00
|
|
|
&.smoke { background-color: $gray-light; }
|
|
|
|
|
2012-12-18 03:14:05 +00:00
|
|
|
&:last-child {
|
2017-11-02 23:59:51 +00:00
|
|
|
border-bottom: 0;
|
2013-01-04 22:35:38 +00:00
|
|
|
|
|
|
|
&.bottom {
|
2016-12-12 22:26:21 +00:00
|
|
|
background: $gray-light;
|
2013-01-04 22:35:38 +00:00
|
|
|
}
|
2012-12-18 03:14:05 +00:00
|
|
|
}
|
|
|
|
|
2014-03-26 07:25:02 +00:00
|
|
|
.list-item-name {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
|
2012-08-29 18:23:43 +00:00
|
|
|
p {
|
2012-11-10 22:08:42 +00:00
|
|
|
padding-top: 1px;
|
2012-11-23 16:33:43 +00:00
|
|
|
margin: 0;
|
2016-12-12 22:26:21 +00:00
|
|
|
color: $white-normal;
|
2016-10-14 20:39:08 +00:00
|
|
|
|
2012-08-29 18:23:43 +00:00
|
|
|
img {
|
2012-11-23 16:33:43 +00:00
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
2012-08-29 18:23:43 +00:00
|
|
|
}
|
|
|
|
}
|
2012-12-18 03:14:05 +00:00
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
.card.card-body-title {
|
2018-08-16 19:31:53 +00:00
|
|
|
font-size: $gl-font-size;
|
2012-12-18 03:14:05 +00:00
|
|
|
line-height: 18px;
|
|
|
|
}
|
2012-08-29 18:23:43 +00:00
|
|
|
}
|
|
|
|
}
|
2012-11-10 21:08:47 +00:00
|
|
|
|
2012-12-13 19:44:55 +00:00
|
|
|
|
|
|
|
/** light list with border-bottom between li **/
|
2016-10-24 20:22:06 +00:00
|
|
|
ul.bordered-list,
|
|
|
|
ul.unstyled-list {
|
2015-08-26 20:44:02 +00:00
|
|
|
@include basic-list;
|
2013-08-02 10:44:25 +00:00
|
|
|
|
|
|
|
&.top-list {
|
|
|
|
li:first-child {
|
|
|
|
padding-top: 0;
|
2015-08-26 20:44:02 +00:00
|
|
|
|
2016-10-24 20:22:06 +00:00
|
|
|
h4,
|
|
|
|
h5 {
|
2013-08-02 10:44:25 +00:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-12-13 19:44:55 +00:00
|
|
|
}
|
2014-10-05 05:53:44 +00:00
|
|
|
|
2016-01-13 01:49:43 +00:00
|
|
|
ul.unstyled-list > li {
|
2017-11-02 23:59:51 +00:00
|
|
|
border-bottom: 0;
|
2016-01-13 01:49:43 +00:00
|
|
|
}
|
|
|
|
|
2016-12-05 15:59:30 +00:00
|
|
|
// Generic content list
|
2015-09-03 13:09:55 +00:00
|
|
|
ul.content-list {
|
|
|
|
@include basic-list;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
2016-12-05 15:59:30 +00:00
|
|
|
li {
|
2016-12-12 22:26:21 +00:00
|
|
|
border-color: $white-normal;
|
2018-08-16 19:31:53 +00:00
|
|
|
font-size: $gl-font-size;
|
|
|
|
color: $gl-text-color;
|
2016-02-25 18:44:11 +00:00
|
|
|
|
2016-08-04 13:00:18 +00:00
|
|
|
&.no-description {
|
|
|
|
.title {
|
|
|
|
line-height: $list-text-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-25 18:44:11 +00:00
|
|
|
.title {
|
2017-08-24 14:13:24 +00:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-02-25 18:44:11 +00:00
|
|
|
}
|
2015-09-03 15:21:48 +00:00
|
|
|
|
2016-03-18 18:02:08 +00:00
|
|
|
a {
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2016-03-18 18:02:08 +00:00
|
|
|
}
|
|
|
|
|
2016-09-01 15:22:53 +00:00
|
|
|
.member-group-link {
|
2017-03-23 16:04:25 +00:00
|
|
|
color: $blue-600;
|
2016-09-01 15:22:53 +00:00
|
|
|
}
|
|
|
|
|
2016-02-26 14:02:34 +00:00
|
|
|
.description {
|
2017-12-22 07:35:46 +00:00
|
|
|
@include str-truncated;
|
|
|
|
color: $gl-text-color-secondary;
|
2016-02-26 14:02:34 +00:00
|
|
|
}
|
|
|
|
|
2015-09-03 16:48:35 +00:00
|
|
|
.controls {
|
|
|
|
float: right;
|
2015-10-13 11:02:27 +00:00
|
|
|
|
2016-07-06 16:34:47 +00:00
|
|
|
> .control-text {
|
|
|
|
margin-right: $gl-padding-top;
|
2016-08-04 13:00:18 +00:00
|
|
|
line-height: $list-text-height;
|
2016-07-06 16:34:47 +00:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-08 17:44:39 +00:00
|
|
|
> .btn,
|
2017-01-19 19:20:35 +00:00
|
|
|
> .btn-group,
|
|
|
|
> .dropdown.inline {
|
2016-06-08 17:44:39 +00:00
|
|
|
margin-right: $gl-padding-top;
|
|
|
|
display: inline-block;
|
2016-08-04 13:00:18 +00:00
|
|
|
margin-top: 3px;
|
2016-06-08 15:14:20 +00:00
|
|
|
margin-bottom: 4px;
|
2016-06-08 17:44:39 +00:00
|
|
|
|
2017-05-08 07:41:58 +00:00
|
|
|
&.has-tooltip,
|
2016-06-08 17:44:39 +00:00
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
2017-01-05 18:25:47 +00:00
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-01-05 18:25:47 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2016-06-08 17:44:39 +00:00
|
|
|
}
|
2015-10-13 11:02:27 +00:00
|
|
|
}
|
2016-09-05 17:57:00 +00:00
|
|
|
|
|
|
|
.no-comments {
|
2016-09-16 09:37:19 +00:00
|
|
|
opacity: .5;
|
2016-09-05 17:57:00 +00:00
|
|
|
}
|
2015-09-03 16:48:35 +00:00
|
|
|
}
|
2016-05-19 05:46:09 +00:00
|
|
|
|
2016-09-01 12:48:20 +00:00
|
|
|
.member-controls {
|
|
|
|
float: none;
|
2016-09-01 15:22:53 +00:00
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-up(sm) {
|
2016-09-01 12:48:20 +00:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-19 05:46:09 +00:00
|
|
|
// When dragging a list item
|
|
|
|
&.ui-sortable-helper {
|
2017-11-02 23:59:51 +00:00
|
|
|
border-bottom: 0;
|
2016-05-19 05:46:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.list-placeholder {
|
|
|
|
background-color: $gray-light;
|
2016-12-12 22:26:21 +00:00
|
|
|
border: dotted 1px $white-normal;
|
2016-05-19 05:46:09 +00:00
|
|
|
margin: 1px 0;
|
2016-06-14 16:48:42 +00:00
|
|
|
min-height: 52px;
|
2016-05-19 05:46:09 +00:00
|
|
|
}
|
2015-09-03 13:09:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-05 15:59:30 +00:00
|
|
|
// Content list using flexbox
|
|
|
|
.flex-list {
|
|
|
|
.flex-row {
|
|
|
|
display: -webkit-flex;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
2016-12-21 23:18:47 +00:00
|
|
|
align-items: center;
|
2016-12-05 15:59:30 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-main-content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
|
2016-12-20 22:58:04 +00:00
|
|
|
.row-fixed-content {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
2016-12-05 15:59:30 +00:00
|
|
|
.row-title {
|
2017-08-24 14:13:24 +00:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-12-05 15:59:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.row-second-line {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
.btn-block {
|
|
|
|
margin-bottom: 0;
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-13 20:03:53 +00:00
|
|
|
.badge-secondary {
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color-secondary;
|
2016-12-05 15:59:30 +00:00
|
|
|
}
|
2017-09-29 15:54:49 +00:00
|
|
|
|
|
|
|
.avatar-cell {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
2016-12-05 15:59:30 +00:00
|
|
|
}
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
.card > .content-list > li {
|
2016-03-17 16:29:09 +00:00
|
|
|
padding: $gl-padding-top $gl-padding;
|
|
|
|
}
|
|
|
|
|
2015-12-10 00:24:10 +00:00
|
|
|
ul.controls {
|
|
|
|
float: right;
|
|
|
|
list-style: none;
|
2017-07-14 23:04:01 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2015-12-10 00:24:10 +00:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding: 10px 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> li {
|
|
|
|
float: left;
|
2015-12-16 15:30:01 +00:00
|
|
|
margin-right: 10px;
|
2016-01-13 13:37:25 +00:00
|
|
|
|
2015-12-16 15:30:01 +00:00
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2015-12-10 00:24:10 +00:00
|
|
|
|
2018-07-23 14:58:53 +00:00
|
|
|
.author-link {
|
2015-12-10 00:24:10 +00:00
|
|
|
.avatar-inline {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2017-05-04 12:11:15 +00:00
|
|
|
margin-bottom: 0;
|
2015-12-10 00:24:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-07-14 23:04:01 +00:00
|
|
|
|
|
|
|
.issuable-pipeline-broken a,
|
|
|
|
.issuable-pipeline-status a,
|
2018-07-23 20:27:37 +00:00
|
|
|
.author-link {
|
2017-07-14 23:04:01 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
2015-12-10 00:24:10 +00:00
|
|
|
}
|
2017-01-08 14:19:19 +00:00
|
|
|
|
|
|
|
ul.indent-list {
|
|
|
|
padding: 10px 0 0 30px;
|
|
|
|
}
|
2017-05-16 14:29:38 +00:00
|
|
|
|
|
|
|
// Specific styles for tree list
|
2017-10-04 14:10:24 +00:00
|
|
|
@keyframes spin-avatar {
|
|
|
|
from { transform: rotate(0deg); }
|
|
|
|
to { transform: rotate(360deg); }
|
|
|
|
}
|
|
|
|
|
2017-11-29 12:19:32 +00:00
|
|
|
.namespace-title {
|
|
|
|
.tooltip-inner {
|
|
|
|
max-width: 350px;
|
|
|
|
}
|
|
|
|
}
|