gallery.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. #tabs {
  2. background: #e53935;
  3. margin: -20px;
  4. margin-bottom: 10px;
  5. position: fixed;
  6. width: 100%;
  7. box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.8);
  8. overflow-x: auto;
  9. white-space: nowrap;
  10. }
  11. #tabs a {
  12. display: inline-block;
  13. color: #ffcdd2;
  14. padding: 15px 30px;
  15. text-decoration: none;
  16. text-transform: uppercase;
  17. }
  18. #tabs a.active {
  19. color: #fff;
  20. border-bottom: 3px solid #fff;
  21. }
  22. .album {
  23. width: 33.33%;
  24. /*float:left;*/
  25. display: inline-block;
  26. vertical-align: top;
  27. }
  28. .album div {
  29. margin: 5px;
  30. padding: 5px;
  31. background: #e0e0e0;
  32. }
  33. .album span {
  34. display: block;
  35. text-align: center;
  36. color: #424242;
  37. overflow: hidden;
  38. }
  39. .imageSelector .image {
  40. width: 25%;
  41. display: inline-block;
  42. vertical-align: top;
  43. text-align: center;
  44. }
  45. .imageSelector .image.selected > div {
  46. background: #e57373;
  47. }
  48. .imageSelector .image.selected > div:hover {
  49. background: #ef5350;
  50. }
  51. .imageSelector .image input[type=checkbox] {
  52. display: none;
  53. }
  54. .imageSelector .image > div {
  55. margin: 5px;
  56. padding: 5px;
  57. background: #e0e0e0;
  58. }
  59. .imageSelector .image > div:hover {
  60. background: #bdbdbd;
  61. }
  62. #album-viewer {
  63. height: 100%;
  64. display: flex;
  65. flex-direction: column;
  66. }
  67. #album-viewer #album-description {
  68. flex: 0 0 auto;
  69. }
  70. #album-viewer #album-description .expander {
  71. padding: 5px;
  72. background: #e0e0e0;
  73. }
  74. #album-viewer #album-description .expander:after {
  75. float: right;
  76. content: "+";
  77. }
  78. #album-viewer #album-description .expander.expanded:after {
  79. content: '-';
  80. }
  81. #album-viewer #album-description .text {
  82. background: #eeeeee;
  83. padding: 5px;
  84. }
  85. #album-viewer #album-description .text.ng-hide {
  86. line-height: 0;
  87. }
  88. #album-viewer #album-thumbnails {
  89. flex: 0 0 auto;
  90. overflow-x: auto;
  91. overflow-y: hidden;
  92. white-space: nowrap;
  93. text-align: center;
  94. }
  95. #album-viewer #album-thumbnails img {
  96. width: 100px;
  97. border: 3px solid transparent;
  98. }
  99. #album-viewer #album-thumbnails img.selected {
  100. border: 3px solid #e57373;
  101. }
  102. #album-viewer #album-images {
  103. flex: 1 1 auto;
  104. overflow: auto;
  105. position: relative;
  106. }
  107. #album-viewer #album-images .image {
  108. position: absolute;
  109. top: 0;
  110. left: 0;
  111. right: 0;
  112. bottom: 0;
  113. overflow: hidden;
  114. text-align: center;
  115. }
  116. #album-viewer #album-images .image img {
  117. max-height: 100%;
  118. }
  119. #galleryUpload .upload {
  120. font-size: 2em;
  121. padding: 5px;
  122. }
  123. #galleryUpload .dragDrop {
  124. min-height: 200px;
  125. border-color: #fafafa;
  126. background-position: center;
  127. background-size: 100px;
  128. margin-bottom: 5px;
  129. }
  130. #galleryUpload .dragDrop.dragOver {
  131. border: 3px dashed #616161;
  132. background-image: url("/images/upload.svg");
  133. background-repeat: no-repeat;
  134. }
  135. #galleryUpload .newImage {
  136. display: flex;
  137. margin-bottom: 5px;
  138. }
  139. #galleryUpload .newImage .information {
  140. flex: 1;
  141. }
  142. #galleryUpload .newImage .preview {
  143. flex: 1;
  144. position: relative;
  145. }
  146. #galleryUpload .newImage .preview .imageContainer {
  147. position: absolute;
  148. top: 0;
  149. bottom: 0;
  150. right: 0;
  151. text-align: right;
  152. }
  153. #galleryUpload .newImage .preview .imageContainer img {
  154. height: 100%;
  155. }