forked from AAGaming00/rich-quotes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
94 lines (83 loc) · 2.18 KB
/
style.scss
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
:root {
--rq-mention-text-color: #7289da;
--rq-mention-text-highlight: rgba(114,137,218,.1);
--rq-mention-bg-highlight: var(--background-mentioned);
--rq-mention-accent-line: #faa61a;
}
#a11y-hack {
.rq-inline {
background: var(--background-secondary);
border-radius: 10px;
max-width: 400px;
overflow: hidden;
margin-top: 2px;
&>.rq-mention-highlight {
background: var(--rq-mention-bg-highlight);
height: 100%;
padding-bottom: 6px;
border-left: 2px solid var(--rq-mention-accent-line);
}
.rq-header {
height: auto;
padding-top: 8px;
padding-left: 8px;
min-height: 0px !important;
&>.rq-avatar {
left: 0px;
position: relative;
width: 20px;
height: 20px;
margin-top: 0px;
margin-bottom: 0px;
}
&>.rq-username {
position: relative;
margin-left: 8px;
bottom: 5px;
&.rq-mention-1 {
color: var(--rq-mention-text-color);
background: var(--rq-mention-text-highlight);
}
&.rq-mention-2 {
color: var(--rq-mention-text-color);
}
}
}
.rq-content {
position: relative;
margin-left: 35px;
top: -6px;
overflow-wrap: break-word;
word-wrap: break-word;
hyphens: auto;
&>pre>code {
max-height: 10rem;
}
}
.rq-button {
display:flex;
overflow:hidden;
float: left;
padding-left: 8px;
&>div {
display:flex;
justify-content: center;
align-items: center;
border-radius: 10px;
height: 20px;
width: 20px;
background-color: var(--background-tertiary);
user-select: none;
&.rq-clickable {
cursor: pointer;
}
&>svg {
width: 12px;
height: 12px;
&.rq-180-flip {
transform: rotateY(180deg);
}
}
}
}
}}