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.

246 lines
4.1 KiB

  1. .app-files .shareTabView {
  2. min-height: 100px;
  3. }
  4. .share-autocomplete-item {
  5. display: flex;
  6. .autocomplete-item-text {
  7. margin-left: 10px;
  8. margin-right: 10px;
  9. white-space: nowrap;
  10. text-overflow: ellipsis;
  11. overflow: hidden;
  12. line-height: 32px;
  13. vertical-align: middle;
  14. }
  15. }
  16. .shareTabView {
  17. .oneline {
  18. white-space: nowrap;
  19. position: relative;
  20. }
  21. .shareWithLoading {
  22. padding-left: 10px;
  23. right: 35px;
  24. top: 0px;
  25. }
  26. .shareWithConfirm,
  27. .clipboardButton,
  28. .linkPass .icon-loading-small {
  29. position: absolute;
  30. right: 2px;
  31. top: 6px;
  32. padding: 14px;
  33. }
  34. .shareWithConfirm {
  35. opacity: 0.5;
  36. }
  37. .shareWithField:focus ~ .shareWithConfirm {
  38. opacity: 1;
  39. }
  40. .linkMore {
  41. position: absolute;
  42. right: -7px;
  43. top: -4px;
  44. padding: 14px;
  45. }
  46. .popovermenu {
  47. .datepicker {
  48. margin-left: 35px;
  49. }
  50. .clipboardButton {
  51. position: relative;
  52. top: initial;
  53. right: initial;
  54. padding: 0;
  55. }
  56. .share-add {
  57. input.share-note-delete {
  58. display: none;
  59. border: none;
  60. background-color: transparent;
  61. width: 44px !important;
  62. padding: 0;
  63. flex: 0 0 44px;
  64. margin-left: auto;
  65. }
  66. }
  67. // note
  68. .share-note-form {
  69. span.icon-note {
  70. position: relative;
  71. }
  72. textarea.share-note {
  73. margin: 0;
  74. width: 200px;
  75. min-height: 70px;
  76. resize: none;
  77. + input.share-note-submit {
  78. position: absolute;
  79. width: 44px !important;
  80. height: 44px;
  81. bottom: 0px;
  82. right: 10px;
  83. margin: 0;
  84. background-color: transparent;
  85. border: none;
  86. opacity: .7;
  87. &:hover,
  88. &:focus,
  89. &:active {
  90. opacity: 1;
  91. }
  92. }
  93. }
  94. // fix for popover link share
  95. &.share-note-link {
  96. margin-bottom: 10px;
  97. }
  98. }
  99. }
  100. .linkPass .icon-loading-small {
  101. margin-right: 0px;
  102. }
  103. .icon {
  104. background-size: 16px 16px;
  105. }
  106. .shareWithList .icon-loading-small:not(.hidden) + span,
  107. .linkShareView .icon-loading-small:not(.hidden) + input + label:before {
  108. /* Hide if loader is visible */
  109. display: none !important;
  110. }
  111. input {
  112. &[type='checkbox'] {
  113. margin: 0 3px 0 8px;
  114. vertical-align: middle;
  115. }
  116. &[type='text'] {
  117. &.shareWithField,
  118. &.emailField {
  119. width: 100%;
  120. box-sizing: border-box;
  121. padding-right: 32px;
  122. text-overflow: ellipsis;
  123. }
  124. }
  125. &[type='text'].linkText
  126. &[type='password'].linkPassText,
  127. &[type='password'].passwordField {
  128. width: 180px !important;
  129. }
  130. }
  131. form {
  132. font-size: 100%;
  133. margin-left: 0;
  134. margin-right: 0;
  135. }
  136. // share note on the sidebar
  137. .share-note {
  138. border-radius: var(--border-radius);
  139. margin-bottom: 10px;
  140. margin-left: 37px;
  141. }
  142. }
  143. // Sharing tab users list
  144. .shareWithList {
  145. list-style-type: none;
  146. display: flex;
  147. flex-direction: column;
  148. > li {
  149. height: 44px;
  150. white-space: normal;
  151. display: inline-flex;
  152. align-items: center;
  153. position: relative;
  154. .avatar {
  155. width: 32px;
  156. height: 32px;
  157. background-color: var(--color-background-darker);
  158. }
  159. }
  160. .unshare img {
  161. vertical-align: text-bottom;
  162. /* properly align icons */
  163. }
  164. .sharingOptionsGroup {
  165. margin-left: auto;
  166. display: flex;
  167. align-items: center;
  168. white-space: nowrap;
  169. // can edit label
  170. > .shareOption > label {
  171. padding: 13px;
  172. padding-right: 0;
  173. }
  174. // more menu
  175. > .share-menu {
  176. position: relative;
  177. display: block;
  178. .icon-more {
  179. padding: 14px;
  180. height: 44px;
  181. width: 44px;
  182. opacity: .5;
  183. display: block;
  184. cursor: pointer;
  185. }
  186. &:hover,
  187. &:focus,
  188. &:active {
  189. .icon-more {
  190. opacity: .7;;
  191. }
  192. }
  193. }
  194. }
  195. .username {
  196. padding: 0 8px;
  197. overflow: hidden;
  198. white-space: nowrap;
  199. text-overflow: ellipsis;
  200. }
  201. }
  202. .ui-autocomplete {
  203. /* limit dropdown height to 4 1/2 entries */
  204. max-height: calc(36px * 4.5);;
  205. overflow-y: auto;
  206. overflow-x: hidden;
  207. z-index: 1550 !important;
  208. }
  209. .notCreatable {
  210. padding-left: 12px;
  211. padding-top: 12px;
  212. color: var(--color-text-lighter);
  213. }
  214. .contactsmenu-popover {
  215. left: -6px;
  216. right: auto;
  217. padding: 3px 6px;
  218. top: 100%;
  219. margin-top: 0;
  220. li.hidden {
  221. display: none !important;
  222. }
  223. &:after {
  224. left: 8px;
  225. right: auto;
  226. }
  227. }
  228. .reshare,
  229. #link label,
  230. #expiration label {
  231. display: inline-flex;
  232. align-items: center;
  233. .avatar {
  234. margin-right: 5px;
  235. }
  236. }
  237. .resharerInfoView.subView {
  238. position: relative;
  239. }