Adityadn commited on
Commit
a7aa618
·
verified ·
1 Parent(s): 5eb3740

Upload styles.css

Browse files
Files changed (1) hide show
  1. stylesheet/styles.css +246 -0
stylesheet/styles.css ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ transition: all 0.25s;
3
+ }
4
+
5
+ body {
6
+ font-size: 20px;
7
+ background-color: #f8f9fa;
8
+ color: #333;
9
+ line-height: 1.6;
10
+ margin: 0;
11
+ padding: 0;
12
+ font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
13
+ overflow-x: hidden;
14
+ }
15
+
16
+ .container {
17
+ max-width: 1200px;
18
+ margin: auto;
19
+ padding: 5px;
20
+ }
21
+
22
+ header {
23
+ background-color: #fff;
24
+ border-bottom: 1px solid #ddd;
25
+ }
26
+
27
+ header h2 {
28
+ font-weight: bold;
29
+ }
30
+
31
+ header input[type="search"] {
32
+ border-radius: 0.5rem;
33
+ }
34
+
35
+ .card {
36
+ border: none;
37
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
38
+ background-color: #fff;
39
+ border-radius: 0.5rem;
40
+ }
41
+
42
+ .card img {
43
+ max-height: 200px;
44
+ object-fit: cover;
45
+ border-top-left-radius: 0.5rem;
46
+ border-top-right-radius: 0.5rem;
47
+ }
48
+
49
+ header,
50
+ footer {
51
+ z-index: 1000;
52
+ border-radius: 5px;
53
+ width: 100%;
54
+ transform: translate(0, 50%);
55
+ }
56
+
57
+ header.fixed-top {
58
+ position: fixed;
59
+ top: -7.5%;
60
+ left: 0;
61
+ }
62
+
63
+ header .container div {
64
+ gap: 20px;
65
+ }
66
+
67
+ footer.fixed-bottom {
68
+ position: fixed;
69
+ bottom: 5%;
70
+ left: 0;
71
+ }
72
+
73
+ footer .container {
74
+ width: 720px;
75
+ }
76
+
77
+ footer,
78
+ header {
79
+ background-color: #eeeeeeaa;
80
+ }
81
+
82
+ @media (max-width: 720px) {
83
+ .nd-720 {
84
+ display: none !important;
85
+ }
86
+
87
+ footer .container {
88
+ width: auto;
89
+ }
90
+ }
91
+
92
+ @media (max-width: 512px) {
93
+ .nd-512 {
94
+ display: none !important;
95
+ }
96
+
97
+ .btn-lg {
98
+ padding-y: 0.25rem;
99
+ padding-x: 0.5rem;
100
+ font-size: 0.875rem;
101
+ border-radius: var(--bs-border-radius-sm);
102
+ }
103
+
104
+ .form-control-lg {
105
+ min-height: calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2));
106
+ padding: 0.25rem 0.5rem;
107
+ font-size: 1.05rem;
108
+ border-radius: var(--bs-border-radius-sm);
109
+ }
110
+
111
+ .btn-lg {
112
+ margin-bottom: 4%;
113
+ }
114
+ }
115
+
116
+ .hf {
117
+ margin: 150px 0 !important;
118
+ padding: 64px;
119
+ }
120
+
121
+ .transactions-body {
122
+ cursor: pointer;
123
+ }
124
+
125
+ .transactions-body .card-body:hover {
126
+ background-color: #eee;
127
+ }
128
+
129
+ #transaction-details {
130
+ max-width: 320px;
131
+ aspect-ratio: 9 / 16;
132
+ text-align: left;
133
+ position: relative;
134
+ margin-bottom: 20px;
135
+ }
136
+
137
+ #transaction-details .receipt-wrapper {
138
+ position: absolute;
139
+ top: 0;
140
+ left: 0;
141
+ transform-origin: top left;
142
+ background: #fff;
143
+ box-sizing: border-box;
144
+ overflow: hidden;
145
+ }
146
+
147
+ .receipt-table {
148
+ width: 100%;
149
+ border-collapse: collapse;
150
+ margin-top: 10px;
151
+ }
152
+
153
+ .receipt-table th,
154
+ .receipt-table td {
155
+ padding: 4px;
156
+ border-bottom: 1px dotted #aaa;
157
+ font-size: 0.9rem;
158
+ text-align: left;
159
+ }
160
+
161
+ .total-row {
162
+ border-top: 1px solid #000;
163
+ font-weight: bold;
164
+ }
165
+
166
+ .receipt-footer {
167
+ margin-top: 10px;
168
+ font-size: 0.85rem;
169
+ color: #555;
170
+ }
171
+
172
+ .action-buttons {
173
+ position: absolute;
174
+ width: 50%;
175
+ }
176
+
177
+ #cart-items {
178
+ width: 100% !important;
179
+ }
180
+
181
+ #backButton {
182
+ position: fixed;
183
+ z-index: 1;
184
+ top: 12.5%;
185
+ left: 2.5%;
186
+ }
187
+
188
+ @media (max-height: 900px) {
189
+ #backButton {
190
+ top: 15% !important;
191
+ }
192
+ }
193
+
194
+ @media (max-height: 800px) {
195
+ #backButton {
196
+ top: 17.5% !important;
197
+ }
198
+ }
199
+
200
+ @media (max-height: 700px) {
201
+ #backButton {
202
+ top: 20% !important;
203
+ }
204
+ }
205
+
206
+ @media (max-height: 625px) {
207
+ #backButton {
208
+ top: 22.5% !important;
209
+ }
210
+ }
211
+
212
+ @media (max-height: 500px) {
213
+ #backButton {
214
+ top: 25% !important;
215
+ }
216
+ }
217
+
218
+ @media (max-height: 575px) {
219
+ #backButton {
220
+ top: 25.75% !important;
221
+ }
222
+ }
223
+
224
+ @media (max-height: 525px) {
225
+ #backButton {
226
+ top: 26.66% !important;
227
+ }
228
+ }
229
+
230
+ @media (max-height: 500px) {
231
+ #backButton {
232
+ top: 27.5% !important;
233
+ }
234
+ }
235
+
236
+ /* Untuk layar kecil, tiap tombol akan mengambil lebar penuh dan ditampilkan secara vertikal */
237
+ @media (max-width: 576px) {
238
+ #payment-method-buttons {
239
+ flex-direction: column;
240
+ align-items: stretch;
241
+ }
242
+ #payment-method-buttons button {
243
+ flex: 1 1 100%;
244
+ margin: 0.5rem 0; /* margin vertikal */
245
+ }
246
+ }