galleryManager.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. /* Photo Gallery */
  2. .gallery-manager {
  3. position: relative;
  4. border: 1px solid #DDD;
  5. -webkit-border-radius: 4px;
  6. -moz-border-radius: 4px;
  7. border-radius: 4px;
  8. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  9. -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  10. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  11. min-height: 200px; }
  12. .gallery-manager .photo {
  13. position: relative;
  14. float: left;
  15. background-color: #fff;
  16. margin: 4px;
  17. height: 178px;
  18. width: 140px;
  19. display: block;
  20. padding: 4px;
  21. line-height: 1;
  22. border: 1px solid #DDD;
  23. -webkit-border-radius: 4px;
  24. -moz-border-radius: 4px;
  25. border-radius: 4px;
  26. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  27. -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  28. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); }
  29. .gallery-manager .photo img {
  30. width: 140px;
  31. height: auto; }
  32. .gallery-manager .photo a {
  33. padding-left: 8px; }
  34. .gallery-manager .photo .actions {
  35. float: right;
  36. position: absolute;
  37. bottom: 4px;
  38. right: 4px; }
  39. .gallery-manager hr {
  40. margin: 0 4px; }
  41. .gallery-manager .btn-file {
  42. position: relative;
  43. overflow: hidden; }
  44. .gallery-manager .btn-file input[type=file] {
  45. position: absolute;
  46. top: 0;
  47. right: 0;
  48. min-width: 100%;
  49. min-height: 100%;
  50. font-size: 999px;
  51. text-align: right;
  52. filter: alpha(opacity=0);
  53. opacity: 0;
  54. outline: none;
  55. background: white;
  56. cursor: inherit;
  57. display: block; }
  58. .gallery-manager .caption h5 {
  59. margin: 0;
  60. font-size: 13px;
  61. white-space: nowrap;
  62. overflow: hidden; }
  63. .gallery-manager .caption p {
  64. height: 3em;
  65. overflow: hidden;
  66. font-size: 13px; }
  67. .gallery-manager.no-desc .photo {
  68. height: 138px; }
  69. .gallery-manager.no-name .photo {
  70. height: 160px; }
  71. .gallery-manager.no-name-no-desc .photo {
  72. height: 120px; }
  73. .gallery-manager .image-preview {
  74. height: 88px;
  75. overflow: hidden; }
  76. .gallery-manager .photo-select {
  77. position: absolute;
  78. bottom: 8px;
  79. left: 8px; }
  80. .gallery-manager .photo.selected {
  81. background-color: #cef;
  82. border-color: blue; }
  83. .gallery-manager .overlay {
  84. display: none;
  85. position: absolute;
  86. top: 0;
  87. left: 0;
  88. width: 100%;
  89. height: 100%; }
  90. .gallery-manager .overlay-bg {
  91. position: absolute;
  92. top: 0;
  93. left: 0;
  94. background-color: #efefef;
  95. opacity: .5;
  96. width: 100%;
  97. height: 100%; }
  98. .gallery-manager.over .overlay {
  99. display: block; }
  100. .gallery-manager .drop-hint {
  101. background-color: #efefef;
  102. border: 2px #777 dashed;
  103. position: absolute;
  104. top: 50%;
  105. left: 50%;
  106. height: 100px;
  107. width: 50%;
  108. margin: -50px 0 0 -25%;
  109. text-align: center; }
  110. .gallery-manager .drop-hint-info {
  111. color: #777;
  112. font-weight: bold;
  113. font-size: 30px;
  114. margin-top: 35px;
  115. vertical-align: middle;
  116. display: inline-block; }
  117. .gallery-manager .progress-overlay {
  118. display: none;
  119. position: absolute;
  120. top: 0;
  121. left: 0;
  122. width: 100%;
  123. height: 100%; }
  124. .gallery-manager .progress-overlay .modal {
  125. position: relative;
  126. display: block;
  127. top: 80px; }
  128. .editor-modal .photo-editor {
  129. min-height: 156px;
  130. padding: 4px; }
  131. .editor-modal .photo-editor:not(:last-child) {
  132. border-bottom: 1px solid #DDD; }