1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 01:14:24 +03:00
ifhub.club/application/frontend/skin/developer/components/modal/css/modal.css
2014-10-10 23:29:24 +07:00

127 lines
2.5 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Modals
*
* @module modal
*
* @license GNU General Public License, version 2
* @copyright 2013 OOO "ЛС-СОФТ" {@link http://livestreetcms.com}
* @author Denis Shakhov <denis.shakhov@gmail.com>
*/
/* Base class */
.modal {
display: none;
margin: 50px auto;
position: relative;
min-width: 300px;
max-width: 500px;
color: #333;
border: 1px solid #666;
background-color: #fff;
z-index: 1000;
-webkit-box-shadow: 0 0 15px rgba(0,0,0,.5);
-moz-box-shadow: 0 0 15px rgba(0,0,0,.5);
box-shadow: 0 0 15px rgba(0,0,0,.5);
}
/* Close button */
.modal .modal-close:before,
.modal .close:before { display: block; content: "×"; }
.modal .modal-close,
.modal .close {
position: absolute;
top: 50%;
right: 15px;
margin-top: -13px;
font-size: 26px;
line-height: 1em;
color: #000;
opacity: .3;
filter: alpha(opacity=30);
}
.modal .modal-close:hover,
.modal .close:hover { opacity: .7; filter: alpha(opacity=70); }
/* Header */
.modal-header {
background: #fafafa;
border-bottom: 1px solid #eee;
padding: 15px 20px 13px;
position: relative;
min-height: 10px;
}
.modal-title { font-size: 17px; margin: 0 30px 0 0; color: #000; }
/* Nav */
.modal > .nav { padding: 20px 20px 0; }
/* Content */
.modal .modal-content { padding: 20px; }
/* Lock */
.modal .modal-lock {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #000;
opacity: .2;
filter: alpha(opacity=20);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
/* Footer */
.modal .modal-footer { background: #fafafa; border-top: 1px solid #eee; padding: 15px 20px; text-align: right; }
/* Loader */
.modal-loader {
display: none;
width: 100px;
height: 50px;
margin: -25px 0 0 -50px;
position: fixed;
top: 50%;
left: 50%;
border-radius: 5px;
background-color: #000;
background: rgba(0,0,0,.8) url(../images/loader.gif) 50% 50% no-repeat;
z-index: 1001;
}
.modal-loader.modal-loader-text {
background-image: none;
color: #eee;
text-align: center;
font-size: 13px;
line-height: 1.2em;
padding: 15px;
width: 300px;
margin-left: -150px;
height: auto;
}
/* Overlay */
.modal-overlay {
display: none;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUeNpiYmBgaAAIMAAAjwCD5Hc2/AAAAABJRU5ErkJggg==);;
background: rgba(0,0,0,.5);
z-index: 999;
overflow: auto;
padding: 30px;
}