-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
119 lines (104 loc) · 2.24 KB
/
styles.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
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
.cm-cursor-overlay {
left: -1%;
top: -2.2rem;
width: 102%;
position: absolute;
align-items: center;
background: var(--background-secondary) !important;
color: var(--text-normal);
font-size: var(--font-interface-theme);
border: 1px solid var(--background-modifier-border) !important;
user-select: none;
padding: 4px 8px;
border-radius: 4px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
z-index: 1000;
visibility: visible;
}
.cm-cursor-overlay-inner {
display: flex;
flex-direction: row;
align-items: center;
overflow: hidden;
}
.cm-tooltip-editor {
display: flex;
padding: 1px 0 1px 10px;
height: var(--line-height);
width: auto;
max-height: 100%;
align-items: center;
background-color: var(--background-primary);
border: 1px solid var(--background-modifier-border-focus);
border-radius: 4px;
overflow: hidden;
margin-left: 8px;
flex: 1 0 0;
transition: flex-basis 0.3s ease;
}
.cm-cursor-overlay .cm-editor {
user-select: text;
}
/* Button Styles */
.submit-button {
height: var(--line-height);
}
.tooltip-button {
height: var(--line-height);
margin-left: 8px;
border: 1px solid var(--background-modifier-border-focus);
box-shadow: none !important;
}
/* Loader Animation */
.loader {
width: 5px;
aspect-ratio: 1;
border-radius: 50%;
color: var(--text-normal);
background: var(--background-primary);
animation: l5 1s infinite linear alternate;
margin: 0 20px 0 26px;
display: flex;
}
.loader.hidden {
visibility: hidden;
opacity: 0;
}
.hidden {
display: none;
}
@keyframes l5 {
0%,
33% {
box-shadow: 10px 0 var(--text-accent), -10px 0 var(--text-faint);
background: var(--text-accent);
}
66%,
100% {
box-shadow: 10px 0 var(--text-faint), -10px 0 var(--text-accent);
background: var(--text-faint);
}
}
.cm-change-widget {
padding: 0px 4px;
color: var(--text-normal);
background-color: var(--background-primary-alt);
}
.cm-change-added {
background-color: rgba(var(--color-green-rgb), 0.2);
}
.cm-change-removed {
background-color: rgba(var(--color-red-rgb), 0.2);
}
.primary-action {
background-color: var(--interactive-accent) !important;
color: var(--text-on-accent) !important;
}
.tooltip-button:hover {
opacity: 0.8;
}
/* Style for the advanced text areas */
.wide-text-settings {
width: 25em;
height: 10em;
}