PluginProbe
Catch Gallery / 1.3
Catch Gallery v1.3
trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.5 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 All 27 releases
catch-gallery / css / tiled-gallery.css

tiled-gallery.css in Catch Gallery 1.3, at css/tiled-gallery.css

86 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* =Tiled Gallery Default Styles
2 -------------------------------------------------------------- */
3
4 .tiled-gallery {
5 clear: both;
6 margin: 0;
7 overflow: hidden;
8 }
9 .tiled-gallery img {
10 margin: 2px !important; /* Ensure that this value isn't overridden by themes that give content images blanket margins */
11 }
12 .tiled-gallery .gallery-group {
13 float: left;
14 position: relative;
15 }
16 .tiled-gallery .tiled-gallery-item {
17 float: left;
18 margin: 0;
19 position: relative;
20 width: inherit; /* prevents ie8 bug with inline width styles */
21 }
22 .tiled-gallery .gallery-row {
23 overflow: hidden;
24 margin-bottom: 2px;
25 }
26 .tiled-gallery .tiled-gallery-item a { /* Needs to reset some properties for theme compatibility */
27 background: transparent;
28 border: none;
29 color: none;
30 margin: 0;
31 padding: 0;
32 text-decoration: none;
33 width: auto;
34 }
35 .tiled-gallery .tiled-gallery-item img,
36 .tiled-gallery .tiled-gallery-item img:hover { /* Needs to reset some properties for theme compatibility */
37 background: none;
38 border: none;
39 box-shadow: none;
40 max-width: 100%;
41 padding: 0;
42 vertical-align: middle;
43 }
44 .tiled-gallery-caption { /* Captions */
45 background: #eee;
46 background: rgba( 255,255,255,0.8 );
47 color: #333;
48 font-size: 13px;
49 font-weight: 400;
50 overflow: hidden;
51 padding: 10px 0;
52 position: absolute;
53 bottom: 0;
54 text-indent: 10px;
55 text-overflow: ellipsis;
56 width: 100%;
57 white-space: nowrap;
58 }
59 .tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption { /* Smaller captions */
60 font-size: 11px;
61 }
62
63
64 /* =Greyscale
65 -------------------------------------------------------------- */
66
67 .tiled-gallery .tiled-gallery-item img.grayscale {
68 position: absolute;
69 left: 0;
70 top: 0;
71 }
72 .tiled-gallery .tiled-gallery-item img.grayscale:hover {
73 opacity: 0;
74 }
75
76
77 /* =Circles Layout
78 -------------------------------------------------------------- */
79
80 .tiled-gallery.type-circle .tiled-gallery-item img {
81 border-radius: 50% !important; /* Ensure that circles are displayed in themes that add border-radius to all images as a default */
82 }
83 .tiled-gallery.type-circle .tiled-gallery-caption {
84 display: none;
85 opacity: 0;
86 }