UNPKG

2.9 kBCSSView Raw
1/*!
2 * ArchEditor v1.0.0
3 * Author: longlongago2
4 * Build Time: 2021/8/23 16:32:12
5 */
6.ArchEditor-container {
7 display: inline-block;
8 width: 100%;
9 overflow: auto;
10 box-sizing: border-box;
11 caret-color: #000;
12}
13.ArchEditor-container ::selection {
14 color: #fff;
15 background-color: #5d6791;
16}
17.ArchEditor-container .DraftEditor-root {
18 height: inherit;
19 min-height: inherit;
20 max-height: inherit;
21}
22.ArchEditor-container .DraftEditor-root .DraftEditor-editorContainer {
23 height: inherit;
24 min-height: inherit;
25 max-height: inherit;
26}
27.ArchEditor-container .DraftEditor-root .DraftEditor-editorContainer .public-DraftEditor-content {
28 height: inherit;
29 min-height: inherit;
30 max-height: inherit;
31}
32.ArchEditor-popover-button-group {
33 display: inline-flex;
34 flex-direction: row;
35 align-items: center;
36 margin: 0 -10px;
37}
38.ArchEditor-popover-button-group.ArchEditor-large .ArchEditor-popover-button {
39 font-size: 18px;
40}
41.ArchEditor-popover-button-group .ArchEditor-popover-button {
42 display: inline-block;
43 width: 40px;
44 border: 0;
45 color: #fff;
46 background-color: transparent;
47 cursor: pointer;
48 font-size: 15px;
49 line-height: 1;
50}
51.ArchEditor-popover-button-group .ArchEditor-popover-button:hover {
52 color: #ccc;
53}
54.ArchEditor-popover-button-group .ArchEditor-popover-divider {
55 display: inline-block;
56 margin: 0 5px;
57 border: 0;
58 border-left: 1px solid #ccc;
59 height: 15px;
60 margin: 0 5px 0 4px;
61}
62.ArchEditor-edit-toolbar {
63 display: block;
64 text-align: right;
65 padding-top: 5px;
66 box-sizing: border-box;
67}
68.ArchEditor-edit-toolbar > button {
69 border: 1px solid #5d6791;
70 line-height: 1;
71 font-size: 14px;
72 padding: 5px 10px;
73 color: #5d6791;
74 margin-left: 5px;
75 background-color: #fff;
76 transition: all 0.3s ease;
77}
78.ArchEditor-edit-toolbar > button:hover {
79 background-color: #5d6791;
80 color: #fff;
81}
82.ArchEditor-edit-toolbar > button.ArchEditor-danger {
83 border-color: #ff4d4f;
84 color: #ff4d4f;
85}
86.ArchEditor-edit-toolbar > button.ArchEditor-danger:hover {
87 background-color: #ff4d4f;
88 color: #fff;
89}
90.ArchEditor-fade-enter {
91 opacity: 0;
92 -webkit-transform: scale(0);
93 transform: scale(0);
94}
95.ArchEditor-fade-enter-active {
96 opacity: 1;
97 -webkit-transform: scale(1);
98 transform: scale(1);
99 transition: opacity 250ms ease, -webkit-transform 250ms ease;
100 transition: opacity 250ms ease, transform 250ms ease;
101 transition: opacity 250ms ease, transform 250ms ease, -webkit-transform 250ms ease;
102}
103.ArchEditor-fade-exit {
104 opacity: 1;
105 -webkit-transform: scale(1);
106 transform: scale(1);
107}
108.ArchEditor-fade-exit-active {
109 opacity: 0;
110 -webkit-transform: scale(0);
111 transform: scale(0);
112 transition: opacity 250ms ease, -webkit-transform 250ms ease;
113 transition: opacity 250ms ease, transform 250ms ease;
114 transition: opacity 250ms ease, transform 250ms ease, -webkit-transform 250ms ease;
115}
116