summaryrefslogtreecommitdiff
path: root/garden/src/styles/modal.css
blob: de11806cc09ca0f2cac454c433273243c069f2b8 (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-content {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  width: 480px;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--color-panel-header);
  border-bottom: 1px solid var(--color-border);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-bright);
}

.modal-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-body {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
}

.modal-field {
  margin-bottom: 10px;
}

.modal-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.modal-input {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 6px 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text);
  outline: none;
  box-sizing: border-box;
}

.modal-input:focus {
  border-color: var(--color-purple);
}

.modal-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 12px;
}