-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
124 lines (106 loc) · 2.6 KB
/
styles.css
File metadata and controls
124 lines (106 loc) · 2.6 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
.linkding-bookmarks-container {
margin: 1em 0;
padding: 1em;
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
/* Removed fixed background-color to respect theme */
}
.linkding-bookmarks-list {
padding: 0;
margin: 0;
margin-top: 0.75em;
padding-left: 0 !important;
margin-left: 0 !important;
}
.linkding-bookmark-item {
margin-bottom: 0.5em;
padding: 0;
margin-left: 0 !important;
padding-left: 0 !important;
/* Removed fixed background-color to respect theme */
border-radius: 3px;
}
.linkding-bookmark-item:last-child {
margin-bottom: 0;
}
.linkding-bookmark-link {
display: block;
font-weight: 500;
color: var(--link-color);
text-decoration: none;
margin-bottom: 0.2em;
line-height: 1.3;
}
.linkding-bookmark-link:hover {
color: var(--link-color-hover);
text-decoration: underline;
}
.linkding-bookmark-description {
margin: 0;
color: var(--text-muted);
font-size: 0.85em;
line-height: 1.3;
}
.linkding-bookmark-tags {
display: flex;
flex-wrap: wrap;
gap: 0.25em;
margin-top: 0.3em;
}
.linkding-bookmark-tag {
display: inline-block;
background-color: var(--background-modifier-border);
color: var(--text-muted);
padding: 0.1em 0.4em;
border-radius: 10px;
font-size: 0.6em;
font-weight: 500;
white-space: nowrap;
border: 1px solid var(--background-modifier-border-hover);
}
.linkding-error {
color: var(--text-error);
background-color: var(--background-modifier-error);
padding: 0.5em;
border-radius: 4px;
border-left: 3px solid var(--text-error);
}
.linkding-test-result {
margin-top: 0.5em;
padding: 0.5em;
border-radius: 4px;
}
.linkding-test-success {
background-color: var(--background-modifier-success);
color: var(--text-success);
border-left: 3px solid var(--text-success);
}
.linkding-test-error {
background-color: var(--background-modifier-error);
color: var(--text-error);
border-left: 3px solid var(--text-error);
}
/* Callout styles - using high specificity to avoid theme conflicts */
.callout.linkding-callout.is-collapsed > .callout-content {
display: none;
}
.callout.linkding-callout > .callout-title {
cursor: pointer;
}
/* Focus styles for keyboard accessibility */
.callout.linkding-callout > .callout-title:focus {
outline: 2px solid var(--interactive-accent);
outline-offset: 2px;
}
.callout.linkding-callout > .callout-title:focus:not(:focus-visible) {
outline: none;
}
.callout.linkding-callout > .callout-title > .callout-fold {
display: flex;
align-items: center;
padding-left: 4px;
transition: transform 100ms ease-in-out;
}
.callout.linkding-callout.is-collapsed > .callout-title > .callout-fold {
transform: rotate(-90deg);
}