You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.9 KiB
91 lines
1.9 KiB
/*
|
|
* # Semantic Modal
|
|
* http://github.com/quirkyinc/semantic
|
|
*
|
|
*
|
|
* Copyright 2013 Contributors
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
* Released: Aug 05, 2013
|
|
*/
|
|
/*******************************
|
|
Modal
|
|
*******************************/
|
|
.ui.modal {
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 1001;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-left: -400px;
|
|
width: 800px;
|
|
-webkit-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8);
|
|
-moz-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8);
|
|
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8);
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
border-radius: 5px;
|
|
}
|
|
/*******************************
|
|
Content
|
|
*******************************/
|
|
/*--------------
|
|
Close
|
|
---------------*/
|
|
.ui.modal > .close {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
opacity: 0.8;
|
|
font-size: 1.25em;
|
|
top: -1.75em;
|
|
right: -1.75em;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.modal > .close:hover {
|
|
opacity: 1;
|
|
}
|
|
/*--------------
|
|
Header
|
|
---------------*/
|
|
.ui.modal > .header {
|
|
background-color: #442359;
|
|
padding: 1em 2em;
|
|
-webkit-border-radius: 0.325em 0.325em 0px 0px;
|
|
-moz-border-radius: 0.325em 0.325em 0px 0px;
|
|
border-radius: 0.325em 0.325em 0px 0px;
|
|
}
|
|
.ui.modal > .header h2 {
|
|
margin: 0px;
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
color: #FFFFFF;
|
|
}
|
|
/*--------------
|
|
Content
|
|
---------------*/
|
|
.ui.modal > .content {
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding: 2em;
|
|
background-color: #FAFAFA;
|
|
-webkit-border-radius: 0px 0px 0.325em 0.325em;
|
|
-moz-border-radius: 0px 0px 0.325em 0.325em;
|
|
border-radius: 0px 0px 0.325em 0.325em;
|
|
}
|
|
.ui.modal > .content > .left {
|
|
float: left;
|
|
width: 50%;
|
|
}
|
|
.ui.modal > .content > .right {
|
|
float: right;
|
|
width: 50%;
|
|
}
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
/* A modal that cannot fit on the page */
|
|
.ui.modal.scrolling {
|
|
position: absolute;
|
|
margin-top: 100px;
|
|
}
|