aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/app.component.css
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/app.component.css')
-rw-r--r--ufund-ui/src/app/app.component.css47
1 files changed, 20 insertions, 27 deletions
diff --git a/ufund-ui/src/app/app.component.css b/ufund-ui/src/app/app.component.css
index 5af3958..0bcd658 100644
--- a/ufund-ui/src/app/app.component.css
+++ b/ufund-ui/src/app/app.component.css
@@ -38,36 +38,29 @@
text-decoration: none;
}
- a:hover {
- /*color: light-dark(black, white)*/
- text-decoration: underline;
+ a {
+ display: block;
+ position: relative;
+ padding: 0.1em 0;
}
-}
-.toast {
- transform: translateY(-90px);
- transition: transform .5s;
- align-self: center;
- z-index: 3;
- position: absolute;
- top: 15px;
- display: flex;
- flex-direction: row;
- padding: 3px 15px;
- background-color: #3a3a3a;
- border-radius: 100000px;
- gap: 10px;
- align-items: center;
+ a::after {
+ content: '';
+ position: absolute;
+ bottom: 4px;
+ left: 0;
+ width: 100%;
+ height: 0.03em;
+ background-color: white;
+ opacity: 0;
+ transition: opacity 300ms, transform 300ms;
+ }
- button {
- aspect-ratio: 1/1;
- margin-right: -11px;
- padding: 8px;
- display: flex;
- align-items: center;
+ a:hover::after,
+ a:focus::after {
+ opacity: 1;
+ transform: translate3d(0, 0.2em, 0);
}
-}
-.toast.active {
- transform: translateY(0);
+
}