483 lines
7.3 KiB
CSS
483 lines
7.3 KiB
CSS
@font-face {
|
|
font-family: "Baloo 2";
|
|
font-weight: 400 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
min-height: 100%;
|
|
-webkit-font-smoothing: antialiased;
|
|
-webkit-text-size-adjust: 100%;
|
|
-webkit-overflow-scrolling: touch;
|
|
-webkit-tap-highlight-color: transparent;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body {
|
|
color: #1f2937;
|
|
background: #f4fbf6;
|
|
}
|
|
|
|
button {
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
}
|
|
|
|
.bd-center {
|
|
min-height: 100vh;
|
|
overflow-y: auto;
|
|
background: #f4fbf6;
|
|
}
|
|
|
|
.general-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
display: grid;
|
|
grid-template-columns: 44px 1fr 58px;
|
|
align-items: center;
|
|
width: 100%;
|
|
min-height: calc(48px + env(safe-area-inset-top));
|
|
padding: env(safe-area-inset-top) 10px 0;
|
|
background: #ffffff;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.general-header h1 {
|
|
min-width: 0;
|
|
color: #111827;
|
|
font-size: 1.35em;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.header-button,
|
|
.language-button {
|
|
min-width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #111827;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.header-button span {
|
|
display: block;
|
|
font-size: 2em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.language-button {
|
|
justify-self: end;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
background: #e9f7ee;
|
|
color: #276344;
|
|
font-size: 0.86em;
|
|
}
|
|
|
|
.content {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.gradient-border {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: 20px;
|
|
background: #ffffff;
|
|
border: 1px solid #d7eadf;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.salary-card {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.salary-inner {
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.salary-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.salary-title {
|
|
flex: 1;
|
|
min-width: 0;
|
|
font-weight: 600;
|
|
color: #1f2937;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.salary-link {
|
|
flex-shrink: 0;
|
|
max-width: 48%;
|
|
color: rgba(0, 0, 0, 0.4);
|
|
font-weight: 500;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.salary-amount {
|
|
color: #1f2937;
|
|
font-size: 1.5em;
|
|
font-weight: 600;
|
|
direction: ltr;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.salary-icon {
|
|
display: block;
|
|
width: 1.35em;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: contain;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.menu-card {
|
|
margin: 0 1% 12px;
|
|
}
|
|
|
|
.menu-inner {
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
gap: 4vw;
|
|
}
|
|
|
|
.menu-row {
|
|
width: 100%;
|
|
min-height: 1.8em;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
.menu-label {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1vw;
|
|
}
|
|
|
|
.menu-label img {
|
|
display: block;
|
|
width: 1.6em;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: contain;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.menu-label span {
|
|
min-width: 0;
|
|
color: #1f2937;
|
|
font-size: 1.4em;
|
|
font-weight: 600;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.arrow {
|
|
display: block;
|
|
width: 1.5em;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: contain;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.divider {
|
|
border-bottom: 1px solid #e6e6e6;
|
|
}
|
|
|
|
.mask-layer {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 40;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.mask-hit {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.sheet {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 41;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 20px;
|
|
border-radius: 16px 16px 0 0;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.details-sheet {
|
|
max-height: 60vh;
|
|
}
|
|
|
|
.sheet-title {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #333333;
|
|
font-size: 1em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.summary-box,
|
|
.details-summary {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin: 0 4px;
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
|
|
font-size: 0.9em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.details-summary {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
.salary-list,
|
|
.member-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.salary-item {
|
|
position: relative;
|
|
width: 100%;
|
|
border-radius: 8px;
|
|
background: #ebf1fd;
|
|
}
|
|
|
|
.salary-item.is-pending {
|
|
background: #feebef;
|
|
}
|
|
|
|
.salary-item.is-completed {
|
|
background: #e8faed;
|
|
}
|
|
|
|
.salary-item.is-out {
|
|
background: #e9e9e9;
|
|
}
|
|
|
|
.status-background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
min-width: 7.5em;
|
|
max-width: 9em;
|
|
padding: 2px 8px;
|
|
border-radius: 8px 0 8px 0;
|
|
background: #3d73ff;
|
|
color: #ffffff;
|
|
font-size: 0.9em;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
.is-pending .status-background {
|
|
background: #ff3d40;
|
|
}
|
|
|
|
.is-completed .status-background {
|
|
background: #3dff54;
|
|
}
|
|
|
|
.is-out .status-background {
|
|
background: #aeaeae;
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
.salary-item-content {
|
|
display: grid;
|
|
gap: 7px;
|
|
padding: 32px 8px 30px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.pair-line {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.pair-line > div {
|
|
min-width: 0;
|
|
}
|
|
|
|
.more-bt {
|
|
position: absolute;
|
|
right: 8px;
|
|
bottom: 6px;
|
|
color: #4f46e5;
|
|
font-size: 0.9em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.member-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 4px;
|
|
padding: 10px 16px;
|
|
border-radius: 12px;
|
|
background: #ffffff;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.member-item img {
|
|
width: 3.5em;
|
|
aspect-ratio: 1 / 1;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
background: #eef2f7;
|
|
}
|
|
|
|
.member-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.member-info div:first-child {
|
|
font-weight: 700;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.member-info div:last-child {
|
|
color: rgba(0, 0, 0, 0.4);
|
|
font-size: 0.8em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.member-metrics {
|
|
width: auto;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
font-size: 0.8em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.toast {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: calc(28px + env(safe-area-inset-bottom));
|
|
z-index: 50;
|
|
max-width: 86vw;
|
|
transform: translateX(-50%);
|
|
padding: 10px 14px;
|
|
border-radius: 8px;
|
|
color: #ffffff;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
[dir="rtl"] .flip-img {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
[dir="rtl"] .menu-row {
|
|
text-align: right;
|
|
}
|
|
|
|
[dir="rtl"] .status-background {
|
|
left: auto;
|
|
right: 0;
|
|
border-radius: 0 8px 0 8px;
|
|
}
|
|
|
|
[dir="rtl"] .more-bt {
|
|
right: auto;
|
|
left: 8px;
|
|
}
|
|
|
|
@media screen and (max-width: 360px) {
|
|
.bd-center {
|
|
font-size: 10px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 360px) {
|
|
.bd-center {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.bd-center {
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
.bd-center {
|
|
font-size: 32px;
|
|
}
|
|
}
|