galeria.css 5.8 KB

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