Download style.css from NMA2030/n: direct link, hf CLI and curl.
- Browser
- Download file 17.8 kB
-
https://huggingface.co/spaces/NMA2030/n/resolve/main/style.css
- Command line
-
hf download hf://spaces/NMA2030/n/style.css
-
curl -L -o style.css https://huggingface.co/spaces/NMA2030/n/resolve/main/style.css
17.8 kB
| :root{ | |
| --navy:#323366; | |
| --purple:#544f7d; | |
| --sky:#60c4e4; | |
| --white:#fff; | |
| --ink:#22233c; | |
| --muted:#72758a; | |
| --line:#e8e9f2; | |
| --bg:#f6f7fb; | |
| --success:#1f8a62; | |
| --shadow:0 18px 55px rgba(50,51,102,.10); | |
| } | |
| *{box-sizing:border-box} | |
| html{scroll-behavior:smooth} | |
| body{ | |
| margin:0; | |
| font-family:"Tajawal",system-ui,sans-serif; | |
| background: | |
| radial-gradient(circle at 90% 0%,rgba(96,196,228,.13),transparent 28%), | |
| radial-gradient(circle at 0% 25%,rgba(84,79,125,.09),transparent 30%), | |
| var(--bg); | |
| color:var(--ink); | |
| min-height:100vh; | |
| } | |
| button,input,textarea,select{font:inherit} | |
| button{cursor:pointer} | |
| .bg-orb{position:fixed;border-radius:50%;filter:blur(2px);z-index:-1;opacity:.5} | |
| .orb-1{width:260px;height:260px;background:rgba(96,196,228,.12);top:100px;right:-130px} | |
| .orb-2{width:340px;height:340px;background:rgba(84,79,125,.08);bottom:-150px;left:-150px} | |
| .shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:42px 0 28px} | |
| .hero{ | |
| position:relative;overflow:hidden; | |
| display:flex;align-items:center;justify-content:space-between;gap:24px; | |
| padding:34px 38px;border-radius:28px;color:#fff; | |
| background:linear-gradient(125deg,var(--navy),var(--purple)); | |
| box-shadow:0 24px 65px rgba(50,51,102,.22); | |
| } | |
| .hero:after{ | |
| content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(255,255,255,.12); | |
| border-radius:50%;left:-70px;top:-110px;box-shadow:0 0 0 45px rgba(255,255,255,.025); | |
| } | |
| .eyebrow,.section-kicker{font-size:13px;font-weight:800;letter-spacing:.3px} | |
| .eyebrow{color:#bdeefa} | |
| .hero h1{font-size:clamp(28px,4vw,44px);margin:7px 0 8px;line-height:1.15} | |
| .hero p{margin:0;color:rgba(255,255,255,.78);font-size:16px} | |
| .today-box{ | |
| min-width:205px;padding:18px 20px;border:1px solid rgba(255,255,255,.16); | |
| background:rgba(255,255,255,.09);backdrop-filter:blur(10px);border-radius:20px; | |
| } | |
| .today-box span{display:block;font-size:12px;color:#bdeefa;margin-bottom:5px} | |
| .today-box strong{font-size:16px} | |
| .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0} | |
| .stat-card{ | |
| display:flex;align-items:center;gap:14px;background:#fff;border:1px solid rgba(50,51,102,.06); | |
| border-radius:20px;padding:19px 20px;box-shadow:0 8px 28px rgba(50,51,102,.05) | |
| } | |
| .stat-icon{ | |
| width:46px;height:46px;border-radius:14px;display:grid;place-items:center; | |
| color:var(--navy);font-weight:800;background:linear-gradient(135deg,rgba(96,196,228,.22),rgba(84,79,125,.10)) | |
| } | |
| .stat-card span{display:block;color:var(--muted);font-size:13px;margin-bottom:2px} | |
| .stat-card strong{font-size:27px;color:var(--navy)} | |
| .panel{background:#fff;border:1px solid rgba(50,51,102,.07);border-radius:25px;padding:27px;box-shadow:var(--shadow);margin-top:18px} | |
| .section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px} | |
| .section-kicker{color:var(--sky)} | |
| .section-head h2{margin:4px 0 0;font-size:24px;color:var(--navy)} | |
| .secure-note{font-size:12px;color:var(--muted);background:#f7f8fc;border:1px solid var(--line);padding:9px 12px;border-radius:12px} | |
| .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px} | |
| .field{display:flex;flex-direction:column;gap:8px} | |
| .field-wide{grid-column:1/-1} | |
| .field>span{font-size:13px;font-weight:700;color:#4b4d68} | |
| input,textarea,select{ | |
| width:100%;border:1px solid #dfe1eb;background:#fbfcfe;color:var(--ink); | |
| border-radius:14px;padding:13px 14px;outline:none;transition:.2s;border-color .2s,box-shadow .2s,background .2s | |
| } | |
| textarea{resize:vertical;min-height:112px} | |
| input:focus,textarea:focus,select:focus{background:#fff;border-color:var(--sky);box-shadow:0 0 0 4px rgba(96,196,228,.13)} | |
| .field small{align-self:flex-end;color:#9a9cad} | |
| .form-actions{display:flex;gap:10px;margin-top:18px} | |
| .primary-btn,.ghost-btn,.refresh-btn,.mini-btn{border:0;border-radius:13px;padding:12px 17px;font-weight:700} | |
| .primary-btn{ | |
| color:#fff;background:linear-gradient(135deg,var(--navy),var(--purple)); | |
| box-shadow:0 10px 24px rgba(50,51,102,.18);min-width:155px | |
| } | |
| .primary-btn:disabled{opacity:.65;cursor:not-allowed} | |
| .ghost-btn,.mini-btn{background:#f3f4f8;color:#65687d} | |
| .refresh-btn{background:#eef9fc;color:var(--navy)} | |
| .filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;margin-bottom:20px} | |
| .search-wrap{position:relative} | |
| .search-wrap span{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#999caf;font-size:20px} | |
| .search-wrap input{padding-right:42px} | |
| .status-box{text-align:center;padding:36px;color:var(--muted)} | |
| .task-list{display:grid;gap:12px} | |
| .task-card{ | |
| display:grid;grid-template-columns:125px 1fr auto;gap:18px;align-items:center; | |
| border:1px solid var(--line);border-radius:18px;padding:17px 18px;background:linear-gradient(180deg,#fff,#fdfdff); | |
| transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease | |
| } | |
| .task-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(50,51,102,.07);border-color:#d7d9e8} | |
| .task-date{color:var(--muted);font-size:13px} | |
| .task-date strong{display:block;color:var(--navy);font-size:17px;margin-bottom:2px} | |
| .task-body h3{margin:0 0 6px;font-size:16px;line-height:1.65;font-weight:700} | |
| .task-body p{margin:0;color:var(--muted);font-size:13px} | |
| .dept-badge{white-space:nowrap;padding:8px 11px;border-radius:999px;background:#eef9fc;color:#3e6880;font-size:12px;font-weight:700} | |
| .empty-state{text-align:center;padding:42px 20px;color:var(--muted)} | |
| .empty-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#eef9fc;color:var(--success);font-size:24px} | |
| .empty-state h3{margin:0 0 5px;color:var(--navy)} | |
| .empty-state p{margin:0} | |
| footer{display:flex;justify-content:space-between;gap:15px;padding:20px 5px 0;color:#9a9cad;font-size:12px} | |
| .toast{ | |
| position:fixed;left:24px;bottom:24px;z-index:50;max-width:360px; | |
| padding:14px 18px;border-radius:14px;background:var(--navy);color:#fff; | |
| box-shadow:0 15px 40px rgba(0,0,0,.18);opacity:0;transform:translateY(18px);pointer-events:none;transition:.25s | |
| } | |
| .toast.show{opacity:1;transform:none} | |
| .toast.error{background:#a83e4d} | |
| @media(max-width:800px){ | |
| .shell{width:min(100% - 20px,1180px);padding-top:14px} | |
| .hero{padding:25px 22px;border-radius:22px;align-items:flex-start;flex-direction:column} | |
| .today-box{width:100%;min-width:0} | |
| .stats{grid-template-columns:1fr 1fr 1fr;gap:8px} | |
| .stat-card{padding:13px 10px;gap:8px;flex-direction:column;text-align:center} | |
| .stat-icon{width:37px;height:37px} | |
| .stat-card strong{font-size:22px} | |
| .panel{padding:20px 15px;border-radius:20px} | |
| .section-head{align-items:flex-start} | |
| .secure-note{display:none} | |
| .form-grid{grid-template-columns:1fr} | |
| .field-wide{grid-column:auto} | |
| .filters{grid-template-columns:1fr 1fr} | |
| .search-wrap{grid-column:1/-1} | |
| .task-card{grid-template-columns:1fr;gap:9px} | |
| .dept-badge{justify-self:start} | |
| } | |
| @media(max-width:480px){ | |
| .stats{grid-template-columns:1fr 1fr} | |
| .stats .stat-card:last-child{grid-column:1/-1} | |
| .form-actions{flex-direction:column} | |
| .filters{grid-template-columns:1fr} | |
| .search-wrap{grid-column:auto} | |
| footer{flex-direction:column} | |
| } | |
| .task-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap} | |
| .task-meta-side{display:flex;flex-direction:column;gap:9px;align-items:flex-end} | |
| .action-btn{border:0;border-radius:10px;padding:7px 10px;font-weight:700;font-size:12px} | |
| .edit-btn{background:#f0f1f8;color:var(--navy)} | |
| .delete-btn{background:#fff0f2;color:#a83e4d} | |
| .modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:18px} | |
| .modal[hidden]{display:none} | |
| .modal-backdrop{position:absolute;inset:0;background:rgba(24,25,49,.48);backdrop-filter:blur(4px)} | |
| .modal-card{position:relative;width:min(600px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:24px;padding:25px;box-shadow:0 30px 90px rgba(0,0,0,.25)} | |
| .modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px} | |
| .modal-head h2{margin:4px 0;color:var(--navy)} | |
| .close-btn{border:0;background:#f3f4f8;color:var(--navy);width:38px;height:38px;border-radius:12px;font-size:24px} | |
| .modal-card .field{margin-bottom:14px} | |
| @media(max-width:800px){ | |
| .task-meta-side{align-items:flex-start} | |
| .task-actions{justify-content:flex-start} | |
| } | |
| @media(max-width:560px){ | |
| body{overflow-x:hidden} | |
| .shell{width:calc(100% - 16px)} | |
| .hero h1{font-size:27px} | |
| .hero p{font-size:14px;line-height:1.7} | |
| .stats{grid-template-columns:1fr 1fr} | |
| .stat-card:last-child{grid-column:1/-1} | |
| .panel{padding:18px 12px} | |
| .section-head h2{font-size:21px} | |
| input,textarea,select{font-size:16px} | |
| .filters{display:flex;flex-direction:column} | |
| .task-card{padding:15px} | |
| .task-body h3{font-size:15px} | |
| .primary-btn,.ghost-btn{width:100%} | |
| .modal-card{padding:20px 15px;border-radius:20px} | |
| } | |
| .date-input-wrap{position:relative} | |
| .date-input-wrap .calendar-icon{ | |
| position:absolute;right:14px;top:50%;transform:translateY(-50%); | |
| z-index:2;font-size:18px;pointer-events:none | |
| } | |
| .date-input-wrap input[type="date"]{padding-right:45px} | |
| .selected-date-label{ | |
| margin-top:2px;padding:8px 11px;border-radius:11px; | |
| background:#f5fbfd;color:var(--navy);font-size:12px;font-weight:700; | |
| border:1px solid rgba(96,196,228,.18) | |
| } | |
| .date-pick-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:4px} | |
| .add-date-btn{background:#eef9fc;color:var(--navy);border:1px solid rgba(96,196,228,.25)} | |
| .date-hint{font-size:11px;color:var(--muted)} | |
| .selected-dates{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px} | |
| .date-chip{ | |
| display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border-radius:999px; | |
| background:#f4f4fa;border:1px solid #e3e4ef;color:var(--navy);font-size:12px;font-weight:700 | |
| } | |
| .date-chip button{ | |
| width:21px;height:21px;border:0;border-radius:50%;background:#fff;color:#a83e4d; | |
| display:grid;place-items:center;padding:0;font-size:15px;line-height:1 | |
| } | |
| @media(max-width:560px){ | |
| .date-pick-actions{align-items:stretch;flex-direction:column} | |
| .add-date-btn{width:100%} | |
| .selected-dates{gap:6px} | |
| .date-chip{max-width:100%} | |
| } | |
| /* ===== نسخة الجوال المحسنة + فصل منطقة الإدخال ===== */ | |
| .entry-zone-intro{ | |
| margin-top:34px; | |
| padding:20px 22px; | |
| border-radius:22px 22px 10px 10px; | |
| display:flex; | |
| align-items:center; | |
| gap:14px; | |
| background:linear-gradient(135deg,#323366,#544f7d); | |
| color:#fff; | |
| box-shadow:0 12px 30px rgba(50,51,102,.14); | |
| } | |
| .entry-zone-icon{ | |
| flex:0 0 48px;width:48px;height:48px;border-radius:15px; | |
| display:grid;place-items:center;background:rgba(255,255,255,.13); | |
| font-size:22px;border:1px solid rgba(255,255,255,.16) | |
| } | |
| .entry-zone-label{ | |
| display:inline-block;font-size:11px;font-weight:800; | |
| background:rgba(96,196,228,.18);padding:4px 9px;border-radius:999px;margin-bottom:5px | |
| } | |
| .entry-zone-intro h2{margin:0 0 3px;font-size:18px;color:#fff} | |
| .entry-zone-intro p{margin:0;font-size:12px;line-height:1.8;color:rgba(255,255,255,.78)} | |
| .admin-entry-panel{ | |
| border-top-left-radius:10px;border-top-right-radius:10px; | |
| border-top:0;margin-top:8px | |
| } | |
| @media(max-width:680px){ | |
| html,body{max-width:100%;overflow-x:hidden} | |
| body{min-width:0} | |
| .container,.page,.app,.main,main{ | |
| width:100%;max-width:100%; | |
| padding-left:12px;padding-right:12px; | |
| box-sizing:border-box | |
| } | |
| .panel,.entry-panel,.list-panel,.admin-entry-panel,.entry-zone-intro{ | |
| width:100%;max-width:100%;min-width:0; | |
| box-sizing:border-box | |
| } | |
| .panel{padding:15px;border-radius:18px} | |
| .entry-zone-intro{ | |
| margin-top:25px;padding:16px;border-radius:18px 18px 9px 9px | |
| } | |
| .entry-zone-icon{width:42px;height:42px;flex-basis:42px;border-radius:13px} | |
| .entry-zone-intro h2{font-size:16px} | |
| .entry-zone-intro p{font-size:11px} | |
| .form-grid,.filters,.filter-grid,.stats-grid,.stats{ | |
| display:grid;grid-template-columns:minmax(0,1fr); | |
| width:100%;gap:11px | |
| } | |
| .field,.form-group,label{min-width:0;max-width:100%} | |
| input,select,textarea,button{ | |
| max-width:100%;box-sizing:border-box | |
| } | |
| input[type="date"],input[type="text"],input[type="search"],select,textarea{ | |
| width:100%;min-width:0;font-size:16px | |
| } | |
| textarea{resize:vertical} | |
| .date-input-wrap{width:100%;min-width:0} | |
| .date-input-wrap input{width:100%;padding-left:42px} | |
| .date-pick-actions{width:100%} | |
| .add-date-btn{width:100%;min-height:44px} | |
| .selected-dates{width:100%;overflow:hidden} | |
| .date-chip{max-width:100%;white-space:normal;line-height:1.5} | |
| .task-card,.task-item{ | |
| width:100%;max-width:100%;min-width:0; | |
| box-sizing:border-box;overflow-wrap:anywhere | |
| } | |
| .task-actions{display:flex;flex-wrap:wrap;gap:7px} | |
| .task-actions button{flex:1 1 110px} | |
| .toolbar,.list-toolbar{ | |
| display:flex;flex-direction:column;align-items:stretch; | |
| width:100%;gap:9px | |
| } | |
| .toolbar > *,.list-toolbar > *{width:100%;max-width:100%} | |
| #saveBtn{width:100%;min-height:50px;font-size:15px} | |
| } | |
| @media(max-width:390px){ | |
| .container,.page,.app,.main,main{padding-left:9px;padding-right:9px} | |
| .panel{padding:13px} | |
| .entry-zone-intro{padding:14px;gap:10px} | |
| .entry-zone-icon{display:none} | |
| } | |
| /* الحالة - إضافة خفيفة فوق النسخة المستقرة */ | |
| .status-badge{display:inline-flex;margin:8px 0;padding:6px 10px;border-radius:999px;background:#eef0ff;color:#323366;font-size:12px;font-weight:800} | |
| .quick-status{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0} | |
| .quick-status button{border:1px solid #e1e4ef;background:#fff;border-radius:10px;padding:7px 9px;cursor:pointer;font-family:inherit;color:#323366;font-size:11px} | |
| .quick-status button:hover{background:#f3f5ff} | |
| /* منطقة الإدارة مطوية افتراضيًا */ | |
| [hidden]{display:none } | |
| .entry-zone-toggle{width:100%;font-family:inherit;text-align:right;cursor:pointer;border:0} | |
| .entry-zone-toggle .entry-zone-copy{flex:1} | |
| .entry-zone-chevron{margin-inline-start:auto;font-size:28px;line-height:1;transition:transform .2s ease} | |
| .entry-zone-toggle.is-open .entry-zone-chevron{transform:rotate(180deg)} | |
| .entry-zone-toggle:focus-visible{outline:3px solid rgba(96,196,228,.45);outline-offset:3px} | |
| /* ===== نسخة 23: تحسين الجوال وإخفاء العناصر دون حذفها ===== */ | |
| .keep-hidden{display:none } | |
| /* بعد إخفاء بطاقة الأقسام: البطاقتان المتبقيتان تتمددان بشكل متوازن */ | |
| .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))} | |
| /* أزرار الحالة لا تخرج خارج البطاقة */ | |
| .quick-status{ | |
| display:grid ; | |
| grid-template-columns:repeat(4,minmax(0,1fr)); | |
| width:100%; | |
| max-width:520px; | |
| gap:7px ; | |
| direction:rtl; | |
| } | |
| .quick-status button{ | |
| width:100%; | |
| min-width:0; | |
| white-space:normal; | |
| line-height:1.35; | |
| text-align:center; | |
| } | |
| /* الحالة المختارة */ | |
| .quick-status button.is-selected{ | |
| font-weight:800; | |
| border-width:1.5px; | |
| } | |
| .quick-status button[data-status-value="تم الإنجاز"].is-selected{ | |
| background:#eaf8ef; | |
| border-color:#79c993; | |
| color:#176b38; | |
| } | |
| .quick-status button[data-status-value="جاري العمل"].is-selected{ | |
| background:#eef0ff; | |
| border-color:#8f98db; | |
| color:#323366; | |
| } | |
| .quick-status button[data-status-value="مخطط لها"].is-selected{ | |
| background:#fff7e8; | |
| border-color:#e7bd69; | |
| color:#805b12; | |
| } | |
| .quick-status button[data-status-value=""].is-selected{ | |
| background:#f2f3f6; | |
| border-color:#b9bec9; | |
| color:#5f6674; | |
| } | |
| /* لون شارة الحالة نفسها */ | |
| .status-badge.status-done{background:#eaf8ef;color:#176b38} | |
| .status-badge.status-progress{background:#eef0ff;color:#323366} | |
| .status-badge.status-planned{background:#fff7e8;color:#805b12} | |
| @media (max-width: 680px){ | |
| html,body{max-width:100%;overflow-x:hidden} | |
| .app-shell,.container,main{max-width:100%;overflow-x:hidden} | |
| .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr)) } | |
| .task-card{min-width:0;overflow:hidden} | |
| .task-card > *{min-width:0} | |
| .quick-status{ | |
| grid-template-columns:repeat(2,minmax(0,1fr)) ; | |
| max-width:none; | |
| } | |
| .quick-status button{ | |
| padding:9px 6px ; | |
| font-size:11px ; | |
| } | |
| .task-actions{flex-wrap:wrap} | |
| } | |
| @media (max-width: 390px){ | |
| .quick-status{grid-template-columns:1fr 1fr } | |
| .stats-grid{gap:8px} | |
| .stat-card{padding-inline:12px} | |
| } | |
| /* ===== نسخة 24: اسم القسم يلتف داخل البطاقة ولا يخرج ===== */ | |
| /* يشمل شارة القسم الموجودة داخل بطاقات المهام */ | |
| .task-card .dept-badge, | |
| .task-card .department-badge, | |
| .task-card .task-department, | |
| .task-card [class*="dept"], | |
| .task-card [class*="department"]{ | |
| max-width:100%; | |
| width:fit-content; | |
| white-space:normal ; | |
| overflow-wrap:anywhere; | |
| word-break:normal; | |
| box-sizing:border-box; | |
| line-height:1.75; | |
| text-align:right; | |
| } | |
| /* حماية عامة لمحتوى البطاقة من الخروج أفقيًا */ | |
| .task-card, | |
| .task-card *{ | |
| min-width:0; | |
| } | |
| @media (max-width:680px){ | |
| .task-card .dept-badge, | |
| .task-card .department-badge, | |
| .task-card .task-department, | |
| .task-card [class*="dept"], | |
| .task-card [class*="department"]{ | |
| display:block; | |
| width:100%; | |
| max-width:100%; | |
| white-space:normal ; | |
| overflow-wrap:anywhere; | |
| word-break:normal; | |
| line-height:1.8; | |
| font-size:12px; | |
| padding:8px 10px; | |
| border-radius:14px; | |
| } | |
| } | |