diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-30 10:19:58 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-04 10:48:49 +0100 |
commit | af3284d98b68dedbdab3821fa99ee53437ee3d32 (patch) | |
tree | b25b2c624ff743c52a56aa8d6ca2933aa0009a8f /app/assets/stylesheets/pages/note_form.scss | |
parent | 38e32780a85463e862e5847a436be6819e28c81c (diff) | |
download | gitlab-ce-af3284d98b68dedbdab3821fa99ee53437ee3d32.tar.gz |
Focus style for comment form
Diffstat (limited to 'app/assets/stylesheets/pages/note_form.scss')
-rw-r--r-- | app/assets/stylesheets/pages/note_form.scss | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/app/assets/stylesheets/pages/note_form.scss b/app/assets/stylesheets/pages/note_form.scss index 561b37e5828..7bd666d1c69 100644 --- a/app/assets/stylesheets/pages/note_form.scss +++ b/app/assets/stylesheets/pages/note_form.scss @@ -44,8 +44,7 @@ } .note-textarea { - padding-left: 0; - padding-right: 0; + padding: 10px 0; font-family: $regular_font; border: 0; @@ -63,8 +62,18 @@ .common-note-form { .md-area { padding: $gl-padding-top $gl-padding; - border: 1px solid #E5E5E5; + border: 1px solid #e5e5e5; border-radius: $border-radius-base; + + &.is-focused { + border-color: #3b99fc; + box-shadow: 0 0 4px rgba(#3b99fc, .7); + + .comment-toolbar, + .nav-links { + border-color: #3b99fc; + } + } } } @@ -156,8 +165,6 @@ } .toolbar-button { - float: left; - margin-right: $gl-padding; padding: 0; background: none; border: 0; @@ -171,8 +178,14 @@ outline: 0; } - &:last-child { - margin-right: 0; + @media (min-width: $screen-md-min) { + float: left; + margin-right: $gl-padding; + + &:last-child { + float: right; + margin-right: 0; + } } } @@ -185,8 +198,11 @@ } .toolbar-text { - float: left; color: #959494; font-size: 14px; line-height: 16px; + + @media (min-width: $screen-md-min) { + float: left; + } } |