Skip to content

Commit

Permalink
[Frontend] Styling for Time Conductor v2
Browse files Browse the repository at this point in the history
Fixes #933
In-progress: color/size tweaks, fixes for espresso
theme
  • Loading branch information
charlesh88 committed Jul 14, 2016
1 parent e193e3d commit 8b694ef
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion platform/commonUI/general/res/sass/_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $uePaneMiniTabW: 10px;
$uePaneMiniTabCollapsedW: 11px;
$ueEditLeftPaneW: 75%;
$treeSearchInputBarH: 25px;
$ueTimeControlH: (25px, 4px, 20px);
$ueTimeControlH: (25px, 6px, 20px);
/*************** Panes */
$ueBrowseLeftPaneTreeMinW: 150px;
$ueBrowseLeftPaneTreeMaxW: 35%;
Expand Down
13 changes: 11 additions & 2 deletions platform/commonUI/general/res/sass/controls/_time-conductor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

.time-conductor-icon {
$c: $colorBtnBg; //$colorTimeCondKeyBg;
$c: $colorObjHdrIc;
$d: 20px;
background: $c;
border-radius: 4px;
Expand Down Expand Up @@ -193,6 +193,7 @@
display: none;
}
line {
// Tick marks
stroke: $c;
}
text {
Expand Down Expand Up @@ -239,7 +240,8 @@
border-radius: 0;
padding-left: 0;
padding-right: 0;
&:hover {
&:hover,
&:focus {
@include nice-input();
padding: $inputTextP;
}
Expand All @@ -256,6 +258,13 @@
}
}

/* .l-time-conductor-ticks .l-axis-holder {
svg {
line { color: $colorTimeCondKeyBg; };
text { fill: $colorTimeCondKeyBg; }
}
}*/

.l-data-visualization {
background: $colorTimeCondDataVisRtBg !important
}
Expand Down
6 changes: 3 additions & 3 deletions platform/commonUI/themes/espresso/res/sass/_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ $colorLoadingFg: $colorAlt1;
$colorLoadingBg: rgba($colorBodyFg, 0.2);

// Time Conductor
$colorTimeCondKeyBg: #1d7a96;
$colorTimeCondKeyBg: #4e70dc;
$colorTimeCondKeyFg: #fff;
$colorTimeCondDataVisBg: pushBack($colorTick, 20%);
$colorTimeCondDataVisRtBg: pushBack($colorTimeCondKeyBg, 30%);
$colorTimeCondDataVisBg: pullForward($colorBodyBg, 10%);
$colorTimeCondDataVisRtBg: pushBack($colorTimeCondKeyBg, 10%);
4 changes: 2 additions & 2 deletions platform/commonUI/themes/snow/res/sass/_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ $colorLoadingFg: $colorAlt1;
$colorLoadingBg: rgba($colorLoadingFg, 0.1);

// Time Conductor
$colorTimeCondKeyBg: #0092b3;
$colorTimeCondKeyBg: #6178dc;
$colorTimeCondKeyFg: #fff;
$colorTimeCondDataVisBg: pushBack($colorTick, 20%);
$colorTimeCondDataVisBg: pullForward($colorBodyBg, 10%);
$colorTimeCondDataVisRtBg: pushBack($colorTimeCondKeyBg, 30%);

0 comments on commit 8b694ef

Please sign in to comment.