galeria.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. div#gallery_entry_contribute{
  2. text-align: left;
  3. margin: 3em 1em 1em 1em;
  4. }
  5. div#album_list{
  6. text-align: center;
  7. }
  8. div#album_list p{
  9. text-align: left;
  10. }
  11. div.album_list{
  12. max-width: 16.8em;
  13. display: inline-block;
  14. vertical-align: top;
  15. }
  16. table.album_thumbnails td{
  17. background-color: #000000;
  18. /* display: inline-block; */
  19. width: 8em;
  20. height: 8em;
  21. text-align: center;
  22. vertical-align: center;
  23. }
  24. table.album_thumbnails p{
  25. text-align: left;
  26. }
  27. table.album_thumbnails img{
  28. max-width: 7.8em;
  29. max-height: 7.8em;
  30. vertical-align: center;
  31. }
  32. /* /galeria/album.php */
  33. div#album{
  34. text-align: center;
  35. }
  36. div#album h3#album_title{
  37. text-align: left;
  38. }
  39. div#album div#album_header{
  40. margin: 2em;
  41. padding: 2em;
  42. text-align: left;
  43. }
  44. div.photo{
  45. display: inline-block;
  46. vertical-align: top;
  47. width: 10.7em;
  48. padding-left: auto;
  49. padding-right: auto;
  50. text-align: left;
  51. }
  52. div.photo hr{
  53. margin-bottom: 0.1;
  54. }
  55. div.photo h4{
  56. text-align: center;
  57. margin-top: 0;
  58. margin-bottom: 0.2em;
  59. }
  60. div.photo span.photo_description{
  61. font-style: italic;
  62. font-size: 90%;
  63. }
  64. div.photo span.comment_counter{
  65. display: block;
  66. margin: 0.3em 0.5em 0.2em 0.2em;
  67. font-size: 80%;
  68. text-align: right;
  69. }
  70. div.photo span.comment_counter img{
  71. margin-left: 0.4em;
  72. max-height: 0.75em;
  73. max-height: 0.75em;
  74. vertical-align: middle;
  75. }
  76. div.photo div.photo_container{
  77. background-color: #000000;
  78. border-radius: 0.2em;
  79. width: 10.5em;
  80. height: 10.5em;
  81. display: table-cell;
  82. text-align: center;
  83. vertical-align: middle;
  84. }
  85. div.photo img{
  86. max-width: 10em;
  87. max-height: 10em;
  88. }
  89. div#screen_cover{
  90. position: fixed;
  91. top: 0;
  92. left: 0;
  93. background-color: black;
  94. display: none;
  95. width: 100%;
  96. height: 100%;
  97. opacity: 0;
  98. transition: all .9s ease-in-out;
  99. z-index: 1000;
  100. }
  101. div#photo_viewer{
  102. position: fixed;
  103. display: none;
  104. top: 10%;
  105. left: 10%;
  106. right: 10%;
  107. bottom: 10%;
  108. opacity: 0;
  109. transition: all .6s ease-in-out;
  110. z-index: 1001;
  111. min-height: 10em;
  112. }
  113. /* /galeria/load_photo.php */
  114. div#photo_viewer div#viewer_table{
  115. display: table;
  116. height: 100%;
  117. width: 100%;
  118. }
  119. div#photo_viewer div#viewer_table div.viewer_row{
  120. display: table-row;
  121. height: 100%;
  122. width: 100%;
  123. }
  124. div#photo_viewer div#viewer_table div.viewer_row div.viewer_cell{
  125. display: table-cell;
  126. max-height: 100%;
  127. vertical-align: top;
  128. }
  129. div#photo_viewer div#viewer_table div.viewer_row div#cell_image{
  130. text-align: center;
  131. position: fixed;
  132. bottom: 10%;
  133. top: 11%; /*Viewer is 10%*/
  134. left: 11%;
  135. right: 40%;
  136. }
  137. div#photo_viewer div#viewer_table div.viewer_row div#cell_details{
  138. width: 40%;
  139. }
  140. div#photo_viewer_image_container{
  141. height: 85%;
  142. width: 100%;
  143. position: relative;
  144. display: inline-block;
  145. max-width: 100%;
  146. overflow: hidden;
  147. background-color: #000000;
  148. text-align: center;
  149. vertical-align: center;
  150. }
  151. img#photo_viewer_image{
  152. border: 0.3em solid #112244;
  153. box-shadow: 0 0 0.5em #112244;
  154. max-width: 90%;
  155. bottom: 10%;
  156. max-height: 80%; /*The viewer is 85%*/
  157. }
  158. div#photo_viewer div#viewer_controls{
  159. height: 10%;
  160. width: 100%;
  161. text-align: center;
  162. bottom: 10%;
  163. left: 0;
  164. right: 0;
  165. position: fixed;
  166. }
  167. div#photo_viewer div#viewer_controls img{
  168. max-height: 3em;
  169. max-width: 3em;
  170. transition: all .3s ease-in-out;
  171. }
  172. div#photo_viewer div#viewer_controls img:hover{
  173. -webkit-filter: drop-shadow(0 0 0.3em #775599);
  174. filter: drop-shadow(0 0 0.3em #775599);
  175. -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#759')";
  176. filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#759')";
  177. }
  178. div#photo_viewer_details{
  179. position: fixed;
  180. top: 11%;
  181. bottom: 11%;
  182. right: 12%;
  183. left: 60%;
  184. overflow-y: auto;
  185. }
  186. div#photo_data h4{
  187. margin: 0.1em;
  188. }
  189. div#photo_data span#photo_description{
  190. display: block;
  191. margin: 0.4em 0.4em 0.4em 1em;
  192. }
  193. div#photo_data span#photo_date{
  194. display: block;
  195. margin: 0.3em;
  196. width: 90%;
  197. text-align: right;
  198. font-size: 80%;
  199. font-style: italic;
  200. }
  201. div#photo_data span#photo_user{
  202. display: block;
  203. margin: 0.3em;
  204. width: 90%;
  205. text-align: right;
  206. font-size: 80%;
  207. font-style: italic;
  208. }
  209. div#photo_viewer_comments{
  210. height: 100%;
  211. overflow: auto;
  212. }
  213. div.photo_viewer_comment{
  214. border: 0.1em solid rgba(50, 50, 50, 0.2);
  215. margin: 0;
  216. padding: 0.3em;
  217. }
  218. div.photo_viewer_user{
  219. font-size: 90%;
  220. font-weight: bold;
  221. }
  222. div.photo_viewer_user_unregistered{
  223. color: #333333;
  224. }
  225. div.photo_viewer_user_registered{
  226. vertical-align: middle;
  227. color: #aa2266;
  228. }
  229. div.photo_viewer_user_registered img{
  230. width: 2em;
  231. height: 2em;
  232. vertical-align: middle;
  233. }
  234. span.photo_viewer_comment_date{
  235. display: block;
  236. margin: 0;
  237. padding: 0;
  238. font-size: 70%;
  239. color: #555555;
  240. text-align: right;
  241. }
  242. div#photo_viewer_new_comment_header{
  243. background-color: #0000ff;
  244. color: #ffffff;
  245. font-weight: bold;
  246. font-size: 80%;
  247. margin: 0.1em 0 0 0;
  248. padding: 0;
  249. }
  250. /* /galeria/upload/ */
  251. div.form_photo{
  252. display: inline-block;
  253. vertical-align: top;
  254. width: 15em;
  255. text-align: center;
  256. margin: 1.5em;
  257. padding: 1em;
  258. /* border: 0.1em solid #000010; */
  259. /* border-radius: 0.5em; */
  260. }
  261. div.form_photo img{
  262. max-width: 90%;
  263. max-height: 9em;
  264. margin-left: auto;
  265. margin-right: auto;
  266. border: 0.3em solid #000010;
  267. }
  268. div.form_photo input, textarea{
  269. width: 90%;
  270. }
  271. div#file_box{
  272. text-align: center;
  273. }
  274. div#file_box span#drag{
  275. font-size: 150%;
  276. font-weight: bold;
  277. }
  278. div#file_box input#file_selector{
  279. display: block;
  280. width: 0;
  281. height: 0;
  282. opacity: 0;
  283. background-color: #ff0000;
  284. }
  285. div#photo_upload_preview{
  286. text-align: center;
  287. }
  288. div#photo_upload_preview table{
  289. margin: auto;
  290. }
  291. div#photo_upload_preview table td{
  292. vertical-align: bottom;
  293. max-width: 15em;
  294. text-align: left;
  295. height: 100%;
  296. padding: 1em;
  297. }
  298. div#photo_upload_preview table td select{
  299. width: 100%;
  300. }
  301. div#photo_upload_preview table td input{
  302. width: 100%;
  303. }
  304. div#photo_upload_preview input#photo_submit{
  305. display: none;
  306. }