publiccode.si/public/css/modals.css

82 lines
1.6 KiB
CSS
Raw Normal View History

2017-03-15 23:49:28 +01:00
/*!
* The code below adds the modal functionality of the Freelancer Bootstrap Theme
* and was originally part of this theme.
*
*
* Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
overflow-x: hidden;
}
.img-centered {
margin: 0 auto;
}
2017-03-20 13:37:30 +01:00
.resources-modal .modal-content {
2017-03-15 23:49:28 +01:00
padding: 100px 0;
min-height: 100%;
border: 0;
border-radius: 0;
text-align: center;
background-clip: border-box;
-webkit-box-shadow: none;
box-shadow: none;
}
2017-03-20 13:37:30 +01:00
.resources-modal .modal-content h2 {
2017-03-15 23:49:28 +01:00
margin: 0;
font-size: 3em;
}
2017-03-20 13:37:30 +01:00
.resources-modal .modal-content img {
2017-03-15 23:49:28 +01:00
margin-bottom: 30px;
}
2017-03-20 13:37:30 +01:00
.resources-modal .modal-content .item-details {
2017-03-15 23:49:28 +01:00
margin: 30px 0;
}
2017-03-20 13:37:30 +01:00
.resources-modal .close-modal {
2017-03-15 23:49:28 +01:00
position: absolute;
top: 25px;
right: 25px;
width: 75px;
height: 75px;
background-color: transparent;
cursor: pointer;
}
2017-03-20 13:37:30 +01:00
.resources-modal .close-modal:hover {
2017-03-15 23:49:28 +01:00
opacity: .3;
}
2017-03-20 13:37:30 +01:00
.resources-modal .close-modal .lr {
2017-03-15 23:49:28 +01:00
z-index: 1051;
width: 1px;
height: 75px;
margin-left: 35px;
background-color: #2c3e50;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
2017-03-20 13:37:30 +01:00
.resources-modal .close-modal .lr .rl {
2017-03-15 23:49:28 +01:00
z-index: 1052;
width: 1px;
height: 75px;
background-color: #2c3e50;
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
2017-03-20 13:37:30 +01:00
.resources-modal .modal-backdrop {
2017-03-15 23:49:28 +01:00
display: none;
opacity: 0;
}