_message.css
2 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
.message-me-page {
.message > .title {
background-image: resolve('home/message.png');
}
.msg-tabs-wrap {
padding: 0 10px;
}
.tabs-list {
height: 31px;
font-size: 14px;
padding-left: 4px;
margin-top: 8px;
border-bottom: 1px solid #e6e6e6;
li {
display: block;
float: left;
min-width: 80px;
height: 30px;
line-height: 30px;
padding: 0 10px;
text-align: center;
background-color: #eaeaea;
border: 1px solid #e6e6e6;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
margin-left: 6px;
color: #333;
cursor: pointer;
&.active {
background-color: #fff;
border-bottom-color: #fff;
}
> a {
display: block;
}
}
}
.message-list {
padding: 10px;
font-size: 14px;
color: #3a3a3a;
}
.msg-item:first-child {
border-top: 1px solid #e6e6e6;
}
.msg-item {
padding: 10px 150px 10px 30px;
position: relative;
border-bottom: 1px solid #e6e6e6;
.it-title {
line-height: 2;
padding-bottom: 10px;
}
&.new-msg .it-title {
color: #468fa2;
}
.it-content {
line-height: 1.5;
}
.it-time {
color: #b0b0b0;
line-height: 2;
}
.del-btn {
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
position: absolute;
top: 50%;
right: 20px;
margin-top: -15px;
cursor: pointer;
display: none;
.iconfont {
font-size: 26px;
}
}
&:hover > .del-btn {
display: block;
}
}
}