diff options
author | Scott Hampton <shampton@gitlab.com> | 2019-07-11 10:06:09 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-07-11 10:06:09 +0000 |
commit | d97032ca0aa52caba9f436a14eaae57b6ef41379 (patch) | |
tree | 964c12c8c9384528eda7851c094a2f6e2bb1bb36 /app/views/projects/issues/import_csv | |
parent | 2d5b47a708172f5f048f84c6d27f87f860423206 (diff) | |
download | gitlab-ce-d97032ca0aa52caba9f436a14eaae57b6ef41379.tar.gz |
Bring buttons style up to design spec
This is a CSS effort only.
Fixes the padding of the buttons to be `8px 12px`
(including border) so that the button height is
32px.
Also adjusts the border width for all buttons when
the state is `hover`, `focus`, or `active to be 2px
thick instead of 1px thick. This is accomplished
through an inset box-shadow as not to increase
the size of the button.
Fixes some colors for primary and tertiary buttons.
Diffstat (limited to 'app/views/projects/issues/import_csv')
-rw-r--r-- | app/views/projects/issues/import_csv/_button.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/import_csv/_button.html.haml b/app/views/projects/issues/import_csv/_button.html.haml index acc2c50294f..8442a53ed61 100644 --- a/app/views/projects/issues/import_csv/_button.html.haml +++ b/app/views/projects/issues/import_csv/_button.html.haml @@ -1,6 +1,6 @@ - type = local_assigns.fetch(:type, :icon) -%button.csv-import-button.btn{ title: _('Import CSV'), class: ('has-tooltip' if type == :icon), +%button.csv-import-button.btn.btn-svg{ title: _('Import CSV'), class: ('has-tooltip' if type == :icon), data: { toggle: 'modal', target: '.issues-import-modal' } } - if type == :icon = sprite_icon('upload') |