1
0

settings.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. /*!
  2. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. #files_external {
  6. margin-bottom: 0px;
  7. }
  8. #externalStorage {
  9. margin: 15px 0 20px 0;
  10. tr.externalStorageLoading > td {
  11. text-align: center;
  12. }
  13. }
  14. #externalStorage td {
  15. & > input:not(.applicableToAllUsers), & > select {
  16. width: 100%;
  17. }
  18. }
  19. #externalStorage .popovermenu li > .menuitem {
  20. width: fit-content !important;
  21. }
  22. #externalStorage td.status {
  23. /* overwrite conflicting core styles */
  24. display: table-cell;
  25. vertical-align: middle;
  26. /* ensure width does not change even if internal span is not displayed */
  27. width: 43px;
  28. }
  29. #externalStorage td.status > span {
  30. display: inline-block;
  31. height: 28px;
  32. width: 28px;
  33. vertical-align: text-bottom;
  34. border-radius: 50%;
  35. cursor: pointer;
  36. }
  37. #externalStorage {
  38. td.mountPoint, td.backend, td.authentication, td.configuration {
  39. min-width: 160px;
  40. width: 15%;
  41. }
  42. }
  43. #externalStorage td>img { padding-top:7px; opacity: 0.5; }
  44. #externalStorage td>img:hover { padding-top:7px; cursor:pointer; opacity: 1; }
  45. #addMountPoint>td { border:none; }
  46. #addMountPoint>td.applicable { visibility:hidden; }
  47. #addMountPoint>td.hidden { visibility:hidden; }
  48. #externalStorage td {
  49. height: 50px;
  50. &.mountOptionsToggle,
  51. &.remove,
  52. &.save {
  53. position: relative;
  54. padding: 0 !important;
  55. width: 44px;
  56. [class^='icon-'],
  57. [class*=' icon-'] {
  58. width: 44px;
  59. height: 44px;
  60. margin: 3px;
  61. opacity: 0.5;
  62. padding: 14px;
  63. vertical-align: text-bottom;
  64. cursor: pointer;
  65. &:hover {
  66. opacity: 1;
  67. }
  68. }
  69. }
  70. }
  71. #selectBackend {
  72. margin-inline-start: -10px;
  73. width: 150px;
  74. }
  75. #externalStorage td.configuration,
  76. #externalStorage td.backend {
  77. white-space: normal;
  78. }
  79. #externalStorage td.configuration > * {
  80. white-space: nowrap;
  81. }
  82. #externalStorage td.configuration input.added {
  83. margin-inline-end: 6px;
  84. }
  85. #externalStorage label > input[type="checkbox"] {
  86. margin-inline-end: 3px;
  87. }
  88. #externalStorage td.configuration label {
  89. width: 100%;
  90. display: inline-flex;
  91. align-items: center;
  92. }
  93. #externalStorage td.configuration input.disabled-success {
  94. background-color: rgba(134, 255, 110, 0.9);
  95. }
  96. #externalStorage td.applicable label {
  97. display: inline-flex;
  98. align-items: center;
  99. }
  100. #externalStorage td.applicable div.chzn-container {
  101. position: relative;
  102. top: 3px;
  103. }
  104. #externalStorage .select2-container.applicableUsers {
  105. width: 100% !important;
  106. }
  107. #userMountingBackends {
  108. padding-inline-start: 25px;
  109. }
  110. .files-external-select2 .select2-results .select2-result-label {
  111. height: 32px;
  112. padding: 3px;
  113. }
  114. .files-external-select2 .select2-results .select2-result-label > span {
  115. display: block;
  116. position: relative;
  117. }
  118. .files-external-select2 .select2-results .select2-result-label .avatardiv {
  119. display:inline-block;
  120. }
  121. .files-external-select2 .select2-results .select2-result-label .avatardiv + span {
  122. position: absolute;
  123. top: 5px;
  124. margin-inline-start: 10px;
  125. }
  126. .files-external-select2 .select2-results .select2-result-label .avatardiv[data-type="group"] + span {
  127. vertical-align: top;
  128. top: 6px;
  129. position: absolute;
  130. max-width: 80%;
  131. inset-inline-start: 30px;
  132. text-overflow: ellipsis;
  133. white-space: nowrap;
  134. overflow: hidden;
  135. }
  136. #externalStorage .select2-container .select2-search-choice {
  137. display: flex;
  138. .select2-search-choice-close {
  139. display: block;
  140. inset-inline-start: auto;
  141. position: relative;
  142. width: 20px;
  143. }
  144. }
  145. #externalStorage .mountOptionsToggle .dropdown {
  146. width: auto;
  147. }
  148. .nav-icon-external-storage {
  149. background-image: var(--icon-external-dark);
  150. }
  151. .global_credentials__personal {
  152. margin: 10px auto;
  153. text-align: center;
  154. width: min(400px, 100vw);
  155. }