|
|
@ -440,14 +440,12 @@ class ThemingControllerTest extends TestCase { |
|
|
|
'.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {' . |
|
|
|
'border: 1px solid '.$color.';'. |
|
|
|
'background-color: '.$color.';'. |
|
|
|
'opacity: 0.8;' . |
|
|
|
'color: #ffffff;'. |
|
|
|
"}\n" . |
|
|
|
'.primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,' . |
|
|
|
'.primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {' . |
|
|
|
'border: 1px solid '.$color.';'. |
|
|
|
'background-color: '.$color.';'. |
|
|
|
'opacity: 1.0;' . |
|
|
|
'color: #ffffff;'. |
|
|
|
"}\n" . |
|
|
|
'.primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,' . |
|
|
@ -530,14 +528,12 @@ class ThemingControllerTest extends TestCase { |
|
|
|
'.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {' . |
|
|
|
'border: 1px solid '.$elementColor.';'. |
|
|
|
'background-color: '.$elementColor.';'. |
|
|
|
'opacity: 0.8;' . |
|
|
|
'color: #000000;'. |
|
|
|
"}\n" . |
|
|
|
'.primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,' . |
|
|
|
'.primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {' . |
|
|
|
'border: 1px solid '.$elementColor.';'. |
|
|
|
'background-color: '.$elementColor.';'. |
|
|
|
'opacity: 1.0;' . |
|
|
|
'color: #000000;'. |
|
|
|
"}\n" . |
|
|
|
'.primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,' . |
|
|
@ -570,6 +566,7 @@ class ThemingControllerTest extends TestCase { |
|
|
|
$expectedData .= '#header .icon-caret { background-image: url(\'' . \OC::$WEBROOT . '/core/img/actions/caret-dark.svg\'); }' . "\n"; |
|
|
|
$expectedData .= '.searchbox input[type="search"] { background: transparent url(\'' . \OC::$WEBROOT . '/core/img/actions/search.svg\') no-repeat 6px center; color: #000; }' . "\n"; |
|
|
|
$expectedData .= '.searchbox input[type="search"]:focus,.searchbox input[type="search"]:active,.searchbox input[type="search"]:valid { color: #000; border: 1px solid rgba(0, 0, 0, .5); }' . "\n"; |
|
|
|
$expectedData .= '#body-login input.login { background-image: url(\'' . \OC::$WEBROOT . '/core/img/actions/confirm.svg?v=2\'); }' . "\n"; |
|
|
|
$expectedData .= '.nc-theming-contrast {color: #000000}' . "\n"; |
|
|
|
$expectedData .= '.ui-widget-header { color: #000000; }' . "\n"; |
|
|
|
|
|
|
@ -706,14 +703,12 @@ class ThemingControllerTest extends TestCase { |
|
|
|
'.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {' . |
|
|
|
'border: 1px solid '.$color.';'. |
|
|
|
'background-color: '.$color.';'. |
|
|
|
'opacity: 0.8;' . |
|
|
|
'color: #ffffff;'. |
|
|
|
"}\n" . |
|
|
|
'.primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,' . |
|
|
|
'.primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {' . |
|
|
|
'border: 1px solid '.$color.';'. |
|
|
|
'background-color: '.$color.';'. |
|
|
|
'opacity: 1.0;' . |
|
|
|
'color: #ffffff;'. |
|
|
|
"}\n" . |
|
|
|
'.primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,' . |
|
|
@ -813,14 +808,12 @@ class ThemingControllerTest extends TestCase { |
|
|
|
'.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {' . |
|
|
|
'border: 1px solid '.$elementColor.';'. |
|
|
|
'background-color: '.$elementColor.';'. |
|
|
|
'opacity: 0.8;' . |
|
|
|
'color: #000000;'. |
|
|
|
"}\n" . |
|
|
|
'.primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,' . |
|
|
|
'.primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {' . |
|
|
|
'border: 1px solid '.$elementColor.';'. |
|
|
|
'background-color: '.$elementColor.';'. |
|
|
|
'opacity: 1.0;' . |
|
|
|
'color: #000000;'. |
|
|
|
"}\n" . |
|
|
|
'.primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,' . |
|
|
@ -871,6 +864,7 @@ class ThemingControllerTest extends TestCase { |
|
|
|
$expectedData .= '#header .icon-caret { background-image: url(\'' . \OC::$WEBROOT . '/core/img/actions/caret-dark.svg\'); }' . "\n"; |
|
|
|
$expectedData .= '.searchbox input[type="search"] { background: transparent url(\'' . \OC::$WEBROOT . '/core/img/actions/search.svg\') no-repeat 6px center; color: #000; }' . "\n"; |
|
|
|
$expectedData .= '.searchbox input[type="search"]:focus,.searchbox input[type="search"]:active,.searchbox input[type="search"]:valid { color: #000; border: 1px solid rgba(0, 0, 0, .5); }' . "\n"; |
|
|
|
$expectedData .= '#body-login input.login { background-image: url(\'' . \OC::$WEBROOT . '/core/img/actions/confirm.svg?v=2\'); }' . "\n"; |
|
|
|
$expectedData .= '.nc-theming-contrast {color: #000000}' . "\n"; |
|
|
|
$expectedData .= '.ui-widget-header { color: #000000; }' . "\n"; |
|
|
|
|
|
|
|