forked from GriefMoDz/notey
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
169 lines (145 loc) · 3.95 KB
/
style.css
File metadata and controls
169 lines (145 loc) · 3.95 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/**
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this plugin in the file LICENSE.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade the plugin to
* newer versions in the future. If you wish to customize the plugin for
* your needs, please document your changes and make backups before you update.
*
*
* @copyright Copyright (c) 2020-2021 GriefMoDz
* @license OSL-3.0 (Open Software License ("OSL") v. 3.0)
* @link https://github.com/GriefMoDz/notey
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/* -- Note Icon -- */
.notey-noteIcon {
display: inline;
}
.notey-noteIcon {
color: var(--channels-default);
margin-left: 4px;
vertical-align: -.5px;
}
.peopleListItem-u6dGxF .userInfo-2WpsYG .notey-noteIcon {
visibility: hidden;
}
.peopleListItem-u6dGxF .userInfo-2WpsYG.hovered-1EO01j .notey-noteIcon {
visibility: visible;
}
/* -- Markdown Text Area -- */
.notey-markdown-textarea {
border-radius: 3px;
}
.notey-markdown-textarea [class|='placeholder'] {
color: #a9a9a9;
}
.notey-markdown-textarea > div > div {
padding-left: 4px;
padding-bottom: 10px;
}
.notey-markdown-textarea > div {
max-height: none;
}
.notey-markdown-textarea:focus-within {
background-color: var(--background-tertiary);
}
.notey-markdown-textarea:not(:focus-within) .codeBlockLang-3OMn-4,
.notey-markdown-textarea:not(:focus-within) .codeBlockSyntax-2MZ-Qy,
.notey-markdown-textarea:not(:focus-within) .syntaxAfter-OxiKEl,
.notey-markdown-textarea:not(:focus-within) .syntaxBefore-3pDAmR {
display: none;
}
/* -- Note Browser -- */
.notey-note-browser {
max-width: 490px;
}
.notey-note-browser-list {
padding: 0 16px;
}
.notey-note-browser-user-card {
background-color: var(--background-secondary-alt);
border-radius: 8px;
margin-top: 8px;
margin-bottom: 8px;
padding: 16px;
}
.notey-note-browser-user-card-header {
display: grid;
position: relative;
align-items: center;
grid-template-columns: 32px minmax(20px, auto) 82px;
grid-gap: 12px;
height: 36px;
}
.notey-note-browser-user-card-username {
white-space: nowrap;
color: var(--text-normal);
text-overflow: ellipsis;
font-weight: 600;
overflow: hidden;
font-size: 16px;
line-height: 20px;
user-select: text;
cursor: text;
}
.notey-note-browser-user-self-tag {
display: inline-block;
background-color: var(--brand-experiment);
border-radius: 3px;
padding: 0 5px;
font-size: 10px;
text-transform: uppercase;
margin-left: 4px;
font-weight: 500;
line-height: 15px;
vertical-align: 1px;
color: #fff;
}
.notey-note-browser-user-card-actions {
display: flex;
justify-self: end;
}
.notey-note-browser-user-card-body {
margin-top: 12px;
border-radius: 8px;
}
.notey-note-browser-user-card-body-inner {
position: relative;
border-radius: 8px;
background-color: var(--background-tertiary);
color: var(--text-normal);
font-size: 14px;
user-select: text;
cursor: text;
}
.notey-note-browser-user-card-body-inner.notey-markdown-textarea .placeholder-1_mJY1 {
padding: 12px;
}
.notey-note-browser-user-card-body-inner.notey-markdown-textarea .slateTextArea-27tjG0 {
position: initial;
min-height: 0 !important;
padding: 12px;
}
.notey-note-browser-spinner {
margin-bottom: 32px;
margin-top: 32px;
}
/* Miscellaneous */
.notey-error-boundary {
width: 420px;
background-color: var(--background-secondary-alt);
}