@aimake/nanod
Version:
## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。
206 lines (205 loc) • 5.25 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-mention-wrapper {
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.5;
color: #41465F;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
position: relative;
display: inline-block;
width: 100%;
vertical-align: middle;
}
.ant-mention-wrapper .ant-mention-editor {
position: relative;
display: inline-block;
padding: 4px 11px;
width: 100%;
height: 32px;
font-size: 12px;
color: #41465F;
background-color: #fff;
background-image: none;
border: 1px solid #DEE2ED;
border-radius: 0px;
-webkit-transition: all 0.3s;
transition: all 0.3s;
min-height: 32px;
height: auto;
line-height: 1.5;
padding: 0;
display: block;
}
.ant-mention-wrapper .ant-mention-editor::-moz-placeholder {
color: #C7CFDE;
opacity: 1;
}
.ant-mention-wrapper .ant-mention-editor:-ms-input-placeholder {
color: #C7CFDE;
}
.ant-mention-wrapper .ant-mention-editor::-webkit-input-placeholder {
color: #C7CFDE;
}
.ant-mention-wrapper .ant-mention-editor:hover {
border-color: #6998ff;
border-right-width: 1px ;
}
.ant-mention-wrapper .ant-mention-editor:focus {
border-color: #6998ff;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(65, 120, 255, 0.2);
box-shadow: 0 0 0 2px rgba(65, 120, 255, 0.2);
border-right-width: 1px ;
}
.ant-mention-wrapper .ant-mention-editor-disabled {
background-color: #F5F6FA;
opacity: 1;
cursor: not-allowed;
color: #C7CFDE;
}
.ant-mention-wrapper .ant-mention-editor-disabled:hover {
border-color: #ebeffa;
border-right-width: 1px ;
}
textarea.ant-mention-wrapper .ant-mention-editor {
max-width: 100%;
height: auto;
vertical-align: bottom;
-webkit-transition: all 0.3s, height 0s;
transition: all 0.3s, height 0s;
min-height: 32px;
}
.ant-mention-wrapper .ant-mention-editor-lg {
padding: 6px 11px;
height: 40px;
font-size: 14px;
}
.ant-mention-wrapper .ant-mention-editor-sm {
padding: 1px 7px;
height: 24px;
}
.ant-mention-wrapper .ant-mention-editor-wrapper {
overflow-y: auto;
height: auto;
}
.ant-mention-wrapper.ant-mention-active:not(.disabled) .ant-mention-editor {
border-color: #6998ff;
outline: 0;
-webkit-box-shadow: 0 0 0 2px rgba(65, 120, 255, 0.2);
box-shadow: 0 0 0 2px rgba(65, 120, 255, 0.2);
border-right-width: 1px ;
}
.ant-mention-wrapper.disabled .ant-mention-editor {
background-color: #F5F6FA;
opacity: 1;
cursor: not-allowed;
color: #C7CFDE;
}
.ant-mention-wrapper.disabled .ant-mention-editor:hover {
border-color: #ebeffa;
border-right-width: 1px ;
}
.ant-mention-wrapper .public-DraftEditorPlaceholder-root {
position: absolute;
pointer-events: none;
}
.ant-mention-wrapper .public-DraftEditorPlaceholder-root .public-DraftEditorPlaceholder-inner {
color: #C7CFDE;
opacity: 1;
outline: none;
white-space: pre-wrap;
word-wrap: break-word;
height: auto;
padding: 5px 11px;
}
.ant-mention-wrapper .DraftEditor-editorContainer .public-DraftEditor-content {
height: auto;
padding: 5px 11px;
}
.ant-mention-dropdown {
font-size: 12px;
font-variant: tabular-nums;
line-height: 1.5;
color: #41465F;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
margin-top: 1.5em;
max-height: 250px;
min-width: 120px;
background-color: #fff;
-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
border-radius: 0px;
z-index: 1050;
left: -9999px;
top: -9999px;
position: absolute;
outline: none;
overflow-x: hidden;
overflow-y: auto;
}
.ant-mention-dropdown-placement-top {
margin-top: -0.1em;
}
.ant-mention-dropdown-notfound.ant-mention-dropdown-item {
color: #C7CFDE;
}
.ant-mention-dropdown-notfound.ant-mention-dropdown-item .anticon-loading {
color: #4178ff;
text-align: center;
display: block;
}
.ant-mention-dropdown-item {
position: relative;
display: block;
padding: 5px 12px;
line-height: 22px;
font-weight: normal;
color: #41465F;
white-space: nowrap;
cursor: pointer;
text-overflow: ellipsis;
overflow: hidden;
-webkit-transition: background 0.3s;
transition: background 0.3s;
}
.ant-mention-dropdown-item:hover {
background-color: #DEE8FF;
}
.ant-mention-dropdown-item.focus,
.ant-mention-dropdown-item-active {
background-color: #DEE8FF;
}
.ant-mention-dropdown-item-disabled {
color: #C7CFDE;
cursor: not-allowed;
}
.ant-mention-dropdown-item-disabled:hover {
color: #C7CFDE;
background-color: #fff;
cursor: not-allowed;
}
.ant-mention-dropdown-item-selected,
.ant-mention-dropdown-item-selected:hover {
background-color: #F5F6FA;
font-weight: bold;
color: #41465F;
}
.ant-mention-dropdown-item-divider {
height: 1px;
margin: 1px 0;
overflow: hidden;
background-color: #F5F6FA;
line-height: 0;
}
@icon-url : https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i;