show consultation on mobiles

master
fefa4ka 10 years ago
parent 78bc32bd59
commit 921c93d574
  1. 10
      zsite/static/less/consultation.less
  2. 33
      zsite/static/less/service.less
  3. 2
      zsite/static/less/sub_content.less
  4. 2
      zsite/templates/aldryn_people/plugins/feature/people_list.html

@ -73,15 +73,7 @@
} }
.consultation-person { .consultation-person {
@media (min-width: 0) {
display: none;
}
@media (min-width: @screen-tablet) {
display: block;
}
.modal-form { .modal-form {
text-align: right; text-align: right;
} }

@ -61,20 +61,29 @@
} }
.service-calculator { .service-calculator {
@media (min-width: 0) {
margin-top: 5px;
}
@media (min-width: @screen-tablet) {
margin-top: -12px;
}
background-color: #E8EEFC; background-color: #E8EEFC;
border-radius: 5px; border-radius: 5px;
padding: 12px; padding: 12px;
margin-top: -12px;
margin-bottom: 15px; margin-bottom: 15px;
h3 { h3 {
font-weight: 600; font-weight: 600;
margin-top: 0; margin-top: 0;
} }
.description { .description {
margin-bottom: 5px; margin-bottom: 5px;
} }
} }
.bill:after { .bill:after {
@ -444,7 +453,7 @@
font-size: 12px; font-size: 12px;
overflow: hidden; overflow: hidden;
img { img {
margin-bottom: 5px; margin-bottom: 5px;
} }

@ -35,7 +35,7 @@
display: none; display: none;
} }
@media (min-width: @screen-tablet) { @media (min-width: @screen-desktop) {
display: block; display: block;
} }
} }

@ -33,7 +33,7 @@
</a> </a>
</div> </div>
<div class="people-description"> <div class="people-description">
<p><a href="{{ person.get_absolute_url }}">{{ person.name }}</a>, {{ person.function|lower }}, <nobr><em>{% trans 'will give you a detailed advice' %}</em></nobr></p> <p><a href="{{ person.get_absolute_url }}">{{ person.name }}</a>, {{ person.function|lower }}, <em>{% trans 'will give you a detailed advice' %}</em></p>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
var consultation = { var consultation = {

Loading…
Cancel
Save