2019-11-05 18:23:57 +01:00
|
|
|
.quick-add {
|
2019-11-10 17:08:00 +01:00
|
|
|
width: auto;
|
|
|
|
min-width: #{600 / $base-font-size}rem;
|
2019-11-05 18:23:57 +01:00
|
|
|
padding: #{24 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: #{64 / $base-font-size}rem;
|
|
|
|
padding-right: #{24 / $base-font-size}rem;
|
|
|
|
|
|
|
|
button, a {
|
|
|
|
@include themify() {
|
|
|
|
color: getThemifyVariable('primary-text-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__item:nth-child(odd) {
|
|
|
|
@include themify() {
|
|
|
|
background: getThemifyVariable('table-row-stripe-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__item-toggle {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right:#{15 / $base-font-size}rem;
|
|
|
|
width:#{35 / $base-font-size}rem;
|
|
|
|
height:#{35 / $base-font-size}rem;
|
|
|
|
@include icon();
|
|
|
|
@include themify() {
|
2019-11-25 13:53:44 +01:00
|
|
|
// icon graphic
|
|
|
|
polygon {
|
|
|
|
fill: getThemifyVariable('table-button-color');
|
|
|
|
}
|
|
|
|
|
|
|
|
// icon background circle
|
|
|
|
path {
|
|
|
|
fill: getThemifyVariable('table-button-background-color');
|
2019-11-05 18:23:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
& svg {
|
|
|
|
width:#{35 / $base-font-size}rem;
|
|
|
|
height:#{35 / $base-font-size}rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__icon > * {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__in-icon {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
& svg {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__icon--in-collection .quick-add__in-icon svg {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__add-icon {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
2019-11-25 14:28:59 +01:00
|
|
|
.quick-add__item-toggle:hover,
|
|
|
|
.quick-add__item-toggle:focus {
|
2019-11-25 13:53:44 +01:00
|
|
|
@include themify() {
|
|
|
|
.quick-add__icon {
|
|
|
|
polygon {
|
|
|
|
fill: getThemifyVariable('table-button-hover-color');
|
|
|
|
}
|
|
|
|
|
|
|
|
path {
|
|
|
|
fill: getThemifyVariable('table-button-background-hover-color');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-05 18:23:57 +01:00
|
|
|
.quick-add__in-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__icon--in-collection {
|
|
|
|
.quick-add__remove-icon {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__add-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__icon--not-in-collection {
|
|
|
|
.quick-add__add-icon {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__remove-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|