Skip to content

Commit

Permalink
revert button text change fix
Browse files Browse the repository at this point in the history
  • Loading branch information
argvader committed Nov 10, 2014
1 parent 5474f1f commit 88f8f5e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
39 changes: 19 additions & 20 deletions app/assets/stylesheets/panamax/search.css.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -240,26 +240,6 @@ body#search_flow main:after {
font-weight: bold;
cursor: pointer;

&.expanded {
header:after {
@extend .icon-thick-arrow-down;
content: '';
position: absolute;
right: 10px;
top: 12px;
display: block;
@include icon-white;
width: 10px;
height: 10px;
}

.target-options {
padding-top: 20px;
height: 50px;
}
}


header {
color: $white;
font-size: 14px;
Expand All @@ -275,6 +255,25 @@ body#search_flow main:after {
width: 10px;
height: 10px;
}

&.expanded {
&:after {
@extend .icon-thick-arrow-down;
content: '';
position: absolute;
right: 10px;
top: 12px;
display: block;
@include icon-white;
width: 10px;
height: 10px;
}

& + .target-options {
padding-top: 20px;
height: 50px;
}
}
}

button.link {
Expand Down
4 changes: 2 additions & 2 deletions app/views/search/_template_row.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
= form_tag apps_path do
= hidden_field_tag 'app[template_id]', presenter.id
.select-target-container
.select-target{ data: { toggle: { class: 'expanded' } } }
%header
.select-target
%header{ data: { toggle: { class: 'expanded' } } }
Run Template
.target-options
%ul
Expand Down

0 comments on commit 88f8f5e

Please sign in to comment.