Skip to content

Commit

Permalink
#890 Styles for the new contacts page
Browse files Browse the repository at this point in the history
  • Loading branch information
duker33 committed Jun 24, 2019
1 parent 997c7a0 commit cb6024a
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
3 changes: 3 additions & 0 deletions front/less/common/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
@c-article-img-border: #cbd1d7;
@c-article-img-shadow: #bec3c6;

// Icon colors
@c-icon-blue: #2b6988;

// Other colors
@c-price-border-color: #dddddd;

Expand Down
41 changes: 41 additions & 0 deletions front/less/pages/contacts.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.contacts-department {
width: 100%;
height: 288px;
background-color: @c-white;

& .text {
display: inline-block;
vertical-align: top;
width: 45%;
padding: 55px 0 0 40px;
background-color: white;

& ul.items {
list-style: None;
line-height: 19px;

& li {
margin-bottom: 15px;

& .fa {
padding-right: 12px;
}

& a {
color: inherit;
text-decoration: none;
}
}
}
}

& .map {
display: inline-block;
width: 54%;
height: 288px;
}

&-details {
margin-top: 20px;
}
}
4 changes: 4 additions & 0 deletions templates/pages/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

<div class="col-sm-9 right-col">
<h1>{{ page.display.h1 }}</h1>
{% comment %}
@todo #890:60m Remove date_published outside of base template.
Pages whose are needed at date_pubslished should use it explicitly.
{% endcomment %}
{% if page.type != 'navigation' and page.date_published %}
<p class="date-pub-article">
{{ page.date_published|date:'d.m.Y' }}
Expand Down

0 comments on commit cb6024a

Please sign in to comment.