Fixed Hint view
diff --git a/dev/scss/hint.scss b/dev/scss/hint.scss
index 470cd17..18000a1 100644
--- a/dev/scss/hint.scss
+++ b/dev/scss/hint.scss
@@ -4,10 +4,11 @@
$border-size: 2px;
ul.menu.hint {
+ display: inline-block;
+ white-space: normal;
text-align:left;
-// margin-left: -1 * $border-size;
+ top: 0;
max-width: 23em !important;
- min-width: 7em;
> li:first-of-type {
border-top: {
@@ -26,44 +27,35 @@
position: absolute;
left: 0;
top: 0;
+ z-index: 900;
white-space: pre-wrap;
- overflow: show;
height: 0;
+ display: block;
> span {
- display: block;
opacity: 0;
white-space: pre-wrap;
overflow: hidden;
}
// Todo: Besser nur, wenn im Focus
> div {
- cursor: pointer;
- transition: left 0.3s ease 0s;
position: absolute;
+ display: block;
+ cursor: pointer;
+ transition: left 0.2s ease 0s;
top: 0;
left: 0;
- text-align: center;
+ text-align: left;
padding: 0;
border-top: 5px solid $dark-orange;
-
height: 10px;
width: 1.2em;
-
- &:hover {
-/*
- border: {
- width: $border-size;
- style: solid;
- radius: $standard-border-radius;
- top: {
- left-radius: 0;
- right-radius: 0;
- width: 0px;
- }
- }
- @include choose-hover;
-*/
+ &:hover:not(.active) {
border-top: 10px solid $dark-orange;
}
+ &.active {
+ border-top-width: 0;
+ height: 0;
+ width: 23em;
+ }
}
}
\ No newline at end of file