mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 14:28:42 +00:00
+ Cleaned up inelegant box shadows per fryn's suggestion
+ Made the snap guides a little more subtle
This commit is contained in:
parent
3fc87452a5
commit
a71e6207a7
@ -812,7 +812,13 @@ UIClass.prototype = {
|
||||
// don't perform a resize. This resize really slows things down.
|
||||
var isAnimating = iQ.isAnimating();
|
||||
if( force == false){
|
||||
if( isAnimating || !Page.isTabCandyFocused() ) return; }
|
||||
if( isAnimating || !Page.isTabCandyFocused() ) {
|
||||
// TODO: should try again once the animation is done
|
||||
// Actually, looks like iQ.isAnimating is non-functional;
|
||||
// perhaps we should clean it out, or maybe we should fix it.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
var items = Items.getTopLevelItems();
|
||||
var itemBounds = new Rect(this.pageBounds);
|
||||
|
@ -33,11 +33,7 @@ body {
|
||||
background-color: rgba(245,245,245,1);
|
||||
overflow: visible !important;
|
||||
-moz-border-radius: 0.4em;
|
||||
-moz-box-shadow:
|
||||
inset rgba(255, 255, 255, 0.6) 0 2px 0px,
|
||||
inset rgba(255, 255, 255, 0.6) 0 -2px 0px,
|
||||
inset rgba(255, 255, 255, 0.6) 2px 0px 0px,
|
||||
inset rgba(255, 255, 255, 0.6) -2px 0px 0px;
|
||||
-moz-box-shadow: inset rgba(255, 255, 255, 0.6) 0 0 0 2px,
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@ -152,11 +148,7 @@ body {
|
||||
|
||||
.tabInGroup {
|
||||
border: none;
|
||||
-moz-box-shadow:
|
||||
inset rgba(255, 255, 255, 0) 0 2px 0px,
|
||||
inset rgba(255, 255, 255, 0) 0 -2px 0px,
|
||||
inset rgba(255, 255, 255, 0) 2px 0px 0px,
|
||||
inset rgba(255, 255, 255, 0) -2px 0px 0px !important;
|
||||
-moz-box-shadow: none !important;
|
||||
}
|
||||
|
||||
|
||||
@ -168,10 +160,7 @@ body {
|
||||
background-color: rgba(248,248,248,1);
|
||||
-moz-border-radius: 0.4em;
|
||||
-moz-box-shadow:
|
||||
inset rgba(255, 255, 255, 0.6) 0 2px 0px,
|
||||
inset rgba(255, 255, 255, 0.6) 0 -2px 0px,
|
||||
inset rgba(255, 255, 255, 0.6) 2px 0px 0px,
|
||||
inset rgba(255, 255, 255, 0.6) -2px 0px 0px,
|
||||
inset rgba(255, 255, 255, 0.6) 0 0 0 2px,
|
||||
rgba(0,0,0, .2) 1px 1px 4px;
|
||||
}
|
||||
|
||||
@ -207,8 +196,8 @@ body {
|
||||
.guideTrench {
|
||||
z-index: -101;
|
||||
opacity: 0.9;
|
||||
border-top: 5px dashed rgba(0,0,0,0.3);
|
||||
border-left: 5px dashed rgba(0,0,0,0.3);
|
||||
border-top: 2px dashed rgba(0,0,0,0.15);
|
||||
border-left: 2px dashed rgba(0,0,0,0.15);
|
||||
}
|
||||
|
||||
.visibleTrench {
|
||||
|
Loading…
x
Reference in New Issue
Block a user