-
Notifications
You must be signed in to change notification settings - Fork 0
/
prompt.css
74 lines (66 loc) · 1.35 KB
/
prompt.css
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
/* General Overlay Styles */
#snap-memo-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.8);
z-index: 999999;
display: flex;
justify-content: center;
align-items: center;
font-family: "Inconsolata", monospace;
}
/* Vim-inspired Prompt Styles */
#snap-memo-prompt {
background-color: #121212;
padding: 20px;
border-radius: 4px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: 500px;
max-height: 80%;
overflow-y: auto;
}
/* Jellybeans theme inspired colors */
#snap-memo-prompt h3 {
color: #e0e0e0;
font-size: 1.2em;
margin-bottom: 10px;
}
#snap-memo-comment {
background-color: #121212;
color: #e0e0e0;
width: 100%;
height: 200px;
resize: none;
margin-bottom: 10px;
border: 1px solid #444;
border-radius: 4px;
padding: 5px;
}
#snap-memo-actions {
display: flex;
justify-content: flex-end;
}
#snap-memo-actions button {
color: #e0e0e0;
background-color: #121212;
border: 1px solid #444;
border-radius: 4px;
padding: 5px 10px;
margin-left: 10px;
cursor: pointer;
outline: none;
transition: background-color 0.2s;
}
#snap-memo-actions button:hover {
background-color: #333;
}
#snap-memo-actions button:focus {
outline: none;
box-shadow: 0 0 0 3px #3c3c3c;
}
#snap-memo-actions button.snap-memo-focused {
box-shadow: 0 0 0 3px #6d77c6;
}