-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.css
More file actions
107 lines (91 loc) · 2.14 KB
/
Copy pathindex.css
File metadata and controls
107 lines (91 loc) · 2.14 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
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&family=Quicksand:wght@400;700&display=swap');
@import 'tailwindcss';
/* Dark theme. Leave it outside any @layer so its overrides beat Tailwind's utilities. */
@import './src/dark.css';
@plugin "@tailwindcss/typography";
@property --interaction-rotate {
syntax: '<angle>';
initial-value: 132deg;
inherits: false;
}
body {
font-family: 'Quicksand', sans-serif;
}
html,
body,
#root {
min-height: 100%;
}
body {
margin: 0;
background: rgb(255 255 255);
}
.app {
min-height: 100dvh;
padding-top: env(safe-area-inset-top);
padding-right: env(safe-area-inset-right);
padding-bottom: env(safe-area-inset-bottom);
padding-left: env(safe-area-inset-left);
}
.monaco-editor .mls-line-changed-bg {
background-color: rgba(59, 130, 246, 0.09);
}
.monaco-editor .mls-line-changed-gutter {
border-left: 3px solid #3b82f6;
margin-left: 2px;
}
.monaco-editor .mls-line-deleted-gutter {
border-left: 3px solid #ef4444;
margin-left: 2px;
}
@layer utilities {
dialog::backdrop {
@apply bg-gray-900/40;
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.animate-fade-in {
animation: fade-in 1.5s ease-in;
}
@keyframes interaction-border-travel {
from {
--interaction-rotate: 0deg;
}
to {
--interaction-rotate: 360deg;
}
}
.interaction-active-border {
position: relative;
overflow: hidden;
border-radius: 8px;
background-color: rgb(249 250 251);
}
.interaction-active-border::before {
content: '';
position: absolute;
inset: -4px;
border-radius: 8px;
background-image: linear-gradient(var(--interaction-rotate), rgba(253, 253, 253, 0.72), rgba(255, 255, 255, 0.92) 80%, var(--color-blue-400));
animation: interaction-border-travel 2s linear infinite;
pointer-events: none;
}
.interaction-active-border::after {
content: '';
position: absolute;
inset: 3px;
background: rgb(249 250 251);
border-radius: 6px;
pointer-events: none;
}
.interaction-active-border > * {
position: relative;
z-index: 1;
}
}