aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/global.scss
blob: de83f8627869b2dce507248746254c65fddc3edd (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*!
 * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
 * SPDX-FileCopyrightText: 2015 ownCloud Inc.
 * SPDX-FileCopyrightText: 2015 Raghu Nayyar, http://raghunayyar.com
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

/* Global Components */

/* The following lines are a hacky way to adjust float and clear based on direction.
 Samsung Internet doesn't support `inline-start|end` and :dir.
 pull-right|left and clear-right|left are also kept for backward compatibility.
  */
body[dir='ltr'] {
	.pull-left,
	.pull-start {
		float: left;
	}

	.pull-right,
	.pull-end {
		float: right;
	}

	.clear-left,
	.clear-start {
		clear: left;
	}

	.clear-right,
	.clear-end {
		clear: right;
	}
}

body[dir='rtl'] {
	.pull-left,
	.pull-start {
		float: right;
	}

	.pull-right,
	.pull-end {
		float: left;
	}

	.clear-left,
	.clear-start {
		clear: right;
	}

	.clear-right,
	.clear-end {
		clear: left;
	}
}

.clear-both {
	clear: both;
}

.hidden {
	display: none;
}

.hidden-visually {
	position: absolute;
	inset-inline-start: -10000px;
	top: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bold {
	font-weight:600;
}

.center {
	text-align:center;
}

.inlineblock {
	display: inline-block;
}