Files
devx-rp/resources/[devx]/devx_phone/web/style.css
T
2026-08-05 01:29:39 +02:00

64 lines
5.6 KiB
CSS

:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #f7f8fc; }
* { box-sizing: border-box; }
body { margin: 0; overflow: hidden; background: transparent; user-select: none; }
.hidden { display: none !important; }
button, input { font: inherit; }
.phone {
position: fixed; right: 36px; bottom: 25px; width: 348px; height: 690px;
border: 9px solid #111319; border-radius: 44px;
background: linear-gradient(160deg, #244b9b 0%, #182a51 30%, #10141d 70%);
box-shadow: 0 30px 85px rgba(0,0,0,.58); overflow: hidden;
}
.camera-dot { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 72px; height: 7px; border-radius: 10px; background: #050608; z-index: 4; }
.status { height: 52px; padding: 27px 19px 0; display: flex; justify-content: space-between; font-size: 11px; font-weight: 750; }
main { height: 586px; padding: 8px 17px 16px; overflow: hidden; }
.screen { height: 100%; overflow-y: auto; padding: 4px 2px 18px; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.home-heading { padding-top: 25px; }
.home-heading small { color: #9db7ff; font-size: 9px; letter-spacing: .19em; font-weight: 850; }
h1 { margin: 8px 0 4px; font-size: 29px; letter-spacing: -.035em; }
.home-heading p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.apps { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; margin-top: 30px; }
.apps button { height: 120px; padding: 13px; display: grid; place-items: center; gap: 7px; color: white; background: rgba(255,255,255,.095); border: 1px solid rgba(255,255,255,.105); border-radius: 21px; cursor: pointer; }
.apps button:hover { background: rgba(255,255,255,.15); }
.apps button span { width: 51px; height: 51px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; font-weight: 850; box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.apps button b { font-size: 12px; }
.bank-icon { background: linear-gradient(145deg,#4fb881,#27835a); }
.contacts-icon { background: linear-gradient(145deg,#f0a64b,#d86d38); }
.messages-icon { background: linear-gradient(145deg,#57a7ff,#426ce8); }
.profile-icon { background: linear-gradient(145deg,#7c86ff,#554dcc); font-size: 13px !important; }
.app-header { min-height: 45px; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; }
.app-header h2 { margin: 0; text-align: center; font-size: 17px; }
.back, .refresh { border: 0; background: transparent; color: white; font-size: 27px; cursor: pointer; }
.refresh { font-size: 19px; }
.bank-card { margin-top: 10px; min-height: 142px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 20px; background: linear-gradient(145deg,#547cf3,#2546a0); box-shadow: 0 16px 35px rgba(16,34,92,.35); }
.bank-card small { font-size: 9px; letter-spacing: .14em; opacity: .72; }
.bank-card strong { margin: 5px 0 12px; font-size: 35px; letter-spacing: -.04em; }
.bank-card span { font-size: 11px; opacity: .75; }
.phone-form { display: grid; gap: 8px; margin-top: 18px; }
.phone-form h3, .history-title { margin: 0 0 3px; font-size: 13px; }
.phone-form input { width: 100%; padding: 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; outline: 0; color: white; background: rgba(0,0,0,.22); }
.phone-form input:focus { border-color: #6f96ff; }
.phone-form button { border: 0; border-radius: 10px; padding: 11px; color: white; background: #557df3; font-weight: 800; cursor: pointer; }
.phone-form.compact { margin-top: 12px; }
.history-title { margin-top: 20px; }
.transactions, .contact-list { display: grid; gap: 7px; margin-top: 8px; }
.transaction, .contact { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px 11px; border-radius: 11px; background: rgba(255,255,255,.06); }
.transaction strong, .contact strong { display: block; font-size: 11px; }
.transaction small, .contact small { color: rgba(255,255,255,.55); font-size: 9px; }
.transaction .credit { color: #7ce6a9; }
.transaction .debit { color: #ff8d9b; }
.contact button { width: 27px; height: 27px; border: 0; border-radius: 8px; color: #ff9daa; background: rgba(210,70,88,.17); cursor: pointer; }
.inline-error { margin-top: 9px; padding: 9px; border-radius: 9px; color: #ffadb7; background: rgba(179,47,66,.22); font-size: 10px; }
.profile-card { margin-top: 22px; text-align: center; }
.profile-card > span { width: 68px; height: 68px; margin: auto; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(145deg,#7294ff,#3d5ed0); font-weight: 900; }
.profile-card h2 { margin: 13px 0 4px; }
.profile-card p { margin: 0 0 25px; color: rgba(255,255,255,.6); }
.profile-row { display: flex; justify-content: space-between; padding: 13px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.empty-state { margin-top: 90px; text-align: center; color: rgba(255,255,255,.62); }
.empty-state strong { color: white; }
.empty-state p { font-size: 11px; line-height: 1.5; }
#homeButton { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); width: 112px; height: 5px; border: 0; border-radius: 10px; background: rgba(255,255,255,.82); cursor: pointer; }
.contact-actions{display:flex;align-items:center;gap:6px}.contact-actions button{height:29px;border:0;border-radius:8px;color:white;cursor:pointer;font-size:10px;font-weight:800}.delete-contact{width:29px;background:rgba(210,70,88,.2);color:#ff9daa!important}.invite-contact{padding:0 9px;background:#557df3}.contact-actions button:disabled{opacity:.45}.compact-empty{margin-top:18px}
.invite-contact{width:auto!important;min-width:64px}.delete-contact{width:29px!important}