summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/css/style.scss
blob: 8c18a628188d8db26908662caf2d4dcc3a269d6f (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
.preview-list {
	display: flex;
	flex-wrap: wrap;
}
.preview {
	display: flex;
	flex-direction: column;
	min-width: 250px;
	max-width: 400px;
	flex: 1 1 300px;
	border: 1px solid var(--color-border);
	padding: 10px;
	border-radius: var(--border-radius);
	transition: all 200ms ease-in-out;
	filter: drop-shadow(0 1px 2px var(--color-box-shadow));
	background-color: var(--color-main-background);
	opacity: 0.9;
	margin: 10px;
	position: relative;
	&,
	* {
		cursor: pointer;
		user-select: none;
	}
	&:hover,
	&.selected {
		filter: drop-shadow(0 1px 4px var(--color-box-shadow));
		opacity: 1;
	}
	.preview-image {
		height: 200px;
		background-position: top left;
		background-size: cover;
		background-repeat: no-repeat;
	}
	p {
		text-align: justify;
	}
	.icon-checkmark {
		position: absolute;
		width: 50px;
		height: 50px;
		background-size: contain;
		right: -10px;
		top: -15px;
		opacity: 0;
		transition: all 100ms ease-in-out;
	}
	&.selected .icon-checkmark {
		opacity: 1;
		filter: drop-shadow(0 1px 1px var(--color-box-shadow));
	}
}