datamad2017/_sass/partials/_modal.scss

115 lines
2.3 KiB
SCSS
Raw Normal View History

$modal-color: #757575;
$modal-highlight-color: #212121;
.modal {
2015-03-09 21:59:15 +01:00
z-index: 1050;
.icon-cross {
width: 19px;
height: 19px;
outline: none;
fill: $modal-highlight-color;
}
.close-mask {
position: absolute;
width: 19px;
height: 19px;
margin-top: -19px;
}
h4 {
font-size: 35px;
font-weight: $regular;
color: $modal-highlight-color;
@media (max-width: 767px) {
font-size: 29px;
}
}
}
2015-03-09 21:59:15 +01:00
.modal-backdrop {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 1040;
}
.modal-content {
border-radius: 4px;
box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
}
.modal-dialog {
@media (min-width: 768px) {
width: 740px;
margin-top: 100px;
}
}
.modal-body {
padding: 16px 31px;
color: $modal-color;
}
.people-modal {
.theme-metadata {
font-size: 14px;
margin-right: 10px;
.caption {
color: $modal-highlight-color;
}
}
.theme-video {
margin: 20px 0;
}
.theme-description {
margin: 12px 0 20px;
2015-03-09 21:59:15 +01:00
}
.theme-presentation {
font-size: 15px;
2015-03-09 21:59:15 +01:00
}
.people-details {
.row {
margin-top: 20px;
}
.people-img {
width: 100px;
height: 100px;
margin: 10px;
@media (max-width: 767px) {
width: 120px;
height: 120px;
margin: 10px auto;
}
}
.details {
padding-left: 30px;
@media (max-width: 767px) {
2015-03-09 21:59:15 +01:00
padding: 0;
}
}
.name {
margin-bottom: 9px;
font-size: 17px;
font-weight: $bold;
color: $modal-highlight-color;
}
.position {
font-weight: $regular;
color: $modal-color;
}
.social {
padding: 0;
list-style: none;
@media (max-width: 767px) {
2015-03-09 21:59:15 +01:00
text-align: center;
}
li {
display: inline-block;
padding-right: 3px;
}
2015-03-09 21:59:15 +01:00
}
}
}
.modal-ribbon-wrapper {
margin-bottom: 5px;
.modal-ribbon {
margin-right: 7px;
font-size: 14px;
}
2015-03-09 21:59:15 +01:00
}