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.css 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
  2. This file is licensed under the Affero General Public License version 3 or later.
  3. See the COPYING-README file. */
  4. #dropdown {
  5. background: #eee;
  6. border-bottom-left-radius: 3px;
  7. border-bottom-right-radius: 3px;
  8. box-shadow: 0 2px 3px rgba(50, 50, 50, .4);
  9. display: block;
  10. margin-right: 0;
  11. position: absolute;
  12. right: 0;
  13. width: 420px;
  14. z-index: 500;
  15. padding: 16px;
  16. }
  17. @media only screen and (min-width: 768px) and (max-width: 990px) {
  18. #dropdown {
  19. /* this limits the dropdown to float below the sidebar for mid narrow screens */
  20. left: 20px;
  21. }
  22. }
  23. .shareTabView .unshare.icon-loading-small {
  24. margin-top: 1px;
  25. }
  26. .shareTabView .shareWithLoading,
  27. .shareTabView .linkShare .icon-loading-small {
  28. display: inline-block !important;
  29. padding-left: 10px;
  30. }
  31. .shareTabView .shareWithLoading {
  32. position: relative;
  33. right: 70px;
  34. top: 2px;
  35. }
  36. .shareTabView .icon-loading-small.hidden {
  37. display: none !important;
  38. }
  39. .shareTabView .avatar {
  40. margin-right: 8px;
  41. display: inline-block;
  42. overflow: hidden;
  43. vertical-align: middle;
  44. width: 32px;
  45. height: 32px;
  46. }
  47. #shareWithList {
  48. list-style-type:none;
  49. padding:8px;
  50. }
  51. #shareWithList li {
  52. padding-top: 10px;
  53. padding-bottom: 10px;
  54. font-weight: bold;
  55. line-height: 21px;
  56. white-space: normal;
  57. }
  58. #shareWithList .shareOption {
  59. white-space: nowrap;
  60. display: inline-block;
  61. }
  62. #shareWithList .unshare img, #shareWithList .showCruds img {
  63. vertical-align:text-bottom; /* properly align icons */
  64. }
  65. #shareWithList label input[type=checkbox]{
  66. margin-left: 0;
  67. position: relative;
  68. }
  69. #shareWithList .username{
  70. padding-right: 8px;
  71. white-space: nowrap;
  72. text-overflow: ellipsis;
  73. max-width: 254px;
  74. display: inline-block;
  75. overflow: hidden;
  76. vertical-align: middle;
  77. }
  78. #shareWithList li label{
  79. margin-right: 8px;
  80. }
  81. .shareTabView label {
  82. font-weight:400;
  83. white-space: nowrap;
  84. }
  85. .shareTabView input[type="checkbox"] {
  86. margin:0 3px 0 8px;
  87. vertical-align: middle;
  88. }
  89. a.showCruds {
  90. display:inline;
  91. opacity:.5;
  92. }
  93. a.unshare {
  94. display:inline;
  95. float:right;
  96. opacity:.5;
  97. padding: 10px;
  98. margin-top: -5px;
  99. margin-right: -10px;
  100. }
  101. #link {
  102. border-top:1px solid #ddd;
  103. padding-top:8px;
  104. }
  105. .shareTabView input[type="submit"] {
  106. margin-left: 7px;
  107. }
  108. .shareTabView form {
  109. font-size: 100%;
  110. margin-left: 0;
  111. margin-right: 0;
  112. }
  113. .shareTabView .error {
  114. color: #e9322d;
  115. border-color: #e9322d;
  116. box-shadow: 0 0 6px #f8b9b7;
  117. }
  118. #link #showPassword img {
  119. padding-left:5px;
  120. width:12px;
  121. }
  122. .reshare,#link label,
  123. #expiration label {
  124. display: inline-block;
  125. padding: 6px 4px;
  126. }
  127. a.showCruds:hover,a.unshare:hover {
  128. opacity:1;
  129. }
  130. #defaultExpireMessage, /* fix expire message going out of box */
  131. .reshare { /* fix shared by text going out of box */
  132. white-space:normal;
  133. }
  134. #defaultExpireMessage { /* show message on new line */
  135. display: block;
  136. padding-left: 4px;
  137. /* TODO: style the dropdown in a proper way - border-box, etc. */
  138. width: 90%;
  139. }
  140. .ui-autocomplete { /* limit dropdown height to 4 1/2 entries */
  141. max-height:103px;
  142. overflow-y:auto;
  143. overflow-x:hidden;
  144. }
  145. .notCreatable {
  146. padding-left: 12px;
  147. padding-top: 12px;
  148. color: #999;
  149. }