489b60105f
* 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
48 lines
970 B
SCSS
48 lines
970 B
SCSS
%empty-state {
|
|
color: $gray-500;
|
|
background-color: $gray-010;
|
|
}
|
|
%empty-state-header {
|
|
border-bottom: none;
|
|
}
|
|
%empty-state-header {
|
|
@extend %h200;
|
|
}
|
|
/* Icons */
|
|
%empty-state header::before {
|
|
font-size: 2.6em;
|
|
position: relative;
|
|
top: -3px;
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
%empty-state-anchor::before {
|
|
margin-right: 0.5em;
|
|
font-size: 0.9em;
|
|
}
|
|
%empty-state[class*='status-'] header::before {
|
|
@extend %as-pseudo;
|
|
}
|
|
%empty-state header::before {
|
|
@extend %with-alert-circle-outline-mask;
|
|
}
|
|
%empty-state.status-404 header::before {
|
|
@extend %with-help-circle-outline-mask;
|
|
}
|
|
%empty-state.status-403 header::before {
|
|
@extend %with-disabled-mask;
|
|
}
|
|
%empty-state li[class*='-link'] > *::after {
|
|
@extend %as-pseudo;
|
|
margin-left: 5px;
|
|
}
|
|
%empty-state .docs-link > *::after {
|
|
@extend %with-docs-mask;
|
|
}
|
|
%empty-state .back-link > *::after {
|
|
@extend %with-chevron-left-mask;
|
|
}
|
|
%empty-state .learn-link > *::after {
|
|
@extend %with-learn-mask;
|
|
}
|