aboutsummaryrefslogtreecommitdiff
path: root/src/app/css/selection.css
blob: 5b7d647ac42147c00cf7b20e1e14119173400552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#selection {
	z-index: 99999999999999;

	transition: 0.15s ease-in-out;
	transition-property:
		opacity, border-radius, background,
		transform, width, height, top, left;

	position: fixed;
	pointer-events: none;
	transform: scale(1.0);
	background: rgba(255, 255, 255, 0.3);
	border-radius: calc(var(--padding) / 2);
}

:has(.active-selection.scroll-selection) #selection {
	background: rgba(255, 255, 255, 0.2);
}

#selection.keyboard-selecting,
#selection.controller-selecting {
	transform: scale(1.1);
}