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
| .w-e-text-container {
| .w-e-panel-container {
| position: absolute;
| top: 0;
| left: 50%;
| border: 1px solid #ccc;
| border-top: 0;
| box-shadow: 1px 1px 2px #ccc;
| color: #333;
| background-color: #fff;
|
| .w-e-panel-close {
| position: absolute;
| right: 0;
| top: 0;
| padding: 5px;
| margin: 2px 5px 0 0;
| cursor: pointer;
| color: #999;
|
| &:hover {
| color: #333;
| }
| }
|
| .w-e-panel-tab-title {
| list-style: none;
| display: flex;
| font-size: 14px;
| margin: 2px 10px 0 10px;
| border-bottom: 1px solid #f1f1f1;
|
| .w-e-item {
| padding: 3px 5px;
| color: #999;
| cursor: pointer;
| margin: 0 3px;
| position: relative;
| top: 1px;
| }
|
| .w-e-active {
| color: #333;
| border-bottom: 1px solid #333;
| cursor: default;
| font-weight: 700;
| }
| }
|
| .w-e-panel-tab-content {
| padding: 10px 15px 10px 15px;
| font-size: 16px;
|
| /* 输入框的样式 */
| input,textarea,button {
| &:focus {
| outline: none;
| }
| }
| textarea {
| width: 100%;
| border: 1px solid #ccc;
| padding: 5px;
|
| &:focus {
| border-color: #1e88e5;
| }
| }
| input[type=text] {
| border: none;
| border-bottom: 1px solid #ccc;
| font-size: 14px;
| height: 20px;
| color: #333;
| text-align: left;
| }
| input[type=text].small {
| width: 30px;
| text-align: center;
| }
|
| input[type=text].block {
| display: block;
| width: 100%;
| margin: 10px 0;
| }
|
| input[type=text]:focus {
| border-bottom: 2px solid #1e88e5;
| }
|
| /* 按钮的样式 */
| .w-e-button-container {
| button {
| font-size: 14px;
| color: #1e88e5;
| border: none;
| padding: 5px 10px;
| background-color: #fff;
| cursor: pointer;
| border-radius: 3px;
| }
| button.left {
| float: left;
| margin-right: 10px;
| }
|
| button.right {
| float: right;
| margin-left: 10px;
| }
|
| button.gray {
| color: #999;
| }
|
| button.red {
| color: rgb(194, 79, 74);
| }
|
| button:hover {
| background-color: #f1f1f1;
| }
| }
| .w-e-button-container:after {
| content: "";
| display: table;
| clear: both;
| }
| }
|
| /* 为 emotion panel 定制的样式 */
| .w-e-emoticon-container {
| .w-e-item {
| cursor: pointer;
| font-size: 18px;
| padding: 0 3px;
| display: inline-block;
| }
| }
|
| /* 上传图片的 panel 定制样式 */
| .w-e-up-img-container {
| text-align: center;
|
| .w-e-up-btn {
| display: inline-block;
| color: #999;
| cursor: pointer;
| font-size: 60px;
| line-height: 1;
|
| &:hover {
| color: #333;
| }
| }
| }
| }
| }
|
|