[mod] move border radius of .autocomplete to a LESS mixin
Create `.rounded-bottom-corners()` mixin in less/mixins.less Suggested-by: @mrpaulblack https://github.com/searxng/searxng/pull/426#pullrequestreview-786137688 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
87d1106414
commit
2981102cb8
@ -7,8 +7,7 @@
|
||||
max-height: 0;
|
||||
overflow-y: hidden;
|
||||
text-align: left;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
.rounded-bottom-corners;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
|
@ -18,6 +18,11 @@
|
||||
border-radius: @radius;
|
||||
}
|
||||
|
||||
.rounded-bottom-corners (@radius: 10px) {
|
||||
border-bottom-left-radius: @radius;
|
||||
border-bottom-right-radius: @radius;
|
||||
}
|
||||
|
||||
.rounded-corners-tiny (@radius: 5px) {
|
||||
border-radius: @radius;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user