Commit f00f9001 by polesye

Fix styles.

parent ccd692dd
...@@ -117,6 +117,7 @@ div.calc-main { ...@@ -117,6 +117,7 @@ div.calc-main {
height: 35px; height: 35px;
@include hide-text; @include hide-text;
width: 35px; width: 35px;
display: block;
} }
dl { dl {
...@@ -124,8 +125,6 @@ div.calc-main { ...@@ -124,8 +125,6 @@ div.calc-main {
border-radius: 3px; border-radius: 3px;
box-shadow: 0 0 3px #999; box-shadow: 0 0 3px #999;
color: #333; color: #333;
display: none;
line-height: lh();
opacity: 0; opacity: 0;
padding: 10px; padding: 10px;
position: absolute; position: absolute;
...@@ -133,10 +132,15 @@ div.calc-main { ...@@ -133,10 +132,15 @@ div.calc-main {
top: -122px; top: -122px;
@include transition(none); @include transition(none);
width: 600px; width: 600px;
height: 0;
overflow: hidden;
pointer-events: none;
&.shown { &.shown {
display: block; height: auto;
opacity: 1.0; opacity: 1;
overflow: visible;
pointer-events: auto;
} }
dt { dt {
......
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 to comment