1 | .container {
|
---|
2 | display: flex;
|
---|
3 | flex-direction: column;
|
---|
4 | justify-content: flex-start;
|
---|
5 | align-items: center;
|
---|
6 | background: #f0f0f0;
|
---|
7 | box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1), 10px 0 10px rgba(0, 0, 0, 0.1);
|
---|
8 | width: 45%;
|
---|
9 | min-height: 100vh;
|
---|
10 | margin: 25px auto;
|
---|
11 | border-radius: 25px;
|
---|
12 | padding: 20px;
|
---|
13 | height: auto;
|
---|
14 | overflow-y: auto;
|
---|
15 | overflow-x: hidden;
|
---|
16 | }
|
---|
17 |
|
---|
18 | .topButtons {
|
---|
19 | display: flex;
|
---|
20 | justify-content: space-around;
|
---|
21 | /*remove align items if top buttons are bugging out*/
|
---|
22 | align-items: center;
|
---|
23 | width: 100%;
|
---|
24 | margin-bottom: 30px;
|
---|
25 | gap: 2%;
|
---|
26 | }
|
---|
27 |
|
---|
28 | .button {
|
---|
29 | background-color: #FFA500;
|
---|
30 | color: white;
|
---|
31 | padding: 10px 20px;
|
---|
32 | border-radius: 20px;
|
---|
33 | cursor: pointer;
|
---|
34 | font-size: 16px;
|
---|
35 | transition: background-color 0.3s ease;
|
---|
36 | text-align: center;
|
---|
37 | }
|
---|
38 |
|
---|
39 | .button:hover, .buttonClicked:hover {
|
---|
40 | background-color: #e69500;
|
---|
41 | /*background-color: #ff8533;*/
|
---|
42 | }
|
---|
43 |
|
---|
44 | .buttonClicked {
|
---|
45 | background-color: #FFA500;
|
---|
46 | color: white;
|
---|
47 | padding: 10px 20px;
|
---|
48 | border-radius: 20px;
|
---|
49 | cursor: pointer;
|
---|
50 | font-size: 16px;
|
---|
51 | border: 1px solid black;
|
---|
52 | transition: background-color 0.3s ease;
|
---|
53 | text-align: center;
|
---|
54 | }
|
---|
55 |
|
---|
56 | /* Card styling */
|
---|
57 |
|
---|
58 | .cardContainer {
|
---|
59 | flex-grow: 1;
|
---|
60 | display: flex;
|
---|
61 | flex-direction: column;
|
---|
62 | gap: 30px;
|
---|
63 | width: 100%;
|
---|
64 | }
|
---|
65 |
|
---|
66 | .card {
|
---|
67 | display: flex;
|
---|
68 | align-items: center;
|
---|
69 | justify-content: space-between;
|
---|
70 | background-color: white;
|
---|
71 | border-radius: 15px;
|
---|
72 | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
---|
73 | padding: 15px;
|
---|
74 | transition: box-shadow 0.3s ease;
|
---|
75 | cursor: pointer;
|
---|
76 | }
|
---|
77 |
|
---|
78 | .card:hover {
|
---|
79 | box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
|
---|
80 | }
|
---|
81 |
|
---|
82 | .cardImage {
|
---|
83 | width: 100px;
|
---|
84 | height: 100px;
|
---|
85 | border-radius: 10px;
|
---|
86 | }
|
---|
87 |
|
---|
88 | .cardContent {
|
---|
89 | flex-grow: 1;
|
---|
90 | margin-left: 20px;
|
---|
91 | }
|
---|
92 |
|
---|
93 | .cardTitle {
|
---|
94 | font-size: 18px;
|
---|
95 | font-weight: bold;
|
---|
96 | margin: 0 0 10px;
|
---|
97 | }
|
---|
98 |
|
---|
99 | /*Pagination Style*/
|
---|
100 |
|
---|
101 | .pagination {
|
---|
102 | display: flex;
|
---|
103 | justify-content: center;
|
---|
104 | align-items: center;
|
---|
105 | margin-top: 40px;
|
---|
106 | margin-bottom: 20px;
|
---|
107 | color: #333;
|
---|
108 | font-weight: 700;
|
---|
109 | vertical-align: bottom;
|
---|
110 | }
|
---|
111 |
|
---|
112 | .pageButton {
|
---|
113 | background-color: #FFA500;
|
---|
114 | border: none;
|
---|
115 | color: #fff;
|
---|
116 | padding: 5px 20px;
|
---|
117 | margin: 0 5px;
|
---|
118 | border-radius: 5px;
|
---|
119 | cursor: pointer;
|
---|
120 | font-size: 24px;
|
---|
121 | transition: background-color 0.3s ease;
|
---|
122 | }
|
---|
123 |
|
---|
124 | .pageButton:disabled {
|
---|
125 | background-color: #ccc;
|
---|
126 | cursor: not-allowed;
|
---|
127 | }
|
---|
128 |
|
---|
129 | .pageButton:hover:not(:disabled) {
|
---|
130 | background-color: #e59400;
|
---|
131 | }
|
---|
132 |
|
---|
133 | .currentPage {
|
---|
134 | font-size: 18px;
|
---|
135 | color: #333;
|
---|
136 | margin: 0 15px;
|
---|
137 | font-weight: 700;
|
---|
138 | }
|
---|
139 |
|
---|
140 | .noDataText {
|
---|
141 | display: block;
|
---|
142 | margin-top: 30px;
|
---|
143 | text-align: center;
|
---|
144 | font-weight: bold;
|
---|
145 | color: black;
|
---|
146 | }
|
---|
147 |
|
---|
148 | /*Orders*/
|
---|
149 |
|
---|
150 | .orderContainer {
|
---|
151 | margin-bottom: -40px;
|
---|
152 | }
|
---|
153 |
|
---|
154 | .toggleSection {
|
---|
155 | background-color: #f9f9f9;
|
---|
156 | border-radius: 10px;
|
---|
157 | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
---|
158 | margin: 10px 0;
|
---|
159 | padding: 10px;
|
---|
160 | transition: max-height 0.3s ease, opacity 0.3s ease;
|
---|
161 | overflow: hidden;
|
---|
162 | cursor: pointer;
|
---|
163 | }
|
---|
164 |
|
---|
165 | .toggleSection.open {
|
---|
166 | max-height: 200px;
|
---|
167 | opacity: 1;
|
---|
168 | }
|
---|
169 |
|
---|
170 | .toggleSection.closed {
|
---|
171 | max-height: 0;
|
---|
172 | opacity: 0;
|
---|
173 | }
|
---|
174 |
|
---|
175 | .adminOrderCard {
|
---|
176 | margin-bottom: 10px;
|
---|
177 | } |
---|