319 lines
5.0 KiB
CSS
319 lines
5.0 KiB
CSS
@font-face {
|
|
font-family: "Baloo 2";
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Baloo 2";
|
|
font-weight: 600;
|
|
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: #21342a;
|
|
background: #edf8f1;
|
|
}
|
|
|
|
button {
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
}
|
|
|
|
.bd-center {
|
|
min-height: 100vh;
|
|
overflow-y: auto;
|
|
background-color: #edf8f1;
|
|
background-image: none;
|
|
}
|
|
|
|
.bd-center::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.page-header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
display: grid;
|
|
grid-template-columns: 44px 1fr 54px;
|
|
align-items: center;
|
|
width: 100%;
|
|
min-height: calc(48px + env(safe-area-inset-top));
|
|
padding: env(safe-area-inset-top) 10px 0;
|
|
background: #f8fff9;
|
|
border-bottom: 1px solid #cce9d7;
|
|
box-shadow: 0 4px 14px rgba(75, 137, 95, 0.14);
|
|
}
|
|
|
|
.page-header h1 {
|
|
min-width: 0;
|
|
font-size: 1.4em;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: #153d28;
|
|
}
|
|
|
|
.icon-button,
|
|
.language-button {
|
|
min-width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
color: #1f6f46;
|
|
}
|
|
|
|
.icon-button span {
|
|
display: block;
|
|
font-size: 2em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.language-button {
|
|
font-size: 0.9em;
|
|
border-radius: 999px;
|
|
background: #dff5e7;
|
|
color: #24724a;
|
|
}
|
|
|
|
.content {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.surface-card {
|
|
position: relative;
|
|
border: 1px solid #b7e0c6;
|
|
border-radius: 18px;
|
|
background: #ffffff;
|
|
box-shadow: 0 8px 20px rgba(69, 129, 89, 0.12);
|
|
}
|
|
|
|
.salary-card {
|
|
margin-bottom: 12px;
|
|
padding: 18px;
|
|
background: #f8fff9;
|
|
border-color: #94d9ae;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.salary-card::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 18px;
|
|
bottom: 18px;
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 20px;
|
|
background: #d7f5e2;
|
|
border: 10px solid #ecfbf1;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.salary-title {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.salary-title span {
|
|
min-width: 0;
|
|
font-weight: 600;
|
|
color: #244735;
|
|
}
|
|
|
|
.salary-title button {
|
|
flex-shrink: 0;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
background: #fff3c8;
|
|
color: #846216;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.salary-amount {
|
|
position: relative;
|
|
z-index: 1;
|
|
font-size: 1.5em;
|
|
font-weight: 600;
|
|
color: #105c36;
|
|
}
|
|
|
|
.menu-card {
|
|
margin: 0 1% 12px;
|
|
padding: 10px;
|
|
background: #fbfffc;
|
|
}
|
|
|
|
.menu-row {
|
|
width: 100%;
|
|
min-height: 4.8em;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 12px;
|
|
border-radius: 14px;
|
|
text-align: left;
|
|
}
|
|
|
|
.menu-row:nth-of-type(1) {
|
|
background: #eefbf3;
|
|
}
|
|
|
|
.menu-row:nth-of-type(2) {
|
|
background: #f7fbec;
|
|
}
|
|
|
|
.menu-row:nth-of-type(3) {
|
|
background: #eef7fb;
|
|
}
|
|
|
|
.menu-row:nth-of-type(4) {
|
|
background: #fff5ed;
|
|
}
|
|
|
|
.menu-row:nth-of-type(5) {
|
|
background: #eefbf3;
|
|
}
|
|
|
|
.menu-label {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.menu-label img {
|
|
display: block;
|
|
width: 2.7em;
|
|
padding: 0.55em;
|
|
aspect-ratio: 1 / 1;
|
|
flex-shrink: 0;
|
|
border-radius: 14px;
|
|
background: #d7f5e2;
|
|
border: 1px solid #bce5ca;
|
|
}
|
|
|
|
.menu-row:nth-of-type(3) .menu-label img {
|
|
background: #dff2fb;
|
|
border-color: #c0e1f1;
|
|
}
|
|
|
|
.menu-row:nth-of-type(4) .menu-label img {
|
|
background: #ffe6d6;
|
|
border-color: #ffd2b7;
|
|
}
|
|
|
|
.menu-row:nth-of-type(5) .menu-label img {
|
|
background: #fff0bc;
|
|
border-color: #f3d978;
|
|
}
|
|
|
|
.menu-label span {
|
|
min-width: 0;
|
|
font-size: 1.6em;
|
|
font-weight: 600;
|
|
color: #244735;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.menu-row > img {
|
|
display: block;
|
|
width: 1.3em;
|
|
aspect-ratio: 1 / 1;
|
|
flex-shrink: 0;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.divider {
|
|
border-bottom: 0;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.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: #fff;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
}
|
|
|
|
[dir="rtl"] .flip-img {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
[dir="rtl"] .menu-row {
|
|
text-align: right;
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|