forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
98 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.@{list-prefix-cls}-bordered { | ||
border-radius: @border-radius-base; | ||
border: 1px solid @border-color-base; | ||
.@{list-prefix-cls}-header { | ||
padding-left: 24px; | ||
padding-right: 24px; | ||
} | ||
.@{list-prefix-cls}-footer { | ||
padding-left: 24px; | ||
padding-right: 24px; | ||
} | ||
.@{list-prefix-cls}-item { | ||
border-bottom: 1px solid @border-color-split; | ||
padding-left: 24px; | ||
padding-right: 24px; | ||
} | ||
|
||
&.@{list-prefix-cls}-sm { | ||
.@{list-prefix-cls}-item { | ||
padding-left: 16px; | ||
padding-right: 16px; | ||
} | ||
.@{list-prefix-cls}-header, .@{list-prefix-cls}-footer { | ||
padding: 8px 16px; | ||
} | ||
} | ||
|
||
&.@{list-prefix-cls}-lg { | ||
.@{list-prefix-cls}-header, .@{list-prefix-cls}-footer { | ||
padding: 16px 24px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@media screen and (max-width: @screen-md) { | ||
.@{list-prefix-cls} { | ||
&-item { | ||
&-action { | ||
margin-left: 24px; | ||
} | ||
} | ||
} | ||
|
||
.@{list-prefix-cls}-vertical { | ||
.@{list-prefix-cls}-item { | ||
&-extra { | ||
margin-left: 24px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@media screen and (max-width: @screen-xs) { | ||
.@{list-prefix-cls} { | ||
&-item { | ||
flex-wrap: wrap; | ||
&-action { | ||
margin-left: 12px; | ||
} | ||
} | ||
} | ||
|
||
.@{list-prefix-cls}-vertical { | ||
.@{list-prefix-cls}-item { | ||
&-extra-wrap { | ||
flex-wrap: wrap-reverse; | ||
} | ||
&-main { | ||
min-width: 220px; | ||
} | ||
&-extra { | ||
margin-left: 0; | ||
} | ||
} | ||
} | ||
} |