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

.repository-content:not(.rgh-files-hidden) .rgh-toggle-files .octicon-unfold,
.repository-content.rgh-files-hidden .rgh-toggle-files .octicon-fold {
	display: none;
}

.rgh-files-hidden .files, /* Pre "Repository refresh" layout */
.rgh-files-hidden #files ~ .Details {
	display: none;
}

.rgh-files-hidden .file-wrap {
	border: none;
}

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

/* Hide "Readme" link made unnecessary by this feature #3580 */
h3.sr-only + .mt-3 .muted-link[href='#readme'] {
	display: none;
}