Permalink
Browse files

Removes z-index from SC.SelectView label for Ace. SproutCore styles s…

…hould not use z-index and it's not needed in this case either.
  • Loading branch information...
1 parent b8e7944 commit 264d903efddca2ece5981a97c7e094d5c422df0d @publickeating publickeating committed Feb 12, 2013
Showing with 3 additions and 4 deletions.
  1. +3 −4 themes/ace/resources/button/popup/select.css
@@ -1,20 +1,19 @@
@theme(sc-regular-size.popup) {
$theme.button {
@include slices("normal_select.png", $left: 5, $right: 25);
-
+
.sc-button-label {
position: absolute;
- z-index: 5; /* Appear above background */
left: 7px;
text-align: left;
right: 25px;
vertical-align: top;
color: #333;
}
-
+
&.sel, &.sel.active, &.active {
@include slices("active_select.png", $left: 5, $right: 25);
-
+
text-shadow: 0px 1px 1px rgba(255, 255, 255, .6);
}
}

0 comments on commit 264d903

Please sign in to comment.