0
0
mirror of https://github.com/nextcloud/server.git synced 2024-11-14 04:16:59 +00:00
nextcloud_server/core/css/global.scss
Mostafa Ahangarha c5baf3d7ef Fix: float and clear
Fix other background-positions
Minor fix in link button icon position
Update header left and right to start and end

Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +00:00

86 lines
1.2 KiB
SCSS

/*!
* 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;
}