Spaces:
Paused

File size: 2,077 Bytes
bc9f3e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
95
96
97
98
/* ==========================================================================
   DownloadConfirmDialog — lightweight "Are you sure?" popup for direct
   downloads (Poppler, Playwright) that don't have a multi-choice install
   dialog. Same overlay/box pattern as LlamaCppInstallDialog but simpler.
   ========================================================================== */

.dlcfm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.dlcfm-box {
  background: var(--bg-elev, #ffffff);
  border: 1px solid var(--card-border, #e7e0d3);
  border-left: 5px solid var(--primary-600, #d97757);
  border-radius: var(--radius, 14px);
  padding: 22px 24px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  position: relative;
}

.dlcfm-title {
  font-size: 1.08em;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-strong, #3f332b);
}

.dlcfm-body {
  font-size: 0.92em;
  line-height: 1.55;
  color: var(--text, #5a5248);
  margin-bottom: 18px;
}

.dlcfm-body b {
  color: var(--text-strong, #3f332b);
}

.dlcfm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.dlcfm-cancel,
.dlcfm-confirm {
  padding: 7px 18px;
  border-radius: var(--radius, 10px);
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--card-border, #e7e0d3);
  transition: background 0.15s, opacity 0.15s;
  user-select: auto;
}

/* Draggable title bar */
.dlcfm-drag-handle {
  cursor: grab;
  user-select: none;
}

.dlcfm-drag-handle:active {
  cursor: grabbing;
}

.dlcfm-box.dragging .dlcfm-drag-handle {
  cursor: grabbing;
}

.dlcfm-cancel {
  background: var(--bg-elev, #f5f0e8);
  color: var(--text, #5a5248);
}

.dlcfm-cancel:hover {
  background: var(--card-bg, #ede8de);
}

.dlcfm-confirm {
  background: var(--primary-600, #d97757);
  color: #fff;
  border-color: var(--primary-600, #d97757);
}

.dlcfm-confirm:hover {
  background: var(--primary-700, #c2633f);
}