Modify the directory structure
Modify the directory structure
This commit is contained in:
parent
31fbef10e4
commit
4b05d84ea2
175 changed files with 48 additions and 46 deletions
50
src/styles/components/card.less
Normal file
50
src/styles/components/card.less
Normal file
|
@ -0,0 +1,50 @@
|
|||
@card-prefix-cls: ~"@{css-prefix}card";
|
||||
|
||||
.@{card-prefix-cls}{
|
||||
background: #fff;
|
||||
border-radius: @border-radius-small;
|
||||
font-size: @font-size-base;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: all @transition-time @ease-in-out;
|
||||
|
||||
&-bordered {
|
||||
border: 1px solid @border-color-base;
|
||||
border-color: @border-color-split;
|
||||
}
|
||||
|
||||
&-shadow{
|
||||
box-shadow: @shadow-card;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
box-shadow: @shadow-base;
|
||||
border-color: #eee;
|
||||
}
|
||||
&&-dis-hover:hover{
|
||||
box-shadow: none;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
&&-dis-hover&-bordered:hover{
|
||||
border-color: @border-color-split;
|
||||
}
|
||||
|
||||
&&-shadow:hover{
|
||||
box-shadow: @shadow-card;
|
||||
}
|
||||
|
||||
&-head {
|
||||
.content-header;
|
||||
}
|
||||
|
||||
&-extra {
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
top: 10px;
|
||||
}
|
||||
|
||||
&-body {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue