forked from cyprieng/obsidian-github-publisher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
110 lines (98 loc) · 2.36 KB
/
styles.css
File metadata and controls
110 lines (98 loc) · 2.36 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
.github-publisher-multi-file-suggest-wrapper {
position: relative;
width: 300px;
max-width: 100%;
}
.github-publisher-multi-file-suggest-selected {
display: flex;
flex-wrap: wrap;
gap: 4px;
align-items: center;
margin-top: 4px;
width: 100%;
}
.github-publisher-multi-file-chip {
display: flex;
align-items: center;
background: var(--background-modifier-active-hover);
border-radius: 6px;
padding: 2px 6px;
max-width: 250px;
margin: 0 4px 4px 0;
}
.github-publisher-multi-file-chip-label {
flex: 1 1 auto;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
}
.github-publisher-multi-file-chip-remove {
flex: 0 0 auto;
margin-left: 6px;
cursor: pointer;
color: var(--text-accent);
}
.github-publisher-multi-file-suggest-input {
width: 100%;
margin-bottom: 2px;
box-sizing: border-box;
}
.github-publisher-multi-file-suggest-dropdown {
background: var(--background-secondary);
border: 1px solid var(--background-modifier-border);
position: absolute;
z-index: 100;
max-height: 200px;
overflow-y: auto;
width: 100%;
left: 0;
box-sizing: border-box;
}
.github-publisher-multi-file-suggest-dropdown,
.github-publisher-multi-file-suggest-dropdown *,
.github-publisher-multi-file-suggest-dropdown::before,
.github-publisher-multi-file-suggest-dropdown::after {
border: none !important;
border-top: none !important;
border-bottom: none !important;
box-shadow: none !important;
outline: none !important;
background: var(--background-secondary) !important;
}
.github-publisher-multi-file-suggest-option {
padding: 4px 8px;
cursor: pointer;
}
.github-publisher-multi-file-suggest-option:hover {
background: var(--background-modifier-hover);
}
.github-publisher-multi-file-suggest-nores {
padding: 4px 8px;
color: var(--text-faint);
}
.github-publisher-last-sync {
text-align: right;
opacity: 0.7;
}
/* Responsive: Make the component truly full-width on mobile */
@media (max-width: 600px) {
.github-publisher-multi-file-suggest-wrapper {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
}
.github-publisher-multi-file-suggest-selected {
width: 100% !important;
}
.github-publisher-multi-file-chip {
max-width: 100%;
}
.github-publisher-multi-file-suggest-input {
width: 100% !important;
}
.github-publisher-multi-file-suggest-dropdown {
width: 100% !important;
left: 0 !important;
}
}