galeria.css 7.8 KB

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