-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathstyle.css
More file actions
33 lines (29 loc) · 855 Bytes
/
style.css
File metadata and controls
33 lines (29 loc) · 855 Bytes
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
@import "tailwindcss";
@custom-variant dark (&:where(.dark, .dark *));
@import '@vue-flow/core/dist/theme-default.css';
@import '@vue-flow/core/dist/style.css';
@custom-variant touch-only (@media (hover: none) or (pointer: coarse));
/* This media query applies styles only to devices that do not support hover,
such as touchscreens. It ensures that elements with a title attribute
display a tooltip when focused. */
@media (hover: none) {
[title] {
position: relative;
display: inline-flex;
justify-content: center;
}
[title]:focus::after {
content: attr(title);
position: absolute;
top: 90%;
color: #000;
background-color: #fff;
border: 1px solid;
width: fit-content;
padding: 3px;
z-index: 99;
}
}
button {
cursor: pointer;
}