share.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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: $color-error;
  59. border-color: $color-error;
  60. box-shadow: 0 0 6px rgba($color-error, 0.35);
  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. .ui-autocomplete .autocomplete-note {
  79. padding: 5px 10px;
  80. color: rgba(0, 0, 0, .3);
  81. }
  82. #shareWithList {
  83. list-style-type: none;
  84. padding: 8px;
  85. > li {
  86. position: relative;
  87. padding-top: 10px;
  88. padding-bottom: 10px;
  89. font-weight: bold;
  90. line-height: 21px;
  91. white-space: normal;
  92. width: 100%;
  93. }
  94. .sharingOptionsGroup {
  95. flex-shrink: 0;
  96. position: relative;
  97. .popovermenu {
  98. right: -11px;
  99. top: 35px;
  100. padding: 3px 6px;
  101. }
  102. }
  103. .shareOption {
  104. white-space: nowrap;
  105. display: inline-block;
  106. }
  107. .unshare img,
  108. .showCruds img {
  109. vertical-align: text-bottom;
  110. /* properly align icons */
  111. }
  112. label input[type=checkbox] {
  113. margin-left: 0;
  114. position: relative;
  115. }
  116. .username {
  117. padding-right: 8px;
  118. white-space: nowrap;
  119. text-overflow: ellipsis;
  120. display: inline-block;
  121. overflow: hidden;
  122. vertical-align: middle;
  123. flex-grow: 5;
  124. }
  125. }
  126. a {
  127. &.showCruds {
  128. display: inline;
  129. opacity: .5;
  130. }
  131. &.unshare {
  132. display: inline-block;
  133. opacity: .5;
  134. padding: 10px;
  135. }
  136. &.showCruds:hover,
  137. &.unshare:hover {
  138. opacity: 1;
  139. }
  140. }
  141. #link {
  142. border-top: 1px solid nc-lighten($color-main-text, 86%);
  143. padding-top: 8px;
  144. #showPassword img {
  145. padding-left: 5px;
  146. width: 12px;
  147. }
  148. }
  149. .reshare,
  150. #link label,
  151. #expiration label {
  152. display: inline-block;
  153. padding: 6px 4px;
  154. }
  155. .resharerInfoView.subView {
  156. position: relative;
  157. }
  158. #defaultExpireMessage, .reshare {
  159. /* fix shared by text going out of box */
  160. white-space: normal;
  161. }
  162. #defaultExpireMessage {
  163. /* show message on new line */
  164. display: block;
  165. padding-left: 4px;
  166. /* TODO: style the dropdown in a proper way - border-box, etc. */
  167. width: 90%;
  168. }
  169. .ui-autocomplete {
  170. /* limit dropdown height to 4 1/2 entries */
  171. max-height: 200px;
  172. overflow-y: auto;
  173. overflow-x: hidden;
  174. }
  175. .notCreatable {
  176. padding-left: 12px;
  177. padding-top: 12px;
  178. color: rgba($color-main-text, .4);
  179. }
  180. .contactsmenu-popover {
  181. left: -8px;
  182. right: auto;
  183. padding: 3px 6px;
  184. li.hidden {
  185. display: none !important;
  186. }
  187. &:after {
  188. left: 8px;
  189. right: auto;
  190. }
  191. }
  192. .popovermenu .datepicker {
  193. margin-left: 35px;
  194. }
  195. .popovermenu .passwordField {
  196. margin-left: 35px;
  197. width: inherit !important;
  198. }
  199. .ui-datepicker {
  200. z-index: 1111 !important;
  201. }