Skip to content

Commit

Permalink
Scoped toolbar class
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwise committed Aug 31, 2012
1 parent 90cefec commit 2648f7e
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions source/less/VMM.Timeline.TimeNav.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
================================================== */
.vco-notouch {
.vco-navigation {
.toolbar {
.vco-toolbar {
.zoom-in:hover, .zoom-out:hover, .back-home:hover {
color: @color-theme;
cursor: pointer;
Expand Down Expand Up @@ -90,7 +90,7 @@
height:@navigation-height;
border-top: 1px solid @color-dark-fifth;
position: relative;
.toolbar {
.vco-toolbar {
position:absolute;
top:45px;
left:0px;
Expand Down Expand Up @@ -129,6 +129,40 @@
}
}
}
.vco-toolbar.touch {
.border-radius(10px);
background-color: transparent;
.box-shadow(none);
.zoom-in, .zoom-out, .back-home {
//line-height: 48px;
width: 40px;
height: 40px;
padding:5px;
background-color: @color-base;
border: 1px solid @color-line;
.box-shadow(1px 1px 0px rgba(0,0,0,.20));
.border-radius(10px);
.opacity(100);
//.buttonBackground(darken(@color-base, 5%), darken(@color-navigation-major-time, 5%));
//.box-shadow(~"inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075)");
}

.zoom-in {
.icon {
.icon-touch-zoom-in();
}
}
.zoom-out {
.icon {
.icon-touch-zoom-out();
}
}
.back-home {
.icon {
.icon-touch-back-home();
}
}
}

.timenav-background {
position:absolute;
Expand Down

0 comments on commit 2648f7e

Please sign in to comment.