WXL
3 天以前 37d2ba3d2c1902202c8c7ee9485267b5a1945742
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
/* 定义淡蓝色主色调 */
:root {
  --editor-primary-color: #007bff; /* 主色调 */
  --editor-background-color: #f8f9fa; /* 背景颜色 */
  --editor-border-color: #dee2e6; /* 边框颜色 */
  --editor-text-color: #343a40; /* 文字颜色 */
}
 
/* 覆盖编辑器的默认样式 */
.w-e-toolbar {
  background-color: var(--editor-background-color);
  border-bottom: 1px solid var(--editor-border-color);
  color: var(--editor-text-color);
}
 
.w-e-toolbar .w-e-menu {
  background-color: transparent;
  color: var(--editor-text-color);
}
 
.w-e-toolbar .w-e-menu:hover {
  background-color: var(--editor-primary-color);
  color: white;
}
 
.w-e-toolbar .w-e-menu.w-e-active {
  background-color: var(--editor-primary-color);
  color: white;
}
 
.w-e-toolbar .w-e-menu .w-e-icon {
  fill: var(--editor-text-color);
}
 
.w-e-toolbar .w-e-menu:hover .w-e-icon {
  fill: white;
}
 
.w-e-toolbar .w-e-menu.w-e-active .w-e-icon {
  fill: white;
}
 
.w-e-text-container {
  background-color: white;
  border: 1px solid var(--editor-border-color);
  color: var(--editor-text-color);
}
 
.w-e-text-container .w-e-text {
  color: var(--editor-text-color);
}
 
.w-e-text-container .w-e-text img {
  border: 1px solid var(--editor-border-color);
}
 
.w-e-text-container .w-e-text a {
  color: var(--editor-primary-color);
  text-decoration: underline;
}
 
.w-e-text-container .w-e-text a:hover {
  color: #0056b3;
}