Latest updates from IceHrmPro
This commit is contained in:
44
web/node_modules/antd/es/list/style/bordered.less
generated
vendored
Normal file
44
web/node_modules/antd/es/list/style/bordered.less
generated
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
@import '../../style/themes/index';
|
||||
|
||||
.@{list-prefix-cls}-bordered {
|
||||
border: 1px solid @border-color-base;
|
||||
border-radius: @border-radius-base;
|
||||
.@{list-prefix-cls}-header {
|
||||
padding-right: @padding-lg;
|
||||
padding-left: @padding-lg;
|
||||
}
|
||||
|
||||
.@{list-prefix-cls}-footer {
|
||||
padding-right: @padding-lg;
|
||||
padding-left: @padding-lg;
|
||||
}
|
||||
|
||||
.@{list-prefix-cls}-item {
|
||||
padding-right: @padding-lg;
|
||||
padding-left: @padding-lg;
|
||||
}
|
||||
|
||||
.@{list-prefix-cls}-pagination {
|
||||
margin: @margin-md @margin-lg;
|
||||
}
|
||||
|
||||
&.@{list-prefix-cls}-sm {
|
||||
.@{list-prefix-cls}-item {
|
||||
padding: @list-item-padding-sm;
|
||||
}
|
||||
.@{list-prefix-cls}-header,
|
||||
.@{list-prefix-cls}-footer {
|
||||
padding: @list-item-padding-sm;
|
||||
}
|
||||
}
|
||||
|
||||
&.@{list-prefix-cls}-lg {
|
||||
.@{list-prefix-cls}-item {
|
||||
padding: @list-item-padding-lg;
|
||||
}
|
||||
.@{list-prefix-cls}-header,
|
||||
.@{list-prefix-cls}-footer {
|
||||
padding: @list-item-padding-lg;
|
||||
}
|
||||
}
|
||||
}
|
||||
7
web/node_modules/antd/es/list/style/css.js
generated
vendored
Normal file
7
web/node_modules/antd/es/list/style/css.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import '../../style/index.css';
|
||||
import './index.css'; // style dependencies
|
||||
|
||||
import '../../empty/style/css';
|
||||
import '../../spin/style/css';
|
||||
import '../../pagination/style/css';
|
||||
import '../../grid/style/css';
|
||||
12
web/node_modules/antd/es/list/style/customize.less
generated
vendored
Normal file
12
web/node_modules/antd/es/list/style/customize.less
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
@import './index.less';
|
||||
|
||||
@card-prefix-cls: ~'@{ant-prefix}-card';
|
||||
|
||||
.@{list-prefix-cls} {
|
||||
// =================== Dard Hook Components ===================
|
||||
.@{card-prefix-cls} {
|
||||
& when (@theme = dark) {
|
||||
background: @list-customize-card-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
343
web/node_modules/antd/es/list/style/index.css
generated
vendored
Normal file
343
web/node_modules/antd/es/list/style/index.css
generated
vendored
Normal file
@@ -0,0 +1,343 @@
|
||||
/* 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-list {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
font-variant: tabular-nums;
|
||||
line-height: 1.5715;
|
||||
list-style: none;
|
||||
-webkit-font-feature-settings: 'tnum';
|
||||
font-feature-settings: 'tnum';
|
||||
position: relative;
|
||||
}
|
||||
.ant-list * {
|
||||
outline: none;
|
||||
}
|
||||
.ant-list-pagination {
|
||||
margin-top: 24px;
|
||||
text-align: right;
|
||||
}
|
||||
.ant-list-pagination .ant-pagination-options {
|
||||
text-align: left;
|
||||
}
|
||||
.ant-list-more {
|
||||
margin-top: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
.ant-list-more button {
|
||||
padding-right: 32px;
|
||||
padding-left: 32px;
|
||||
}
|
||||
.ant-list-spin {
|
||||
min-height: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
.ant-list-empty-text {
|
||||
padding: 16px;
|
||||
color: rgba(0, 0, 0, 0.25);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
.ant-list-items {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.ant-list-item {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-webkit-box-pack: justify;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
padding: 12px 0;
|
||||
}
|
||||
.ant-list-item-content {
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
}
|
||||
.ant-list-item-meta {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
-webkit-box-align: start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
font-size: 0;
|
||||
}
|
||||
.ant-list-item-meta-avatar {
|
||||
margin-right: 16px;
|
||||
}
|
||||
.ant-list-item-meta-content {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1 0;
|
||||
flex: 1 0;
|
||||
}
|
||||
.ant-list-item-meta-title {
|
||||
margin-bottom: 4px;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
}
|
||||
.ant-list-item-meta-title > a {
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
-webkit-transition: all 0.3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.ant-list-item-meta-title > a:hover {
|
||||
color: #1890ff;
|
||||
}
|
||||
.ant-list-item-meta-description {
|
||||
color: rgba(0, 0, 0, 0.45);
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
}
|
||||
.ant-list-item-action {
|
||||
-webkit-box-flex: 0;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
margin-left: 48px;
|
||||
padding: 0;
|
||||
font-size: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.ant-list-item-action > li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
padding: 0 8px;
|
||||
color: rgba(0, 0, 0, 0.45);
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ant-list-item-action > li:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
.ant-list-item-action-split {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
width: 1px;
|
||||
height: 14px;
|
||||
margin-top: -7px;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
.ant-list-header {
|
||||
background: transparent;
|
||||
}
|
||||
.ant-list-footer {
|
||||
background: transparent;
|
||||
}
|
||||
.ant-list-header,
|
||||
.ant-list-footer {
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
.ant-list-empty {
|
||||
padding: 16px 0;
|
||||
color: rgba(0, 0, 0, 0.45);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
.ant-list-split .ant-list-item {
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
.ant-list-split .ant-list-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
.ant-list-split .ant-list-header {
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
.ant-list-split.ant-list-empty .ant-list-footer {
|
||||
border-top: 1px solid #f0f0f0;
|
||||
}
|
||||
.ant-list-loading .ant-list-spin-nested-loading {
|
||||
min-height: 32px;
|
||||
}
|
||||
.ant-list-split.ant-list-something-after-last-item .ant-spin-container > .ant-list-items > .ant-list-item:last-child {
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
.ant-list-lg .ant-list-item {
|
||||
padding: 16px 24px;
|
||||
}
|
||||
.ant-list-sm .ant-list-item {
|
||||
padding: 8px 16px;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item {
|
||||
-webkit-box-align: initial;
|
||||
-ms-flex-align: initial;
|
||||
align-items: initial;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-main {
|
||||
display: block;
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-extra {
|
||||
margin-left: 40px;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-meta {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-meta-title {
|
||||
margin-bottom: 12px;
|
||||
color: rgba(0, 0, 0, 0.85);
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-action {
|
||||
margin-top: 16px;
|
||||
margin-left: auto;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-action > li {
|
||||
padding: 0 16px;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-action > li:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
.ant-list-grid .ant-col > .ant-list-item {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
margin-bottom: 16px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
.ant-list-item-no-flex {
|
||||
display: block;
|
||||
}
|
||||
.ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action {
|
||||
float: right;
|
||||
}
|
||||
.ant-list-bordered {
|
||||
border: 1px solid #d9d9d9;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.ant-list-bordered .ant-list-header {
|
||||
padding-right: 24px;
|
||||
padding-left: 24px;
|
||||
}
|
||||
.ant-list-bordered .ant-list-footer {
|
||||
padding-right: 24px;
|
||||
padding-left: 24px;
|
||||
}
|
||||
.ant-list-bordered .ant-list-item {
|
||||
padding-right: 24px;
|
||||
padding-left: 24px;
|
||||
}
|
||||
.ant-list-bordered .ant-list-pagination {
|
||||
margin: 16px 24px;
|
||||
}
|
||||
.ant-list-bordered.ant-list-sm .ant-list-item {
|
||||
padding: 8px 16px;
|
||||
}
|
||||
.ant-list-bordered.ant-list-sm .ant-list-header,
|
||||
.ant-list-bordered.ant-list-sm .ant-list-footer {
|
||||
padding: 8px 16px;
|
||||
}
|
||||
.ant-list-bordered.ant-list-lg .ant-list-item {
|
||||
padding: 16px 24px;
|
||||
}
|
||||
.ant-list-bordered.ant-list-lg .ant-list-header,
|
||||
.ant-list-bordered.ant-list-lg .ant-list-footer {
|
||||
padding: 16px 24px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.ant-list-item-action {
|
||||
margin-left: 24px;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-extra {
|
||||
margin-left: 24px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 576px) {
|
||||
.ant-list-item {
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.ant-list-item-action {
|
||||
margin-left: 12px;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item {
|
||||
-ms-flex-wrap: wrap-reverse;
|
||||
flex-wrap: wrap-reverse;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-main {
|
||||
min-width: 220px;
|
||||
}
|
||||
.ant-list-vertical .ant-list-item-extra {
|
||||
margin: auto auto 16px;
|
||||
}
|
||||
}
|
||||
.ant-list-rtl {
|
||||
direction: rtl;
|
||||
text-align: right;
|
||||
}
|
||||
.ant-list-rtl .ReactVirtualized__List .ant-list-item {
|
||||
direction: rtl;
|
||||
}
|
||||
.ant-list-rtl .ant-list-pagination {
|
||||
text-align: left;
|
||||
}
|
||||
.ant-list-rtl .ant-list-item-meta-avatar {
|
||||
margin-right: 0;
|
||||
margin-left: 16px;
|
||||
}
|
||||
.ant-list-rtl .ant-list-item-action {
|
||||
margin-right: 48px;
|
||||
margin-left: 0;
|
||||
}
|
||||
.ant-list-rtl .ant-list-item-action > li:first-child {
|
||||
padding-right: 0;
|
||||
padding-left: 8px;
|
||||
}
|
||||
.ant-list-rtl .ant-list-item-action-split {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
.ant-list-rtl.ant-list-vertical .ant-list-item-extra {
|
||||
margin-right: 40px;
|
||||
margin-left: 0;
|
||||
}
|
||||
.ant-list-rtl .ant-list-vertical .ant-list-item-action {
|
||||
margin-right: auto;
|
||||
}
|
||||
.ant-list-rtl .ant-list-vertical .ant-list-item-action > li:first-child {
|
||||
padding-right: 0;
|
||||
padding-left: 16px;
|
||||
}
|
||||
.ant-list-rtl .ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action {
|
||||
float: left;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.ant-list-rtl .ant-list-item-action {
|
||||
margin-right: 24px;
|
||||
margin-left: 0;
|
||||
}
|
||||
.ant-list-rtl .ant-list-vertical .ant-list-item-extra {
|
||||
margin-right: 24px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 576px) {
|
||||
.ant-list-rtl .ant-list-item-action {
|
||||
margin-right: 22px;
|
||||
margin-left: 0;
|
||||
}
|
||||
.ant-list-rtl.ant-list-vertical .ant-list-item-extra {
|
||||
margin: auto auto 16px;
|
||||
}
|
||||
}
|
||||
6
web/node_modules/antd/es/list/style/index.d.ts
generated
vendored
Normal file
6
web/node_modules/antd/es/list/style/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less';
|
||||
import '../../empty/style';
|
||||
import '../../spin/style';
|
||||
import '../../pagination/style';
|
||||
import '../../grid/style';
|
||||
7
web/node_modules/antd/es/list/style/index.js
generated
vendored
Normal file
7
web/node_modules/antd/es/list/style/index.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import '../../style/index.less';
|
||||
import './index.less'; // style dependencies
|
||||
|
||||
import '../../empty/style';
|
||||
import '../../spin/style';
|
||||
import '../../pagination/style';
|
||||
import '../../grid/style';
|
||||
240
web/node_modules/antd/es/list/style/index.less
generated
vendored
Normal file
240
web/node_modules/antd/es/list/style/index.less
generated
vendored
Normal file
@@ -0,0 +1,240 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
@import './customize.less';
|
||||
|
||||
@list-prefix-cls: ~'@{ant-prefix}-list';
|
||||
|
||||
.@{list-prefix-cls} {
|
||||
.reset-component;
|
||||
|
||||
position: relative;
|
||||
|
||||
* {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
&-pagination {
|
||||
margin-top: @margin-lg;
|
||||
text-align: right;
|
||||
|
||||
// https://github.com/ant-design/ant-design/issues/20037
|
||||
.@{ant-prefix}-pagination-options {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
&-more {
|
||||
margin-top: @margin-sm;
|
||||
text-align: center;
|
||||
button {
|
||||
padding-right: 32px;
|
||||
padding-left: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
&-spin {
|
||||
min-height: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&-empty-text {
|
||||
padding: @list-empty-text-padding;
|
||||
color: @disabled-color;
|
||||
font-size: @font-size-base;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&-items {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
&-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: @list-item-padding;
|
||||
|
||||
&-content {
|
||||
color: @text-color;
|
||||
}
|
||||
|
||||
&-meta {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-items: flex-start;
|
||||
font-size: 0;
|
||||
|
||||
&-avatar {
|
||||
margin-right: @list-item-meta-avatar-margin-right;
|
||||
}
|
||||
&-content {
|
||||
flex: 1 0;
|
||||
}
|
||||
&-title {
|
||||
margin-bottom: 4px;
|
||||
color: @text-color;
|
||||
font-size: @font-size-base;
|
||||
line-height: 22px;
|
||||
> a {
|
||||
color: @text-color;
|
||||
transition: all 0.3s;
|
||||
&:hover {
|
||||
color: @primary-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
&-description {
|
||||
color: @text-color-secondary;
|
||||
font-size: @list-item-meta-description-font-size;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
&-action {
|
||||
flex: 0 0 auto;
|
||||
margin-left: 48px;
|
||||
padding: 0;
|
||||
font-size: 0;
|
||||
list-style: none;
|
||||
|
||||
& > li {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
padding: 0 @padding-xs;
|
||||
color: @text-color-secondary;
|
||||
font-size: @font-size-base;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
& > li:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
&-split {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
width: 1px;
|
||||
height: 14px;
|
||||
margin-top: -7px;
|
||||
background-color: @border-color-split;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-header {
|
||||
background: @list-header-background;
|
||||
}
|
||||
|
||||
&-footer {
|
||||
background: @list-footer-background;
|
||||
}
|
||||
|
||||
&-header,
|
||||
&-footer {
|
||||
padding-top: @padding-sm;
|
||||
padding-bottom: @padding-sm;
|
||||
}
|
||||
|
||||
&-empty {
|
||||
padding: @padding-md 0;
|
||||
color: @text-color-secondary;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&-split &-item {
|
||||
border-bottom: 1px solid @border-color-split;
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
&-split &-header {
|
||||
border-bottom: 1px solid @border-color-split;
|
||||
}
|
||||
|
||||
&-split&-empty &-footer {
|
||||
border-top: 1px solid @border-color-split;
|
||||
}
|
||||
|
||||
&-loading &-spin-nested-loading {
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
&-split&-something-after-last-item .@{ant-prefix}-spin-container > &-items > &-item:last-child {
|
||||
border-bottom: 1px solid @border-color-split;
|
||||
}
|
||||
|
||||
&-lg &-item {
|
||||
padding: @list-item-padding-lg;
|
||||
}
|
||||
|
||||
&-sm &-item {
|
||||
padding: @list-item-padding-sm;
|
||||
}
|
||||
|
||||
&-vertical &-item {
|
||||
align-items: initial;
|
||||
|
||||
&-main {
|
||||
display: block;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
&-extra {
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
&-meta {
|
||||
margin-bottom: @list-item-meta-margin-bottom;
|
||||
|
||||
&-title {
|
||||
margin-bottom: @list-item-meta-title-margin-bottom;
|
||||
color: @heading-color;
|
||||
font-size: @font-size-lg;
|
||||
line-height: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
&-action {
|
||||
margin-top: @padding-md;
|
||||
margin-left: auto;
|
||||
|
||||
> li {
|
||||
padding: 0 @padding-md;
|
||||
&:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-grid .@{ant-prefix}-col > &-item {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
margin-bottom: @margin-md;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
// ============================ without flex ============================
|
||||
&-item-no-flex {
|
||||
display: block;
|
||||
}
|
||||
|
||||
// Horizontal
|
||||
&:not(.@{list-prefix-cls}-vertical) {
|
||||
.@{list-prefix-cls}-item-no-flex {
|
||||
.@{list-prefix-cls}-item-action {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@import './bordered';
|
||||
@import './responsive';
|
||||
@import './rtl';
|
||||
40
web/node_modules/antd/es/list/style/responsive.less
generated
vendored
Normal file
40
web/node_modules/antd/es/list/style/responsive.less
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
@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-sm) {
|
||||
.@{list-prefix-cls} {
|
||||
&-item {
|
||||
flex-wrap: wrap;
|
||||
&-action {
|
||||
margin-left: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{list-prefix-cls}-vertical {
|
||||
.@{list-prefix-cls}-item {
|
||||
flex-wrap: wrap-reverse;
|
||||
&-main {
|
||||
min-width: 220px;
|
||||
}
|
||||
&-extra {
|
||||
margin: auto auto 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
139
web/node_modules/antd/es/list/style/rtl.less
generated
vendored
Normal file
139
web/node_modules/antd/es/list/style/rtl.less
generated
vendored
Normal file
@@ -0,0 +1,139 @@
|
||||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
@import './customize.less';
|
||||
|
||||
@list-prefix-cls: ~'@{ant-prefix}-list';
|
||||
|
||||
.@{list-prefix-cls} {
|
||||
&-rtl {
|
||||
direction: rtl;
|
||||
text-align: right;
|
||||
|
||||
// fix for virtual scroll style attribute > (direction:ltr)
|
||||
.ReactVirtualized__List .@{list-prefix-cls}-item {
|
||||
direction: rtl;
|
||||
}
|
||||
}
|
||||
|
||||
&-pagination {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
&-item {
|
||||
&-meta {
|
||||
&-avatar {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
margin-right: 0;
|
||||
margin-left: @list-item-meta-avatar-margin-right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-action {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
margin-right: 48px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
& > li:first-child {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
padding-right: 0;
|
||||
padding-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&-split {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-vertical &-item {
|
||||
&-extra {
|
||||
.@{list-prefix-cls}-rtl& {
|
||||
margin-right: 40px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&-action {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
> li {
|
||||
&:first-child {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
padding-right: 0;
|
||||
padding-left: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Horizontal
|
||||
&:not(.@{list-prefix-cls}-vertical) {
|
||||
.@{list-prefix-cls}-item-no-flex {
|
||||
.@{list-prefix-cls}-item-action {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// responsive
|
||||
@media screen and (max-width: @screen-md) {
|
||||
.@{list-prefix-cls} {
|
||||
&-item {
|
||||
&-action {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
margin-right: 24px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{list-prefix-cls}-vertical {
|
||||
.@{list-prefix-cls}-item {
|
||||
&-extra {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
margin-right: 24px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: @screen-sm) {
|
||||
.@{list-prefix-cls} {
|
||||
&-item {
|
||||
&-action {
|
||||
.@{list-prefix-cls}-rtl & {
|
||||
margin-right: 22px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{list-prefix-cls}-vertical {
|
||||
.@{list-prefix-cls}-item {
|
||||
&-extra {
|
||||
// to override margins on rtl view
|
||||
.@{list-prefix-cls}-rtl& {
|
||||
margin: auto auto 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user