first commit
This commit is contained in:
45
frontend/node_modules/antd/lib/steps/style/rtl.js
generated
vendored
Normal file
45
frontend/node_modules/antd/lib/steps/style/rtl.js
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
const genStepsRTLStyle = token => {
|
||||
const {
|
||||
componentCls
|
||||
} = token;
|
||||
return {
|
||||
[`&${componentCls}-rtl`]: {
|
||||
direction: 'rtl',
|
||||
[`${componentCls}-item`]: {
|
||||
'&-subtitle': {
|
||||
float: 'left'
|
||||
}
|
||||
},
|
||||
// nav
|
||||
[`&${componentCls}-navigation`]: {
|
||||
[`${componentCls}-item::after`]: {
|
||||
transform: 'rotate(-45deg)'
|
||||
}
|
||||
},
|
||||
// vertical
|
||||
[`&${componentCls}-vertical`]: {
|
||||
[`> ${componentCls}-item`]: {
|
||||
'&::after': {
|
||||
transform: 'rotate(225deg)'
|
||||
},
|
||||
[`${componentCls}-item-icon`]: {
|
||||
float: 'right'
|
||||
}
|
||||
}
|
||||
},
|
||||
// progress-dot
|
||||
[`&${componentCls}-dot`]: {
|
||||
[`${componentCls}-item-icon ${componentCls}-icon-dot, &${componentCls}-small ${componentCls}-item-icon ${componentCls}-icon-dot`]: {
|
||||
float: 'right'
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
var _default = exports.default = genStepsRTLStyle;
|
||||
Reference in New Issue
Block a user