commoncss.css
3.08 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
/********************************************初始化样式*/
/********************************************公共样式*/
html,body{
background-color: #f6f7fb;
min-width: 1200px;
font-family:”微软雅黑”;
}
ul,li{
list-style: none;
padding-left: 0;
}
.float-left{
float: left;
}
.float-right{
float: right;
}
.cursorpointer{
cursor: pointer;
}
.display-none{
display: none;
}
.boxshadow{
-moz-box-shadow:0 0 24px rgba(0,0,0,0.07); /* 老的 Firefox */
box-shadow:0 0 24px rgba(0,0,0,0.07);
}
/********************************************头部公共样式*/
header{
width: 100%;
height: 90px;
line-height: 90px;
background-color: #fff;
box-shadow: 0 2px 15px rgba(0,0,0,.1);
}
.nav-bar-wrap{
width: 1200px;
margin: 0 auto;
}
.login-name{
font-size: 34px;
color: #4886ff;
}
.login-name span:nth-of-type(2){
font-size: 14px;
color: rgba(0,0,0,.5);
}
.nav-bar-container li{
float: left;
width: 80px;
height: 90px;
line-height: 90px;
border-bottom: 4px solid #fff;
margin-left: 80px;
display: inline-block;
text-align: center;
}
.nav-bar-container li a{
font-size: 16px;
color: #363d5d;
}
.nav-bar-container li.navbar-active{
border-bottom: 4px solid #4886ff;
}
.nav-bar-container li.navbar-active a{
color:#4886ff ;
}
/********************************************内容公共样式*/
.main-con{
width: 1200px;
margin: 30px auto;
}
/*
================================
overflow 公共
================================
*/
.overflowhidden{
overflow: hidden;
}
.overflowhidden-y{
overflow-y:auto;
}
/*不换行 省略号*/
.hidden-nowrap{
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.displayinline{
display: inline-block;
}
/*
================================
定位 公共
================================
*/
.pos-rel{
position: relative;
}
.pos-abs{
position: absolute;
}
/*
================================
字体颜色 公共
================================
*/
.form-control,.btn-default{
color: rgba(0,0,0,.5) !important;
}
/*
================================
flex 公共
================================
*/
.common-display-flex{
display: -webkit-box; /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
}
.common-perflex{
flex:1;
}
/*
================================
@主题样式
鼠标 公共
================================
*/
.cursor-pointer{
cursor: pointer;
}
.display-inlineblock{
display: inline-block;
}
.vertical-align-middle{
vertical-align: middle;
}
/*bootstrap table 表头样式*/
/*
table 无border
*/
.fixed-table-container{
border:none;
}
/*
table 样式
*/
.table>thead>tr>th {
vertical-align: middle !important;
}
.fixed-table-container thead th {
border-left: none !important;
}
.fixed-table-container thead th {
border-left: none !important;
}
.fixed-table-container tbody td {
border-left: none !important;
}