1
0

settings.scss 3.4 KB

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