forked from xu-yong/wx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wx.css
44 lines (42 loc) · 2.8 KB
/
wx.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* wx.css
*
* 框架里所需要使用的css样式
*
* @author xuyong <xuyong@ucfgroup.com>
* @createTime 2014-03-18
* @projectHome https://github.com/xu-yong/wx
*
* Released under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
/*
弹框
*/
.pop-bg {background: url(../images/common/bg-pop.png); left: 0; position: absolute; top: 0; z-index: 20; }
.pop-container{position: absolute; z-index:21;}
.ui-dialog {*zoom:1; _float: left; position: relative; background-color: #FFF; border: 1px solid #999; border-radius: 6px; outline: 0; font-size: 14px; color: #333; width:300px; }
.ui-dialog-title {margin: 0; line-height: 1.428571429; min-height: 16.428571429px; padding: 15px; overflow:hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: bold; }
.ui-dialog-header {white-space: nowrap; border-bottom: 1px solid #E5E5E5; }
.ui-dialog-body {padding: 20px; text-align: center; }
.ui-dialog-content {display: inline-block; position: relative; vertical-align: middle; *zoom: 1; *display: inline; text-align: left; word-break: break-all; }
.ui-dialog-close {position: relative; _position: absolute; float: right; top: 13px; right: 13px; _height: 26px; padding: 0 4px; font-size: 21px; font-weight: bold; line-height: 1; color: #000; text-shadow: 0 1px 0 #FFF; opacity: .2; filter: alpha(opacity=20); cursor: pointer; background: transparent; _background: #FFF; border: 0; -webkit-appearance: none; }
.ui-dialog-close:hover,
.ui-dialog-close:focus {color: #000000; text-decoration: none; cursor: pointer; outline: 0; opacity: 0.5; filter: alpha(opacity=50); }
.ui-dialog-button {float: right; white-space: nowrap; }
.ui-dialog-footer button+button {margin-bottom: 0; margin-left: 5px; }
.ui-dialog-footer button {width:auto; overflow:visible; display: inline-block; padding: 6px 12px; _margin-left: 5px; margin-bottom: 0; font-size: 14px; font-weight: normal; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; background-image: none; border: 1px solid transparent; border-radius: 4px; }
.ui-dialog-footer button {background-color: #FFFFFF; border-color: #CCCCCC; color: #333333; }
.ui-dialog-footer {padding: 0 15px 15px; }
.ui-dialog-footer button.ui-dialog-autofocus {color: #ffffff; background-color: #428bca; border-color: #357ebd; }
.ui-dialog-footer button.ui-dialog-autofocus:hover,
.ui-dialog-footer button.ui-dialog-autofocus:focus,
.ui-dialog-footer button.ui-dialog-autofocus:active {color: #ffffff; background-color: #3276b1; border-color: #285e8e; }
.ui-dialog-footer button:hover,
.ui-dialog-footer button:focus,
.ui-dialog-footer button:active {color: #333333; background-color: #ebebeb; border-color: #adadad; }
/*
IE10以下对placeholder的支持
*/
.wx-placeholder{color:gray; padding-left: 10px; padding-top: 10px; display: none;}
.wx-inputErrBorder{border-color: red;}