branch develop updated (980db0e -> 26b28c9)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository scmwebeditor. See http://git.nuiton.org/scmwebeditor.git from 980db0e Improve code quality and fix the error when building with Java 6 new 26b28c9 Reduce the buttons size The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 26b28c9e4721d5362d741846bdb8e48e498aed2d Author: Hugo PIGEON <hpigeon@codelutin.com> Date: Fri Jun 12 14:44:17 2015 +0200 Reduce the buttons size Summary of changes: .../webapp/WEB-INF/content/modificationViewer.jsp | 2 +- swe-ui-web/src/main/webapp/css/main.css | 22 ++++++++++++---------- swe-ui-web/src/main/webapp/js/preview.js | 20 ++++++++++---------- 3 files changed, 23 insertions(+), 21 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository scmwebeditor. See http://git.nuiton.org/scmwebeditor.git commit 26b28c9e4721d5362d741846bdb8e48e498aed2d Author: Hugo PIGEON <hpigeon@codelutin.com> Date: Fri Jun 12 14:44:17 2015 +0200 Reduce the buttons size --- .../webapp/WEB-INF/content/modificationViewer.jsp | 2 +- swe-ui-web/src/main/webapp/css/main.css | 22 ++++++++++++---------- swe-ui-web/src/main/webapp/js/preview.js | 20 ++++++++++---------- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp b/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp index 962de85..b48f147 100644 --- a/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp +++ b/swe-ui-web/src/main/webapp/WEB-INF/content/modificationViewer.jsp @@ -405,7 +405,7 @@ <p><s:text name="scm.preview"/></p> <ul id="previewButtons" class="buttonsGroup"> - <li id="previewSideButton"> + <li id="previewSideButton" class="previewPosSelected"> <s:set id="previewSide"> <s:text name="scm.modificationViewer.previewPosition.side"/> </s:set> diff --git a/swe-ui-web/src/main/webapp/css/main.css b/swe-ui-web/src/main/webapp/css/main.css index 77b2d49..acaa590 100644 --- a/swe-ui-web/src/main/webapp/css/main.css +++ b/swe-ui-web/src/main/webapp/css/main.css @@ -422,7 +422,7 @@ ul.buttonsGroup li { } #editorMenu { - padding: 0.2% 5px; + padding: 0.3% 5px; float: left; font-size: 0.6em; } @@ -468,14 +468,15 @@ ul.buttonsGroup li { #sweMenu .fa-stack { color: #FFF; - width: 22px; - height: 22px; + width: 18px; + height: 18px; } #editorHeader .fa-stack { color: #888; - width: 16px; - height: 16px; + width: 12px; + height: 12px; + font-size: 0.6em; } #sweBrowseMenu .fa-stack { @@ -506,12 +507,13 @@ ul.buttonsGroup li { #editorHeader .fa-arrow-right, #editorHeader .fa-refresh { color: #FFF; - left: 2px; - top: 3px; + left: 1px; + top: 2px; + font-size: 1.2em; } .fa-folder, .fa-folder-open { - font-size: 22px; + font-size: 18px; } #sweBrowseMenu .fa-folder { @@ -520,7 +522,7 @@ ul.buttonsGroup li { .fa-stack { display: inline-block; - font-size: 0.8em; + font-size: 0.7em; padding: 5px 8px; } @@ -618,6 +620,6 @@ div.menuDescription p, div.menuDescription ul { color: #FFF; } -ul#previewButtons li#previewSideButton { +#previewButtons .previewPosSelected { background-color: rgba(255, 255, 255, 0.25); } \ No newline at end of file diff --git a/swe-ui-web/src/main/webapp/js/preview.js b/swe-ui-web/src/main/webapp/js/preview.js index c8d333d..cc830ae 100644 --- a/swe-ui-web/src/main/webapp/js/preview.js +++ b/swe-ui-web/src/main/webapp/js/preview.js @@ -69,9 +69,9 @@ function changePreviewPos(selectedPos) { $scrollbar.css("right", "0"); $scrollbar.css("height", "100%"); - sideButton.style.backgroundColor = "rgba(255, 255, 255, 0.5)"; - belowButton.style.backgroundColor = "rgba(255, 255, 255, 0.5)"; - noneButton.style.backgroundColor = "rgba(255, 255, 255, 0.25)"; + sideButton.className = ""; + belowButton.className = ""; + noneButton.className = "previewPosSelected"; } else { $preview.show(); @@ -85,10 +85,10 @@ function changePreviewPos(selectedPos) { $scrollbar.css("right", "50%"); $scrollbar.css("height", "100%"); - sideButton.style.backgroundColor = "rgba(255, 255, 255, 0.25)"; - belowButton.style.backgroundColor = "rgba(255, 255, 255, 0.5)"; - noneButton.style.backgroundColor = "rgba(255, 255, 255, 0.5)"; - } else { + sideButton.className = "previewPosSelected"; + belowButton.className = ""; + noneButton.className = ""; + } else { $editor.css("width", "100%"); $editor.css("height", "50%"); @@ -98,9 +98,9 @@ function changePreviewPos(selectedPos) { $scrollbar.css("right", "0"); $scrollbar.css("height", "50%"); - sideButton.style.backgroundColor = "rgba(255, 255, 255, 0.5)"; - belowButton.style.backgroundColor = "rgba(255, 255, 255, 0.25)"; - noneButton.style.backgroundColor = "rgba(255, 255, 255, 0.5)"; + sideButton.className = ""; + belowButton.className = "previewPosSelected"; + noneButton.className = ""; } } } -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm