mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 04:13:47 +00:00
refactor: time input labels on hover (#1855)
This commit is contained in:
@@ -15,3 +15,26 @@
|
||||
.active {
|
||||
color: $active-indicator;
|
||||
}
|
||||
|
||||
.inputWrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hoverLabel {
|
||||
position: absolute;
|
||||
top: -1.5rem;
|
||||
background-color: $ui-white;
|
||||
padding: 0.125rem 0.5rem;
|
||||
color: $ui-black;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
border-radius: $component-border-radius-md;
|
||||
transition: opacity 0.15s ease; // no delay on fade out
|
||||
pointer-events: none;
|
||||
z-index: $zindex-floating;
|
||||
|
||||
&.visible {
|
||||
opacity: 1;
|
||||
transition: opacity 0.15s 0.5s ease; // small delay before fade in
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user