first
This commit is contained in:
47
node_modules/vant/es/style/hairline.less
generated
vendored
Normal file
47
node_modules/vant/es/style/hairline.less
generated
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
@import './var';
|
||||
@import './mixins/hairline';
|
||||
|
||||
[class*='van-hairline'] {
|
||||
&::after {
|
||||
.hairline();
|
||||
}
|
||||
}
|
||||
|
||||
.van-hairline {
|
||||
&,
|
||||
&--top,
|
||||
&--left,
|
||||
&--right,
|
||||
&--bottom,
|
||||
&--surround,
|
||||
&--top-bottom {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
&--top::after {
|
||||
border-top-width: @border-width-base;
|
||||
}
|
||||
|
||||
&--left::after {
|
||||
border-left-width: @border-width-base;
|
||||
}
|
||||
|
||||
&--right::after {
|
||||
border-right-width: @border-width-base;
|
||||
}
|
||||
|
||||
&--bottom::after {
|
||||
border-bottom-width: @border-width-base;
|
||||
}
|
||||
|
||||
&,
|
||||
&-unset {
|
||||
&--top-bottom::after {
|
||||
border-width: @border-width-base 0;
|
||||
}
|
||||
}
|
||||
|
||||
&--surround::after {
|
||||
border-width: @border-width-base;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user