add Modal component
add Modal component
This commit is contained in:
parent
39e6e96563
commit
be966e9f49
20 changed files with 763 additions and 49 deletions
32
styles/mixins/content.less
Normal file
32
styles/mixins/content.less
Normal file
|
@ -0,0 +1,32 @@
|
|||
@icon-prefix-cls: ~"@{css-prefix}icon";
|
||||
|
||||
.content-header() {
|
||||
border-bottom: 1px solid @border-color-split;
|
||||
padding: 10px 16px;
|
||||
line-height: 1;
|
||||
|
||||
p {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.content-close(@top: 0) {
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
top: 8px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
|
||||
.@{icon-prefix-cls}-ios-close-empty {
|
||||
.close-base(@top);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue