diff options
author | arkascha <github@christian-reiner.info> | 2013-04-18 00:22:30 +0400 |
---|---|---|
committer | arkascha <github@christian-reiner.info> | 2013-04-18 00:22:30 +0400 |
commit | 0722d38102c0bc209352641c6ed5fac252171b38 (patch) | |
tree | f5395864531cd22e19f9b1b2ad1c702e18e11a30 /fluxx_compensator | |
parent | 1d3f336c3fc96feb58ad61020e067a36739de7ee (diff) |
fluxx_compensator: Some small optical corrections to handles position and shadow.
Diffstat (limited to 'fluxx_compensator')
-rw-r--r-- | fluxx_compensator/css/fluxx.css | 6 | ||||
-rw-r--r-- | fluxx_compensator/js/fluxx.js | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/fluxx_compensator/css/fluxx.css b/fluxx_compensator/css/fluxx.css index 09a24b598..83bc2a327 100644 --- a/fluxx_compensator/css/fluxx.css +++ b/fluxx_compensator/css/fluxx.css @@ -43,17 +43,17 @@ border-left: 0; border-top-right-radius: 10px; border-bottom-right-radius: 10px; - box-shadow: 1px 0px 2px #666; + box-shadow: 0 0 2px #666; } .fluxx-handle.fluxx-vertical { border-top: 0; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; - box-shadow: 0px 1px 2px #666; + box-shadow: 0 0 2px #666; } .fluxx-handle.fluxx-shown { background-color: #ddd; - box-shadow: 0px 1px 2px #999; + box-shadow: 0 0 2px #999; } .fluxx-handle.fluxx-horizontal.fluxx-shown { transform: scale(-1,1) translate(15px,0); diff --git a/fluxx_compensator/js/fluxx.js b/fluxx_compensator/js/fluxx.js index a21dce1ed..92ec653e3 100644 --- a/fluxx_compensator/js/fluxx.js +++ b/fluxx_compensator/js/fluxx.js @@ -157,12 +157,12 @@ OC.FluXX={ if (handle.Orientation==OC.FluXX.C_HORIZONTAL){ node.addClass('fluxx-horizontal'); // move to visible position - node.css('left',($(handle.Anchor).outerWidth()-1)+'px'); + node.css('left',($(handle.Anchor).outerWidth()-1.5)+'px'); } else{ node.addClass('fluxx-vertical'); // move to visible position - node.css('top',($(handle.Anchor).outerHeight()-1)+'px'); + node.css('top',($(handle.Anchor).outerHeight()-1.5)+'px'); } $(handle.Anchor).append(node); }, // OC.FluXX.generate |