Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 8c018fa

Browse files
committed
Merge branch 'temp-payment' into reskin-payment
* temp-payment: improvement(reskin-payment): view all, view pending
2 parents f4131ad + 7e1a4d9 commit 8c018fa

19 files changed

+1030
-7
lines changed

css/reskin-2/common.css

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,88 @@
3737
--footer-height: 51px;
3838
--header-height-mobile: 60px;
3939
--footer-height-mobile: 75px;
40+
41+
--payment-status-owed: #f46500;
42+
--payment-status-paid: #0ab88a;
43+
--payment-status-cancelled: #ef476f;
44+
}
45+
46+
.modal {
47+
position: fixed;
48+
top: 0;
49+
left: 0;
50+
z-index: 1000;
51+
display: none;
52+
width: 100%;
53+
height: 100%;
54+
overflow-x: hidden;
55+
overflow-y: auto;
56+
}
57+
.modal.show {
58+
display: block;
59+
}
60+
.modal-dialog {
61+
position: relative;
62+
max-width: calc(100% - 16px);
63+
margin-left: auto;
64+
margin-right: auto;
65+
}
66+
.modal-content {
67+
position: relative;
68+
display: flex;
69+
flex-direction: column;
70+
width: 100%;
71+
background-color: #fff;
72+
border-radius: 8px;
73+
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
74+
75+
padding: 32px;
76+
}
77+
.modal-header {
78+
display: flex;
79+
flex-shrink: 0;
80+
align-items: center;
81+
justify-content: space-between;
82+
padding: 0 0 24px 0;
83+
border-bottom: 2px solid var(--black-10);
84+
}
85+
.modal-title {
86+
font-family: Barlow;
87+
font-weight: 600;
88+
font-size: 22px;
89+
line-height: 26px;
90+
}
91+
.modal-body {
92+
position: relative;
93+
flex: 1 1 auto;
94+
padding: 24px 0;
95+
}
96+
.modal-footer {
97+
display: flex;
98+
flex-shrink: 0;
99+
flex-wrap: wrap;
100+
align-items: center;
101+
justify-content: flex-end;
102+
padding: 24px 0 0 0;
103+
gap: 16px;
104+
border-top: 2px solid var(--black-10);
40105
}
106+
@media (max-width: /* --xs-max */ 599px) {
107+
.modal-content {
108+
padding: 24px 16px;
109+
}
110+
.modal-header {
111+
padding: 0 0 16px 0;
112+
}
113+
.modal-title {
114+
font-size: 18px;
115+
line-height: 20px;
116+
}
117+
.modal-body {
118+
padding: 16px 0;
119+
}
120+
.modal-footer {
121+
padding: 16px 0 0 0;
122+
gap: 10px;
123+
}
124+
}

0 commit comments

Comments
 (0)