Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: mass listing selector popup #7289

Merged
merged 7 commits into from
Sep 24, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions components/common/listingCart/ListingCartMini.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
<transition v-if="listingCartStore.count" name="slide">
<div class="listing-container">
<div class="is-inline-flex is-align-items-center">
<div class="k-shadow theme-background-color border py-2">
<div class="is-inline-flex is-align-items-center mx-5">
<div class="k-shadow theme-background-color border py-4 px-6">
<div class="is-inline-flex is-align-items-center">
<div>
<b>{{ listingCartStore.count }}</b> {{ $t('items') }}
</div>
<div class="mx-4" />
<NeoButton
:disabled="!listingCartStore.count"
class="has-text-grey"
variant="text"
no-shadow
@click.native="listingCartStore.clear">
Expand All @@ -18,14 +19,15 @@
<div class="mx-4" />
<NeoButton
variant="text"
class="has-text-grey"
no-shadow
@click.native="listingCartStore.addAllToCart">
{{ $t('listingCart.selectAll') }}
</NeoButton>
</div>
</div>
<NeoButton
class="h-full"
class="h-full no-border-left py-4 px-7"
:variant="'k-accent'"
@click.native="preferencesStore.listingCartModalOpen = true">
{{ $t('listingCart.listItem') }}
Expand All @@ -44,8 +46,8 @@ const preferencesStore = usePreferencesStore()
<style scoped lang="scss">
.listing-container {
position: fixed;
right: 80px;
bottom: 50px;
right: 96px;
bottom: 36px;
z-index: 998;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@ const onClickShoppingCart = () => {
width: 100%;
}
}
.no-border-left {
border-left: none !important;
}

.desktop-full-w {
@include until-widescreen {
Expand Down
4 changes: 0 additions & 4 deletions components/items/ItemsGrid/ItemsGridImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ const onClickListingCart = () => {
height: 35px;
}

.no-border-left {
border-left: none !important;
}

.hover-color {
&:hover {
@include ktheme() {
Expand Down
4 changes: 4 additions & 0 deletions styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -479,3 +479,7 @@ a.has-text-grey {
#transakOnOffRampWidget {
height: 100% !important;
}

.no-border-left {
border-left: none !important;
}