Commit ea876902 by Dányi Bence

webui: class based tooltips

parent 676934d8
...@@ -33,40 +33,41 @@ ...@@ -33,40 +33,41 @@
} }
} }
#new-wm-tooltip{ .tooltip{
position: relative; position: relative;
z-index: 1; z-index: 1;
} .container{
#new-wm-tooltip-container{ margin: 10px 10px 5px 150px;
margin: 10px 10px 5px 150px; border-radius: 4px;
border-radius: 4px; border: 1px solid #888;
border: 1px solid #888; background: #FFFF66;
background: #FFFF66; box-shadow: 0 0 20px rgba(0,0,0,0.2);
box-shadow: 0 0 20px rgba(0,0,0,0.2); p{
p{ text-align: left;
text-align: left; font-size: 0.8em;
font-size: 0.8em; word-spacing: 2px;
word-spacing: 2px; padding: 5px;
padding: 5px; }
} .tail{
#new-wm-tooltip-tail{
position: absolute;
left: 350px;
border-width: 17px;
border-style: solid;
border-color: #888 transparent transparent transparent;
&:after{
content: "";
position: absolute; position: absolute;
left: -17px; left: 350px;
top: -18px;
border-width: 17px; border-width: 17px;
border-style: solid; border-style: solid;
border-color: #FFFF66 transparent transparent transparent; border-color: #888 transparent transparent transparent;
&:after{
content: "";
position: absolute;
left: -17px;
top: -18px;
border-width: 17px;
border-style: solid;
border-color: #FFFF66 transparent transparent transparent;
}
} }
} }
} }
.wm{ .wm{
&.opened .actions{ &.opened .actions{
display: block !important; display: block !important;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment