ant-design/site/theme/static/motion.less
米老朱 6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00

40 lines
699 B
Plaintext

.motion-container {
height: 190px;
margin: 40px 0 20px;
line-height: 190px;
text-align: center;
}
.motion-example {
display: inline-block !important;
width: 180px;
height: 180px;
color: #fff;
font-weight: bold;
font-size: 18px;
line-height: 180px;
text-align: center;
background: url(https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg) center/180px;
border-radius: 8px;
animation-duration: 0.5s !important;
}
.motion-select-wrapper {
margin-bottom: 40px;
text-align: center;
}
.motion-select {
width: 180px;
text-align: left;
}
.video-player {
position: relative;
max-width: 800px;
&-right {
float: right;
width: 616px;
}
}