From 91aeddee70fbe4aaf22b79076e05c9b5c041a795 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 17 Nov 2012 17:18:40 -0300 Subject: [PATCH] Avoid scrolling on drag. --- wise-editor/src/main/webapp/css/editor.less | 50 ++++++++++----------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/wise-editor/src/main/webapp/css/editor.less b/wise-editor/src/main/webapp/css/editor.less index 892132b9..d6b83c06 100644 --- a/wise-editor/src/main/webapp/css/editor.less +++ b/wise-editor/src/main/webapp/css/editor.less @@ -1,6 +1,5 @@ @import "compatibility.less"; @import "css/libraries/moodialog/css/MooDialog.css"; - /********************************************************************************/ /* Header & Toolbar Styles */ /********************************************************************************/ @@ -13,7 +12,8 @@ body { -moz-user-select: none; -ms-user-select: none; user-select: none; - overflow:hidden; + overflow: hidden; + position: fixed } div#mindplot { @@ -21,7 +21,7 @@ div#mindplot { top: 0; left: 0; width: 100%; - height:100%; + height: 100%; border: 0; overflow: hidden; } @@ -36,8 +36,8 @@ div#small_error_icon { background-color: #dfcf3c; padding: 5px 15px; color: #666666; - /*font-weight: bold;*/ - /*width: 100px;*/ +/*font-weight: bold;*/ +/*width: 100px;*/ font-size: 13px; -moz-border-radius: 3px; -webkit-border-radius: 3px; @@ -49,8 +49,8 @@ div#small_error_icon { background-color: #dfcf3c; padding: 5px 15px; color: #666666; - /*font-weight: bold;*/ - /*width: 100px;*/ +/*font-weight: bold;*/ +/*width: 100px;*/ font-size: 13px; -moz-border-radius: 3px; -webkit-border-radius: 3px; @@ -150,18 +150,18 @@ div#small_error_icon { /* Modal dialogs definitions */ div.modalDialog { - position: fixed; - top: 50%; - left: 50%; - z-index: 11000; - width: 500px; - margin: -250px 0 0 -250px; - background-color: #ffffff; - border: 1px solid #999; - padding: 10px; - overflow: auto; + position: fixed; + top: 50%; + left: 50%; + z-index: 11000; + width: 500px; + margin: -250px 0 0 -250px; + background-color: #ffffff; + border: 1px solid #999; + padding: 10px; + overflow: auto; - /* IE6-7 */ +/* IE6-7 */ -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; @@ -178,26 +178,26 @@ div.modalDialog .content { padding: 5px 5px; } -div.modalDialog .title -{ +div.modalDialog .title { font-weight: bold; text-shadow: 1px 1px 0 #fff; border-bottom: 1px solid #eee; padding: 5px 15px; font-size: 18px; } + /*--- End Modal Dialog Form ---*/ -.publishModalDialog .content{ - height:420px; +.publishModalDialog .content { + height: 420px; } -.exportModalDialog .content{ - height:400px; +.exportModalDialog .content { + height: 400px; } .shareModalDialog .content { - height:440px; + height: 440px; } div.shareModalDialog {