Repository navigation
Expand file tree
/
Copy pathexample.css
More file actions
49 lines (35 loc) · 1.72 KB
/
Copy pathexample.css
File metadata and controls
49 lines (35 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
:root{
--bg: #f5f8fb;
--card: #ffffff;
--accent: #4a90e2;
--muted: #6b7280;
}
html,body{height:100%;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;color:#0b1a2b;background:var(--bg);}
.page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px;box-sizing:border-box;}
.card{
width:100%;
max-width:560px;
background:var(--card);
border-radius:12px;
padding:20px;
box-shadow:0 10px 30px rgba(16,24,40,0.08);
}
h1{margin:0 0 6px;font-size:1.1rem;color:#0b2a4a;}
.hint{margin:0 0 14px;color:var(--muted);font-size:0.95rem;}
.simple-form{display:grid;gap:12px;}
label{display:flex;flex-direction:column;gap:8px;font-size:0.95rem;color:#0b2a4a;}
input[type="text"]{
padding:10px 12px;border-radius:8px;border:1px solid rgba(11,58,102,0.08);background:#fbfdff;
outline:none;font-size:0.95rem;box-sizing:border-box;
}
#datepickerelement{
min-height:44px;display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;
border:1px dashed rgba(11,58,102,0.10);background:linear-gradient(180deg, rgba(74,144,226,0.03), rgba(74,144,226,0.01));
color:#05345b;cursor:pointer;
}
#datepickerelement:empty::before{content:"Klikk for å velge dato";color:rgba(5,52,91,0.6);}
.form-row{display:flex;gap:10px;justify-content:flex-end;margin-top:6px;}
.btn{padding:8px 14px;border-radius:8px;border:none;cursor:pointer;font-weight:600;}
.btn.primary{background:var(--accent);color:#fff;box-shadow:0 6px 18px rgba(74,144,226,0.16);}
.btn.ghost{background:transparent;color:var(--accent);border:1px solid rgba(74,144,226,0.12);}
@media (max-width:520px){ .card{padding:16px;} .form-row{flex-direction:column;} .form-row .btn{width:100%} }