Skip to content

Commit fcfda50

Browse files
committed
[Frontend] Styling for Time Conductor v2
Fixes #933 In-progress: color tweaks, bar sizing, field widths
1 parent 06af84c commit fcfda50

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

platform/commonUI/general/res/sass/_constants.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ $uePaneMiniTabW: 10px;
4848
$uePaneMiniTabCollapsedW: 11px;
4949
$ueEditLeftPaneW: 75%;
5050
$treeSearchInputBarH: 25px;
51-
$ueTimeControlH: (25px, 18px, 20px);
51+
$ueTimeControlH: (25px, 4px, 20px);
5252
/*************** Panes */
5353
$ueBrowseLeftPaneTreeMinW: 150px;
5454
$ueBrowseLeftPaneTreeMaxW: 35%;

platform/commonUI/general/res/sass/controls/_time-conductor.scss

+3-5
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
.time-delta {
3636
&:before {
3737
@extend .ui-symbol;
38-
margin-right: $interiorMarginSm;
3938
}
4039
}
4140

@@ -52,7 +51,7 @@
5251

5352
.l-time-conductor-inputs-holder {
5453
$trInputW: 180px;
55-
$hmInputW: 80px;
54+
$hmInputW: 60px;
5655
$ticksBlockerFadeW: 50px;
5756
$iconCalendarW: 16px;
5857
$wBgColor: $colorBodyBg;
@@ -92,7 +91,6 @@
9291
$c: $colorTick;
9392
height: $r1H;
9493
mct-conductor-axis {
95-
//@include transform(translateY(1px));
9694
display: block;
9795
position: relative;
9896
width: 100%;
@@ -121,7 +119,7 @@
121119
}
122120
}
123121
.l-data-visualization {
124-
background: rgba($colorTick, 0.3);
122+
background: $colorTimeCondDataVisBg;
125123
height: $r2H;
126124
}
127125

@@ -158,7 +156,7 @@
158156
}
159157

160158
.l-data-visualization {
161-
background: rgba($colorTimeCondKeyBg, 0.5) !important
159+
background: $colorTimeCondDataVisRtBg !important
162160
}
163161
.mode-selector .s-menu-btn {
164162
@include btnSubtle($colorTimeCondKeyBg, pullForward($colorTimeCondKeyBg, $ltGamma), $colorTimeCondKeyFg);

platform/commonUI/themes/espresso/res/sass/_constants.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,6 @@ $colorLoadingBg: rgba($colorBodyFg, 0.2);
211211

212212
// Time Conductor
213213
$colorTimeCondKeyBg: #1d7a96;
214-
$colorTimeCondKeyFg: #fff;
214+
$colorTimeCondKeyFg: #fff;
215+
$colorTimeCondDataVisBg: pushBack($colorTick, 20%);
216+
$colorTimeCondDataVisRtBg: pushBack($colorTimeCondKeyBg, 30%);

platform/commonUI/themes/snow/res/sass/_constants.scss

+2
Original file line numberDiff line numberDiff line change
@@ -212,3 +212,5 @@ $colorLoadingBg: rgba($colorLoadingFg, 0.1);
212212
// Time Conductor
213213
$colorTimeCondKeyBg: #0092b3;
214214
$colorTimeCondKeyFg: #fff;
215+
$colorTimeCondDataVisBg: pushBack($colorTick, 20%);
216+
$colorTimeCondDataVisRtBg: pushBack($colorTimeCondKeyBg, 30%);

0 commit comments

Comments
 (0)