wide/static/css/dialog.css

99 lines
1.9 KiB
CSS
Raw Normal View History

2014-11-12 18:13:14 +03:00
/*
* Copyright (c) 2014, B3log
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* dialig style
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 0.0.0.6, Jun 3, 2012
*/
.dialog-background {
height: 100%;
left: 0;
opacity: .3;
position: absolute;
top: 0;
width: 100%;
filter: alpha(opacity=30);
display: none;
background-color: #000000;
2014-10-20 18:27:19 +04:00
z-index: 99;
}
.dialog-panel {
position: absolute;
z-index: 100;
display: none;
-moz-user-select: none;
user-select: none;
}
.dialog-title {
float: left;
line-height: 22px;
margin-left: 3px;
color: #000;
}
.dialog-header-bg {
height: 23px;
background-color: #CCD5E5;
cursor: move;
width: 100%;
border: 1px solid #9B9B9B;
border-top-color: #8E97A7;
border-bottom-color: #8891A1;
}
.dialog-close-icon {
float: right;
2014-09-24 07:35:03 +04:00
margin: 3px;
text-decoration: none;
}
.dialog-main {
border: 1px solid #9B9B9B;
border-top-width: 0px;
background-color: #F0F0F0;
}
.dialog-main > div {
width: 100%;
}
.dialog-footer {
padding: 10px;
text-align: right;
}
2014-11-01 07:36:42 +03:00
.dialog-footer button,
#dialogCloseEditor button {
2014-10-20 18:27:19 +04:00
margin: 0 5px;
}
#dialogRemoveConfirm,
2014-09-24 07:35:03 +04:00
.dialog-prompt,
.dialog-form,
2014-09-24 07:35:03 +04:00
#dialogAlert {
2014-10-20 18:27:19 +04:00
padding: 10px 15px 0;
overflow: hidden;
}
.dialog-main input {
width: 100%;
margin: 2px auto;
}