Skip to content

Commit

Permalink
organization: fix mis-aligned searchbox and fix wrong bg color
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Jun 19, 2015
1 parent e7deef9 commit 52ebebc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 2 additions & 4 deletions app/assets/stylesheets/less/_override.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.transition(all 0.3s ease);

&:hover {
background-color:#e6e6e6;
background-color: #fafafa;
.transition(all 0.1s linear);
}

Expand Down Expand Up @@ -168,7 +168,6 @@
margin-top:4px;

input {
border: 1px solid rgba(0,0,0,0.15);
background: #fff url('@{select2-image-path}/select2.png') no-repeat 100% -22px;

&.select2-active {
Expand Down Expand Up @@ -276,8 +275,7 @@

&.select2-container-active {
.select2-choices {
border: 1px solid rgba(0,0,0,0.15);
border-bottom:0;
border: 1px solid @primary;
background-image:none;
outline:none;
.box-shadow(none);
Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/less/_page.less
Original file line number Diff line number Diff line change
Expand Up @@ -6249,3 +6249,7 @@ div.diff-body[data-outdated="true"] tr:hover .icon-comment {
font-weight: bold;
margin-right: 10px;
}

.group-board {
width: 100% !important;
}
2 changes: 1 addition & 1 deletion app/views/organization/group_board_list.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</select>
</div>
<div class="search-bar span4">
<input name="filter" class="textbox" type="text" placeholder="@Messages("title.searchByKeyword")" value="@param.filter">
<input name="filter" class="textbox group-board" type="text" placeholder="@Messages("title.searchByKeyword")" value="@param.filter">
<button type="submit" class="search-btn"><i class="yobicon-search"></i></button>
</div>
</form>
Expand Down

0 comments on commit 52ebebc

Please sign in to comment.