Reformat code.

Change-Id: Ic0a5b37fa01b4a13023e66af0518ea94919ee880
This commit is contained in:
Siebrand Mazeland
2012-11-11 10:34:10 +01:00
parent 743665d9f6
commit 98d7a8d9f9
7 changed files with 42 additions and 58 deletions

View File

@@ -130,62 +130,49 @@ button.button.green {
background-image: -ms-linear-gradient(top, #00974b, #008740); background-image: -ms-linear-gradient(top, #00974b, #008740);
background-image: -moz-linear-gradient(top, #00974b, #008740); background-image: -moz-linear-gradient(top, #00974b, #008740);
background-image: linear-gradient(#00974b, #008740); background-image: linear-gradient(#00974b, #008740);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00974b), background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00974b), color-stop(100%, #008740));
color-stop(100%, #008740) );
background-image: -webkit-linear-gradient(top, #00974b, #008740); background-image: -webkit-linear-gradient(top, #00974b, #008740);
border: 1px #0f9b3b solid; border: 1px #0f9b3b solid;
-ms-filter: -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00974b', endColorstr='#008740', GradientType=0)";
"progid:DXImageTransform.Microsoft.gradient(startColorstr='#00974b', endColorstr='#008740', GradientType=0)"; 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 { button.button.green:hover {
background-color: #119750; background-color: #119750;
background-image: -moz-linear-gradient(top, #10a65b, #119750); background-image: -moz-linear-gradient(top, #10a65b, #119750);
background-image: -ms-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), background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #10a65b), color-stop(100%, #119750));
color-stop(100%, #119750) );
background-image: -webkit-linear-gradient(top, #10a65b, #119750); background-image: -webkit-linear-gradient(top, #10a65b, #119750);
background-image: linear-gradient(#10a65b, #119750); background-image: linear-gradient(#10a65b, #119750);
-ms-filter: -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#10a65b', endColorstr='#119750', GradientType=0)";
"progid:DXImageTransform.Microsoft.gradient(startColorstr='#10a65b', endColorstr='#119750', GradientType=0)"; 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 { button.button.green:active {
background-color: #007236; background-color: #007236;
background-image: -moz-linear-gradient(top, #007236, #007236); background-image: -moz-linear-gradient(top, #007236, #007236);
background-image: -ms-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), background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #007236), color-stop(100%, #007236));
color-stop(100%, #007236) );
background-image: -webkit-linear-gradient(top, #007236, #007236); background-image: -webkit-linear-gradient(top, #007236, #007236);
background-image: linear-gradient(#007236, #007236); background-image: linear-gradient(#007236, #007236);
-ms-filter: -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#007236', endColorstr='#007236', GradientType=0)";
"progid:DXImageTransform.Microsoft.gradient(startColorstr='#007236', endColorstr='#007236', GradientType=0)"; 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,
button.button.green:disabled.hover, button.button.green:disabled.hover,
button.button.green.disabled, button.button.green.disabled,
button.button.green.disabled:hover button.button.green.disabled:hover {
{
color: white; color: white;
text-shadow: none; text-shadow: none;
cursor: default; cursor: default;
background-color: #2ca368; background-color: #2ca368;
background-image: -moz-linear-gradient(top, #2ca368, #2ca368); background-image: -moz-linear-gradient(top, #2ca368, #2ca368);
background-image: -ms-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), background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2ca368), color-stop(100%, #2ca368));
color-stop(100%, #2ca368) );
background-image: -webkit-linear-gradient(top, #2ca368, #2ca368); background-image: -webkit-linear-gradient(top, #2ca368, #2ca368);
background-image: linear-gradient(#2ca368, #2ca368); background-image: linear-gradient(#2ca368, #2ca368);
border-color: #278f5b; border-color: #278f5b;
-ms-filter: -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#2ca368', endColorstr='#2ca368', GradientType=0)";
"progid:DXImageTransform.Microsoft.gradient(startColorstr='#2ca368', endColorstr='#2ca368', GradientType=0)"; filter: progid:dximagetransform.microsoft.gradient(startColorstr = '#2ca368', endColorstr = '#2ca368', GradientType = 0);
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#2ca368',
endColorstr='#2ca368', GradientType=0 );
} }

View File

@@ -1,4 +1,3 @@
div.display-settings-block { div.display-settings-block {
/* @embed */ /* @embed */
background: transparent url('../images/display.png') no-repeat; background: transparent url('../images/display.png') no-repeat;

View File

@@ -363,7 +363,6 @@
listen: function () { listen: function () {
var that = this, $contentFontSelector, $uiFontSelector, oldFont; var that = this, $contentFontSelector, $uiFontSelector, oldFont;
$contentFontSelector = this.$template $contentFontSelector = this.$template
.find( '#content-font-selector' ); .find( '#content-font-selector' );
$uiFontSelector = this.$template $uiFontSelector = this.$template

View File

@@ -43,8 +43,7 @@ class LanguageSearchTest extends PHPUnit_Framework_TestCase {
'fi' => 'Φινλανδικά', 'fi' => 'Φινλανδικά',
) )
), ),
array( "blah", array( array( 'blah', array()
)
), ),
array( "الفرنسية", array( array( "الفرنسية", array(
'fr' => 'الفرنسية', 'fr' => 'الفرنسية',