2014-07-30 06:27:29 -04:00
|
|
|
.suggest-colors {
|
|
|
|
margin-top: 5px;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-07-30 06:27:29 -04:00
|
|
|
a {
|
2016-09-09 12:59:36 -04:00
|
|
|
border-radius: 4px;
|
2014-07-30 06:27:29 -04:00
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
2016-06-21 19:31:53 -04:00
|
|
|
margin-bottom: 10px;
|
2016-09-01 16:03:50 -04:00
|
|
|
text-decoration: none;
|
2014-07-30 06:27:29 -04:00
|
|
|
}
|
2016-03-08 05:24:03 -05:00
|
|
|
|
|
|
|
&.suggest-colors-dropdown {
|
2016-03-22 05:45:05 -04:00
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
border-radius: $border-radius-base;
|
|
|
|
overflow: hidden;
|
2016-03-08 06:23:54 -05:00
|
|
|
|
2016-03-08 05:24:03 -05:00
|
|
|
a {
|
2016-09-09 12:59:36 -04:00
|
|
|
border-radius: 0;
|
2016-03-22 05:45:05 -04:00
|
|
|
width: (100% / 7);
|
2016-03-08 05:24:03 -05:00
|
|
|
margin-right: 0;
|
|
|
|
margin-bottom: -5px;
|
|
|
|
}
|
|
|
|
}
|
2014-07-30 06:27:29 -04:00
|
|
|
}
|
|
|
|
|
2018-03-22 14:05:58 -04:00
|
|
|
.dropdown-menu-labels {
|
|
|
|
.dropdown-content {
|
|
|
|
max-height: 135px;
|
|
|
|
}
|
2019-07-17 10:18:12 -04:00
|
|
|
|
|
|
|
.dropdown-label-box {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
2018-03-22 14:05:58 -04:00
|
|
|
}
|
|
|
|
|
2016-03-22 05:45:05 -04:00
|
|
|
.dropdown-new-label {
|
|
|
|
.dropdown-content {
|
2019-03-22 13:07:57 -04:00
|
|
|
max-height: initial;
|
2016-03-22 05:45:05 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-label-color-input {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 10px;
|
2016-03-08 06:23:54 -05:00
|
|
|
|
|
|
|
&.is-active {
|
2016-03-22 05:45:05 -04:00
|
|
|
padding-left: 32px;
|
2016-03-08 06:23:54 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-22 05:45:05 -04:00
|
|
|
.dropdown-label-color-preview {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-top-left-radius: $border-radius-base;
|
|
|
|
border-bottom-left-radius: $border-radius-base;
|
|
|
|
}
|
|
|
|
|
2014-07-30 08:15:39 -04:00
|
|
|
.color-label {
|
2018-06-12 14:26:47 -04:00
|
|
|
padding: 0 $grid-size;
|
2018-02-08 07:03:20 -05:00
|
|
|
line-height: 16px;
|
2016-12-12 19:28:57 -05:00
|
|
|
border-radius: $label-border-radius;
|
2018-04-18 13:05:44 -04:00
|
|
|
color: $white-light;
|
2014-07-30 08:15:39 -04:00
|
|
|
}
|
2016-02-12 09:58:39 -05:00
|
|
|
|
2016-03-22 10:56:00 -04:00
|
|
|
.dropdown-labels-error {
|
|
|
|
padding: 5px 10px;
|
|
|
|
margin-bottom: 10px;
|
2018-08-21 13:52:31 -04:00
|
|
|
background-color: $red-500;
|
2016-03-22 10:56:00 -04:00
|
|
|
color: $white-light;
|
|
|
|
}
|
2016-04-01 13:41:36 -04:00
|
|
|
|
|
|
|
.manage-labels-list {
|
2018-08-07 06:56:17 -04:00
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
2019-04-12 06:54:23 -04:00
|
|
|
> li:not(.empty-message):not(.no-border) {
|
2017-01-06 11:52:18 -05:00
|
|
|
background-color: $white-light;
|
2018-04-18 13:48:19 -04:00
|
|
|
margin-bottom: 5px;
|
2018-04-18 19:34:03 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-06-06 12:58:44 -04:00
|
|
|
padding: $gl-padding;
|
2018-04-18 13:48:19 -04:00
|
|
|
border-radius: $border-radius-default;
|
2019-01-14 15:17:22 -05:00
|
|
|
border: 1px solid $gray-100;
|
2017-01-06 11:52:18 -05:00
|
|
|
|
2018-08-07 06:56:17 -04:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-01-06 11:52:18 -05:00
|
|
|
&.sortable-ghost {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
2018-04-18 13:48:19 -04:00
|
|
|
|
2019-04-12 06:54:23 -04:00
|
|
|
.prioritized-labels:not(.is-not-draggable) & {
|
2018-04-18 13:48:19 -04:00
|
|
|
box-shadow: 0 1px 2px $issue-boards-card-shadow;
|
2018-04-24 08:26:50 -04:00
|
|
|
cursor: move;
|
2019-02-25 14:03:21 -05:00
|
|
|
cursor: grab;
|
2018-06-28 12:15:23 -04:00
|
|
|
border: 0;
|
2018-04-24 08:26:50 -04:00
|
|
|
|
|
|
|
&:active {
|
2019-02-25 14:03:21 -05:00
|
|
|
cursor: grabbing;
|
2018-04-24 08:26:50 -04:00
|
|
|
}
|
2018-04-18 20:17:29 -04:00
|
|
|
}
|
2017-01-06 11:52:18 -05:00
|
|
|
}
|
|
|
|
|
2016-05-24 05:29:26 -04:00
|
|
|
.btn-action {
|
|
|
|
.fa {
|
|
|
|
font-size: 18px;
|
|
|
|
vertical-align: middle;
|
2017-06-27 06:46:01 -04:00
|
|
|
pointer-events: none;
|
2016-04-02 17:54:22 -04:00
|
|
|
}
|
|
|
|
|
2016-05-24 05:29:26 -04:00
|
|
|
&:hover {
|
2018-08-14 12:44:08 -04:00
|
|
|
color: $blue-600;
|
2016-04-04 13:38:16 -04:00
|
|
|
|
2016-05-24 05:29:26 -04:00
|
|
|
&.remove-row {
|
2018-08-21 13:52:31 -04:00
|
|
|
color: $red-500;
|
2016-04-04 13:38:16 -04:00
|
|
|
}
|
2016-04-01 13:41:36 -04:00
|
|
|
}
|
2016-05-24 05:29:26 -04:00
|
|
|
}
|
2018-06-12 14:26:47 -04:00
|
|
|
|
|
|
|
.color-label {
|
|
|
|
padding: $gl-padding-4 $grid-size;
|
|
|
|
}
|
2016-06-14 12:48:42 -04:00
|
|
|
}
|
|
|
|
|
2016-05-02 19:19:46 -04:00
|
|
|
.prioritized-labels {
|
2016-05-19 01:46:09 -04:00
|
|
|
margin-bottom: 30px;
|
|
|
|
|
2016-05-02 19:19:46 -04:00
|
|
|
.add-priority {
|
|
|
|
display: none;
|
2016-05-19 01:46:09 -04:00
|
|
|
color: $gray-light;
|
2016-05-02 19:19:46 -04:00
|
|
|
}
|
2016-06-14 12:48:42 -04:00
|
|
|
|
|
|
|
li:hover {
|
|
|
|
.draggable-handler {
|
|
|
|
display: inline-block;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2016-05-02 19:19:46 -04:00
|
|
|
}
|
|
|
|
|
2016-09-29 00:03:28 -04:00
|
|
|
.other-labels {
|
2016-05-02 19:19:46 -04:00
|
|
|
.remove-priority {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2016-05-19 01:46:09 -04:00
|
|
|
|
2016-05-26 13:54:07 -04:00
|
|
|
.filtered-labels {
|
2016-07-11 17:42:25 -04:00
|
|
|
font-size: 0;
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
2016-05-26 13:54:07 -04:00
|
|
|
.label-row {
|
2016-07-11 17:42:25 -04:00
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
2016-05-26 13:54:07 -04:00
|
|
|
&:not(:last-child) {
|
2016-07-11 17:42:25 -04:00
|
|
|
margin-right: 8px;
|
2016-05-26 13:54:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-remove {
|
2016-11-30 08:25:25 -05:00
|
|
|
border-left: 1px solid $label-remove-border;
|
2016-05-26 13:54:07 -04:00
|
|
|
z-index: 3;
|
2016-12-16 05:59:10 -05:00
|
|
|
border-radius: $label-border-radius;
|
|
|
|
padding: 6px 10px 6px 9px;
|
2017-01-03 07:07:08 -05:00
|
|
|
|
|
|
|
&:hover {
|
2017-01-03 09:45:11 -05:00
|
|
|
box-shadow: inset 0 0 0 80px $label-remove-border;
|
2017-01-03 07:07:08 -05:00
|
|
|
}
|
2016-05-26 13:54:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2016-08-04 11:09:13 -04:00
|
|
|
|
|
|
|
a.btn {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.has-tooltip {
|
|
|
|
top: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
line-height: 1.1;
|
|
|
|
}
|
|
|
|
}
|
2016-05-26 13:54:07 -04:00
|
|
|
}
|
2016-05-24 05:29:26 -04:00
|
|
|
|
|
|
|
.label-options-toggle {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-05-25 04:43:03 -04:00
|
|
|
|
2016-11-15 16:59:12 -05:00
|
|
|
.label-subscription {
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
.dropdown-group-label a {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-25 04:43:03 -04:00
|
|
|
.label-subscribe-button {
|
2018-05-16 22:00:35 -04:00
|
|
|
width: 105px;
|
2018-05-17 10:57:46 -04:00
|
|
|
font-weight: 200;
|
2018-05-16 22:00:35 -04:00
|
|
|
|
2016-10-19 09:31:08 -04:00
|
|
|
.label-subscribe-button-icon {
|
|
|
|
&[disabled] {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-25 04:43:03 -04:00
|
|
|
.label-subscribe-button-loading {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
.label-subscribe-button-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-subscribe-button-loading {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-01-30 09:35:25 -05:00
|
|
|
|
|
|
|
.label-link {
|
2018-02-08 07:03:20 -05:00
|
|
|
display: inline-flex;
|
2018-05-07 07:15:06 -04:00
|
|
|
vertical-align: text-bottom;
|
2017-06-29 13:34:06 -04:00
|
|
|
|
2018-04-16 14:59:04 -04:00
|
|
|
&:hover .color-label {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2017-06-29 13:34:06 -04:00
|
|
|
.label {
|
|
|
|
vertical-align: inherit;
|
2018-02-08 07:03:20 -05:00
|
|
|
font-size: $label-font-size;
|
2017-06-29 13:34:06 -04:00
|
|
|
}
|
2017-01-30 09:35:25 -05:00
|
|
|
}
|
2018-04-18 13:48:19 -04:00
|
|
|
|
|
|
|
.labels-container {
|
|
|
|
background-color: $gray-light;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
padding: $gl-padding $gl-padding-8;
|
2018-04-18 19:09:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.label-actions-list {
|
|
|
|
list-style: none;
|
2018-04-18 19:34:03 -04:00
|
|
|
flex-shrink: 0;
|
2018-08-07 06:56:17 -04:00
|
|
|
text-align: right;
|
2018-04-18 20:17:29 -04:00
|
|
|
padding: 0;
|
2018-08-07 06:56:17 -04:00
|
|
|
position: relative;
|
2018-08-09 09:15:01 -04:00
|
|
|
margin: 0;
|
2018-04-18 19:09:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.label-badge {
|
2019-01-14 15:17:22 -05:00
|
|
|
color: $gray-900;
|
2018-05-08 15:53:40 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
padding: $gl-padding-4 $gl-padding-8;
|
2018-04-18 19:09:44 -04:00
|
|
|
border-radius: $border-radius-default;
|
2018-05-08 15:53:40 -04:00
|
|
|
font-size: $label-font-size;
|
2018-04-18 19:09:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.label-badge-blue {
|
|
|
|
background-color: $theme-blue-100;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-badge-gray {
|
2019-01-14 15:17:22 -05:00
|
|
|
background-color: $gray-100;
|
2018-04-18 19:09:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.label-links {
|
|
|
|
list-style: none;
|
2018-08-09 09:15:01 -04:00
|
|
|
margin: 0;
|
2018-04-18 20:20:38 -04:00
|
|
|
padding: 0;
|
2018-04-18 19:34:03 -04:00
|
|
|
white-space: nowrap;
|
2018-04-18 19:09:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.label-link-item {
|
|
|
|
padding: 0;
|
2018-04-18 19:34:03 -04:00
|
|
|
}
|
|
|
|
|
2018-08-07 06:56:17 -04:00
|
|
|
.label-description {
|
|
|
|
.description-text {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
.admin-labels & {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-18 19:34:03 -04:00
|
|
|
.label-list-item {
|
2018-05-29 07:11:20 -04:00
|
|
|
.content-list &::before,
|
|
|
|
.content-list &::after {
|
2018-04-18 19:34:03 -04:00
|
|
|
content: none;
|
|
|
|
}
|
2018-04-18 22:02:38 -04:00
|
|
|
|
|
|
|
.label-name {
|
|
|
|
width: 150px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
2018-06-14 14:23:00 -04:00
|
|
|
.badge {
|
2018-04-18 22:02:38 -04:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-description {
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $blue-600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
|
|
|
padding: 4px $grid-size;
|
|
|
|
font-size: $label-font-size;
|
|
|
|
position: relative;
|
2018-06-05 05:47:43 -04:00
|
|
|
top: $gl-padding-4;
|
2018-04-18 22:02:38 -04:00
|
|
|
}
|
2018-04-24 09:32:51 -04:00
|
|
|
|
|
|
|
.label-action {
|
2019-01-14 15:17:22 -05:00
|
|
|
color: $gray-800;
|
2018-04-24 09:32:51 -04:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
svg {
|
2019-01-14 15:17:22 -05:00
|
|
|
fill: $gray-800;
|
2018-04-24 09:32:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $blue-600;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $blue-600;
|
|
|
|
}
|
|
|
|
}
|
2018-08-07 06:56:17 -04:00
|
|
|
|
|
|
|
&.remove-row {
|
|
|
|
&:hover {
|
2018-08-14 12:44:08 -04:00
|
|
|
color: $red-500;
|
2018-08-07 06:56:17 -04:00
|
|
|
|
|
|
|
svg {
|
2018-08-14 12:44:08 -04:00
|
|
|
fill: $red-500;
|
2018-08-07 06:56:17 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: map-get($grid-breakpoints, md)-1) {
|
|
|
|
.manage-labels-list {
|
2019-04-12 06:54:23 -04:00
|
|
|
> li:not(.empty-message):not(.no-border) {
|
2018-08-07 06:56:17 -04:00
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-name {
|
|
|
|
order: 1;
|
|
|
|
flex-grow: 1;
|
|
|
|
width: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-actions-list {
|
|
|
|
order: 2;
|
|
|
|
flex-shrink: 1;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-links {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-description {
|
|
|
|
order: 3;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
> .append-right-default.prepend-left-default {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 910px) {
|
|
|
|
.priority-badge {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-top: $gl-padding;
|
|
|
|
|
|
|
|
.label-badge {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-04-24 09:32:51 -04:00
|
|
|
}
|
2018-05-08 15:53:40 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.priority-labels-empty-state .svg-content img {
|
2018-06-05 10:34:51 -04:00
|
|
|
max-width: $priority-label-empty-state-width;
|
2018-05-25 07:38:56 -04:00
|
|
|
}
|
2019-04-02 06:46:21 -04:00
|
|
|
|
|
|
|
.scoped-label-tooltip-title {
|
|
|
|
color: $indigo-300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scoped-label-wrapper {
|
2019-04-15 08:11:39 -04:00
|
|
|
max-width: 100%;
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2019-04-02 06:46:21 -04:00
|
|
|
&.label-link .color-label a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-label {
|
|
|
|
padding-right: $gl-padding-24;
|
2019-04-15 08:11:39 -04:00
|
|
|
max-width: 100%;
|
2019-04-02 06:46:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.scoped-label {
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
right: 8px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
line-height: $gl-line-height;
|
|
|
|
}
|
2019-04-15 05:58:30 -04:00
|
|
|
|
|
|
|
&.board-label {
|
|
|
|
.scoped-label {
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
}
|
2019-04-02 06:46:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Label inside title of Delete Label Modal
|
|
|
|
.modal-header .page-title {
|
|
|
|
.scoped-label-wrapper {
|
|
|
|
.scoped-label {
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.color-label {
|
|
|
|
padding-right: $gl-padding-24;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-15 08:11:39 -04:00
|
|
|
|
|
|
|
// Don't hide the overflow in system messages
|
|
|
|
.system-note-message,
|
2019-05-29 04:43:57 -04:00
|
|
|
.issuable-details,
|
2019-04-25 00:24:05 -04:00
|
|
|
.md-preview-holder,
|
2019-05-29 04:43:57 -04:00
|
|
|
.referenced-commands,
|
2019-04-25 00:24:05 -04:00
|
|
|
.note-body {
|
2019-04-15 08:11:39 -04:00
|
|
|
.scoped-label-wrapper {
|
|
|
|
.badge {
|
|
|
|
overflow: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|