stat2025 commited on
Commit
730b844
·
verified ·
1 Parent(s): 2453745

Refresh responsive identity-aligned interface

Browse files
Files changed (1) hide show
  1. style.css +491 -0
style.css CHANGED
@@ -2012,3 +2012,494 @@ select:focus-visible {
2012
  width: 100%;
2013
  }
2014
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2012
  width: 100%;
2013
  }
2014
  }
2015
+
2016
+ /* Professional workspace refresh */
2017
+ body {
2018
+ background: #f4f7f9;
2019
+ color: #172033;
2020
+ }
2021
+
2022
+ .topbar {
2023
+ position: static;
2024
+ min-height: 64px;
2025
+ border-bottom: 1px solid #dce5eb;
2026
+ box-shadow: none;
2027
+ }
2028
+
2029
+ .dashboard-shell,
2030
+ .admin-shell {
2031
+ width: min(1440px, calc(100% - 32px));
2032
+ margin: 0 auto;
2033
+ padding: 24px 0 48px;
2034
+ }
2035
+
2036
+ .workspace-header,
2037
+ .admin-heading {
2038
+ padding: 0 0 20px;
2039
+ border-bottom: 1px solid #dce5eb;
2040
+ background: transparent;
2041
+ box-shadow: none;
2042
+ }
2043
+
2044
+ .workspace-header h2,
2045
+ .admin-heading h2 {
2046
+ font-size: clamp(20px, 2vw, 28px);
2047
+ }
2048
+
2049
+ .summary-stats,
2050
+ .admin-stats {
2051
+ grid-template-columns: repeat(4, minmax(120px, 1fr));
2052
+ }
2053
+
2054
+ .stat-item,
2055
+ .admin-stat {
2056
+ min-height: 86px;
2057
+ padding: 14px 16px;
2058
+ border: 1px solid #dce5eb;
2059
+ border-top: 3px solid #4137a8;
2060
+ border-radius: 6px;
2061
+ background: #ffffff;
2062
+ box-shadow: none;
2063
+ }
2064
+
2065
+ .stat-item::before {
2066
+ display: none;
2067
+ }
2068
+
2069
+ .stat-item strong,
2070
+ .admin-stat strong {
2071
+ color: #172033;
2072
+ font-size: 25px;
2073
+ }
2074
+
2075
+ .stat-item.documented,
2076
+ .admin-stat:nth-child(2) {
2077
+ border-top-color: #00b050;
2078
+ }
2079
+
2080
+ .stat-item.documented strong,
2081
+ .admin-stat:nth-child(2) strong {
2082
+ color: #008a3e;
2083
+ }
2084
+
2085
+ .quick-actions {
2086
+ gap: 10px;
2087
+ }
2088
+
2089
+ .tool-action,
2090
+ .controls-panel,
2091
+ .contacts-section,
2092
+ .admin-panel,
2093
+ .admin-controls {
2094
+ border: 1px solid #dce5eb;
2095
+ border-radius: 6px;
2096
+ background: #ffffff;
2097
+ box-shadow: none;
2098
+ }
2099
+
2100
+ .tool-action {
2101
+ min-height: 84px;
2102
+ }
2103
+
2104
+ .tool-action:hover {
2105
+ transform: none;
2106
+ border-color: #4137a8;
2107
+ box-shadow: 0 4px 14px rgba(23, 32, 51, 0.08);
2108
+ }
2109
+
2110
+ .sample-card {
2111
+ border: 1px solid #dce5eb;
2112
+ border-radius: 6px;
2113
+ background: #ffffff;
2114
+ box-shadow: none;
2115
+ }
2116
+
2117
+ .sample-card:hover {
2118
+ transform: none;
2119
+ border-color: #aebdca;
2120
+ box-shadow: 0 5px 16px rgba(23, 32, 51, 0.08);
2121
+ }
2122
+
2123
+ .sample-card .card-header {
2124
+ background: #ffffff;
2125
+ border-right: 3px solid #4137a8;
2126
+ }
2127
+
2128
+ .status-badge,
2129
+ .location-badge,
2130
+ .status-badge.status-closed,
2131
+ .location-badge-madon,
2132
+ .location-badge-base,
2133
+ .location-badge-statement,
2134
+ .location-badge-none {
2135
+ color: #526174;
2136
+ border-color: #d7e0e7;
2137
+ background: #f5f7f9;
2138
+ }
2139
+
2140
+ .sample-card.completed {
2141
+ position: relative;
2142
+ border: 2px solid #00b050;
2143
+ background: #f4fff8;
2144
+ box-shadow: 0 0 0 3px rgba(0, 176, 80, 0.1);
2145
+ }
2146
+
2147
+ .sample-card.completed .card-header {
2148
+ border-right-color: #00b050;
2149
+ background: #ffffff;
2150
+ }
2151
+
2152
+ .sample-card.completed::before {
2153
+ content: "تم التوثيق";
2154
+ margin: 10px 12px 0;
2155
+ padding: 5px 10px;
2156
+ border-radius: 4px;
2157
+ background: #00b050;
2158
+ }
2159
+
2160
+ .sample-card.completed[data-documented-at]::after {
2161
+ content: attr(data-documented-at);
2162
+ position: absolute;
2163
+ top: 14px;
2164
+ left: 14px;
2165
+ color: #08783b;
2166
+ font-size: 11px;
2167
+ font-weight: 800;
2168
+ }
2169
+
2170
+ .directory-tabs {
2171
+ display: grid;
2172
+ grid-template-columns: 1fr 1fr;
2173
+ gap: 4px;
2174
+ margin: 20px 0 12px;
2175
+ padding: 4px;
2176
+ border: 1px solid #dce5eb;
2177
+ border-radius: 6px;
2178
+ background: #f3f6f8;
2179
+ }
2180
+
2181
+ .directory-tab {
2182
+ min-height: 42px;
2183
+ border: 0;
2184
+ border-radius: 4px;
2185
+ color: #526174;
2186
+ background: transparent;
2187
+ font: inherit;
2188
+ font-weight: 800;
2189
+ cursor: pointer;
2190
+ }
2191
+
2192
+ .directory-tab.active {
2193
+ color: #ffffff;
2194
+ background: #4137a8;
2195
+ }
2196
+
2197
+ .directory-search {
2198
+ margin-bottom: 14px;
2199
+ }
2200
+
2201
+ .entity-search-results {
2202
+ display: grid;
2203
+ gap: 8px;
2204
+ max-height: 58vh;
2205
+ overflow-y: auto;
2206
+ }
2207
+
2208
+ .entity-result {
2209
+ width: 100%;
2210
+ min-width: 0;
2211
+ display: flex;
2212
+ align-items: center;
2213
+ justify-content: space-between;
2214
+ gap: 12px;
2215
+ padding: 13px 14px;
2216
+ border: 1px solid #dce5eb;
2217
+ border-radius: 6px;
2218
+ color: #172033;
2219
+ background: #ffffff;
2220
+ text-align: right;
2221
+ font: inherit;
2222
+ cursor: pointer;
2223
+ }
2224
+
2225
+ .entity-result:hover {
2226
+ border-color: #4137a8;
2227
+ }
2228
+
2229
+ .entity-result strong,
2230
+ .entity-result small {
2231
+ display: block;
2232
+ }
2233
+
2234
+ .entity-result small {
2235
+ margin-top: 4px;
2236
+ color: #667589;
2237
+ }
2238
+
2239
+ .entity-result-meta {
2240
+ flex: 0 0 auto;
2241
+ direction: ltr;
2242
+ color: #4137a8;
2243
+ font-size: 12px;
2244
+ font-weight: 900;
2245
+ }
2246
+
2247
+ .directory-empty {
2248
+ padding: 30px 16px;
2249
+ color: #667589;
2250
+ text-align: center;
2251
+ }
2252
+
2253
+ .admin-view {
2254
+ min-height: 100vh;
2255
+ }
2256
+
2257
+ .admin-heading {
2258
+ display: flex;
2259
+ align-items: end;
2260
+ justify-content: space-between;
2261
+ gap: 20px;
2262
+ }
2263
+
2264
+ .admin-heading p {
2265
+ margin-bottom: 0;
2266
+ color: #667589;
2267
+ }
2268
+
2269
+ .admin-stats {
2270
+ display: grid;
2271
+ gap: 10px;
2272
+ margin: 20px 0;
2273
+ }
2274
+
2275
+ .admin-stat span,
2276
+ .admin-stat small {
2277
+ display: block;
2278
+ }
2279
+
2280
+ .admin-stat span {
2281
+ margin-top: 3px;
2282
+ color: #526174;
2283
+ font-weight: 800;
2284
+ }
2285
+
2286
+ .admin-stat small {
2287
+ margin-top: 7px;
2288
+ color: #7a8797;
2289
+ }
2290
+
2291
+ .admin-controls {
2292
+ display: grid;
2293
+ grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(150px, 1fr));
2294
+ gap: 12px;
2295
+ padding: 16px;
2296
+ }
2297
+
2298
+ .date-input {
2299
+ width: 100%;
2300
+ height: 48px;
2301
+ padding: 0 12px;
2302
+ border: 1px solid #cfdbe3;
2303
+ border-radius: 6px;
2304
+ color: #172033;
2305
+ background: #ffffff;
2306
+ font: inherit;
2307
+ }
2308
+
2309
+ .admin-grid {
2310
+ display: grid;
2311
+ grid-template-columns: minmax(280px, 0.72fr) minmax(0, 2fr);
2312
+ gap: 16px;
2313
+ margin-top: 16px;
2314
+ align-items: start;
2315
+ }
2316
+
2317
+ .admin-panel {
2318
+ min-width: 0;
2319
+ padding: 16px;
2320
+ }
2321
+
2322
+ .admin-panel-heading {
2323
+ display: flex;
2324
+ align-items: center;
2325
+ justify-content: space-between;
2326
+ gap: 12px;
2327
+ padding-bottom: 12px;
2328
+ border-bottom: 1px solid #e2e9ee;
2329
+ }
2330
+
2331
+ .admin-panel-heading h3 {
2332
+ margin: 0;
2333
+ font-size: 18px;
2334
+ }
2335
+
2336
+ .productivity-list,
2337
+ .admin-records {
2338
+ display: grid;
2339
+ gap: 8px;
2340
+ margin-top: 12px;
2341
+ }
2342
+
2343
+ .productivity-list {
2344
+ max-height: 680px;
2345
+ overflow-y: auto;
2346
+ }
2347
+
2348
+ .productivity-row {
2349
+ display: grid;
2350
+ grid-template-columns: minmax(0, 1fr) auto;
2351
+ gap: 6px 12px;
2352
+ padding: 11px;
2353
+ border: 1px solid #e1e8ed;
2354
+ border-radius: 5px;
2355
+ color: #172033;
2356
+ background: #ffffff;
2357
+ text-align: right;
2358
+ font: inherit;
2359
+ cursor: pointer;
2360
+ }
2361
+
2362
+ .productivity-name {
2363
+ min-width: 0;
2364
+ overflow: hidden;
2365
+ text-overflow: ellipsis;
2366
+ white-space: nowrap;
2367
+ font-weight: 800;
2368
+ }
2369
+
2370
+ .productivity-numbers {
2371
+ direction: ltr;
2372
+ color: #667589;
2373
+ }
2374
+
2375
+ .productivity-numbers strong {
2376
+ color: #4137a8;
2377
+ }
2378
+
2379
+ .productivity-track {
2380
+ grid-column: 1 / -1;
2381
+ height: 5px;
2382
+ overflow: hidden;
2383
+ border-radius: 2px;
2384
+ background: #e6ebef;
2385
+ }
2386
+
2387
+ .productivity-track i {
2388
+ display: block;
2389
+ height: 100%;
2390
+ background: #4137a8;
2391
+ }
2392
+
2393
+ .admin-record {
2394
+ padding: 14px;
2395
+ border: 1px solid #e1e8ed;
2396
+ border-radius: 5px;
2397
+ background: #ffffff;
2398
+ }
2399
+
2400
+ .admin-record-heading,
2401
+ .admin-record-actions {
2402
+ display: flex;
2403
+ align-items: center;
2404
+ justify-content: space-between;
2405
+ gap: 12px;
2406
+ }
2407
+
2408
+ .admin-record-heading strong,
2409
+ .admin-record-heading small {
2410
+ display: block;
2411
+ }
2412
+
2413
+ .admin-record-heading small,
2414
+ .admin-record-heading time {
2415
+ margin-top: 3px;
2416
+ color: #6b798a;
2417
+ font-size: 12px;
2418
+ }
2419
+
2420
+ .admin-record-details {
2421
+ display: grid;
2422
+ grid-template-columns: repeat(3, 1fr);
2423
+ margin-top: 12px;
2424
+ border-top: 1px solid #e6ecef;
2425
+ }
2426
+
2427
+ .admin-record-details .wide {
2428
+ grid-column: 1 / -1;
2429
+ }
2430
+
2431
+ .admin-record-actions {
2432
+ justify-content: flex-start;
2433
+ flex-wrap: wrap;
2434
+ margin-top: 12px;
2435
+ }
2436
+
2437
+ .admin-record-actions a {
2438
+ padding: 7px 10px;
2439
+ border: 1px solid #cfd9e0;
2440
+ border-radius: 4px;
2441
+ color: #4137a8;
2442
+ background: #ffffff;
2443
+ font-size: 12px;
2444
+ font-weight: 900;
2445
+ text-decoration: none;
2446
+ }
2447
+
2448
+ @media (max-width: 980px) {
2449
+ .admin-controls {
2450
+ grid-template-columns: 1fr 1fr;
2451
+ }
2452
+
2453
+ .admin-search {
2454
+ grid-column: 1 / -1;
2455
+ }
2456
+
2457
+ .admin-grid {
2458
+ grid-template-columns: 1fr;
2459
+ }
2460
+
2461
+ .productivity-list {
2462
+ max-height: 420px;
2463
+ }
2464
+ }
2465
+
2466
+ @media (max-width: 620px) {
2467
+ .dashboard-shell,
2468
+ .admin-shell {
2469
+ width: min(100% - 20px, 1440px);
2470
+ padding-top: 16px;
2471
+ }
2472
+
2473
+ .summary-stats,
2474
+ .admin-stats {
2475
+ grid-template-columns: 1fr 1fr;
2476
+ overflow: visible;
2477
+ }
2478
+
2479
+ .admin-heading {
2480
+ align-items: flex-start;
2481
+ }
2482
+
2483
+ .admin-controls {
2484
+ grid-template-columns: 1fr;
2485
+ }
2486
+
2487
+ .admin-search {
2488
+ grid-column: auto;
2489
+ }
2490
+
2491
+ .admin-record-heading {
2492
+ align-items: flex-start;
2493
+ flex-direction: column;
2494
+ }
2495
+
2496
+ .admin-record-details {
2497
+ grid-template-columns: 1fr 1fr;
2498
+ }
2499
+
2500
+ .sample-card.completed[data-documented-at]::after {
2501
+ position: static;
2502
+ display: block;
2503
+ margin: 6px 12px 0;
2504
+ }
2505
+ }