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