diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-13 18:14:01 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-13 18:14:01 +0100 |
commit | 55e56eb6675031ddd9f2a16e7c665cfa67694fa7 (patch) | |
tree | 0dd68f55c976081aeaecac4377524412606b5e75 | |
parent | d48f3f423da0e196d831401c422066fc63470202 (diff) | |
download | gitlab-ce-note-form-buttons.tar.gz |
Focus variable for dropzonenote-form-buttons
-rw-r--r-- | app/assets/stylesheets/framework/variables.scss | 1 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/note_form.scss | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/variables.scss b/app/assets/stylesheets/framework/variables.scss index 0b6be86ce6a..fcf1f2193b1 100644 --- a/app/assets/stylesheets/framework/variables.scss +++ b/app/assets/stylesheets/framework/variables.scss @@ -150,6 +150,7 @@ $light-grey-header: #faf9f9; */ $gl-primary: $blue-normal; $gl-success: $green-normal; +$gl-success-focus: rgba($gl-success, .4) $gl-info: $blue-normal; $gl-warning: $orange-normal; $gl-danger: $red-normal; diff --git a/app/assets/stylesheets/pages/note_form.scss b/app/assets/stylesheets/pages/note_form.scss index 2395de2e17f..07c707e7b77 100644 --- a/app/assets/stylesheets/pages/note_form.scss +++ b/app/assets/stylesheets/pages/note_form.scss @@ -76,7 +76,7 @@ &.is-dropzone-hover { border-color: $gl-success; box-shadow: 0 0 2px $black-transparent, - 0 0 4px rgba($gl-success, .4); + 0 0 4px $gl-success-focus; .comment-toolbar, .nav-links { |