forked from Qoto/image-gallery-reloaded
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage-gallery-reloaded-style.php
80 lines (79 loc) · 2.3 KB
/
image-gallery-reloaded-style.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
$options = get_option('igr_options');
?>
<style type="text/css" media="screen" rel="stylesheet">
.galleria
{
height:<?php echo $options['total_height']; ?>px;
}
.galleria-container
{
background:#<?php echo $options['color_background']; ?>;
}
.galleria-stage
{
left: <?php echo $options['gallery_border_width']; ?>px;
right: <?php echo $options['gallery_border_width']; ?>px;
top: <?php echo $options['gallery_border_top_height']; ?>px;
bottom: <?php echo $options['gallery_border_bottom_height']; ?>px;
}
.galleria-thumbnails-container
{
left:<?php echo $options['gallery_border_width']; ?>px;
right:<?php echo $options['gallery_border_width']; ?>px;
}
.galleria-thumbnails .galleria-image
{
border: 1px solid #<?php echo $options['color_thumb_border']; ?>;
height:<?php echo $options['thumb_height']; ?>px;
width:<?php echo $options['thumb_width']; ?>px;
}
.galleria-info-link
{
background-color: #<?php echo $options['color_infolink_background']; ?>;
}
.galleria-info-text
{
background-color: #<?php echo $options['color_infolink_background']; ?>;
}
.galleria-lightbox-shadow
{
background:#<?php echo $options['color_lightbox_border']; ?>;
}
.galleria-lightbox-content
{
background-color:#<?php echo $options['color_lightbox_background']; ?>;
left:<?php echo $options['lightbox_border_width']; ?>px;
right:<?php echo $options['lightbox_border_width']; ?>px;
top:<?php echo $options['lightbox_border_width']; ?>px;
bottom:<?php echo $options['lightbox_border_width']; ?>px;
}
.galleria-thumb-nav-right
{
background-color:#<?php echo $options['color_carusel_arrows_background']; ?>;
}
.galleria-thumb-nav-left
{
background-color:#<?php echo $options['color_carusel_arrows_background']; ?>;
}
.galleria-lightbox-image
{
left:0;
right:0;
bottom:30px;
top:0;
}
<?php if ($options['igr_thumb_event_type'] == 'mouseover' ) : ?>
.galleria-carousel .galleria-thumb-nav-left, .galleria-carousel .galleria-thumb-nav-right
{
display:none;
}
.galleria-carousel .galleria-thumbnails-list {
margin-left: <?php echo $options['gallery_border_width']; ?>px;
margin-right: <?php echo $options['gallery_border_width']; ?>px;
}
<?php endif; ?>
<?php if (!empty($options['custom_css']) ) : ?>
<?php echo $options['custom_css']; ?>
<?php endif; ?>
</style>