From 98d7a8d9f9a14293880f205d2a42a829e7e8beb6 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 11 Nov 2012 10:34:10 +0100 Subject: [PATCH] Reformat code. Change-Id: Ic0a5b37fa01b4a13023e66af0518ea94919ee880 --- resources/css/ext.uls.css | 41 ++++++++--------------- resources/css/ext.uls.displaysettings.css | 3 +- resources/js/ext.uls.displaysettings.js | 17 +++++----- resources/js/ext.uls.geoclient.js | 4 +-- resources/js/ext.uls.init.js | 2 +- resources/js/ext.uls.inputsettings.js | 16 ++++----- tests/phpunit/LanguageSearchTest.php | 17 +++++----- 7 files changed, 42 insertions(+), 58 deletions(-) diff --git a/resources/css/ext.uls.css b/resources/css/ext.uls.css index 7cf642aa..94ff710e 100644 --- a/resources/css/ext.uls.css +++ b/resources/css/ext.uls.css @@ -130,62 +130,49 @@ button.button.green { background-image: -ms-linear-gradient(top, #00974b, #008740); background-image: -moz-linear-gradient(top, #00974b, #008740); background-image: linear-gradient(#00974b, #008740); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00974b), - color-stop(100%, #008740) ); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00974b), color-stop(100%, #008740)); background-image: -webkit-linear-gradient(top, #00974b, #008740); border: 1px #0f9b3b solid; - -ms-filter: - "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00974b', endColorstr='#008740', GradientType=0)"; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#00974b', - endColorstr='#008740', GradientType=0 ); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00974b', endColorstr='#008740', GradientType=0)"; + filter: progid:dximagetransform.microsoft.gradient(startColorstr = '#00974b', endColorstr = '#008740', GradientType = 0); } button.button.green:hover { background-color: #119750; background-image: -moz-linear-gradient(top, #10a65b, #119750); background-image: -ms-linear-gradient(top, #10a65b, #119750); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #10a65b), - color-stop(100%, #119750) ); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #10a65b), color-stop(100%, #119750)); background-image: -webkit-linear-gradient(top, #10a65b, #119750); background-image: linear-gradient(#10a65b, #119750); - -ms-filter: - "progid:DXImageTransform.Microsoft.gradient(startColorstr='#10a65b', endColorstr='#119750', GradientType=0)"; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#10a65b', - endColorstr='#119750', GradientType=0 ); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#10a65b', endColorstr='#119750', GradientType=0)"; + filter: progid:dximagetransform.microsoft.gradient(startColorstr = '#10a65b', endColorstr = '#119750', GradientType = 0); } button.button.green:active { background-color: #007236; background-image: -moz-linear-gradient(top, #007236, #007236); background-image: -ms-linear-gradient(top, #007236, #007236); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #007236), - color-stop(100%, #007236) ); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #007236), color-stop(100%, #007236)); background-image: -webkit-linear-gradient(top, #007236, #007236); background-image: linear-gradient(#007236, #007236); - -ms-filter: - "progid:DXImageTransform.Microsoft.gradient(startColorstr='#007236', endColorstr='#007236', GradientType=0)"; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#007236', - endColorstr='#007236', GradientType=0 ); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#007236', endColorstr='#007236', GradientType=0)"; + filter: progid:dximagetransform.microsoft.gradient(startColorstr = '#007236', endColorstr = '#007236', GradientType = 0); } button.button.green:disabled, button.button.green:disabled.hover, button.button.green.disabled, -button.button.green.disabled:hover - { +button.button.green.disabled:hover { color: white; text-shadow: none; cursor: default; background-color: #2ca368; background-image: -moz-linear-gradient(top, #2ca368, #2ca368); background-image: -ms-linear-gradient(top, #2ca368, #2ca368); - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2ca368), - color-stop(100%, #2ca368) ); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2ca368), color-stop(100%, #2ca368)); background-image: -webkit-linear-gradient(top, #2ca368, #2ca368); background-image: linear-gradient(#2ca368, #2ca368); border-color: #278f5b; - -ms-filter: - "progid:DXImageTransform.Microsoft.gradient(startColorstr='#2ca368', endColorstr='#2ca368', GradientType=0)"; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#2ca368', - endColorstr='#2ca368', GradientType=0 ); -} \ No newline at end of file + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#2ca368', endColorstr='#2ca368', GradientType=0)"; + filter: progid:dximagetransform.microsoft.gradient(startColorstr = '#2ca368', endColorstr = '#2ca368', GradientType = 0); +} diff --git a/resources/css/ext.uls.displaysettings.css b/resources/css/ext.uls.displaysettings.css index 59843d63..930f7d6e 100644 --- a/resources/css/ext.uls.displaysettings.css +++ b/resources/css/ext.uls.displaysettings.css @@ -1,4 +1,3 @@ - div.display-settings-block { /* @embed */ background: transparent url('../images/display.png') no-repeat; @@ -48,4 +47,4 @@ div.display-settings-block { .uls-font-label { color: #555555; font-size: 10pt; -} \ No newline at end of file +} diff --git a/resources/js/ext.uls.displaysettings.js b/resources/js/ext.uls.displaysettings.js index b3329994..a104731f 100644 --- a/resources/js/ext.uls.displaysettings.js +++ b/resources/js/ext.uls.displaysettings.js @@ -186,10 +186,10 @@ $button = $( '