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.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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 .unshare img, #shareWithList .showCruds img {
  59. vertical-align:text-bottom; /* properly align icons */
  60. }
  61. #shareWithList label input[type=checkbox]{
  62. margin-left: 0;
  63. position: relative;
  64. }
  65. #shareWithList .username{
  66. padding-right: 8px;
  67. white-space: nowrap;
  68. text-overflow: ellipsis;
  69. max-width: 254px;
  70. display: inline-block;
  71. overflow: hidden;
  72. vertical-align: middle;
  73. }
  74. #shareWithList li label{
  75. margin-right: 8px;
  76. }
  77. .shareTabView label {
  78. font-weight:400;
  79. white-space: nowrap;
  80. }
  81. .shareTabView input[type="checkbox"] {
  82. margin:0 3px 0 8px;
  83. vertical-align: middle;
  84. }
  85. a.showCruds {
  86. display:inline;
  87. opacity:.5;
  88. }
  89. a.unshare {
  90. display:inline;
  91. float:right;
  92. opacity:.5;
  93. padding: 10px;
  94. margin-top: -5px;
  95. margin-right: -10px;
  96. }
  97. #link {
  98. border-top:1px solid #ddd;
  99. padding-top:8px;
  100. }
  101. .shareTabView input[type="submit"] {
  102. margin-left: 7px;
  103. }
  104. .shareTabView form {
  105. font-size: 100%;
  106. margin-left: 0;
  107. margin-right: 0;
  108. }
  109. .shareTabView .error {
  110. color: #e9322d;
  111. border-color: #e9322d;
  112. box-shadow: 0 0 6px #f8b9b7;
  113. }
  114. #link #showPassword img {
  115. padding-left:5px;
  116. width:12px;
  117. }
  118. .reshare,#link label,
  119. #expiration label {
  120. display: inline-block;
  121. padding: 6px 4px;
  122. }
  123. a.showCruds:hover,a.unshare:hover {
  124. opacity:1;
  125. }
  126. #defaultExpireMessage, /* fix expire message going out of box */
  127. .reshare { /* fix shared by text going out of box */
  128. white-space:normal;
  129. }
  130. #defaultExpireMessage { /* show message on new line */
  131. display: block;
  132. padding-left: 4px;
  133. /* TODO: style the dropdown in a proper way - border-box, etc. */
  134. width: 90%;
  135. }
  136. .ui-autocomplete { /* limit dropdown height to 4 1/2 entries */
  137. max-height:103px;
  138. overflow-y:auto;
  139. overflow-x:hidden;
  140. }
  141. .notCreatable {
  142. padding-left: 12px;
  143. padding-top: 12px;
  144. color: #999;
  145. }