Browse code

Update

Benjamin Roth authored on17/03/2023 09:52:56
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,79 @@
1
+.dropdown--basket {
2
+  .open-dropdown {
3
+    cursor: pointer;
4
+    display: inline-block;
5
+    margin-left: 0.5rem;
6
+
7
+    i {
8
+      color: var(--bs-primary);
9
+    }
10
+  }
11
+
12
+  .dropdown-menu {
13
+    box-shadow: $box-shadow;
14
+    border: 0px;
15
+    border-radius: $border-radius;
16
+    margin-top: 1rem;
17
+    top: 1rem !important;
18
+
19
+    .mini--basket {
20
+      padding: 1rem;
21
+      min-width: rfs-value(300px);
22
+
23
+      .product--list {
24
+        max-height: 350px;
25
+        overflow-x: hidden;
26
+        overflow-y: auto;
27
+
28
+        .product {
29
+          position: relative;
30
+
31
+          &:not(:last-child) {
32
+            margin-bottom: 0.75rem;
33
+            padding-bottom: 0.75rem;
34
+            border-bottom: 1px solid var(--bs-primary);
35
+          }
36
+
37
+          .image_container {
38
+            margin-bottom: 0px;
39
+            text-align: center;
40
+          }
41
+
42
+          .product-data {
43
+            display: flex;
44
+            flex-flow: column wrap;
45
+            height: 100%;
46
+          }
47
+
48
+          .name {
49
+            font-weight: $font-weight-bold;
50
+            flex: 1;
51
+          }
52
+
53
+          .price {
54
+            text-align: right;
55
+            font-weight: $font-weight-bold;
56
+          }
57
+
58
+          .info {
59
+            ul {
60
+              list-style-type: none;
61
+              padding: 0px;
62
+              margin: 0.5rem 0px;
63
+              @include font-size(12px);
64
+            }
65
+          }
66
+        }
67
+      }
68
+
69
+      .subtotal {
70
+        font-weight: $font-weight-semibold;
71
+        text-align: right;
72
+        margin-top: 1rem;
73
+        color: var(--bs-primary);
74
+        padding-top: 0.5rem;
75
+        border-top-style: double;
76
+      }
77
+    }
78
+  }
79
+}