2019-12-11 14:12:23 +00:00
|
|
|
.quick-add-wrapper {
|
|
|
|
min-width: #{600 / $base-font-size}rem;
|
2020-08-19 19:50:26 +00:00
|
|
|
padding: #{24 / $base-font-size}rem;
|
|
|
|
height: 100%;
|
2019-12-11 14:12:23 +00:00
|
|
|
}
|
|
|
|
|
2019-11-05 17:23:57 +00:00
|
|
|
.quick-add {
|
2019-11-10 16:08:00 +00:00
|
|
|
width: auto;
|
2020-08-19 19:50:26 +00:00
|
|
|
overflow-y: scroll;
|
|
|
|
height: 100%;
|
|
|
|
@include themify() {
|
|
|
|
border: 1px solid getThemifyVariable('modal-border-color');
|
|
|
|
}
|
2019-11-05 17:23:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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() {
|
2020-08-18 17:54:21 +00:00
|
|
|
background: getThemifyVariable('table-row-stripe-color-alternate');
|
2019-11-05 17:23:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__item-toggle {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-02-11 21:16:43 +00:00
|
|
|
}
|
2019-11-05 17:23:57 +00:00
|
|
|
|
2020-02-11 21:16:43 +00:00
|
|
|
.quick-add__item-name {
|
2019-11-05 17:23:57 +00:00
|
|
|
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 12:53:44 +00:00
|
|
|
// icon graphic
|
2020-04-29 22:34:37 +00:00
|
|
|
path {
|
2019-11-25 12:53:44 +00:00
|
|
|
fill: getThemifyVariable('table-button-color');
|
|
|
|
}
|
|
|
|
|
|
|
|
// icon background circle
|
2020-04-29 22:34:37 +00:00
|
|
|
path:first-child {
|
2019-11-25 12:53:44 +00:00
|
|
|
fill: getThemifyVariable('table-button-background-color');
|
2019-11-05 17:23:57 +00: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;
|
|
|
|
}
|
|
|
|
|
2020-04-29 22:34:37 +00:00
|
|
|
.quick-add__icon--in-collection .quick-add__in-icon {
|
2020-01-15 11:23:46 +00:00
|
|
|
@include themify() {
|
|
|
|
// icon graphic
|
2020-04-29 22:34:37 +00:00
|
|
|
& path {
|
2020-01-15 11:23:46 +00:00
|
|
|
fill: getThemifyVariable('table-button-active-color');
|
|
|
|
}
|
|
|
|
|
|
|
|
// icon background circle
|
2020-04-29 22:34:37 +00:00
|
|
|
& path:first-child {
|
2020-01-15 11:23:46 +00:00
|
|
|
fill: getThemifyVariable('table-button-background-active-color');
|
|
|
|
}
|
|
|
|
}
|
2019-11-05 17:23:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__add-icon {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
2020-02-11 21:16:43 +00:00
|
|
|
.quick-add__item:hover,
|
2019-11-25 13:28:59 +00:00
|
|
|
.quick-add__item-toggle:hover,
|
|
|
|
.quick-add__item-toggle:focus {
|
2020-02-11 21:16:43 +00:00
|
|
|
cursor: pointer;
|
2019-11-25 12:53:44 +00:00
|
|
|
@include themify() {
|
2020-04-29 22:34:37 +00:00
|
|
|
& .quick-add__icon path {
|
|
|
|
fill: getThemifyVariable('table-button-hover-color');
|
|
|
|
}
|
|
|
|
|
|
|
|
& .quick-add__icon path:first-child {
|
|
|
|
fill: getThemifyVariable('table-button-background-hover-color');
|
2019-11-25 12:53:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-11 21:16:43 +00:00
|
|
|
& .quick-add__in-icon {
|
2019-11-05 17:23:57 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-02-11 21:16:43 +00:00
|
|
|
& .quick-add__icon--in-collection {
|
2019-11-05 17:23:57 +00:00
|
|
|
.quick-add__remove-icon {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__add-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-11 21:16:43 +00:00
|
|
|
& .quick-add__icon--not-in-collection {
|
2019-11-05 17:23:57 +00:00
|
|
|
.quick-add__add-icon {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quick-add__remove-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|