share.scss 3.9 KB

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