You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

share.scss 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. /**
  2. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  3. * @copyright Copyright (c) 2016, Morris Jobke <hey@morrisjobke.de>
  4. * @copyright Copyright (c) 2016, Julia Bode <julia.bode@lulisaur.us>
  5. * @copyright Copyright (c) 2016, Christoph Wurst <christoph@winzerhof-wurst.at>
  6. * @copyright Copyright (c) 2015, Hendrik Leppelsack <hendrik@leppelsack.de>
  7. * @copyright Copyright (c) 2015, Jan-Christoph Borchardt <hey@jancborchardt.net>
  8. * @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>
  9. * @copyright Copyright (c) 2015, Arthur Schiwon <blizzz@owncloud.com>
  10. * @copyright Copyright (c) 2015, Roeland Jago Douma <roeland@famdouma.nl>
  11. * @copyright Copyright (c) 2015, Morris Jobke <hey@morrisjobke.de>
  12. *
  13. * @license GNU AGPL version 3 or any later version
  14. *
  15. */
  16. /* SHARE TAB STYLING -------------------------------------------------------- */
  17. .shareTabView {
  18. .unshare.icon-loading-small {
  19. margin-top: 1px;
  20. }
  21. .shareWithLoading, .linkShare .icon-loading-small {
  22. display: inline-block !important;
  23. padding-left: 10px;
  24. }
  25. .shareWithLoading {
  26. position: relative;
  27. right: 70px;
  28. top: 2px;
  29. }
  30. .icon-loading-small.hidden {
  31. display: none !important;
  32. }
  33. .avatar {
  34. margin-right: 8px;
  35. display: inline-block;
  36. overflow: hidden;
  37. vertical-align: middle;
  38. width: 32px;
  39. height: 32px;
  40. }
  41. label {
  42. font-weight: 400;
  43. white-space: nowrap;
  44. }
  45. input[type='checkbox'] {
  46. margin: 0 3px 0 8px;
  47. vertical-align: middle;
  48. }
  49. input[type='submit'] {
  50. margin-left: 7px;
  51. }
  52. form {
  53. font-size: 100%;
  54. margin-left: 0;
  55. margin-right: 0;
  56. }
  57. .error {
  58. color: #e9322d;
  59. border-color: #e9322d;
  60. box-shadow: 0 0 6px #f8b9b7;
  61. }
  62. .mailView .icon-mail {
  63. opacity: 0.5;
  64. }
  65. }
  66. .share-autocomplete-item {
  67. display: flex;
  68. .autocomplete-item-text {
  69. margin-left: 10px;
  70. margin-right: 10px;
  71. white-space: nowrap;
  72. text-overflow: ellipsis;
  73. overflow: hidden;
  74. line-height: 32px;
  75. vertical-align: middle;
  76. }
  77. }
  78. #shareWithList {
  79. list-style-type: none;
  80. padding: 8px;
  81. > li {
  82. padding-top: 10px;
  83. padding-bottom: 10px;
  84. font-weight: bold;
  85. line-height: 21px;
  86. white-space: normal;
  87. width: 100%;
  88. }
  89. .sharingOptionsGroup {
  90. flex-shrink: 0;
  91. position: relative;
  92. .popovermenu {
  93. right: -11px;
  94. top: 35px;
  95. padding: 3px 6px;
  96. }
  97. }
  98. .shareOption {
  99. white-space: nowrap;
  100. display: inline-block;
  101. }
  102. .unshare img,
  103. .showCruds img {
  104. vertical-align: text-bottom;
  105. /* properly align icons */
  106. }
  107. label input[type=checkbox] {
  108. margin-left: 0;
  109. position: relative;
  110. }
  111. .username {
  112. padding-right: 8px;
  113. white-space: nowrap;
  114. text-overflow: ellipsis;
  115. display: inline-block;
  116. overflow: hidden;
  117. vertical-align: middle;
  118. flex-grow: 5;
  119. }
  120. }
  121. a {
  122. &.showCruds {
  123. display: inline;
  124. opacity: .5;
  125. }
  126. &.unshare {
  127. display: inline-block;
  128. opacity: .5;
  129. padding: 10px;
  130. }
  131. &.showCruds:hover,
  132. &.unshare:hover {
  133. opacity: 1;
  134. }
  135. }
  136. #link {
  137. border-top: 1px solid #ddd;
  138. padding-top: 8px;
  139. #showPassword img {
  140. padding-left: 5px;
  141. width: 12px;
  142. }
  143. }
  144. .reshare,
  145. #link label,
  146. #expiration label {
  147. display: inline-block;
  148. padding: 6px 4px;
  149. }
  150. #defaultExpireMessage, .reshare {
  151. /* fix shared by text going out of box */
  152. white-space: normal;
  153. }
  154. #defaultExpireMessage {
  155. /* show message on new line */
  156. display: block;
  157. padding-left: 4px;
  158. /* TODO: style the dropdown in a proper way - border-box, etc. */
  159. width: 90%;
  160. }
  161. .ui-autocomplete {
  162. /* limit dropdown height to 4 1/2 entries */
  163. max-height: 200px;
  164. overflow-y: auto;
  165. overflow-x: hidden;
  166. }
  167. .notCreatable {
  168. padding-left: 12px;
  169. padding-top: 12px;
  170. color: #999;
  171. }