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 2.9KB

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