Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 19c8118

Browse files
committed
GH-202: Fix deletion anomalies transitions
1 parent 77b49ea commit 19c8118

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

src/_static/scss/presentation-normalization.scss

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,30 +102,38 @@
102102

103103
#deletion-anomalies.present {
104104
td.fade-out {
105+
color: red;
105106
opacity: 0.0;
106107
transition: $transition;
107108
transition-delay: $transition-delay;
108109
}
109110

110111
td.lost-data {
112+
color: $lost-data;
113+
transition: $transition;
114+
transition-delay: $transition + $transition-delay;
115+
111116
&:nth-child(odd) {
112117
transform: rotate(-7deg);
113118
}
114119

115120
&:nth-child(even) {
116121
transform: rotate(7deg);
117122
}
118-
119-
color: $lost-data;
120-
transition: $transition;
121-
transition-delay: $transition + $transition-delay;
122123
}
123124
}
124125

125126
#deletion-anomalies.past {
126127
td.lost-data {
127128
color: $lost-data;
128-
transform: rotate(7deg);
129+
130+
&:nth-child(odd) {
131+
transform: rotate(-7deg);
132+
}
133+
134+
&:nth-child(even) {
135+
transform: rotate(7deg);
136+
}
129137
}
130138
}
131139

0 commit comments

Comments
 (0)