summaryrefslogtreecommitdiff
path: root/searx/static/less/bootstrap/mixins/buttons.less
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-03-10 19:41:05 +0100
committerAlexandre Flament <alex@al-f.net>2021-03-11 09:33:01 +0100
commit86912e22728b8428d25b075be57cd35d6e484692 (patch)
treeaf2c50838fe7d8a08f4a45bf9ee9fb5c835baceb /searx/static/less/bootstrap/mixins/buttons.less
parent44407353ef3dbab4e4249e9cca6955a500b8e539 (diff)
[mod] oscar: get bootstrap and typeahead from NPM
Diffstat (limited to 'searx/static/less/bootstrap/mixins/buttons.less')
-rw-r--r--searx/static/less/bootstrap/mixins/buttons.less50
1 files changed, 0 insertions, 50 deletions
diff --git a/searx/static/less/bootstrap/mixins/buttons.less b/searx/static/less/bootstrap/mixins/buttons.less
deleted file mode 100644
index 409f8f20a..000000000
--- a/searx/static/less/bootstrap/mixins/buttons.less
+++ /dev/null
@@ -1,50 +0,0 @@
-// Button variants
-//
-// Easily pump out default styles, as well as :hover, :focus, :active,
-// and disabled options for all buttons
-
-.button-variant(@color; @background; @border) {
- color: @color;
- background-color: @background;
- border-color: @border;
-
- &:hover,
- &:focus,
- &:active,
- &.active,
- .open > .dropdown-toggle& {
- color: @color;
- background-color: darken(@background, 10%);
- border-color: darken(@border, 12%);
- }
- &:active,
- &.active,
- .open > .dropdown-toggle& {
- background-image: none;
- }
- &.disabled,
- &[disabled],
- fieldset[disabled] & {
- &,
- &:hover,
- &:focus,
- &:active,
- &.active {
- background-color: @background;
- border-color: @border;
- }
- }
-
- .badge {
- color: @background;
- background-color: @color;
- }
-}
-
-// Button sizes
-.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
- padding: @padding-vertical @padding-horizontal;
- font-size: @font-size;
- line-height: @line-height;
- border-radius: @border-radius;
-}