Welcome to mirror list, hosted at ThFree Co, Russian Federation.

style.scss « css « accessibility « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b00aa5d06fef1f87cb0585946a766db82879eff6 (plain)
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
// Rules we could port to the rest of Nextcloud too

// Proper highlight for links and focus feedback
#accessibility a {
	font-weight: bold;

	&:hover,
	&:focus {
		text-decoration: underline;
	}
}

// Highlight checkbox label in bold for focus feedback
// Drawback: Text width increases a bit
#accessibility .checkbox:focus + label {
	font-weight: bold;
}

// Limit width of settings sections for readability
#accessibility.section p {
	max-width: 800px;
}

// End of rules we could port to rest of Nextcloud



.preview-list {
	display: flex;
	flex-direction: column;
	max-width: 800px;
}

.preview {
	display: flex;
	justify-content: flex-start;
	margin-top: 3em;
	position: relative;

	&,
	* {
		user-select: none;
	}

	.preview-image {
		flex-basis: 200px;
		flex-shrink: 0;
		margin-right: 1em;
		background-position: top left;
		background-size: cover;
		background-repeat: no-repeat;
		border-radius: var(--border-radius);
	}

	.preview-description {
		display: flex;
		flex-direction: column;

		label {
			padding: 12px 0;
		}
	}
}