summaryrefslogtreecommitdiff
path: root/source/features/clean-pinned-issues.css
blob: d51a8c24cc1d370726d236d5bfb02bb63dc9bdfe (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* Changes the layout of pinned issues from side-by-side to a standard list. */
.js-pinned-issues-reorder-container .f4 {
	display: none !important; /* Hide title */
}

@media (min-width: 700px) {
	:root .js-pinned-issues-reorder-list {
		display: table !important;
		width: 100%;
		margin: 0;
		margin-bottom: 20px;

		/* Rounded table border https://stackoverflow.com/a/2586780/288906 */
		box-shadow: 0 0 0 1px #d1d5da;
		border-collapse: collapse;
		border-radius: 6px;
		border-style: hidden;
	}

	:root .pinned-issue-item {
		display: table-row !important;
		border-color: #e1e4e8 !important;
	}

	.pinned-issue-item > * {
		display: table-cell !important;
	}

	:root .pinned-issue-item > * {
		padding: 6px 12px;
	}

	/* Move `x` before the title and align both icons */
	.pinned-issue-item > :first-child {
		display: flex !important;
	}

	.pinned-issue-handle {
		order: -1;
		margin-top: -2px;
	}

	.pinned-issue-item form button {
		float: unset !important;
		margin-left: -10px;
		margin-right: 2px !important;
	}
}