diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-03-13 09:29:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-13 09:29:13 +0100 |
| commit | 9292571304376c2c463fb26ee0db89298bb00e6c (patch) | |
| tree | 8a2dba56227f67aa52b091d1674190cd40e1411e /searx/static/less/bootstrap/mixins/buttons.less | |
| parent | 22a2e544551e87fb9ea74d2fe07b59bfa0815368 (diff) | |
| parent | cb04d4280642164bddd37e39151bf22799ef3792 (diff) | |
Merge pull request #2346 from dalf/upgrade-oscar
[mod] oscar: upgrade dependencies
Diffstat (limited to 'searx/static/less/bootstrap/mixins/buttons.less')
| -rw-r--r-- | searx/static/less/bootstrap/mixins/buttons.less | 50 |
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; -} |