diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-05-03 02:00:36 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-06-01 23:05:31 +0300 |
commit | 7fbd5015a6fcf48eed110533af09de08752b8c1b (patch) | |
tree | e86247e292ecd05263179d85cef3b1ca5b575f07 /plugins/Dashboard/stylesheets | |
parent | 00c527409a527006a1a784efb4a92f55593e860e (diff) |
ref #7585 Refactored the less rules for buttons to simplify them
Removed most of the `!important` tags which allows to override the design of buttons (e.g. `btn-lg`, etc.)
Diffstat (limited to 'plugins/Dashboard/stylesheets')
-rw-r--r-- | plugins/Dashboard/stylesheets/dashboard.less | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/Dashboard/stylesheets/dashboard.less b/plugins/Dashboard/stylesheets/dashboard.less index 5d3e7bcddd..311ca0c2d8 100644 --- a/plugins/Dashboard/stylesheets/dashboard.less +++ b/plugins/Dashboard/stylesheets/dashboard.less @@ -443,3 +443,13 @@ div.widgetpreview-preview { display:none; } } + +.ui-button, .ui-dialog-titlebar-close { + .btn; + color: @theme-color-brand-contrast !important; + background-color: @theme-color-brand !important; + &:hover { + background: none; + background-color: transparent; + } +} |