open-nomad/ui/app/styles/components/fs-explorer.scss
Buck Doyle 2bfbc2b41b
Remove transition animation from sort arrows (#6067)
It may be an Ember bug: in some circumstances, the
ember-transitioning-in class was persisting in table
sort links even after the transition completed. This
changes the transition animations to be targeted only
for breadcrumbs and directory links.
2019-08-06 09:55:35 -05:00

75 lines
1.3 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.fs-explorer {
width: 100%;
.table.boxed-section-body.is-full-bleed {
border: 1px solid $grey-blue;
}
tbody {
a {
text-decoration: none;
color: inherit;
&:hover {
.name {
text-decoration: underline;
}
}
}
}
.breadcrumb a,
tbody a {
position: relative;
// This is adapted from Bulmas .button.is-loading::after
&.ember-transitioning-in::after {
animation: spinAround 500ms infinite linear;
border: 2px solid $grey-light;
border-radius: 290486px;
border-right-color: transparent;
border-top-color: transparent;
content: '';
display: block;
height: 1em;
width: 1em;
position: absolute;
right: -1.5em;
top: calc(50% - (1em / 2));
}
}
.breadcrumb {
margin: 0;
li::before {
color: $grey-light;
}
a {
padding-top: 0;
padding-bottom: 0;
color: $blue;
opacity: 1;
font-weight: $weight-bold;
text-decoration: none;
&:hover {
text-decoration: underline;
}
&.ember-transitioning-in {
margin-right: 1.5em;
&::after {
right: -1em;
}
}
}
.is-active a {
color: $black;
}
}
}