changes border color to dark grey and removes box shadow for textareas and text inputs on focus
This commit is contained in:
parent
a282a37a8c
commit
bdc5c1f958
4 changed files with 9 additions and 14 deletions
|
|
@ -19,7 +19,7 @@
|
|||
@import 'popover'
|
||||
@import 'stream_element'
|
||||
@import 'report'
|
||||
@import 'bootstrap-commentfix'
|
||||
@import 'new_styles/_forms'
|
||||
|
||||
/* ====== media ====== */
|
||||
.media
|
||||
|
|
|
|||
12
app/assets/stylesheets/bootstrap-commentfix.scss
vendored
12
app/assets/stylesheets/bootstrap-commentfix.scss
vendored
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
@ -27,7 +27,6 @@
|
|||
@import 'bootstrap-headerfix';
|
||||
@import 'opengraph';
|
||||
@import 'single-post-view';
|
||||
@import 'bootstrap-commentfix';
|
||||
@import 'new_styles/poll';
|
||||
|
||||
/* conversations */
|
||||
|
|
|
|||
|
|
@ -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? */
|
||||
.new-btn {
|
||||
|
|
|
|||
Loading…
Reference in a new issue