summaryrefslogtreecommitdiff
path: root/source/features/toggle-files-button.css
blob: 43d162ff2f24233dea0fac9e5aeb5a78c006f7ee (plain) (blame)
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
:root .rgh-toggle-files {
	margin: -8px 0;
	margin-right: -10px;
	padding: 10px 13px;
}

.rgh-files-hidden .Box-header {
	border-radius: 6px;
	border-bottom: none;
}

.Box:has(
/* Native status */
#files ~ .Details:not(.open)
):has(
/* After the first click */
[aria-labelledby='files']:not(.d-md-block)
) .rgh-toggle-files {
	display: none;
}

/* "md" media query */
@media screen and not (min-width: 768px) {
	.Box:has(
	/* Native status */
	#files ~ .Details:not(.open)
) .rgh-toggle-files {
		display: none;
	}
}