summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-13 18:14:01 +0100
committerPhil Hughes <me@iamphill.com>2016-04-14 10:28:05 +0100
commitca01103dedd1a44937068c6834865881ade3d301 (patch)
tree37f34ed8e05212d5542b24dbdf3956f0676bdb81
parent8ffb02d9f812c001514ff4c67e2eac53e1d9dd57 (diff)
downloadgitlab-ce-ca01103dedd1a44937068c6834865881ade3d301.tar.gz
Focus variable for dropzone
-rw-r--r--app/assets/stylesheets/framework/variables.scss1
-rw-r--r--app/assets/stylesheets/pages/note_form.scss2
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 {