Files
Iris/src/scss/components/_sources-priority-field.scss

53 lines
832 B
SCSS
Raw Normal View History

2018-05-28 21:06:00 +12:00
.sources-priority-field {
padding: 7px 0;
.source {
2018-05-29 08:06:46 +12:00
@include animate();
2018-05-28 21:06:00 +12:00
display: inline-block;
border-radius: 3px;
padding: 6px 8px 4px 3px;
2018-05-28 21:06:00 +12:00
margin: 0 5px 5px 0;
cursor: move;
2018-05-29 08:06:46 +12:00
font-size: 12px;
2018-05-28 21:06:00 +12:00
font-weight: normal;
background: rgba(255,255,255,0.1);
color: $white;
2018-05-29 08:06:46 +12:00
2018-05-29 21:05:03 +12:00
&.sortable-chosen {
background: $grey;
}
.icon {
font-size: 14px;
padding-right: 0.1em;
color: $darkest_grey;
}
2018-05-29 08:06:46 +12:00
&:hover {
background: rgba(255,255,255,0.2);
2018-05-29 08:06:46 +12:00
}
&:focus,
&:active {
@include noanimate();
background: $blue;
color: $white;
}
2018-08-27 08:21:41 +12:00
.light-theme & {
background: $faint_grey;
color: inherit;
&:hover {
background: darken($faint_grey, 4%);
}
&:focus,
&:active {
background: $blue;
color: $white;
}
}
2018-05-28 21:06:00 +12:00
}
}