Extract close button definition to mixin
This commit is contained in:
@@ -66,12 +66,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.close-button {
|
.close-button {
|
||||||
border: 3px solid $admin-text;
|
@include modal-close-button($admin-text);
|
||||||
border-radius: 50%;
|
|
||||||
color: $admin-text;
|
|
||||||
font-size: rem-calc(23);
|
|
||||||
font-weight: bold;
|
|
||||||
height: rem-calc(30);
|
|
||||||
width: rem-calc(30);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -120,3 +120,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin modal-close-button($color: currentcolor) {
|
||||||
|
border: 3px solid $color;
|
||||||
|
border-radius: 50%;
|
||||||
|
color: $color;
|
||||||
|
font-size: rem-calc(23);
|
||||||
|
font-weight: bold;
|
||||||
|
height: rem-calc(30);
|
||||||
|
width: rem-calc(30);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user