|
102 | 102 | */
|
103 | 103 | .rst__highlightLineVertical {
|
104 | 104 | z-index: 3;
|
105 |
| - |
106 |
| - &::before { |
107 |
| - position: absolute; |
108 |
| - content: ''; |
109 |
| - background-color: #36c2f6; |
110 |
| - width: 8px; |
111 |
| - margin-left: -4px; |
112 |
| - left: 50%; |
113 |
| - top: 0; |
114 |
| - height: 100%; |
| 105 | +} |
| 106 | +.rst__highlightLineVertical::before { |
| 107 | + position: absolute; |
| 108 | + content: ''; |
| 109 | + background-color: #36c2f6; |
| 110 | + width: 8px; |
| 111 | + margin-left: -4px; |
| 112 | + left: 50%; |
| 113 | + top: 0; |
| 114 | + height: 100%; |
| 115 | +} |
| 116 | +@keyframes arrow-pulse { |
| 117 | + 0% { |
| 118 | + transform: translate(0, 0); |
| 119 | + opacity: 0; |
115 | 120 | }
|
116 |
| - |
117 |
| - @keyframes arrow-pulse { |
118 |
| - 0% { |
119 |
| - transform: translate(0, 0); |
120 |
| - opacity: 0; |
121 |
| - } |
122 |
| - 30% { |
123 |
| - transform: translate(0, 300%); |
124 |
| - opacity: 1; |
125 |
| - } |
126 |
| - 70% { |
127 |
| - transform: translate(0, 700%); |
128 |
| - opacity: 1; |
129 |
| - } |
130 |
| - 100% { |
131 |
| - transform: translate(0, 1000%); |
132 |
| - opacity: 0; |
133 |
| - } |
| 121 | + 30% { |
| 122 | + transform: translate(0, 300%); |
| 123 | + opacity: 1; |
134 | 124 | }
|
135 |
| - |
136 |
| - &::after { |
137 |
| - content: ''; |
138 |
| - position: absolute; |
139 |
| - height: 0; |
140 |
| - margin-left: -4px; |
141 |
| - left: 50%; |
142 |
| - top: 0; |
143 |
| - border-left: 4px solid transparent; |
144 |
| - border-right: 4px solid transparent; |
145 |
| - border-top: 4px solid white; |
146 |
| - animation: arrow-pulse 1s infinite linear both; |
| 125 | + 70% { |
| 126 | + transform: translate(0, 700%); |
| 127 | + opacity: 1; |
| 128 | + } |
| 129 | + 100% { |
| 130 | + transform: translate(0, 1000%); |
| 131 | + opacity: 0; |
147 | 132 | }
|
148 | 133 | }
|
| 134 | +.rst__highlightLineVertical::after { |
| 135 | + content: ''; |
| 136 | + position: absolute; |
| 137 | + height: 0; |
| 138 | + margin-left: -4px; |
| 139 | + left: 50%; |
| 140 | + top: 0; |
| 141 | + border-left: 4px solid transparent; |
| 142 | + border-right: 4px solid transparent; |
| 143 | + border-top: 4px solid white; |
| 144 | + animation: arrow-pulse 1s infinite linear both; |
| 145 | +} |
149 | 146 |
|
150 | 147 | /**
|
151 | 148 | * +-----+
|
|
154 | 151 | * | | |
|
155 | 152 | * +--+--+
|
156 | 153 | */
|
157 |
| -.rst__highlightTopLeftCorner { |
158 |
| - &::before { |
159 |
| - z-index: 3; |
160 |
| - content: ''; |
161 |
| - position: absolute; |
162 |
| - border-top: solid 8px #36c2f6; |
163 |
| - border-left: solid 8px #36c2f6; |
164 |
| - box-sizing: border-box; |
165 |
| - height: calc(50% + 4px); |
166 |
| - top: 50%; |
167 |
| - margin-top: -4px; |
168 |
| - right: 0; |
169 |
| - width: calc(50% + 4px); |
170 |
| - } |
| 154 | +.rst__highlightTopLeftCorner::before { |
| 155 | + z-index: 3; |
| 156 | + content: ''; |
| 157 | + position: absolute; |
| 158 | + border-top: solid 8px #36c2f6; |
| 159 | + border-left: solid 8px #36c2f6; |
| 160 | + box-sizing: border-box; |
| 161 | + height: calc(50% + 4px); |
| 162 | + top: 50%; |
| 163 | + margin-top: -4px; |
| 164 | + right: 0; |
| 165 | + width: calc(50% + 4px); |
171 | 166 | }
|
172 | 167 |
|
173 | 168 | /**
|
|
179 | 174 | */
|
180 | 175 | .rst__highlightBottomLeftCorner {
|
181 | 176 | z-index: 3;
|
182 |
| - |
183 |
| - &::before { |
184 |
| - content: ''; |
185 |
| - position: absolute; |
186 |
| - border-bottom: solid 8px #36c2f6; |
187 |
| - border-left: solid 8px #36c2f6; |
188 |
| - box-sizing: border-box; |
189 |
| - height: calc(100% + 4px); |
190 |
| - top: 0; |
191 |
| - right: 12px; |
192 |
| - width: calc(50% - 8px); |
193 |
| - } |
194 |
| - |
195 |
| - &::after { |
196 |
| - content: ''; |
197 |
| - position: absolute; |
198 |
| - height: 0; |
199 |
| - right: 0; |
200 |
| - top: 100%; |
201 |
| - margin-top: -12px; |
202 |
| - border-top: 12px solid transparent; |
203 |
| - border-bottom: 12px solid transparent; |
204 |
| - border-left: 12px solid #36c2f6; |
205 |
| - } |
| 177 | +} |
| 178 | +.rst__highlightBottomLeftCorner::before { |
| 179 | + content: ''; |
| 180 | + position: absolute; |
| 181 | + border-bottom: solid 8px #36c2f6; |
| 182 | + border-left: solid 8px #36c2f6; |
| 183 | + box-sizing: border-box; |
| 184 | + height: calc(100% + 4px); |
| 185 | + top: 0; |
| 186 | + right: 12px; |
| 187 | + width: calc(50% - 8px); |
| 188 | +} |
| 189 | +.rst__highlightBottomLeftCorner::after { |
| 190 | + content: ''; |
| 191 | + position: absolute; |
| 192 | + height: 0; |
| 193 | + right: 0; |
| 194 | + top: 100%; |
| 195 | + margin-top: -12px; |
| 196 | + border-top: 12px solid transparent; |
| 197 | + border-bottom: 12px solid transparent; |
| 198 | + border-left: 12px solid #36c2f6; |
206 | 199 | }
|
0 commit comments