Skip to content

Commit

Permalink
Estilo perfil candidato: cuestionario.
Browse files Browse the repository at this point in the history
  • Loading branch information
camargozzini committed Sep 12, 2013
1 parent 428e361 commit a24a336
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 14 deletions.
44 changes: 30 additions & 14 deletions elections/static/css/main.css
Expand Up @@ -37,6 +37,7 @@ a:hover {
.btn-lg {
font-size: 14px;
font-family: 'Lato', sans-serif;
padding: 17px 16px;
}

.btn-success {
Expand Down Expand Up @@ -146,9 +147,7 @@ a:hover {
color: #ffd200;
}

/*
profile
*/
/*Perfil candidato*/

.profile-candidate {
background-color: #5e6d82;
Expand All @@ -158,14 +157,13 @@ profile
-moz-border-radius: 5px;
border-radius: 5px;
min-height: 210px;
padding: 20px 20px 0 20px;
}

.img-profile {
padding-bottom: 5px;
}



.container-candidates p {
background: #fff;
padding: 5px;
Expand All @@ -174,6 +172,7 @@ profile
.questionary .panel-heading {
background-color: #323a45;
color: #FFF;
font-weight: 900;
}

.question-answer {
Expand All @@ -185,28 +184,23 @@ profile
}

.question {
font-weight: bold;
font-weight: 900;
}

#footer {
padding-top: 10px;
color: #FFF;
background-color: #323a45;
p.answer i {
color: #9fa7b4;
}


/*Perfil candidato*/

.container-profile {
background: #5e6d82;
border-radius: 6px;
color: #fff;
padding: 20px 20px 0 20px;
margin: auto;
}

.container-profile h3 {
margin-top: 0;
padding: 20px 20px 0 20px;
}

.read-more a, .read-less a {
Expand All @@ -222,6 +216,10 @@ profile
margin: 0;
}

.profile-candidate {
padding: 20px 20px 0 20px;
}

.profile-candidate .table tbody>tr>td {
border-bottom: 1px solid rgba(142, 146, 167, 1);
border-top: none;
Expand Down Expand Up @@ -250,6 +248,24 @@ profile
color: #3ee0cb;
}

.panel-heading {
border-top-right-radius: 6px;
border-top-left-radius: 6px;
}

.panel {
border-radius: 6px;
}

/*Footer*/

#footer {
padding-top: 10px;
color: #FFF;
background-color: #323a45;
}




@media (max-width: 480px) {
Expand Down
20 changes: 20 additions & 0 deletions elections/templates/elections/candidate_detail.html
Expand Up @@ -81,6 +81,26 @@ <h3>{% trans "Cuestionario" %}:</h3>
{% endfor %}


</div>

<div class="questionary">
<h3>Cuestionario</h3>

<div class="panel panel-default">
<div class="panel-heading">Educación</div>
<div class="panel-body">
<div class="question-answer">
<p class="question">
¿Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium?
</p>
<p class="answer">
<i class="icon-quote-left"></i> Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. <i class="icon-quote-right"></i>
</p>
</div>
</div>
</div>


</div>
{% endblock mainelection %}
{% block extrajs %}
Expand Down

0 comments on commit a24a336

Please sign in to comment.