-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotepad.css
More file actions
108 lines (96 loc) · 2.29 KB
/
Copy pathnotepad.css
File metadata and controls
108 lines (96 loc) · 2.29 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
.notepad {
display: flex;
height: 100%;
background: var(--app-bg);
color: #ccc;
font-family: 'Cascadia Code', monospace;
font-size: 13px;
}
.notepad__sidebar {
width: 220px;
border-right: 1px solid var(--border-color);
display: flex;
flex-direction: column;
overflow: hidden;
}
.notepad__new {
margin: 10px;
background: rgba(79,195,247,0.1);
border: 1px solid rgba(79,195,247,0.25);
border-radius: 5px;
color: #4fc3f7;
padding: 7px;
font-size: 12px;
cursor: pointer;
}
.notepad__new:hover { background: rgba(79,195,247,0.18); }
.notepad__list { flex: 1; overflow-y: auto; }
.notepad__item {
position: relative;
padding: 9px 12px;
cursor: pointer;
border-bottom: 1px solid rgba(255,255,255,0.04);
}
.notepad__item:hover { background: rgba(255,255,255,0.04); }
.notepad__item--active { background: rgba(79,195,247,0.08); }
.notepad__item-title { font-size: 12px; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notepad__item-preview { font-size: 11px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.notepad__item-del {
position: absolute;
right: 8px; top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: #555;
cursor: pointer;
font-size: 14px;
opacity: 0;
line-height: 1;
}
.notepad__item:hover .notepad__item-del { opacity: 1; }
.notepad__item-del:hover { color: #f48fb1; }
.notepad__empty { color: #555; font-size: 12px; text-align: center; padding: 20px; }
.notepad__editor {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
.notepad__title {
font-size: 16px;
font-weight: 600;
color: #ddd;
padding: 16px 20px 8px;
cursor: text;
border-bottom: 1px solid var(--border-color);
}
.notepad__title-input {
font-size: 16px;
font-weight: 600;
background: none;
border: none;
border-bottom: 1px solid var(--border-color);
color: #ddd;
padding: 16px 20px 8px;
outline: none;
width: 100%;
}
.notepad__body {
flex: 1;
background: none;
border: none;
color: #ccc;
padding: 16px 20px;
font-size: 13px;
font-family: inherit;
resize: none;
outline: none;
line-height: 1.65;
}
.notepad__placeholder {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: #555;
}