a11y-outline

web extension to navigate document outlines easily
git clone https://git.ce9e.org/a11y-outline.git

commit
e3ed8ed682dbb668d4b11241ab8c52161c1386c5
parent
e4896639171b2ad883613850227620dcedf93e43
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-01-12 16:01
show spinner until data is available

Diffstat

M src/outline.scss 16 ++++++++++++++++

1 files changed, 16 insertions, 0 deletions


diff --git a/src/outline.scss b/src/outline.scss

@@ -1,3 +1,8 @@
   -1     1 @keyframes spin {
   -1     2 	from {transform: rotate(0)}
   -1     3 	to {transform: rotate(1turn)}
   -1     4 }
   -1     5 
    1     6 %button-base {
    2     7 	font-size: inherit;
    3     8 	line-height: 1.2;
@@ -76,6 +81,17 @@
   76    81 	.treeview {
   77    82 		outline: 0;
   78    83 
   -1    84 		&:empty {
   -1    85 			box-sizing: border-box;
   -1    86 			width: 2em;
   -1    87 			height: 2em;
   -1    88 			margin: 0 auto;
   -1    89 			border: 3px solid;
   -1    90 			border-top-color: transparent;
   -1    91 			border-radius: 50%;
   -1    92 			animation: spin 2s infinite linear;
   -1    93 		}
   -1    94 
   79    95 		[aria-expanded="false"] ul {
   80    96 			display: none;
   81    97 		}