We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80d8ef1 commit 662a8daCopy full SHA for 662a8da
src/style/mixins/hairline.less
@@ -1,27 +1,29 @@
1
+@import '../var';
2
+
3
.hairline-common() {
4
position: absolute;
5
box-sizing: border-box;
6
content: ' ';
7
pointer-events: none;
8
}
9
-.hairline(@border-color: #ebedf0) {
10
+.hairline(@color: @border-color) {
11
.hairline-common();
12
13
top: -50%;
14
right: -50%;
15
bottom: -50%;
16
left: -50%;
- border: 0 solid @border-color;
17
+ border: 0 solid @color;
18
transform: scale(0.5);
19
20
-.hairline-bottom(@border-color: #ebedf0, @left: 0) {
21
+.hairline-bottom(@color: @border-color, @left: 0) {
22
23
24
right: 0;
25
bottom: 0;
26
left: @left;
- border-bottom: 1px solid @border-color;
27
+ border-bottom: 1px solid @color;
28
transform: scaleY(0.5);
29
0 commit comments