galleryManager.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. display: flex;
  76. justify-content: center;
  77. align-items: center;
  78. overflow: hidden; }
  79. .gallery-manager .photo-select {
  80. position: absolute;
  81. bottom: 8px;
  82. left: 8px; }
  83. .gallery-manager .photo.selected {
  84. background-color: #cef;
  85. border-color: blue; }
  86. .gallery-manager .overlay {
  87. display: none;
  88. position: absolute;
  89. top: 0;
  90. left: 0;
  91. width: 100%;
  92. height: 100%; }
  93. .gallery-manager .overlay-bg {
  94. position: absolute;
  95. top: 0;
  96. left: 0;
  97. background-color: #efefef;
  98. opacity: .5;
  99. width: 100%;
  100. height: 100%; }
  101. .gallery-manager.over .overlay {
  102. display: block; }
  103. .gallery-manager .drop-hint {
  104. background-color: #efefef;
  105. border: 2px #777 dashed;
  106. position: absolute;
  107. top: 50%;
  108. left: 50%;
  109. height: 100px;
  110. width: 50%;
  111. margin: -50px 0 0 -25%;
  112. text-align: center; }
  113. .gallery-manager .drop-hint-info {
  114. color: #777;
  115. font-weight: bold;
  116. font-size: 30px;
  117. margin-top: 35px;
  118. vertical-align: middle;
  119. display: inline-block; }
  120. .gallery-manager .progress-overlay {
  121. display: none;
  122. position: absolute;
  123. top: 0;
  124. left: 0;
  125. width: 100%;
  126. height: 100%; }
  127. .gallery-manager .progress-overlay .modal {
  128. position: relative;
  129. display: block;
  130. top: 80px; }
  131. .editor-modal .photo-editor {
  132. min-height: 156px;
  133. padding: 4px; }
  134. .editor-modal .photo-editor:not(:last-child) {
  135. border-bottom: 1px solid #DDD; }