changes border color to dark grey and removes box shadow for textareas and text inputs on focus

This commit is contained in:
lyzellis 2014-07-18 17:27:41 -07:00
parent a282a37a8c
commit bdc5c1f958
4 changed files with 9 additions and 14 deletions

View file

@ -19,7 +19,7 @@
@import 'popover' @import 'popover'
@import 'stream_element' @import 'stream_element'
@import 'report' @import 'report'
@import 'bootstrap-commentfix' @import 'new_styles/_forms'
/* ====== media ====== */ /* ====== media ====== */
.media .media

View file

@ -1,12 +0,0 @@
//Replaces blue border and box shadow around comment field with gray border and no box shadow//
.comment_box {
border: 1px solid $border-grey;
&:focus {
border: 1px solid $border-dark-grey;
border-color: 1px solid #ccc;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0), 0 0 8px rgba(102, 175, 233, 0);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0), 0 0 8px rgba(102, 175, 233, 0);
}
}

View file

@ -27,7 +27,6 @@
@import 'bootstrap-headerfix'; @import 'bootstrap-headerfix';
@import 'opengraph'; @import 'opengraph';
@import 'single-post-view'; @import 'single-post-view';
@import 'bootstrap-commentfix';
@import 'new_styles/poll'; @import 'new_styles/poll';
/* conversations */ /* conversations */

View file

@ -86,6 +86,14 @@ form.block-form {
} }
} }
textarea, input[type=text] {
&:focus {
border: 1px solid $border-dark-grey;
outline: none;
-webkit-box-shadow: none;
box-shadow: none;
}
}
/* buttons to be extracted? */ /* buttons to be extracted? */
.new-btn { .new-btn {