Skip to content

Commit 579c6b6

Browse files
committed
[Frontend] Styling TC unsynced elements
Fixes #933 WIP: Styling for unsynced elements
1 parent 762f43f commit 579c6b6

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

platform/commonUI/general/res/sass/_data-status.scss

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
.s-unsynced {
2+
$c: $colorPausedBg;
3+
border: 1px solid $c;
4+
@include animTo($animName: pulsePaused, $propName: border-color, $propValStart: rgba($c, 0.8), $propValEnd: rgba($c, 0.5), $dur: $animPausedPulseDur, $dir: alternate, $count: infinite);
5+
}
6+
7+
18
.s-stale {
29
@include s-stale();
310
.td {
@@ -10,8 +17,7 @@
1017

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

platform/commonUI/general/res/sass/features/_imagery.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@
7474
.s-image-main {
7575
border: 1px solid transparent;
7676
&.paused {
77-
//border-color: $colorPausedBg;
78-
@include s-status-for-block-elem($c: $colorPausedBg);
77+
@extend .s-unsynced;
7978
}
8079
}
8180

0 commit comments

Comments
 (0)