-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathextension.css
More file actions
89 lines (80 loc) · 2.13 KB
/
extension.css
File metadata and controls
89 lines (80 loc) · 2.13 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
/**
* Roam Vim Mode - Extension Styles
*
* These styles can be customized by users.
* The extension also injects its own styles via JavaScript,
* but this file provides additional customization options.
*/
/* Selected block highlight - light mode */
.roam-vim-mode--highlight {
border-radius: 5px;
background-color: #F5F5F5 !important;
transition: background-color 0.1s ease;
}
/* Selected block highlight - dark mode */
.bp3-dark .roam-vim-mode--highlight {
background-color: #424242 !important;
}
/* Hint labels on clickable elements */
.roam-vim-mode--hint::after {
position: relative;
top: 5px;
display: inline-block;
width: 18px;
margin-right: -18px;
height: 18px;
font-size: 10px;
font-style: italic;
font-weight: bold;
color: darkorchid;
text-shadow: 1px 1px 0px orange;
opacity: 0.7;
}
/* Hint position adjustment for checkboxes */
.check-container.roam-vim-mode--hint::after {
position: absolute;
top: 3px;
}
/* Individual hint labels */
.roam-vim-mode--hint0::after { content: "[q]"; }
.roam-vim-mode--hint1::after { content: "[w]"; }
.roam-vim-mode--hint2::after { content: "[e]"; }
.roam-vim-mode--hint3::after { content: "[r]"; }
.roam-vim-mode--hint4::after { content: "[t]"; }
.roam-vim-mode--hint5::after { content: "[f]"; }
.roam-vim-mode--hint6::after { content: "[b]"; }
/* Mode indicator styles */
#roam-vim-mode--mode-indicator {
position: fixed;
bottom: 20px;
right: 20px;
padding: 6px 12px;
border-radius: 4px;
font-family: monospace;
font-size: 12px;
font-weight: bold;
z-index: 10000;
pointer-events: none;
transition: all 0.2s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
/* Hide mode indicator if user prefers */
/* Uncomment the following to hide the mode indicator:
#roam-vim-mode--mode-indicator {
display: none !important;
}
*/
/* Panel styling */
.roam-vim-mode--panel {
position: relative;
}
/* Blur pixel (invisible element for unfocusing) */
#roam-vim-mode--unfocus-pixel {
position: fixed;
top: 0;
left: 0;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none;
}