share.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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. #dropdown.shareDropDown .unshare.icon-loading-small {
  24. margin-top: 1px;
  25. }
  26. #dropdown.shareDropDown .shareWithLoading,
  27. #dropdown.shareDropDown .linkShare .icon-loading-small {
  28. display: inline-block !important;
  29. padding-left: 10px;
  30. }
  31. #dropdown.shareDropDown .shareWithLoading {
  32. position: relative;
  33. right: 70px;
  34. top: 2px;
  35. }
  36. #dropdown.shareDropDown .icon-loading-small.hidden {
  37. display: none !important;
  38. }
  39. #dropdown .shareWithRemoteInfo {
  40. padding: 11px 20px;
  41. }
  42. #dropdown .avatar {
  43. margin-right: 8px;
  44. display: inline-block;
  45. overflow: hidden;
  46. vertical-align: middle;
  47. width: 32px;
  48. height: 32px;
  49. }
  50. #shareWithList {
  51. list-style-type:none;
  52. padding:8px;
  53. }
  54. #shareWithList li {
  55. padding-top: 10px;
  56. padding-bottom: 10px;
  57. font-weight: bold;
  58. line-height: 21px;
  59. white-space: normal;
  60. }
  61. #shareWithList .unshare img, #shareWithList .showCruds img {
  62. vertical-align:text-bottom; /* properly align icons */
  63. }
  64. #shareWithList label input[type=checkbox]{
  65. margin-left: 0;
  66. position: relative;
  67. }
  68. #shareWithList .username{
  69. padding-right: 8px;
  70. white-space: nowrap;
  71. text-overflow: ellipsis;
  72. max-width: 254px;
  73. display: inline-block;
  74. overflow: hidden;
  75. vertical-align: middle;
  76. }
  77. #shareWithList li label{
  78. margin-right: 8px;
  79. }
  80. #dropdown label {
  81. font-weight:400;
  82. white-space: nowrap;
  83. }
  84. #dropdown input[type="checkbox"] {
  85. margin:0 3px 0 8px;
  86. vertical-align: middle;
  87. }
  88. a.showCruds {
  89. display:inline;
  90. opacity:.5;
  91. }
  92. a.unshare {
  93. display:inline;
  94. float:right;
  95. opacity:.5;
  96. padding:5px 0 0 5px !important;
  97. margin-top:-5px;
  98. }
  99. #link {
  100. border-top:1px solid #ddd;
  101. padding-top:8px;
  102. }
  103. #dropdown input[type="text"],#dropdown input[type="password"] {
  104. width: 86%;
  105. margin-left: 7px;
  106. }
  107. #dropdown form {
  108. font-size: 100%;
  109. margin-left: 0;
  110. margin-right: 0;
  111. }
  112. #linkText,#linkPass,#expiration {
  113. display:none;
  114. }
  115. #link #showPassword img {
  116. padding-left:5px;
  117. width:12px;
  118. }
  119. .reshare,#link label,
  120. #expiration label {
  121. display: inline-block;
  122. padding: 6px 4px;
  123. }
  124. a.showCruds:hover,a.unshare:hover {
  125. opacity:1;
  126. }
  127. #defaultExpireMessage, /* fix expire message going out of box */
  128. .reshare { /* fix shared by text going out of box */
  129. white-space:normal;
  130. }
  131. #defaultExpireMessage { /* show message on new line */
  132. display: block;
  133. padding-left: 4px;
  134. /* TODO: style the dropdown in a proper way - border-box, etc. */
  135. width: 90%;
  136. }
  137. .ui-autocomplete { /* limit dropdown height to 4 1/2 entries */
  138. max-height:103px;
  139. overflow-y:auto;
  140. overflow-x:hidden;
  141. }
  142. .notCreatable {
  143. padding-left: 12px;
  144. padding-top: 12px;
  145. color: #999;
  146. }