mirror of
https://github.com/status-im/consul.git
synced 2025-01-20 18:50:04 +00:00
e4e85a8f83
* Add before and after skip links portals * Move EmptyState and ErrorState to use a @login action/function * Move page title setting to the Route component * Add Routes and Outlets everywhere, and use those to access login modal * Add some aria-labels to the modals * Docs * Remove the label/input now we no longer need it, fixup pageobject * Add basic modal docs * Switch out old toggle names for ids * Wrap nspace Route template in a Route component * type > class
23 lines
350 B
SCSS
23 lines
350 B
SCSS
%skip-links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
z-index: 10;
|
|
left: 50%;
|
|
padding: 20px;
|
|
top: -100px;
|
|
transform: translateX(-50%);
|
|
}
|
|
%skip-links div,
|
|
%skip-links button,
|
|
%skip-links a {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
%skip-links:focus-within {
|
|
top: 0px;
|
|
}
|
|
|