-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEncryptionDialog.css
More file actions
145 lines (127 loc) · 2.41 KB
/
Copy pathEncryptionDialog.css
File metadata and controls
145 lines (127 loc) · 2.41 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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/* ──── Encryption Dialog Styles (P3-11) ──── */
.encryption-dialog-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.encryption-dialog {
background: var(--bg-primary);
border-radius: 12px;
width: 450px;
max-width: 90vw;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.encryption-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 1px solid var(--border-color);
}
.encryption-header h2 {
font-size: 18px;
font-weight: 600;
margin: 0;
color: var(--text-primary);
}
.close-btn {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: var(--text-muted);
}
.encryption-body {
padding: 20px;
}
.mode-select,
.field {
margin-bottom: 16px;
}
.mode-select label,
.field label {
display: block;
font-size: 13px;
color: var(--text-secondary);
margin-bottom: 6px;
}
.mode-select select,
.field input,
.field textarea {
width: 100%;
padding: 10px 12px;
border: 1px solid var(--border-color);
border-radius: 8px;
font-size: 14px;
background: var(--bg-secondary);
color: var(--text-primary);
}
.field textarea {
min-height: 100px;
resize: vertical;
}
.notes-list {
margin-bottom: 16px;
max-height: 150px;
overflow-y: auto;
}
.note-item {
padding: 10px;
border: 1px solid var(--border-color);
border-radius: 6px;
margin-bottom: 8px;
cursor: pointer;
font-size: 14px;
}
.note-item.selected {
background: var(--accent-color);
color: white;
}
.create-btn,
.unlock-btn {
width: 100%;
padding: 12px;
background: var(--accent-color);
border: none;
border-radius: 8px;
color: white;
font-size: 14px;
cursor: pointer;
}
.decrypted-content {
margin-top: 16px;
padding: 16px;
background: var(--bg-secondary);
border-radius: 8px;
font-size: 14px;
}
.error-message {
margin-top: 12px;
padding: 10px;
background: #ffebee;
color: #c62828;
border-radius: 6px;
font-size: 13px;
}
.encryption-footer {
display: flex;
justify-content: flex-end;
padding: 16px 20px;
border-top: 1px solid var(--border-color);
}
.cancel-btn {
padding: 10px 20px;
border-radius: 8px;
font-size: 14px;
cursor: pointer;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
color: var(--text-primary);
}