222 lines
3.9 KiB
CSS
222 lines
3.9 KiB
CSS
body.user-page {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #f5f7fb;
|
|
}
|
|
|
|
.user-main {
|
|
flex: 1;
|
|
padding: 32px 0 52px;
|
|
}
|
|
|
|
.account-layout {
|
|
display: grid;
|
|
grid-template-columns: 240px minmax(0, 1fr);
|
|
gap: 18px;
|
|
align-items: start;
|
|
}
|
|
|
|
.account-nav,
|
|
.account-panel {
|
|
background: #fff;
|
|
border: 1px solid rgba(15, 23, 42, .08);
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.account-nav__title,
|
|
.account-panel__title {
|
|
background: var(--main-color);
|
|
color: #fff;
|
|
font-size: 17px;
|
|
font-weight: 800;
|
|
line-height: 50px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.account-nav__link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
height: 50px;
|
|
padding: 0 18px;
|
|
color: #263241;
|
|
border-bottom: 1px solid #eef1f5;
|
|
text-decoration: none;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.account-nav__link:hover,
|
|
.account-nav__link.is-active {
|
|
color: var(--main-color);
|
|
background: rgba(21, 56, 84, .06);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.account-panel__body {
|
|
padding: 22px;
|
|
}
|
|
|
|
.invoice-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
margin-bottom: 18px;
|
|
padding: 16px 18px;
|
|
border: 1px solid #dfe5ee;
|
|
border-radius: 8px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.invoice-summary strong {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
color: #1f2937;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.invoice-summary span {
|
|
color: #951e14;
|
|
font-size: 24px;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.invoice-summary p {
|
|
margin: 0;
|
|
color: #64748b;
|
|
font-size: 14px;
|
|
line-height: 1.7;
|
|
text-align: right;
|
|
}
|
|
|
|
.invoice-tip {
|
|
margin: 0 0 20px;
|
|
padding: 12px 14px;
|
|
border: 1px solid rgba(149, 30, 20, .16);
|
|
border-radius: 6px;
|
|
color: #951e14;
|
|
background: rgba(149, 30, 20, .05);
|
|
line-height: 1.7;
|
|
text-align: center;
|
|
}
|
|
|
|
.invoice-section-title {
|
|
margin: 0 0 16px;
|
|
padding-left: 10px;
|
|
border-left: 4px solid var(--main-color);
|
|
color: #1f2937;
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.invoice-section-title--sub {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.invoice-form .layui-form-label {
|
|
display: block;
|
|
float: none;
|
|
width: auto;
|
|
padding: 0 0 7px;
|
|
color: #1f2937;
|
|
text-align: left;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.invoice-form .layui-form-label span {
|
|
color: #e53935;
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.invoice-form .layui-input-block {
|
|
margin-left: 0;
|
|
min-height: auto;
|
|
}
|
|
|
|
.invoice-form .layui-input {
|
|
height: 50px;
|
|
border: 1px solid #d8dee8;
|
|
border-radius: 4px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.invoice-form .layui-input:focus {
|
|
border-color: var(--main-color) !important;
|
|
box-shadow: 0 0 0 3px rgba(21, 56, 84, .08);
|
|
}
|
|
|
|
.invoice-form .layui-btn {
|
|
height: 50px;
|
|
line-height: 50px;
|
|
border-radius: 6px;
|
|
background: var(--main-color);
|
|
font-size: 17px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.invoice-form .layui-btn:hover,
|
|
.invoice-form .layui-btn:focus {
|
|
color: #fff;
|
|
background: #0f2b42;
|
|
}
|
|
|
|
.invoice-form .layui-btn:disabled {
|
|
cursor: not-allowed;
|
|
background: #98a2b3;
|
|
}
|
|
|
|
.in-img {
|
|
margin-top: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.layui-layer-content img {
|
|
width: 150px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.user-main {
|
|
padding: 20px 12px 36px;
|
|
}
|
|
|
|
.account-layout {
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.account-nav {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.account-nav__title {
|
|
display: none;
|
|
}
|
|
|
|
.account-nav__link {
|
|
justify-content: center;
|
|
padding: 0 8px;
|
|
font-size: 14px;
|
|
border-right: 1px solid #eef1f5;
|
|
}
|
|
|
|
.account-panel__body {
|
|
padding: 18px;
|
|
}
|
|
|
|
.invoice-summary {
|
|
display: block;
|
|
}
|
|
|
|
.invoice-summary p {
|
|
margin-top: 8px;
|
|
text-align: left;
|
|
}
|
|
}
|