mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 07:22:34 +00:00
remove comment (#5650)
* remove comment * remove useless third party lib * remove comment
This commit is contained in:
81
frontend/src/css/react-mentions-default-style.js
vendored
81
frontend/src/css/react-mentions-default-style.js
vendored
@@ -1,81 +0,0 @@
|
||||
const defaultStyle = {
|
||||
control: {
|
||||
backgroundColor: '#fff',
|
||||
fontSize: 14,
|
||||
fontWeight: 'normal',
|
||||
},
|
||||
highlighter: {
|
||||
overflow: 'hidden',
|
||||
},
|
||||
input: {
|
||||
margin: 0,
|
||||
},
|
||||
'&singleLine': {
|
||||
control: {
|
||||
display: 'inline-block',
|
||||
width: 130,
|
||||
},
|
||||
highlighter: {
|
||||
padding: 1,
|
||||
border: '2px inset transparent',
|
||||
},
|
||||
input: {
|
||||
padding: 1,
|
||||
border: '2px inset',
|
||||
},
|
||||
},
|
||||
'&multiLine': {
|
||||
control: {
|
||||
},
|
||||
highlighter: {
|
||||
padding: 9,
|
||||
},
|
||||
input: {
|
||||
padding: '8px 6px',
|
||||
minHeight: 90,
|
||||
height: 90,
|
||||
border: '1px solid #e6e6dd',
|
||||
borderBottom: 'none',
|
||||
borderRadius: '5px 5px 0 0',
|
||||
overfflowY: 'auto',
|
||||
outline: 'none',
|
||||
'&focused': {
|
||||
/*
|
||||
backgroundColor: '#cee4e5',
|
||||
outlineOffset: '-2px',
|
||||
outlineColor: '-webkit-focus-ring-color',
|
||||
outlineStyle: 'auto',
|
||||
outlineWidth: '5px',
|
||||
*/
|
||||
},
|
||||
},
|
||||
},
|
||||
suggestions: {
|
||||
list: {
|
||||
backgroundColor: 'white',
|
||||
border: '1px solid rgba(0,0,0,0.15)',
|
||||
fontSize: 14,
|
||||
maxHeight: 200,
|
||||
overflow: 'auto',
|
||||
position: 'absolute',
|
||||
bottom: 14,
|
||||
width: '150px',
|
||||
},
|
||||
item: {
|
||||
width: 'auto',
|
||||
padding: '5px 15px',
|
||||
overflowX: 'auto',
|
||||
borderBottom: '1px solid rgba(0,0,0,0.15)',
|
||||
'&focused': {
|
||||
backgroundColor: '#f19654',
|
||||
color: '#fff',
|
||||
fontWeight: '400',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const defaultMentionStyle = {
|
||||
};
|
||||
|
||||
export { defaultStyle, defaultMentionStyle };
|
Reference in New Issue
Block a user