Theme properties are more visible

pull/708/head
Alexis Degrugillier 10 years ago
parent ec55aa94bf
commit 91388c5b76
  1. 4
      app/views/configure/display.phtml
  2. 25
      p/themes/base-theme/template.css

@ -38,7 +38,9 @@
<?php } ?> <?php } ?>
</div> </div>
<div class="properties"> <div class="properties">
<?php echo $theme['name'] . ' — ' . _t('by') . ' ' . $theme['author']?> <div><?php echo sprintf('%s - %s %s', $theme['name'], _t('by'), $theme['author']) ?></div>
<div><?php echo $theme['description'] ?></div>
<div class="page-number"><?php echo sprintf('%d/%d', $i, $slides) ?></div>
</div> </div>
</li> </li>
<?php $i++ ?> <?php $i++ ?>

@ -692,6 +692,7 @@ br + br + br {
position: relative; position: relative;
min-width: 260px; min-width: 260px;
max-width: 640px; max-width: 640px;
margin-bottom: 30px;
} }
.slides * { .slides * {
user-select: none; user-select: none;
@ -740,26 +741,19 @@ br + br + br {
padding: 0; padding: 0;
} }
.properties { .properties {
bottom: 15px; bottom: -35px;
position: absolute;
width: 100%;
display: none; display: none;
left: 15%; }
padding: 5px; .properties .page-number {
right: 0;
top: 0;
position: absolute; position: absolute;
text-align: center;
width: 70%;
font-size: 15pt;
text-shadow: 0px 0px 15px rgb(119, 119, 119);
border-radius: 5px;
box-shadow: 5px 5px 10px;
border: 1px solid;
background-color: #fff;
} }
.slide:hover + .nav label { .slide:hover + .nav label {
opacity: 0.5; opacity: 0.5;
} }
.slide:hover ~ .properties {
display: block;
}
.nav label:hover { .nav label:hover {
opacity: 1; opacity: 1;
} }
@ -774,6 +768,9 @@ input:checked + .slide-container .slide {
input:checked + .slide-container .nav label { input:checked + .slide-container .nav label {
display: block; display: block;
} }
input:checked + .slide-container .properties {
display: block;
}
/*=== DIVERS */ /*=== DIVERS */
/*===========*/ /*===========*/

Loading…
Cancel
Save