Skip to content

Commit

Permalink
Removes z-index from SC.SelectView label for Ace. SproutCore styles s…
Browse files Browse the repository at this point in the history
…hould not use z-index and it's not needed in this case either.
  • Loading branch information
publickeating committed Feb 12, 2013
1 parent b8e7944 commit 264d903
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions themes/ace/resources/button/popup/select.css
Original file line number Original file line Diff line number Diff line change
@@ -1,20 +1,19 @@
@theme(sc-regular-size.popup) { @theme(sc-regular-size.popup) {
$theme.button { $theme.button {
@include slices("normal_select.png", $left: 5, $right: 25); @include slices("normal_select.png", $left: 5, $right: 25);

.sc-button-label { .sc-button-label {
position: absolute; position: absolute;
z-index: 5; /* Appear above background */
left: 7px; left: 7px;
text-align: left; text-align: left;
right: 25px; right: 25px;
vertical-align: top; vertical-align: top;
color: #333; color: #333;
} }

&.sel, &.sel.active, &.active { &.sel, &.sel.active, &.active {
@include slices("active_select.png", $left: 5, $right: 25); @include slices("active_select.png", $left: 5, $right: 25);

text-shadow: 0px 1px 1px rgba(255, 255, 255, .6); text-shadow: 0px 1px 1px rgba(255, 255, 255, .6);
} }
} }
Expand Down

0 comments on commit 264d903

Please sign in to comment.