Add custom styles for remixed pill
This pill displays when a party is a remix. We shrunk it so it wasn't quite the size of a normal small button, and then added disabled states for if the original party was deleted
This commit is contained in:
parent
d38bbaef44
commit
a6026cc592
1 changed files with 25 additions and 2 deletions
|
|
@ -118,8 +118,31 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.remixed.small {
|
||||||
|
padding: $unit-half * 1.5;
|
||||||
|
|
||||||
|
&:disabled {
|
||||||
|
background-color: var(--button-bg-disabled);
|
||||||
|
|
||||||
|
.accessory svg {
|
||||||
|
fill: var(--button-text-disabled);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
fill: var(--button-text-disabled);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.accessory svg {
|
||||||
|
height: 12px;
|
||||||
|
width: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text {
|
||||||
|
font-size: $font-tiny;
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint(phone) {
|
@include breakpoint(phone) {
|
||||||
&.remixed {
|
|
||||||
.text {
|
.text {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue