debian-mirror-gitlab/app/assets/stylesheets/pages/labels.scss

206 lines
3 KiB
SCSS
Raw Normal View History

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