2019-03-15 12:19:23 +01:00

1348 lines
20 KiB
SCSS

$blue: #2BAADA;
.petition_3{
background:white;
h1{
text-transform:uppercase;
font-weight:800;
margin-top:50px;
margin-left:60px;
float:left;
span{
display:inline-block;
font-size:100px;
color:white;
background:rgba($orange,0.9);
padding:0px 15px;
line-height:100px;
margin-bottom:5px;
}
color:white;
font-size:29px;
}
.main_container{
max-width:900px;
padding: 0 20px;
}
.bandeau{
img{
width:100%;
display:block;
}
background:center center no-repeat;
background-size:100%;
background-size:cover;
position:relative;
.petition{
z-index:3;
color:white;
float:right;
max-width:320px;
margin:auto;
padding:0px;
background:rgba(0,0,0,0.6);
border-radius:10px;
font-size:1.1em;
margin-top:20px !important;
margin-right:70px;
margin-bottom:20px !important;
.hash{
font-weight:bold;
color:white;
font-size:1.3em;
text-align:center;
padding-top:30px;
}
.checkbox{
label{
font-size:0.7em;
line-height:0.7em;
}
}
.btn{
margin-top:20px;
text-transform:uppercase;
border:0;
font-size:0.9em;
background:$orange;
}
h2{
display:none;
}
fieldset{
border:0;
}
.input input{
font-size:1em;
padding:5px 10px;
box-sizing: border-box;
width: 100%;
}
.checkbox input{
width:auto;
}
.formtastic select{
box-sizing: border-box;
width: 100%;
}
.form{
margin:0;
padding-top:0px;
padding-left:15px;
padding-right:15px;
}
}
}
.intro{
margin-top:60px;
text-align:justify;
font-size:1.2em;
img{
width:100%;
}
}
.d{
display:inline-block;
background:$orange;
color:white;
font-size:1.2em;
text-transform:uppercase;
margin:20px 20px;
font-weight:bold;
padding:10px 15px;
}
.petition_detail{
background:$blue;
color:white;
p{
margin:15px 0;
}
.main_container{
padding:30px 20px;
font-size:1.2em;
}
}
}
@media screen and (max-width:800px){
.petition_3 .bandeau{
h1{
margin-top:40px;
margin-left:30px;
}
.petition{
float:none;
margin: 20px auto !important;
clear:both;
}
}
}
.petition_socials_links{
text-align:center;
margin:50px -10px;
.link{
display:inline-block;
width:200px;
box-sizing:border-box;
text-align:center;
padding:12px 20px;
position:relative;
margin:0px 20px;
font-size:2.2em;
div{
font-size:15px;
font-weight:bold;
}
color:white;
color:white;
&.twitter{
$d_color:rgba(54,174,218,1);
background: $d_color;
&:hover{
background:lighten( $d_color, 5);
}
}
&.facebook{
$d_color:rgba(60,90,150,1);
background: $d_color;
&:hover{
background:lighten( $d_color, 5);
}
}
}
}
.petition_bottom{
.petition_socials_links{
.link{
max-width:250px;
}
}
}
.petition_large{
.petition_large_content{
padding:40px;
.inner_left,.inner_right{
padding:0 40px;
width:45%;
box-sizing:border-box;
float:left;
}
.inner_left{
padding:0 40px;
width:55%;
img{
float:right;
width:230px;
}
}
.inner_right{
h2{
line-height:1.2em;
text-align:center;
}
img{
margin:20px auto;
}
.sign_now{
text-align:center;
margin:20px 0;
a{
display:inline-block;
padding: 15px 25px;
color:white;
margin:10px;
font-weight:bold;
$sign_color:#c12e2a;
background:#c12e2a;
&:hover{
background:lighten($sign_color, 5);
color:white;
}
&.donate{
color:$orange;
background:transparent;
border:1px solid $orange;
padding: 10px 20px;
&:hover{
background:$orange;
color:white;
}
}
}
p{margin-top:5px;}
}
}
}
}
.donate_block{
margin:10px 20px;
margin-bottom:100px;
.inner{
padding:0 40px;
width:50%;
box-sizing:border-box;
text-align:center;
margin:auto;
a.d{
font-weight:bold;
display:inline-block;
margin-top:30px;
font-size:1em;
padding: 10px 20px;
border:2px solid $orange;
color:$orange;
&:hover{
background:$orange;
color:white;
}
}
}
}
.petition_top{
background:center center no-repeat;
background-size:100%;
background-size:cover;
height:350px;
max-width:700px;
}
.petition_form_inner{
background:center center no-repeat;
background-size:100%;
background-size:cover;
padding:50px;
}
.petition{
margin:50px;
box-shadow:0 0 20px rgba(0,0,0,0.1);
background:white;
border-radius:5px;
overflow:hidden;
img{
width:400px;
float:left;
}
.content{
float:left;
position:relative;
width:60%;
background:white;
.inner{
max-width:500px;
margin:auto;
padding:50px 20px;
}
}
.guillemet{
font-family:palatino;
opacity:0.6;
font-size:3em;
position:absolute;
&.top_corner{
top:5px;
left:30px;
padding-top:15px;
padding-left:5px;
}
&.bottom_corner{
bottom:15px;
right:30px;
}
}
.form{
//color:white;
//background:$orange;
padding:20px 40px;
margin-left:60%;
#petition_signator_newsletter_input{
input{
display:inline;
width:auto;
margin-right:5px;
}
label{
display:inline;
}
}
h2{
text-align:center;
color:#c12e2a;
}
fieldset{
border:0;
padding:0;
margin:0;
}
.form-group{
padding-bottom:10px;
}
.has-error{
color:red;
input{
border-color:red;
}
}
input{
box-sizing:border-box;
width:100%;
font-size:0.9em;
padding:10px 10px;
border:1px solid rgba(200,200,200,1);
}
select{
height: 35px;
line-height: 35px;
width:100%;
font-size:1.2em;
}
.btn{
margin-top:20px;
display:inline-block;
padding:10px 20px;
width:auto;
font-size:1em;
border-radius:0;
cursor:pointer;
color:white;
$sign_color:#c12e2a;
background:#c12e2a;
padding: 15px 25px;
font-weight:bold;
border:0;
&:hover{
background:lighten($sign_color, 5);
color:white;
}
&:btn-primary{
}
}
}
}
.petition_line{
width:33.33%;
float:left;
box-sizing:border-box;
padding:15px;
margin-bottom:20px;
.petition_line_inner{
position:relative;
background:white;
padding-bottom:100px;
}
text-align:center;
.signatures_count{
margin-top:5px;
text-align:center;
}
.petition_top{
margin:0;
max-width:1200;
}
.inner{
margin:0;
padding:0 20px;
padding-top:20px;
}
.bot{
position:absolute;
bottom:0;
left:0;
right:0;
margin:20px 0;
}
h2{
font-size:1.2em;
line-height:1.2em;
}
a{
display:inline-block;
color:white;
padding:10px 20px;
background: #E94F25;
&:hover{
color:white;
}
}
&:nth-child(odd){
.inner{
&:after{
display:none;
content: '';
position: absolute;
border: 15px solid transparent;
top: -30px;
right: 40%;
border-color: transparent;
border-left-color: white;
}
}
}
}
.menu_item_top{
background:center center no-repeat;
background-size:100%;
background-size:cover;
min-height:450px;
position:relative;
margin:auto;
max-width:980px;
margin-top:20px;
margin-bottom:20px;
box-shadow:0 0 40px rgba(0,0,0,0.3);
h1{
color:white;
position:absolute;
bottom:50px;
right:20px;
text-align:right;
font-size:2.4em;
}
&.principal{
//min-height:600px;
}
}
.right_images{
display:none;
}
.new_petition{
padding-top:20px;
.right_images{
display:block;
float:none;
}
.left_pad{
.petition_with{
text-align:center;
padding:20px 0;
padding-top:0;
}
float:left;
width:65%;
.donate_block .inner{
width:auto;
}
.petition.petition_left{
margin:0;
margin-bottom:50px;
.content{
width:auto;
.inner{
max-width:2000px;
padding:50px 70px;
}
}
}
}
position:relative;
.right_pad{
width:35%;
position:absolute;
margin-top:20px;
top:0;
right:0;
.right_images{
padding-top:9px;
text-align:center;
padding-left:5px;
padding-right:5px;
img{
display:inline-block !important;
float:none !important;
width:48%;
margin:0 1%;
}
&.one{
img{
width:98%;
}
}
}
.content_right_petition{
display:none;
}
.petition{
margin:0 20px;
overflow:visible;
position:relative;
padding-bottom:20px;
.content{
background:$orange;
color:white;
float:none;
width:auto;
display:none;
text-align:center;
}
.form{
margin:0;
padding:10px 20px;
h2{
//position:absolute;
//top:-20px;
//right:-10px;
//padding:10px 20px;
//background:white;
//color:$orange;
//box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
//transform: rotate(10deg);
}
}
}
}
}
.content_right_petition{
display:none;
}
#petition_19_top{
background: url('') no-repeat left center black ;
background-size:100%;
background-size:cover;
padding:60px 10px;
color:white;
text-align:center;
font-weight:900;
img{
max-width:230px;
width:90%;
}
p{
font-size:1.4em;
line-height:1.2em;
}
h2{
font-size:1.6em;
}
.flip-clock-wrapper{
width:auto;
display:inline-block;
}
.clock{
zoom: 1.5;
-moz-transform: scale(1.5);
margin-top:10px;
margin-bottom:-15px;
}
}
#petition_19_body{
padding:30px 10px;
.petition_socials_links .link div{
font-weight:400;
}
.petition_socials_links{
margin:20px 10px;
margin-bottom:10px;
}
h1{
margin-top:40px;
font-size:1em;
}
p.cta{
text-align:center;
text-transform:uppercase;
font-weight:900;
}
.intro{
max-width:600px;
margin:auto;
}
.petition{
z-index:3;
color:white;
float:none;
max-width:320px;
margin:inherit;
padding:0px;
background:rgba(0,0,0,0.8);
border-radius:10px;
font-size:1.1em;
margin-top:20px !important;
margin-bottom:20px !important;
.title{
text-transform:uppercase;
font-size:1.3em;
text-align:center;
margin-top:20px;
margin-bottom:-15px;
}
.checkbox{
label{
font-size:0.7em;
line-height:0.7em;
}
}
.btn{
margin-top:20px;
text-transform:uppercase;
border:0;
font-size:0.9em;
background:$orange;
}
h2{
display:none;
}
fieldset{
border:0;
}
.input input{
font-size:1em;
padding:5px 10px;
box-sizing: border-box;
width: 100%;
}
.checkbox input{
width:auto;
}
.formtastic select{
box-sizing: border-box;
width: 100%;
}
.form{
margin:0;
padding-top:0px;
padding-left:15px;
padding-right:15px;
}
}
}
#petition_19_dons{
background: url('') no-repeat center center black ;
background-size:100%;
background-size:cover;
padding:60px 10px;
margin-bottom:60px;
text-align:center;
h2{
color:white;
background:rgba(0,0,0,0.9);
padding:12px 20px;
display:inline-block;
font-weight:400;
}
.ligne_dons{
text-align:center;
max-width:1000px;
margin:auto;
input{
padding:5px 8px;
border:1px solid black;
margin-top:4px;
}
}
.lien_don{
float:left;
width:25%;
box-sizing:border-box;
padding:0 1.5%;
text-decoration:none !important;
.content{
position:relative;
.bot{
position:absolute;
bottom:15px;
left:0;
right:0;
}
margin:0 auto;
margin-top:30px;
max-width:230px;
text-decoration:none !important;
img{
max-width:100%;
width:100%;
}
.desc{
background:#F07F28;
color:white;
padding:12px 15px;
position:relative;
text-decoration:none !important;
font-size:0.8em;
font-weight:400;
padding-bottom:60px;
.price{
font-size:1em;
line-height:1.3em;
padding-bottom:5px;
}
.btn{
display: inline-block;
color: white;
border: 0px solid;
text-transform: uppercase;
font-weight: 900;
padding: 8px 12px;
margin: 0 5px;
text-decoration: none;
margin-top:15px;
font-size:0.9em;
color:white;
border:2px solid white;
}
}
}
}
}
#petition_21_top{
background: url('') no-repeat left center black ;
background-size:100%;
background-size:cover;
padding:0px;
color:white;
text-align:center;
font-weight:900;
.inner{
//max-width:1150px;
//margin:auto;
}
img{
//max-height:480px;
display:block;
margin:auto;
width:100%;
}
h2{
font-size:1.6em;
display:none;
}
}
#petition_21_body{
.soutiens{
text-align:center;
color:rgba(0,0,0,0.6);
font-size:0.9em;
p:first-child{
margin-bottom:5px;
}
p:last-child{
margin-top:0px;
}
img{
max-height:60px;
}
}
padding:30px 10px;
.petition_socials_links .link div{
font-weight:400;
}
.petition_socials_links{
margin:20px 10px;
margin-bottom:10px;
}
h1{
margin-top:40px;
font-size:1em;
}
p.cta{
text-align:center;
text-transform:uppercase;
font-weight:900;
}
.intro{
max-width:600px;
margin:auto;
}
.petition{
z-index:3;
color:white;
float:none;
max-width:320px;
margin:inherit;
padding:0px;
background:rgba(0,0,0,0.8);
border-radius:10px;
font-size:1.1em;
margin-top:20px !important;
margin-bottom:20px !important;
.title{
text-transform:uppercase;
font-size:1.15em;
text-align:center;
margin-top:20px;
margin-bottom:-15px;
}
.checkbox{
label{
font-size:0.7em;
line-height:0.7em;
}
}
.btn{
margin-top:20px;
text-transform:uppercase;
border:0;
font-size:0.9em;
background:$orange;
}
h2{
display:none;
}
fieldset{
border:0;
}
.input input{
font-size:1em;
padding:5px 10px;
box-sizing: border-box;
width: 100%;
}
.checkbox input{
width:auto;
}
.formtastic select{
box-sizing: border-box;
width: 100%;
}
.form{
margin:0;
padding-top:0px;
padding-left:15px;
padding-right:15px;
}
}
}
#petition_21_dons{
background: url('') no-repeat center center black ;
background-size:100%;
background-size:cover;
padding:60px 10px;
margin-bottom:0px;
text-align:center;
}
@media screen and (max-width: 800px) {
#petition_21_body{
.petition{
float:none;
margin:20px auto !important;
}
}
}
@media screen and (max-width: 600px) {
#petition_19_dons{
.lien_don{
float:none;
width:auto;
}
}
#petition_21_body .petition_socials_links{
a{
display:block;
margin:auto !important;
margin-top:10px !important;
}
}
#petition_21_body{
.petition{
float:none;
margin:20px auto !important;
}
}
}
@media screen and (max-width:950px) {
.new_petition{
padding-top:20px;
.left_pad{
float:none;
width:auto;
}
.right_pad{
position:static;
width:auto;
.right_images.one{
img{
max-height:350px;
width: auto;
max-width:98%;
}
}
.petition{
margin:0;
}
}
}
}
@media screen and (max-width: 400px) {
#petition_19_top{
.clock{
zoom: 0.9 !important;
-moz-transform: scale(0.9) !important;
}
}
}
//New design
#petition_new_design_top{
background: url('') no-repeat left center black ;
background-size:100%;
background-size:cover;
padding:0px;
color:white;
text-align:center;
font-weight:900;
.inner{
//max-width:1150px;
//margin:auto;
}
img{
//max-height:480px;
display:block;
margin:auto;
width:100%;
}
h2{
font-size:1.6em;
display:none;
}
}
#petition_new_design_body{
.soutiens{
text-align:center;
color:rgba(0,0,0,0.6);
font-size:0.9em;
p:first-child{
margin-bottom:5px;
}
p:last-child{
margin-top:0px;
}
img{
max-height:60px;
}
}
padding:30px 10px;
.petition_socials_links .link div{
font-weight:400;
}
.petition_socials_links{
margin:20px 10px;
margin-bottom:10px;
}
h1{
margin-top:40px;
font-size:1em;
}
p.cta{
text-align:center;
text-transform:uppercase;
font-weight:900;
}
.intro{
max-width:600px;
margin:auto;
}
.petition{
z-index:3;
color:white;
float:none;
max-width:320px;
margin:inherit;
padding:0px;
background:rgba(0,0,0,0.8);
border-radius:10px;
font-size:1.1em;
margin-top:20px !important;
margin-bottom:20px !important;
.title{
//text-transform:uppercase;
font-size:1.15em;
text-align:center;
margin-top:20px;
margin-bottom:-15px;
}
.checkbox{
label{
font-size:0.7em;
line-height:0.7em;
}
}
.btn{
margin-top:20px;
text-transform:uppercase;
border:0;
font-size:0.9em;
background:$orange;
}
h2{
display:none;
}
fieldset{
border:0;
}
.input input{
font-size:1em;
padding:5px 10px;
box-sizing: border-box;
width: 100%;
}
.checkbox input{
width:auto;
}
.formtastic select{
box-sizing: border-box;
width: 100%;
}
.form{
margin:0;
padding-top:0px;
padding-left:15px;
padding-right:15px;
}
}
}
#petition_new_design_dons{
background: url('') no-repeat center center black ;
background-size:100%;
background-size:cover;
padding:0px;
margin-bottom:0px;
text-align:center;
img{
display:block;
width:100%;
}
}
@media screen and (max-width: 800px) {
#petition_new_design_body{
.petition{
float:none;
margin:20px auto !important;
}
}
}