-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.css
More file actions
90 lines (77 loc) · 2.82 KB
/
input.css
File metadata and controls
90 lines (77 loc) · 2.82 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
@import "tailwindcss";
@tailwind base;
@tailwind components;
@tailwind utilities;
@plugin "@tailwindcss/typography";
@plugin "daisyui" {
themes: light, dark --prefersdark, pastel, fantasy --default;
}
@plugin "daisyui/theme" {
name: "dark";
default: false;
prefersdark: true;
color-scheme: "dark";
--color-base-100: oklch(13% 0.028 261.692);
--color-base-200: oklch(21% 0.034 264.665);
--color-base-300: oklch(27% 0.033 256.848);
--color-base-content: oklch(96% 0.003 264.542);
--color-primary: oklch(66% 0.179 58.318);
--color-primary-content: oklch(98% 0.022 95.277);
--color-secondary: oklch(51% 0.262 276.966);
--color-secondary-content: oklch(96% 0.018 272.314);
--color-accent: oklch(64% 0.222 41.116);
--color-accent-content: oklch(98% 0.016 73.684);
--color-neutral: oklch(13% 0.028 261.692);
--color-neutral-content: oklch(98% 0.002 247.839);
--color-info: oklch(60% 0.126 221.723);
--color-info-content: oklch(98% 0.019 200.873);
--color-success: oklch(64% 0.2 131.684);
--color-success-content: oklch(98% 0.031 120.757);
--color-warning: oklch(68% 0.162 75.834);
--color-warning-content: oklch(98% 0.026 102.212);
--color-error: oklch(57% 0.245 27.325);
--color-error-content: oklch(97% 0.013 17.38);
--radius-selector: 2rem;
--radius-field: 0.25rem;
--radius-box: 2rem;
--size-selector: 0.25rem;
--size-field: 0.25rem;
--border: 1px;
--depth: 0;
--noise: 1;
}
@custom-variant dark (&:where(.dark, .dark *));
.line-highlight {
/* Set a relative position so the ::after pseudo-element can be positioned absolutely relative to it */
position: relative;
/* Add some padding to make room for the border/outline effect */
padding: 0.1em 0.3em;
/* Ensure the text is visible above the overlay */
z-index: 1;
}
/* The actual highlight overlay, using the ::after pseudo-element */
.line-highlight::after {
content: ""; /* Required for ::after to render */
position: absolute;
/* Position the overlay to cover the text */
top: 0;
left: 0;
right: 0;
bottom: 0;
/* The main highlight color (the overlay) */
background-color: rgba(255, 235, 54, 0.315);
/* Curved Edges on the OUTSIDE of the highlight */
border-radius: 10px 5px 10px 5px; /* Adjust these values for different curves */
/* Light Outlines on the TOP and BOTTOM */
/* Using box-shadow to create the "outline" effect, as it supports multiple layers and soft edges. */
box-shadow:
0 -1px 0 0 rgba(255, 255, 255, 0.8), /* Top outline: Y-offset -1px, no blur, spread 0 */
0 1px 0 0 rgba(255, 255, 255, 0.8); /* Bottom outline: Y-offset 1px, no blur, spread 0 */
/* Place the overlay BENEATH the text */
z-index: -1;
}
.selected-symbol-highlight {
background-color: rgba(245, 158, 11, 0.35);
color: inherit;
border-radius: 3px;
}