1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- .editor {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- width: 100%;
- max-width: 100%;
- list-style: none;
- position: relative;
- display: block;
- font-size: 14px;
- line-height: 1.5;
- color: rgba(0, 0, 0, 0.65);
- background-color: #fff;
- background-image: none;
- border: 1px solid #d9d9d9;
- border-radius: 4px;
- transition: all 0.3s, height 0s;
- }
- .editor textarea.ant-input {
- border: none;
- border-bottom: 1px solid #eee;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
- }
- .editor textarea.ant-input:hover {
- border: none;
- border-bottom: 1px solid #eee;
- }
- .editor textarea.ant-input:focus {
- box-shadow: none;
- border-bottom: 1px solid #eee;
- }
- .editor [contentEditable='true']:empty:not(:focus):before {
- content: attr(data-text);
- color: #bfbfbf;
- }
- .editor:focus,
- .editor:hover {
- border-color: #40a9ff;
- outline: 0;
- box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
- }
- .content {
- display: block;
- box-sizing: border-box;
- padding: 4px 10px;
- width: 100%;
- max-width: 100%;
- height: 100%;
- max-height: 110px;
- overflow-y: auto;
- overflow-x: auto;
- }
- .content:focus,
- .content:hover {
- outline: 0;
- }
- .toolbar {
- display: inline-block;
- width: 100%;
- margin: 5px 0 0 0;
- }
- .toolbar .icon {
- font-size: 23px;
- cursor: pointer;
- transition: color 0.3s;
- }
- .toolbar .icon:hover {
- color: #40a9ff;
- }
- .feed .ant-popover-inner-content {
- padding: 12px 16px 20px 16px;
- }
- .feed .ant-carousel .slick-dots {
- bottom: -10px;
- }
- .feed .ant-carousel .slick-dots li.slick-active button {
- background-color: #7b868a;
- }
- .feed .ant-carousel .slick-dots li button {
- background-color: #a2aeb5;
- }
|