settings.scss 3.5 KB

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