aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/css/dumbymap.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/dumbymap.css')
-rw-r--r--src/css/dumbymap.css60
1 files changed, 0 insertions, 60 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css
index cc161fa..f13119a 100644
--- a/src/css/dumbymap.css
+++ b/src/css/dumbymap.css
@@ -166,58 +166,6 @@ root {
166 } 166 }
167} 167}
168 168
169.DumbyMap.Dumby[data-layout] .dumby-block {
170 padding: 1rem 1rem 1rem 2rem;
171
172 position: relative;
173
174 counter-increment: block;
175
176 &::before {
177 content: '';
178 height: calc(100% - 2rem);
179
180 position: absolute;
181 left: 0.8rem;
182
183 border-left: 0.5em solid #e0e0e0;
184
185 transition: border-color 0.5s linear;
186 }
187
188 &.focus {
189 /* Dress up when block is focus */
190
191 /* background: var(--block-focus-color); */
192 &::before {
193 border-color: chocolate;
194 }
195
196 &::after {
197 content: counter(block) '/' attr(data-total);
198 padding: 0.3rem 0.5rem;
199
200 position: absolute;
201 left: 50%;
202 top: 50%;
203 z-index: 9999;
204
205 border: solid transparent;
206 border-radius: 5px;
207
208 background: gray;
209
210 color: white;
211 font-size: 1.5em;
212 font-weight: bold;
213
214 transform: translate(-50%, -50%);
215 opacity: 0;
216 animation: 1.5s forwards fade-out cubic-bezier(0.44, 0.18, 0.86, -0.21);
217 }
218 }
219
220}
221 169
222.menu { 170.menu {
223 display: block; 171 display: block;
@@ -495,14 +443,6 @@ root {
495 } 443 }
496} 444}
497 445
498.DumbyMap.Dumby[data-layout='normal'] {
499 max-width: 60em;
500
501 &::after {
502 animation: 1.5s forwards fade-out cubic-bezier(0.44, 0.18, 0.86, -0.21);
503 }
504}
505
506.Dumby[data-layout='side-by-side'] { 446.Dumby[data-layout='side-by-side'] {
507 &::after { 447 &::after {
508 animation: 1.5s forwards fade-out cubic-bezier(0.44, 0.18, 0.86, -0.21); 448 animation: 1.5s forwards fade-out cubic-bezier(0.44, 0.18, 0.86, -0.21);