Some on vote page styling

This commit is contained in:
Olivier PEREZ 2015-04-11 17:56:49 +02:00
parent faca65b510
commit 7e1f7f026a
2 changed files with 30 additions and 14 deletions

View File

@ -26,20 +26,20 @@ body {
.trait { /* hr */ .trait { /* hr */
background-color: #EEE; background-color: #EEE;
height: 11px; height: 5px;
margin:15px 0px; margin: 5px 0;
border:none; border: none;
} }
.ombre { .ombre {
background-color: #FFF; background-color: #FFF;
box-shadow: -4px 6px 9px rgba(50, 50, 50, 0.5); box-shadow: -4px 6px 9px rgba(50, 50, 50, 0.5);
margin:30px auto; margin: 15px auto 30px;
} }
/* Commentaires */ /* Commentaires */
div.comment{ div.comment{
margin-top: 10px; margin-bottom: 10px;
border-left: 1px dashed #999; border-left: 1px dashed #999;
background: #F5F5F5; background: #F5F5F5;
padding-top: 4px; padding-top: 4px;
@ -53,8 +53,20 @@ a:focus { /* a11y */
outline:#000 dotted 1px; outline:#000 dotted 1px;
} }
main, header, footer, .container .jumbotron { header, footer {
padding:24px 30px; }
main {
margin-top: 20px;
}
header h1 {
margin-top: 0;
}
.container {
padding:30px;
}
.container .jumbotron {
padding:20px 20px;
border-radius: 2px;
} }
.summary h4 { .summary h4 {
@ -69,6 +81,10 @@ main, header, footer, .container .jumbotron {
max-width:100px; max-width:100px;
} }
.alert {
border-radius: 2px;
}
/* Effet sur les images en page d'accueil */ /* Effet sur les images en page d'accueil */
.opacity img { .opacity img {
opacity: 0.8; opacity: 0.8;
@ -285,19 +301,19 @@ table.results .btn-link.btn-sm {
} }
.yes .btn { .yes .btn {
border-bottom-right-radius:0px !important; border-bottom-right-radius:0 !important;
border-bottom-left-radius:0px !important; border-bottom-left-radius:0 !important;
margin-bottom:-1px !important; margin-bottom:-1px !important;
margin-top:4px !important; margin-top:4px !important;
} }
.ifneedbe .btn { .ifneedbe .btn {
border-radius:0px; border-radius: 0;
} }
.no .btn{ .no .btn{
border-top-right-radius:0px !important; border-top-right-radius:0 !important;
border-top-left-radius:0px !important; border-top-left-radius:0 !important;
margin-bottom:4px !important; margin-bottom:4px !important;
margin-top:-1px !important; margin-top:-1px !important;
} }
@ -331,7 +347,7 @@ table.results .btn-link.btn-sm {
#selected-days legend input { #selected-days legend input {
box-shadow: none; box-shadow: none;
border-width:0px; border-width:0;
color: #333; color: #333;
font-size: 21px; font-size: 21px;
border-radius:0; border-radius:0;

View File

@ -18,7 +18,7 @@
{* Add comment form *} {* Add comment form *}
{if $active && !$expired} {if $active && !$expired}
<div class="hidden-print alert alert-info"> <div class="hidden-print jumbotron">
<div class="col-md-6 col-md-offset-3"> <div class="col-md-6 col-md-offset-3">
<fieldset id="add-comment"><legend>{__('Comments', 'Add a comment to the poll')}</legend> <fieldset id="add-comment"><legend>{__('Comments', 'Add a comment to the poll')}</legend>
<div class="form-group"> <div class="form-group">