mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[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
2 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue