Repository navigation
Expand file tree
/
Copy pathdemo.css
More file actions
80 lines (71 loc) · 2.38 KB
/
Copy pathdemo.css
File metadata and controls
80 lines (71 loc) · 2.38 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
@charset "utf-8";
/* reset */
html{color:#000;background:#FFF;font-family: '微软雅黑'}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset, img{border:0;}
address, caption, cite, code, dfn, em, strong, th, var, b, i{font-style:normal;font-weight:normal;}
ol, ul{list-style:none;}
caption, th{text-align:left;}
h1, h2, h3, h4, h5, h6{font-size:100%}
q:before, q:after{content:'';}
abbr, acronym{border:0;font-variant:normal;}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
input, textarea, select{font-family:inherit;font-size:inherit;font-weight:inherit;}
input, textarea, select{#font-size:100%;}
legend{color:#000;}
a{cursor: pointer}
/* 滚动条样式 */
::-webkit-scrollbar-track-piece{
background-color:#f4f4f4;
-webkit-border-radius:0;
}
::-webkit-scrollbar{
width:8px;
height:8px;
}
::-webkit-scrollbar-thumb{
height:50px;
background-color:#999;
-webkit-border-radius:4px;
outline:2px solid #f4f4f4;
outline-offset:-2px;
border: 2px solid #fff;
}
::-webkit-scrollbar-thumb:hover{
height:50px;
background-color:#9f9f9f;
-webkit-border-radius:4px;
}
/* demo css */
.title{text-align: center;font-size: 26px;font-weight: normal;margin: 30px 0}
.editor-container{width:780px;overflow-x: hidden;margin: 0 auto;
border: 1px solid #ededed;
background-color: #f4f4f4;
padding:20px;
border-radius: 5px;
}
.editor-area{float: left;width: 550px; height: 300px;
padding: 10px;
margin: 0 0 10px;
background-color: #fff;
border: #e5e5e5 1px solid;
color: #999;
box-shadow: inset 0 0 8px rgba(0,0,0,.1);}
.editor-area.hover{
background-color: #95dba6;
}
.img-list-area{float: left;margin-left: 20px;width: 160px;padding: 0 10px;border: #e5e5e5 1px solid;height: 320px;overflow-y: scroll}
.img-list-area .img-list{width: 150px}
.img-list-area .img-list li{position: relative;margin-top: 10px}
.img-list-area .img-list li .thumb-img{display: block;width:150px;height: 150px}
.img-list-area .img-list li .delete-img{
background-image: url("img/btn-close-box.png");
width: 26px;
height: 23px;
position: absolute;
top: 0;
right:0;
}
.img-list-area .img-list li .delete-img:hover{background-image: url("img/btn-close-box-hover.png");}