forked from kondasoft/ks-bootshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
collection.css
123 lines (98 loc) · 1.92 KB
/
collection.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/*
© 2024 KondaSoft
https://www.kondasoft.com
*/
/*
Collection header
*/
.collection-header {
border-top-style: solid;
border-bottom-style: solid;
text-align: center;
}
/*
Collection products
*/
.collection-products {
border-top-style: solid;
border-bottom-style: solid;
}
.product-list {
list-style: none;
padding: 0;
margin: 0;
transition: all .2s ease-out;
}
.collection-utilities {
display: flex;
justify-content: space-between;
align-items: center;
}
.sort-by input + label {
cursor: pointer;
}
.sort-by input:checked + label {
color: var(--bs-primary);
}
.sort-by input:focus-visible + label {
box-shadow: var(--bs-focus-box-shadow);
}
/*
Collection filters
*/
#offcanvas-collection-filters {
width: 320px;
}
.collection-filters {
display: flex;
flex-direction: column;
height: 100%;
}
.collection-filters .collapse-wrapper {
border-bottom: none;
margin: 0;
}
.collection-filters .collapse-wrapper button[data-bs-toggle=collapse] {
background-color: var(--bs-light);
padding: 0.75rem 1rem;
font-weight: 500;
}
.collection-filters .collapse-wrapper button[data-bs-toggle=collapse]::after {
right: 0.75rem;
}
.collection-filters .collapse-wrapper .collapse-inner {
padding: .25rem 1rem 1.5rem;
}
.collection-filters .form-check {
font-size: 0.9rem;
margin-top: 0.25rem;
margin-bottom: 0.25rem;
}
/*
Collection card
*/
.collection-card-link {
display: block;
text-decoration: none;
color: currentColor;
}
.collection-card-link:focus-visible {
outline: 0;
box-shadow: var(--bs-focus-box-shadow);
}
.collection-card-title {
transition: all 200ms ease-out;
}
.collection-card-img-wrapper {
position: relative;
}
.collection-card-img-wrapper img {
width: 100%;
}
.collection-card-title-normal {
margin-top: 0.5rem;
}
.collection-card-link:hover .collection-card-title-normal,
.collection-card-link:focus .collection-card-title-normal {
opacity: .8;
}