aboutsummaryrefslogtreecommitdiffstats
path: root/src/less/utilities.less
blob: 70c7f27011d445df32a58f3a5b031397f8d8e336 (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
// ==========================================================================
// Utility classes
// ==========================================================================

// Screen reader only elements
.plyr__sr-only {
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;

	// !important is not always needed
	& when (@plyr-sr-only-important = true) {
		position: absolute !important;
		padding: 0 !important;
		border: 0 !important;
		height: 1px !important;
		width: 1px !important;
	}
	& when (@plyr-sr-only-important = false) {
		position: absolute;
		padding: 0;
		border: 0;
		height: 1px;
		width: 1px;
	}
}