Commit cbbd1daf authored by Ujvari Gergely's avatar Ujvari Gergely

Css changes:

- Using '-' instead of '_'
- sidebar does not resize when search bar grows
parent 121eecf0
...@@ -624,13 +624,12 @@ blockquote { ...@@ -624,13 +624,12 @@ blockquote {
@include smallshadow; @include smallshadow;
background: $white; background: $white;
border: solid 1px $grayLighter; border: solid 1px $grayLighter;
height: 2em; height: 2.25em;
position: fixed; position: fixed;
left: -1px; left: -1px;
right: -1px; right: -1px;
top: .5em; top: .5em;
z-index: 5; z-index: 5;
height: auto;
.barbutton { .barbutton {
&:hover { &:hover {
...@@ -1153,12 +1152,12 @@ h3.stream { ...@@ -1153,12 +1152,12 @@ h3.stream {
overflow: hidden; overflow: hidden;
} }
.visual_search { .visual-search {
.VS-search .VS-search-box { .VS-search .VS-search-box {
height:1em;
border: 0; border: 0;
min-height: 24px; min-height: 22px;
margin-top: 2px; margin-top: 1px;
margin-bottom: 1px;
} }
.VS-search input,.VS-search .VS-input-width-tester { .VS-search input,.VS-search .VS-input-width-tester {
...@@ -1169,13 +1168,13 @@ h3.stream { ...@@ -1169,13 +1168,13 @@ h3.stream {
} }
} }
.visual_container { .visual-container {
margin-left: 3em; margin-left: 3em;
} }
.magnify-glass { .magnify-glass {
width: 2.25em; width: 2.25em;
min-height: 28px; min-height: 22px;
} }
.magnify-glass .VS-icon { .magnify-glass .VS-icon {
......
...@@ -123,7 +123,7 @@ class Hypothesis extends Annotator ...@@ -123,7 +123,7 @@ class Hypothesis extends Annotator
@user_filter = $filter('userName') @user_filter = $filter('userName')
@visualSearch = VS.init @visualSearch = VS.init
container: $('.visual_search') container: $('.visual-search')
query: '' query: ''
callbacks: callbacks:
search: (query, searchCollection) => search: (query, searchCollection) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment