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

130 lines
2 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 06:23:54 -05: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 06:23:54 -05:00
&.is-active {
padding-left: 32px;
2016-03-08 06:23:54 -05: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 {
display: inline-block;
width: 200px;
@media (max-width: $screen-xs-min) {
display: block;
}
}
.label {
padding: 9px;
font-size: 14px;
}
}
.color-label {
padding: 3px 4px;
}
.label-subscription {
display: inline-block;
}
.dropdown-labels-error {
padding: 5px 10px;
margin-bottom: 10px;
background-color: $gl-danger;
color: $white-light;
}
.manage-labels-list {
.prepend-left-10 {
display: inline-block;
2016-04-04 13:38:16 -04:00
width: 40%;
2016-04-05 14:17:30 -04:00
vertical-align: middle;
@media (max-width: $screen-xs-min) {
display: block;
width: 100%;
2016-04-04 13:38:16 -04:00
margin-left: 0;
padding: 10px 0;
}
}
.pull-info-right {
float: right;
2016-04-01 14:12:11 -04:00
@media (max-width: $screen-xs-min) {
float: none;
}
.action-buttons {
border-color: transparent;
2016-04-04 13:38:16 -04:00
padding: 6px;
color: $gl-text-color;
&.subscribe-button {
padding-left: 0;
}
}
i {
color: $gl-text-color;
}
.append-right-20 {
a {
color: $gl-text-color;
}
@media (max-width: $screen-xs-min) {
display: block;
margin-bottom: 10px;
}
}
}
}