Advertisement
Guest User

jaeeunlee.com - nggallery.css

a guest
Apr 16th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.13 KB | None | 0 0
  1. /*
  2. CSS Name: Default Styles
  3. Description: NextGEN Default Gallery Stylesheet
  4. Author: Alex Rabe
  5. Version: 2.10
  6.  
  7. This is a template stylesheet that can be used with NextGEN Gallery. I tested the
  8. styles with a default theme Kubrick. Modify it when your theme struggle with it,
  9. it's only a template design
  10.  
  11. */
  12.  
  13. /* ----------- Album Styles Extend -------------*/
  14.  
  15. .ngg-albumoverview {
  16. margin-top: 10px;
  17. width: 100%;
  18. clear:both;
  19. display:block !important;
  20. }
  21.  
  22. .ngg-album {
  23. height: 100%;
  24. padding: 5px;
  25. margin-bottom: 5px;
  26. border: 1px solid #fff;
  27. }
  28.  
  29. /* IE6 will ignore this , again I hate IE6 */
  30. /* See also http://www.sitepoint.com/article/browser-specific-css-hacks */
  31. html>body .ngg-album {
  32. overflow:hidden;
  33. padding: 5px;
  34. margin-bottom: 5px;
  35. border: 1px solid #cccccc;
  36. }
  37.  
  38. .ngg-album {
  39. overflow: hidden;
  40. padding: 5px;
  41. margin-bottom: 5px;
  42. border: 1px solid #cccccc;
  43. }
  44.  
  45. .ngg-albumtitle {
  46. text-align: left;
  47. font-weight: bold;
  48. margin:0px;
  49. padding:0px;
  50. font-size: 1.4em;
  51. margin-bottom: 10px;
  52. }
  53.  
  54. .ngg-thumbnail {
  55. float: left;
  56. margin-right: 12px;
  57. }
  58.  
  59. .ngg-thumbnail img {
  60. background-color:#FFFFFF;
  61. border:1px solid #A9A9A9;
  62. margin:4px 0px 4px 5px;
  63. padding:4px;
  64. position:relative;
  65. }
  66.  
  67. .ngg-thumbnail img:hover {
  68. background-color: #A9A9A9;
  69. }
  70.  
  71. .ngg-description {
  72. text-align: left;
  73. }
  74.  
  75. /* ----------- Album Styles Compact -------------*/
  76.  
  77. .ngg-album-compact {
  78. float:left;
  79. height:180px;
  80. padding-right:6px !important;
  81. margin:0px !important;
  82. text-align:left;
  83. width:120px;
  84. }
  85.  
  86. .ngg-album-compactbox {
  87. background:transparent url(albumset.gif) no-repeat scroll 0%;
  88. height:86px;
  89. margin:0pt 0pt 6px !important;
  90. padding:12px 0pt 0pt 7px !important;
  91. width:120px;
  92. }
  93.  
  94.  
  95. .ngg-album-compactbox .Thumb {
  96. border:1px solid #000000;
  97. margin:0px !important;
  98. padding:0px !important;
  99. width:91px;
  100. height:68px;
  101. }
  102.  
  103. .ngg-album-compact h4 {
  104. font-size:15px;
  105. font-weight:bold;
  106. margin-bottom:0px;
  107. margin-top:0px;
  108. width:110px;
  109. }
  110.  
  111. .ngg-album-compact p {
  112. font-size:11px;
  113. margin-top:2px;
  114. }
  115.  
  116. /* ----------- Gallery style -------------*/
  117.  
  118. .ngg-galleryoverview {
  119.  
  120. display:block !important;
  121. }
  122.  
  123. .ngg-galleryoverview .desc {
  124. /* required for description */
  125. margin:0px 10px 10px 0px;
  126. padding:5px;
  127.  
  128. }
  129.  
  130. .ngg-gallery-thumbnail-box {
  131. float: left;
  132.  
  133. }
  134.  
  135. .ngg-gallery-thumbnail {
  136. float: left;
  137. margin: 0 25px 25px 0 !important;
  138. padding:0;
  139. text-align: center;
  140. }
  141.  
  142. .ngg-gallery-thumbnail a {
  143. text-decoration:none;
  144. font-size:11px;
  145. color:#4d4d4d;
  146. text-transform:uppercase;
  147. }
  148.  
  149. .ngg-gallery-thumbnail a:hover {
  150. text-decoration:none;
  151. font-size:12px;
  152. color:#ccc;
  153. background:#333;
  154. }
  155.  
  156. .ngg-gallery-thumbnail img {
  157. background-color:#FFFFFF;
  158. border:1px solid #A9A9A9;
  159. display:block;
  160. margin:0;
  161. padding:0;
  162. position:relative;
  163. }
  164.  
  165. .ngg-gallery-thumbnail img:hover {
  166. border:1px solid #4d4d4d;
  167. }
  168.  
  169. .ngg-gallery-thumbnail span {
  170. /* Images description */
  171. font-size:90%;
  172. padding-left:5px;
  173. display:inline;
  174. color:#000;
  175. }
  176.  
  177. .ngg-clear {
  178. clear: both;
  179. }
  180.  
  181. /* ----------- Gallery navigation -------------*/
  182.  
  183. .ngg-navigation {
  184. font-size:0.9em !important;
  185. clear:both !important;
  186. display:block !important;
  187. padding-top:15px;
  188. text-align:center;
  189.  
  190. }
  191.  
  192. .ngg-navigation span {
  193. font-weight:bold;
  194. margin:0pt 6px;
  195. }
  196.  
  197. .ngg-navigation a.page-numbers,
  198. .ngg-navigation a.next,
  199. .ngg-navigation a.prev,
  200. .ngg-navigation span.page-numbers,
  201. .ngg-navigation span.next,
  202. .ngg-navigation span.prev {
  203. border:1px solid #DDDDDD;
  204. margin-right:3px;
  205. padding:3px 7px;
  206. }
  207.  
  208. .ngg-navigation a.page-numbers:hover,
  209. .ngg-navigation a.next:hover,
  210. .ngg-navigation a.prev:hover,
  211. .ngg-navigation span.page-numbers:hover,
  212. .ngg-navigation span.next:hover,
  213. .ngg-navigation span.prev:hover {
  214. background-color: #0066CC;
  215. color: #FFFFFF !important;
  216. text-decoration: none !important;
  217. }
  218.  
  219. /* ----------- Image browser style -------------*/
  220.  
  221. .ngg-imagebrowser {
  222.  
  223. }
  224.  
  225. .ngg-imagebrowser h3 {
  226. text-align:center;
  227. }
  228.  
  229. .ngg-imagebrowser img {
  230. border:1px solid #A9A9A9;
  231. margin-top: 10px;
  232. margin-bottom: 10px;
  233. width: 100%;
  234. display:block !important;
  235. padding:5px;
  236. }
  237.  
  238. .ngg-imagebrowser-nav {
  239. padding:5px;
  240. margin-left:10px;
  241. }
  242.  
  243. .ngg-imagebrowser-nav .back {
  244. float:left;
  245. border:1px solid #DDDDDD;
  246. margin-right:3px;
  247. padding:3px 7px;
  248. }
  249.  
  250. .ngg-imagebrowser-nav .next {
  251. float:right;
  252. border:1px solid #DDDDDD;
  253. margin-right:3px;
  254. padding:3px 7px;
  255. }
  256.  
  257. .ngg-imagebrowser-nav .counter {
  258. text-align:center;
  259. font-size:0.9em !important;
  260. }
  261.  
  262. .exif-data {
  263. margin-left: auto !important;
  264. margin-right: auto !important;
  265. }
  266.  
  267. /* ----------- Slideshow -------------*/
  268. .slideshow {
  269. margin-left: auto;
  270. margin-right: auto;
  271. text-align:center;
  272. outline: none;
  273. }
  274.  
  275. .slideshowlink {
  276.  
  277. }
  278.  
  279. /* ----------- JS Slideshow -------------*/
  280. .ngg-slideshow {
  281. overflow:hidden;
  282. position: relative;
  283. }
  284.  
  285. .ngg-slideshow * {
  286. vertical-align:middle;
  287. }
  288.  
  289. /* See also : http://www.brunildo.org/test/img_center.html */
  290. .ngg-slideshow-loader{
  291. display: table-cell;
  292. text-align: center;
  293. vertical-align:middle;
  294. }
  295.  
  296. .ngg-slideshow-loader img{
  297. background: none !important;
  298. border: 0 none !important;
  299. margin:auto !important;
  300. }
  301.  
  302. /* ----------- Single picture -------------*/
  303. .ngg-singlepic {
  304. background-color:#FFFFFF;
  305. display:block;
  306. padding:4px;
  307. }
  308.  
  309. .ngg-left {
  310. float: left;
  311. margin-right:10px;
  312. }
  313.  
  314. .ngg-right {
  315. float: right;
  316. margin-left:10px;
  317. }
  318.  
  319. .ngg-center {
  320. margin-left: auto !important;
  321. margin-right: auto !important;
  322. }
  323.  
  324. /* ----------- Sidebar widget -------------*/
  325. .ngg-widget,
  326. .ngg-widget-slideshow {
  327. overflow: hidden;
  328. margin:0pt;
  329. padding:5px 0px 0px 0pt;
  330. text-align:left;
  331. }
  332.  
  333. .ngg-widget img {
  334. border:2px solid #A9A9A9;
  335. margin:0pt 2px 2px 0px;
  336. padding:1px;
  337. }
  338.  
  339. /* ----------- Related images -------------*/
  340. .ngg-related-gallery {
  341. background:#F9F9F9;
  342. border:1px solid #E0E0E0;
  343. overflow:hidden;
  344. margin-bottom:1em;
  345. margin-top:1em;
  346. padding:5px;
  347. }
  348. .ngg-related-gallery img {
  349. border: 1px solid #DDDDDD;
  350. float: left;
  351. margin: 0pt 3px;
  352. padding: 2px;
  353. height: 50px;
  354. width: 50px;
  355. }
  356.  
  357. .ngg-related-gallery img:hover {
  358. border: 1px solid #000000;
  359. }
  360.  
  361. /* ----------- Gallery list -------------*/
  362.  
  363. .ngg-galleryoverview ul li:before {
  364. content: '' !important;
  365. }
  366.  
  367. .ngg-gallery-list {
  368. list-style-type:none;
  369. padding: 0px !important;
  370. text-indent:0px !important;
  371. }
  372.  
  373. .ngg-galleryoverview div.pic img{
  374. width: 100%;
  375. }
  376.  
  377. .ngg-gallery-list li {
  378. float:left;
  379. margin:0 2px 0px 2px !important;
  380. overflow:hidden;
  381. }
  382.  
  383. .ngg-gallery-list li a {
  384. border:1px solid #CCCCCC;
  385. display:block;
  386. padding:2px;
  387. }
  388.  
  389. .ngg-gallery-list li.selected a{
  390. -moz-background-clip:border;
  391. -moz-background-inline-policy:continuous;
  392. -moz-background-origin:padding;
  393. background:#000000 none repeat scroll 0 0;
  394. }
  395.  
  396. .ngg-gallery-list li img {
  397. height:40px;
  398. width:40px;
  399. }
  400.  
  401. li.ngg-next, li.ngg-prev {
  402. height:40px;
  403. width:40px;
  404. font-size:3.5em;
  405. }
  406.  
  407. li.ngg-next a, li.ngg-prev a {
  408. padding-top: 10px;
  409. border: none;
  410. text-decoration: none;
  411. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement