1
0

global.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*!
  2. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-FileCopyrightText: 2015 ownCloud Inc.
  4. * SPDX-FileCopyrightText: 2015 Raghu Nayyar, http://raghunayyar.com
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. /* Global Components */
  8. /* The following lines are a hacky way to adjust float and clear based on direction.
  9. Samsung Internet doesn't support `inline-start|end` and :dir.
  10. pull-right|left and clear-right|left are also kept for backward compatibility.
  11. */
  12. body[dir='ltr'] {
  13. .pull-left,
  14. .pull-start {
  15. float: left;
  16. }
  17. .pull-right,
  18. .pull-end {
  19. float: right;
  20. }
  21. .clear-left,
  22. .clear-start {
  23. clear: left;
  24. }
  25. .clear-right,
  26. .clear-end {
  27. clear: right;
  28. }
  29. }
  30. body[dir='rtl'] {
  31. .pull-left,
  32. .pull-start {
  33. float: right;
  34. }
  35. .pull-right,
  36. .pull-end {
  37. float: left;
  38. }
  39. .clear-left,
  40. .clear-start {
  41. clear: right;
  42. }
  43. .clear-right,
  44. .clear-end {
  45. clear: left;
  46. }
  47. }
  48. .clear-both {
  49. clear: both;
  50. }
  51. .hidden {
  52. display: none;
  53. }
  54. .hidden-visually {
  55. position: absolute;
  56. inset-inline-start: -10000px;
  57. top: -10000px;
  58. width: 1px;
  59. height: 1px;
  60. overflow: hidden;
  61. }
  62. .bold {
  63. font-weight:600;
  64. }
  65. .center {
  66. text-align:center;
  67. }
  68. .inlineblock {
  69. display: inline-block;
  70. }