Skip to content

Commit

Permalink
[Frontend] Styling TC unsynced elements
Browse files Browse the repository at this point in the history
Fixes #933
WIP: Styling for unsynced elements
  • Loading branch information
charlesh88 committed Aug 1, 2016
1 parent 762f43f commit 579c6b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 8 additions & 2 deletions platform/commonUI/general/res/sass/_data-status.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
.s-unsynced {
$c: $colorPausedBg;
border: 1px solid $c;
@include animTo($animName: pulsePaused, $propName: border-color, $propValStart: rgba($c, 0.8), $propValEnd: rgba($c, 0.5), $dur: $animPausedPulseDur, $dir: alternate, $count: infinite);
}


.s-stale {
@include s-stale();
.td {
Expand All @@ -10,8 +17,7 @@

// Plot areas
.gl-plot .gl-plot-display-area {
border: 1px solid $c;
@include animTo($animName: pulsePaused, $propName: border-color, $propValStart: rgba($c, 0.8), $propValEnd: rgba($c, 0.5), $dur: $animPausedPulseDur, $dir: alternate, $count: infinite);
@extend .s-unsynced;
}
}

3 changes: 1 addition & 2 deletions platform/commonUI/general/res/sass/features/_imagery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
.s-image-main {
border: 1px solid transparent;
&.paused {
//border-color: $colorPausedBg;
@include s-status-for-block-elem($c: $colorPausedBg);
@extend .s-unsynced;
}
}

Expand Down

0 comments on commit 579c6b6

Please sign in to comment.