Fixed modals' background.

This commit is contained in:
Oleh Zasadnyy 2015-03-09 22:59:15 +02:00
parent 5a3217ecd2
commit aed624dc58
10 changed files with 27 additions and 16 deletions

View file

@ -1,7 +1,7 @@
# Plugins # Plugins
gems: gems:
- jekyll-sitemap - jekyll-sitemap
safe: true safe: false
# Build Settings # Build Settings
markdown: kramdown markdown: kramdown

View file

@ -3,6 +3,7 @@
title: "Coffee Break" title: "Coffee Break"
place: "Hall" place: "Hall"
service: true service: true
description: "The best time to talk with speakers and attendees"
- -
id: 503 id: 503
title: "Lunch Break" title: "Lunch Break"

View file

@ -23,7 +23,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% for rightNavigationButton in site.rightNavigationButtons %} {% for rightNavigationButton in site.rightNavigationButtons %}
<a href="{% if rightNavigationButton.permalink != null %} {{ rightNavigationButton.permalink | prepend: site.baseurl }} {% else %} {{ rightNavigationButton.link }} {% endif %}" class="{% if forloop.index == 1 %}right-nav-button-rightest {% endif %}right-nav-button right-nav-button-hidden btn btn-primary waves-effect waves-button waves-light waves-float pull-right hidden-xs hidden-sm" {% if rightNavigationButton.link != null %}target="_blank"{% endif %}> <a href="{% if rightNavigationButton.permalink != null %} {{ rightNavigationButton.permalink | prepend: site.baseurl }} {% else %} {{ rightNavigationButton.link }} {% endif %}" class="right-nav-button right-nav-button-hidden btn btn-primary waves-effect waves-button waves-light waves-float pull-right hidden-xs hidden-sm" {% if rightNavigationButton.link != null %}target="_blank"{% endif %}>
{{ rightNavigationButton.text }} {{ rightNavigationButton.text }}
</a> </a>
{% endfor %} {% endfor %}

View file

@ -63,7 +63,7 @@
<div class="slot-content"> <div class="slot-content">
<h5 class="slot-title" itemprop="name">{{ session.title }}</h5> <h5 class="slot-title" itemprop="name">{{ session.title }}</h5>
{% if session.description != null %} {% if session.description != null %}
<p class="theme-description"><br>{{ session.description }}</p> <p class="service-description">{{ session.description }}</p>
{% endif %} {% endif %}
</div> </div>
</div> </div>

View file

@ -6,7 +6,7 @@
@import "vendor/animate"; @import "vendor/animate";
@import "vendor/waves"; @import "vendor/waves";
// Partialsas // Partials
@import "partials/global"; @import "partials/global";
@import "partials/buttons"; @import "partials/buttons";
@import "partials/helper"; @import "partials/helper";

View file

@ -1,6 +1,7 @@
$modal-color: #757575; $modal-color: #757575;
$modal-highlight-color: #212121; $modal-highlight-color: #212121;
.modal { .modal {
z-index: 1050;
.icon-cross { .icon-cross {
width: 19px; width: 19px;
height: 19px; height: 19px;
@ -22,6 +23,14 @@ $modal-highlight-color: #212121;
} }
} }
} }
.modal-backdrop {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 1040;
}
.modal-content { .modal-content {
border-radius: 4px; border-radius: 4px;
box-shadow: 0 5px 15px rgba(0, 0, 0, .3); box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
@ -49,10 +58,10 @@ $modal-highlight-color: #212121;
} }
.theme-description { .theme-description {
margin: 12px 0 20px; margin: 12px 0 20px;
} }
.theme-presentation { .theme-presentation {
font-size: 15px; font-size: 15px;
} }
.people-details { .people-details {
.row { .row {
margin-top: 20px; margin-top: 20px;
@ -70,7 +79,7 @@ $modal-highlight-color: #212121;
.details { .details {
padding-left: 30px; padding-left: 30px;
@media (max-width: 767px) { @media (max-width: 767px) {
padding: 0; padding: 0;
} }
} }
.name { .name {
@ -87,13 +96,13 @@ $modal-highlight-color: #212121;
padding: 0; padding: 0;
list-style: none; list-style: none;
@media (max-width: 767px) { @media (max-width: 767px) {
text-align: center; text-align: center;
} }
li { li {
display: inline-block; display: inline-block;
padding-right: 3px; padding-right: 3px;
} }
} }
} }
} }
.modal-ribbon-wrapper { .modal-ribbon-wrapper {
@ -102,4 +111,4 @@ $modal-highlight-color: #212121;
margin-right: 7px; margin-right: 7px;
font-size: 14px; font-size: 14px;
} }
} }

View file

@ -143,6 +143,9 @@ nav {
transition: $base-transition; transition: $base-transition;
opacity: 1; opacity: 1;
display: block; display: block;
&:nth-of-type(1) {
margin-right: 65px;
}
a { a {
font-size: $base-font-size * 90 / 100; font-size: $base-font-size * 90 / 100;
} }
@ -151,9 +154,6 @@ nav {
transform: translateY(-50px); transform: translateY(-50px);
} }
} }
.right-nav-button-rightest {
margin: 11px 65px 0 0;
}
.icon-menu { .icon-menu {
width: 20px; width: 20px;
height: 20px; height: 20px;

View file

@ -185,3 +185,6 @@ $small-label-width: 80px;
right: 15px; right: 15px;
top: 20px; top: 20px;
} }
.service-description {
margin-top: 15px;
}

File diff suppressed because one or more lines are too long

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long