share.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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:7em;
  11. position:absolute;
  12. right:0;
  13. width:25em;
  14. z-index:500;
  15. padding:1em;
  16. }
  17. #shareWithList {
  18. list-style-type:none;
  19. padding:.5em;
  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: .5em;
  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: .5em;
  45. }
  46. #dropdown label {
  47. font-weight:400;
  48. white-space: nowrap;
  49. }
  50. #dropdown input[type="checkbox"] {
  51. margin:0 .2em 0 .5em;
  52. vertical-align: middle;
  53. }
  54. a.showCruds {
  55. display:inline;
  56. opacity:.5;
  57. }
  58. a.unshare {
  59. display:inline;
  60. float:right;
  61. opacity:.5;
  62. padding:.3em 0 0 .3em !important;
  63. margin-top:-5px;
  64. }
  65. #link {
  66. border-top:1px solid #ddd;
  67. padding-top:.5em;
  68. }
  69. #dropdown input[type="text"],#dropdown input[type="password"] {
  70. width:90%;
  71. }
  72. #dropdown form {
  73. font-size: 100%;
  74. margin-left: 0;
  75. margin-right: 0;
  76. }
  77. #linkText,#linkPass,#expiration {
  78. display:none;
  79. }
  80. #link #showPassword img {
  81. padding-left:.3em;
  82. width:12px;
  83. }
  84. .reshare,#link label,#expiration label {
  85. padding-left:.5em;
  86. }
  87. a.showCruds:hover,a.unshare:hover {
  88. opacity:1;
  89. }
  90. .reshare { /* fix shared by text going out of box */
  91. white-space:normal;
  92. }
  93. .ui-autocomplete { /* limit dropdown height to 4 1/2 entries */
  94. max-height:103px;
  95. overflow-y:auto;
  96. overflow-x:hidden;
  97. }
  98. .notCreatable {
  99. padding-left: 12px;
  100. padding-top: 12px;
  101. color: #999;
  102. }