diff options
author | Julius Haertl <jus@bitgrid.net> | 2016-08-10 22:06:36 +0200 |
---|---|---|
committer | Julius Haertl <jus@bitgrid.net> | 2016-08-26 12:07:52 +0200 |
commit | 218e2f78501f58d2e716c1059c5f9e2685ba5832 (patch) | |
tree | c3a817735185474f6118196d4e846960b3fdb489 /apps/theming/lib | |
parent | 2b0ed6c27a96a921bd94ec7183244df5621bf557 (diff) | |
download | nextcloud-server-218e2f78501f58d2e716c1059c5f9e2685ba5832.tar.gz nextcloud-server-218e2f78501f58d2e716c1059c5f9e2685ba5832.zip |
Theming: Adjust jquery ui elements
Diffstat (limited to 'apps/theming/lib')
-rw-r--r-- | apps/theming/lib/Controller/ThemingController.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 82a8dbf0950..8a7aaec6b5e 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -301,6 +301,14 @@ class ThemingController extends Controller { 'background-color: '.$elementColor.';'. 'opacity: 1.0;' . "}\n"; + $responseCss .= '.ui-widget-header { border: 1px solid ' . $color . '; background: '. $color . '; color: #ffffff;' . "}\n"; + $responseCss .= '.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {' . + 'border: 1px solid ' . $color . ';' . + 'color: ' . $elementColor . ';' . + "}\n"; + $responseCss .= '.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {' . + 'color: ' . $elementColor . ';' . + "}\n"; $responseCss .= ' #firstrunwizard .firstrunwizard-header { background-color: ' . $color . '; @@ -343,6 +351,7 @@ class ThemingController extends Controller { $responseCss .= '.searchbox input[type="search"] { background: transparent url(\'' . \OC::$WEBROOT . '/core/img/actions/search.svg\') no-repeat 6px center; color: #000; }' . "\n"; $responseCss .= '.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"; $responseCss .= '.nc-theming-contrast {color: #000000}' . "\n"; + $responseCss .= '.ui-widget-header { color: #000000; }' . "\n"; } else { $responseCss .= '.nc-theming-contrast {color: #ffffff}' . "\n"; } |