gitlab-org--gitlab-foss/app/assets/stylesheets/pages/labels.scss

199 lines
2.9 KiB
SCSS
Raw Normal View History

.suggest-colors {
margin-top: 5px;
a {
@include border-radius(4px);
width: 30px;
height: 30px;
display: inline-block;
margin-right: 10px;
}
&.suggest-colors-dropdown {
margin-top: 10px;
margin-bottom: 10px;
border-radius: $border-radius-base;
overflow: hidden;
2016-03-08 11:23:54 +00:00
a {
@include border-radius(0);
width: (100% / 7);
margin-right: 0;
margin-bottom: -5px;
}
}
}
.dropdown-new-label {
.dropdown-content {
max-height: 260px;
}
}
.dropdown-label-color-input {
position: relative;
margin-bottom: 10px;
2016-03-08 11:23:54 +00:00
&.is-active {
padding-left: 32px;
2016-03-08 11:23:54 +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;
}
.label-row {
.label-name {
2016-06-20 19:11:15 +00:00
display: inline-block;
2016-05-24 09:29:26 +00:00
margin-bottom: 10px;
@media (min-width: $screen-sm-min) {
width: 200px;
margin-bottom: 0;
}
}
.label-description {
display: block;
margin-bottom: 10px;
2016-06-20 19:11:15 +00:00
margin-left: 50px;
2016-05-24 09:29:26 +00:00
@media (min-width: $screen-sm-min) {
display: inline-block;
width: 40%;
margin-left: 10px;
margin-bottom: 0;
vertical-align: middle;
}
}
.label {
padding: 9px;
font-size: 14px;
}
}
.color-label {
padding: 3px 4px;
}
.dropdown-labels-error {
padding: 5px 10px;
margin-bottom: 10px;
background-color: $gl-danger;
color: $white-light;
}
.manage-labels-list {
2016-05-24 09:29:26 +00:00
.btn-action {
color: $gl-dark-link-color;
2016-05-24 09:29:26 +00:00
.fa {
font-size: 18px;
vertical-align: middle;
}
2016-05-24 09:29:26 +00:00
&:hover {
color: $gl-link-color;
2016-04-04 17:38:16 +00:00
2016-05-24 09:29:26 +00:00
&.remove-row {
color: $gl-danger;
2016-04-04 17:38:16 +00:00
}
}
2016-05-24 09:29:26 +00:00
}
2016-05-24 09:29:26 +00:00
.dropdown {
@media (min-width: $screen-sm-min) {
float: right;
}
}
}
2016-05-02 23:19:46 +00:00
2016-06-14 16:48:42 +00:00
.draggable-handler {
display: inline-block;
opacity: 0;
transition: opacity .3s;
color: $gray-darkest;
}
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
}
.other-labels {
.remove-priority {
display: none;
}
}
2016-05-19 05:46:09 +00:00
.toggle-priority {
display: inline-block;
vertical-align: middle;
button {
border-color: transparent;
padding: 5px 8px;
vertical-align: top;
font-size: 14px;
&:hover {
border-color: transparent;
}
}
}
2016-05-26 17:54:07 +00:00
.filtered-labels {
.label-row {
&:not(:last-child) {
margin-right: 5px;
}
}
.label-remove {
border-left: 1px solid rgba(0, 0, 0, .1);
2016-05-26 17:54:07 +00:00
z-index: 3;
}
.btn {
color: inherit;
}
}
2016-05-24 09:29:26 +00:00
.label-options-toggle {
width: 100%;
}
2016-05-25 08:43:03 +00:00
.label-subscribe-button {
.label-subscribe-button-loading {
display: none;
}
&.disabled {
.label-subscribe-button-icon {
display: none;
}
.label-subscribe-button-loading {
display: block;
}
}
}