generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
121 lines (102 loc) · 2.17 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
120
121
div[data-type='url-display'] .view-content {
padding: 0px 12px 32px 12px;
overflow: hidden !important;
}
div[data-type='url-display'] .nav-folder {
height: 100%;
overflow: auto;
}
div[data-type='url-display'] .pane-empty {
padding-top: 12px;
}
.url-display-item {
display: flex;
align-items: center;
padding: 6px 8px 6px 8px;
margin-bottom: 0;
}
.url-display-item img {
width: 20px;
height: 100%;
/* border-radius: 50%; */
}
.url-display-item span {
display: block;
padding-left: 10px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.url-display-item svg {
flex-shrink: 0;
stroke-width: 1.6px;
}
.url-display-item .lucide-globe {
width: 17.5px;
height: 17.5px;
stroke-width: 1.3px;
}
.url-display-item:hover svg {
color: var(--nav-item-color);
}
.url-display-navigation {
visibility: hidden;
}
/* cover 'pointer-events: none;' in '[aria-label] .svg-icon{}' selector */
.url-display-item:hover .url-display-navigation {
visibility: visible;
/* width: 16px;
height: 16px; */
margin-left: auto;
margin-right: 3px;
color: var(--nav-item-color);
cursor: pointer;
pointer-events: auto;
}
.lucide-navigation polygon {
transition: stroke 0.3s ease;
}
.lucide-navigation:hover polygon {
stroke: var(--interactive-accent);
}
/* loading */
.skeleton {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.skeleton-square {
/* flex: 1; */
width: 20px;
height: 20px;
border-radius: 5px;
margin-right: 8px;
background: linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%);
background-size: 800px 100px;
animation: wave-squares 2s infinite ease-out;
}
.skeleton-line {
flex: 10;
height: 20px;
border-radius: 2px;
background: linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%);
background-size: 800px 100px;
animation: wave-lines 2s infinite ease-out;
}
@keyframes wave-lines {
0% {
background-position: -468px 0;
}
100% {
background-position: 468px 0;
}
}
@keyframes wave-squares {
0% {
background-position: -468px 0;
}
100% {
background-position: 468px 0;
}
}