Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,113 +1,110 @@
|
|
| 1 |
:root{
|
| 2 |
-
--bg:#
|
| 3 |
-
--card:#
|
| 4 |
-
--
|
| 5 |
-
--muted:#
|
| 6 |
--primary:#4137A8;
|
| 7 |
-
--
|
| 8 |
-
--success:#
|
| 9 |
-
--
|
| 10 |
-
--
|
| 11 |
-
--
|
| 12 |
-
--
|
| 13 |
-
--
|
| 14 |
-
--
|
| 15 |
-
--
|
| 16 |
}
|
| 17 |
|
| 18 |
-
*{
|
| 19 |
-
html,body{
|
| 20 |
body{
|
| 21 |
-
margin:0;
|
| 22 |
-
|
| 23 |
}
|
| 24 |
|
| 25 |
-
.container{
|
| 26 |
-
.center{ text-align:center }
|
| 27 |
|
| 28 |
-
.
|
| 29 |
-
.hero
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
.card{
|
| 33 |
-
|
| 34 |
-
|
| 35 |
}
|
| 36 |
|
| 37 |
-
.label{
|
| 38 |
.paste{
|
| 39 |
-
width:100%; min-height:
|
| 40 |
-
|
| 41 |
}
|
| 42 |
-
.paste:focus{
|
| 43 |
|
| 44 |
-
.filters{
|
| 45 |
.control{
|
| 46 |
-
|
| 47 |
-
|
| 48 |
}
|
|
|
|
| 49 |
|
| 50 |
-
.hint{
|
| 51 |
|
| 52 |
-
.btn-row{
|
| 53 |
-
display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:center; margin:8px 0 16px;
|
| 54 |
-
}
|
| 55 |
.btn{
|
| 56 |
-
border:
|
| 57 |
-
|
| 58 |
-
}
|
| 59 |
-
.btn:active{ transform:translateY(1px) }
|
| 60 |
-
.btn[disabled]{ opacity:.5; cursor:not-allowed; box-shadow:none }
|
| 61 |
-
|
| 62 |
-
.btn-primary{ background:var(--primary); color:#fff }
|
| 63 |
-
.btn-success{ background:var(--success); color:#fff }
|
| 64 |
-
.btn-info{ background:var(--accent); color:#fff }
|
| 65 |
-
.btn-danger{ background:var(--danger); color:#fff }
|
| 66 |
-
.btn-light{ background:#EEF2FF; color:var(--primary) }
|
| 67 |
-
|
| 68 |
-
.btn[data-step]{ position:relative; padding-inline-start:36px }
|
| 69 |
-
.btn[data-step]::before{
|
| 70 |
-
content:attr(data-step); position:absolute; inset-inline-start:10px; top:50%; transform:translateY(-50%);
|
| 71 |
-
width:20px; height:20px; border-radius:999px; background:#fff; color:var(--primary);
|
| 72 |
-
font-weight:800; font-size:12px; display:grid; place-items:center;
|
| 73 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
.badge{
|
| 76 |
-
|
| 77 |
-
min-width:22px; height:22px; padding:0 6px; background:#fff; color:var(--primary);
|
| 78 |
-
border-radius:999px; font-weight:800; font-size:12px; margin-inline-start:8px;
|
| 79 |
-
box-shadow: inset 0 0 0 2px rgba(255,255,255,.7);
|
| 80 |
}
|
| 81 |
|
| 82 |
-
.table-wrap{
|
| 83 |
-
.table{
|
| 84 |
.table thead th{
|
| 85 |
-
background:var(--
|
| 86 |
}
|
| 87 |
-
.table td{
|
| 88 |
-
|
| 89 |
-
.invalid{ background:#FFF2F2 !important; outline:2px solid var(--danger) }
|
| 90 |
-
|
| 91 |
-
.footer{ margin:18px 0; text-align:center; color:var(--muted); font-size:13px }
|
| 92 |
-
|
| 93 |
-
.toast{
|
| 94 |
-
position:fixed; left:50%; transform:translateX(-50%); bottom:22px;
|
| 95 |
-
background:#111827; color:#fff; padding:10px 14px; border-radius:10px; font-weight:700; opacity:0;
|
| 96 |
}
|
| 97 |
-
.
|
|
|
|
|
|
|
| 98 |
|
| 99 |
-
.
|
| 100 |
-
|
| 101 |
}
|
| 102 |
-
.
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
box-shadow:0 10px 40px rgba(0,0,0,.2); padding:14px;
|
| 106 |
}
|
| 107 |
-
.modal-head{ font-weight:800; color:var(--primary); margin-bottom:8px; text-align:right }
|
| 108 |
-
.modal-textarea{ min-height:180px }
|
| 109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
@media (max-width:640px){
|
| 111 |
-
|
| 112 |
-
.
|
| 113 |
}
|
|
|
|
| 1 |
:root{
|
| 2 |
+
--bg:#f6f7fb;
|
| 3 |
+
--card:#ffffff;
|
| 4 |
+
--ink:#101828;
|
| 5 |
+
--muted:#667085;
|
| 6 |
--primary:#4137A8;
|
| 7 |
+
--primary-600:#3b3299;
|
| 8 |
+
--success:#1b9c85;
|
| 9 |
+
--info:#0ea5e9;
|
| 10 |
+
--danger:#ef4444;
|
| 11 |
+
--border:#e5e7eb;
|
| 12 |
+
--table-head:#302a86;
|
| 13 |
+
--table-alt:#f5f8ff;
|
| 14 |
+
--radius:16px;
|
| 15 |
+
--shadow:0 4px 20px rgba(0,0,0,.06);
|
| 16 |
}
|
| 17 |
|
| 18 |
+
*{box-sizing:border-box}
|
| 19 |
+
html,body{height:100%}
|
| 20 |
body{
|
| 21 |
+
margin:0; font-family:"Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
|
| 22 |
+
color:var(--ink); background:var(--bg); line-height:1.7;
|
| 23 |
}
|
| 24 |
|
| 25 |
+
.container{max-width:1100px; margin:24px auto; padding:0 16px}
|
|
|
|
| 26 |
|
| 27 |
+
.center{display:block}
|
| 28 |
+
.hero{
|
| 29 |
+
text-align:center; margin-bottom:16px;
|
| 30 |
+
}
|
| 31 |
+
.hero h1{
|
| 32 |
+
margin:4px 0 6px; font-size:28px; font-weight:700; color:var(--primary);
|
| 33 |
+
}
|
| 34 |
+
.signature{
|
| 35 |
+
display:inline-flex; gap:8px; align-items:center; justify-content:center;
|
| 36 |
+
background:#fff; padding:6px 12px; border-radius:999px; border:1px solid var(--border);
|
| 37 |
+
color:var(--muted); font-weight:600; box-shadow:var(--shadow);
|
| 38 |
+
}
|
| 39 |
+
.signature .role{color:var(--primary)}
|
| 40 |
+
.signature .name{color:var(--ink)}
|
| 41 |
|
| 42 |
.card{
|
| 43 |
+
background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow);
|
| 44 |
+
padding:18px; border:1px solid var(--border);
|
| 45 |
}
|
| 46 |
|
| 47 |
+
.label{display:block; font-weight:600; margin-bottom:8px; color:var(--muted)}
|
| 48 |
.paste{
|
| 49 |
+
width:100%; min-height:160px; resize:vertical; padding:12px 14px; border-radius:12px;
|
| 50 |
+
border:1px solid var(--border); outline:none; background:#fff; font-family:inherit;
|
| 51 |
}
|
| 52 |
+
.paste:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.12)}
|
| 53 |
|
| 54 |
+
.filters{display:flex; gap:10px; margin:12px 0}
|
| 55 |
.control{
|
| 56 |
+
flex:1; padding:10px 12px; border-radius:10px; border:1px solid var(--border);
|
| 57 |
+
outline:none; background:#fff;
|
| 58 |
}
|
| 59 |
+
.control:focus{border-color:var(--primary); box-shadow:0 0 0 3px rgba(65,55,168,.08)}
|
| 60 |
|
| 61 |
+
.hint{color:var(--muted); font-size:14px; margin:8px 0 10px}
|
| 62 |
|
| 63 |
+
.btn-row{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:10px}
|
|
|
|
|
|
|
| 64 |
.btn{
|
| 65 |
+
padding:10px 14px; border:none; border-radius:12px; cursor:pointer; font-weight:700;
|
| 66 |
+
background:#ddd; color:#111; transition:transform .04s ease, box-shadow .2s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
}
|
| 68 |
+
.btn:disabled{opacity:.5; cursor:not-allowed}
|
| 69 |
+
.btn:hover:not(:disabled){transform:translateY(-1px)}
|
| 70 |
+
.btn-primary{background:var(--primary); color:#fff}
|
| 71 |
+
.btn-primary:hover{background:var(--primary-600)}
|
| 72 |
+
.btn-success{background:var(--success); color:#fff}
|
| 73 |
+
.btn-info{background:var(--info); color:#fff}
|
| 74 |
+
.btn-danger{background:var(--danger); color:#fff}
|
| 75 |
+
.btn-light{background:#eef2ff; color:#2b2b2b}
|
| 76 |
|
| 77 |
.badge{
|
| 78 |
+
background:#fff; color:var(--primary); border-radius:999px; padding:2px 8px; margin-right:6px; font-size:12px;
|
|
|
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
|
| 81 |
+
.table-wrap{overflow:auto; border-radius:14px; border:1px solid var(--border)}
|
| 82 |
+
.table{width:100%; border-collapse:separate; border-spacing:0}
|
| 83 |
.table thead th{
|
| 84 |
+
background:var(--table-head); color:#fff; font-weight:700; padding:12px; position:sticky; top:0;
|
| 85 |
}
|
| 86 |
+
.table tbody td{
|
| 87 |
+
padding:10px 12px; background:#fff; border-top:1px solid var(--border);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
}
|
| 89 |
+
.table tbody tr:nth-child(even) td{background:var(--table-alt)}
|
| 90 |
+
.table td[contenteditable="true"]{outline:none}
|
| 91 |
+
.table td.invalid{background:#fff3f3}
|
| 92 |
|
| 93 |
+
.footer{
|
| 94 |
+
text-align:center; margin:18px 0 6px; color:var(--muted);
|
| 95 |
}
|
| 96 |
+
.footer .signature{
|
| 97 |
+
box-shadow:none; background:transparent; border-color:transparent;
|
| 98 |
+
gap:6px; padding:0; font-weight:600;
|
|
|
|
| 99 |
}
|
|
|
|
|
|
|
| 100 |
|
| 101 |
+
.toast{
|
| 102 |
+
position:fixed; bottom:20px; inset-inline-start:20px; background:#111827; color:#fff;
|
| 103 |
+
padding:10px 14px; border-radius:10px; box-shadow:var(--shadow); opacity:0; transform:translateY(8px);
|
| 104 |
+
transition:.25s ease; pointer-events:none; font-weight:600;
|
| 105 |
+
}
|
| 106 |
+
.toast.show{opacity:1; transform:translateY(0)}
|
| 107 |
@media (max-width:640px){
|
| 108 |
+
.filters{flex-direction:column}
|
| 109 |
+
.btn-row{gap:6px}
|
| 110 |
}
|