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 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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: 5px;
  7. border-bottom-right-radius: 5px;
  8. box-shadow:0 1px 1px #777;
  9. display:block;
  10. margin-right:112px;
  11. position:absolute;
  12. right:0;
  13. width:320px;
  14. z-index:500;
  15. padding:16px;
  16. }
  17. #shareWithList {
  18. list-style-type:none;
  19. padding:8px;
  20. }
  21. #shareWithList li {
  22. padding-top: 10px;
  23. padding-bottom: 10px;
  24. font-weight: bold;
  25. line-height: 21px;
  26. white-space: normal;
  27. }
  28. #shareWithList .unshare img, #shareWithList .showCruds img {
  29. vertical-align:text-bottom; /* properly align icons */
  30. }
  31. #shareWithList label input[type=checkbox]{
  32. margin-left: 0;
  33. }
  34. #shareWithList .username{
  35. padding-right: 8px;
  36. white-space: nowrap;
  37. text-overflow: ellipsis;
  38. max-width: 254px;
  39. display: inline-block;
  40. overflow: hidden;
  41. vertical-align: middle;
  42. }
  43. #shareWithList li label{
  44. margin-right: 8px;
  45. }
  46. #dropdown label {
  47. font-weight:400;
  48. white-space: nowrap;
  49. }
  50. #dropdown input[type="checkbox"] {
  51. margin:0 3px 0 8px;
  52. }
  53. a.showCruds {
  54. display:inline;
  55. opacity:.5;
  56. }
  57. a.unshare {
  58. display:inline;
  59. float:right;
  60. opacity:.5;
  61. padding:5px 0 0 5px !important;
  62. margin-top:-5px;
  63. }
  64. #link {
  65. border-top:1px solid #ddd;
  66. padding-top:8px;
  67. }
  68. #dropdown input[type="text"],#dropdown input[type="password"] {
  69. width:90%;
  70. }
  71. #dropdown form {
  72. font-size: 100%;
  73. margin-left: 0;
  74. margin-right: 0;
  75. }
  76. #linkText,#linkPass,#expiration {
  77. display:none;
  78. }
  79. #link #showPassword img {
  80. padding-left:5px;
  81. width:12px;
  82. }
  83. .reshare,#link label,#expiration label {
  84. padding-left:8px;
  85. }
  86. a.showCruds:hover,a.unshare:hover {
  87. opacity:1;
  88. }
  89. .reshare { /* fix shared by text going out of box */
  90. white-space:normal;
  91. }
  92. .ui-autocomplete { /* limit dropdown height to 4 1/2 entries */
  93. max-height:103px;
  94. overflow-y:auto;
  95. overflow-x:hidden;
  96. }
  97. .notCreatable {
  98. padding-left: 12px;
  99. padding-top: 12px;
  100. color: #999;
  101. }