corp-mp/src/pages/resubmit/index.scss

385 lines
6.1 KiB
SCSS

.resubmit-page {
min-height: 100vh;
box-sizing: border-box;
background: #f7f8fa;
}
.resubmit-page__reject {
padding: 20px 32px;
background: #fff1f0;
color: #f53f3f;
font-size: 26px;
font-weight: 600;
line-height: 40px;
}
.resubmit-page__body {
padding: 24px 24px calc(172px + env(safe-area-inset-bottom));
}
.resubmit-card {
box-sizing: border-box;
width: 702px;
padding: 32px 24px 40px;
border-radius: 24px;
background: #ffffff;
box-shadow: 0 0 20px rgba(0, 78, 206, 0.1);
}
.resubmit__field {
margin-bottom: 28px;
}
.resubmit-card .resubmit__field:last-child {
margin-bottom: 0;
}
.resubmit__label {
display: flex;
align-items: center;
margin-bottom: 16px;
color: #1d2129;
font-size: 28px;
font-weight: 600;
}
.resubmit__label-icon {
width: 36px;
height: 36px;
margin-right: 8px;
}
.resubmit__required {
margin-left: 4px;
color: #f53f3f;
}
.resubmit__control {
position: relative;
display: flex;
align-items: center;
box-sizing: border-box;
min-height: 88px;
padding: 0 24px;
border: 2px solid #e5e6eb;
border-radius: 16px;
background: #fff;
}
.resubmit__control--nav {
justify-content: space-between;
}
.resubmit__input {
flex: 1;
min-width: 0;
height: 88px;
color: #1d2129;
font-size: 28px;
}
.resubmit__placeholder {
color: #c9cdd4;
font-size: 28px;
}
.resubmit__control-value {
flex: 1;
min-width: 0;
color: #1d2129;
font-size: 28px;
}
.resubmit__clear,
.resubmit__arrow {
width: 36px;
height: 36px;
margin-left: 12px;
flex-shrink: 0;
}
.resubmit__hint {
display: block;
margin-top: 12px;
color: #f53f3f;
font-size: 24px;
line-height: 36px;
}
.resubmit__shots {
display: flex;
align-items: flex-start;
}
.resubmit__shot,
.resubmit__example {
position: relative;
width: 292px;
height: 200px;
overflow: hidden;
border-radius: 16px;
background: #fff;
}
.resubmit__example {
margin-left: 20px;
flex-shrink: 0;
}
.resubmit__example-image {
width: 100%;
height: 100%;
}
.resubmit__example-caption {
position: absolute;
right: 0;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
height: 48px;
color: #fff;
font-size: 24px;
line-height: 48px;
background: rgba(0, 0, 0, 0.55);
}
.resubmit__shot--empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 2px solid #e5e6eb;
}
.resubmit__shot-image {
width: 100%;
height: 100%;
}
.resubmit__shot-camera {
width: 56px;
height: 56px;
}
.resubmit__shot-text {
margin-top: 8px;
color: #c9cdd4;
font-size: 22px;
}
.resubmit__shot-edit {
position: absolute;
top: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
border-radius: 0 16px 0 16px;
background: rgba(29, 33, 41, 0.55);
}
.resubmit__shot-edit-icon {
width: 32px;
height: 32px;
}
.resubmit__disclaimer,
.resubmit__online {
display: block;
width: 100%;
margin-top: 24px;
font-size: 24px;
font-weight: 400;
line-height: 36px;
text-align: left;
}
.resubmit__disclaimer-label {
color: #ff2626;
}
.resubmit__online {
margin-top: 16px;
}
.resubmit__disclaimer-text {
color: #333333;
}
.resubmit__error {
display: block;
margin-top: 16px;
color: #f53f3f;
font-size: 24px;
}
.resubmit-page__footer {
position: fixed;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
padding: 60px 32px calc(24px + env(safe-area-inset-bottom));
background: #f7f8fa;
}
.resubmit__submit {
display: flex;
align-items: center;
justify-content: center;
height: 88px;
margin: 0;
padding: 0;
border: 0;
border-radius: 16px;
background: #165dff;
color: #fff;
font-size: 32px;
font-weight: 700;
line-height: 1.2;
}
.resubmit__submit::after {
border: 0;
}
.resubmit-page--corp .resubmit-card {
padding-bottom: 12px;
}
.resubmit-page--corp .resubmit__field {
margin-bottom: 36px;
}
.resubmit__required--leading {
margin-right: 6px;
margin-left: 0;
}
.resubmit__control--company {
padding-right: 12px;
}
.resubmit__query-company {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 120px;
height: 64px;
margin: 0 0 0 12px;
padding: 0;
border: 0;
border-radius: 12px;
background: #fc6c00;
color: #fff;
font-size: 26px;
line-height: 64px;
}
.resubmit__query-company::after {
border: 0;
}
.resubmit__company-list {
position: relative;
z-index: 2;
max-height: 420px;
margin-top: 8px;
overflow-y: auto;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.resubmit__company-item {
display: flex;
align-items: center;
box-sizing: border-box;
min-height: 96px;
padding: 16px 20px;
border-bottom: 2px solid #eee;
}
.resubmit__company-item:last-child {
border-bottom: 0;
}
.resubmit__company-name {
flex: 1;
min-width: 0;
color: #1a1a1a;
font-size: 26px;
line-height: 36px;
}
.resubmit__company-legal {
flex-shrink: 0;
max-width: 160px;
margin-left: 20px;
overflow: hidden;
color: #fc6c00;
font-size: 24px;
line-height: 36px;
text-overflow: ellipsis;
white-space: nowrap;
}
.resubmit__selected-company {
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
min-height: 128px;
margin: -16px 0 36px;
padding: 20px 24px;
border-radius: 12px;
background: rgba(252, 108, 0, 0.06);
}
.resubmit__selected-company-main {
display: flex;
flex: 1;
min-width: 0;
flex-direction: column;
}
.resubmit__selected-company-name,
.resubmit__selected-company-code,
.resubmit__selected-company-legal {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.resubmit__selected-company-name {
color: #af5715;
font-size: 28px;
font-weight: 600;
line-height: 40px;
}
.resubmit__selected-company-code {
margin-top: 4px;
color: #fc6c00;
font-size: 24px;
line-height: 34px;
}
.resubmit__selected-company-legal {
flex-shrink: 0;
max-width: 180px;
margin-left: 20px;
color: #8b7c6f;
font-size: 26px;
}
.resubmit__submit--corp {
background: #df0000;
}