diff --git a/examples/themes/src/main/resources/theme/logo-example/account/resources/css/account.css b/examples/themes/src/main/resources/theme/logo-example/account/resources/css/account.css deleted file mode 100755 index 8b82ef250e..0000000000 --- a/examples/themes/src/main/resources/theme/logo-example/account/resources/css/account.css +++ /dev/null @@ -1,8 +0,0 @@ -.navbar-title { - background-image: url('../img/red-hat-logo.png'); - height: 65px; - background-repeat: no-repeat; - width: 203px; - margin: 3px 10px 5px; - text-indent: -99999px; -} \ No newline at end of file diff --git a/examples/themes/src/main/resources/theme/logo-example/account/resources/css/logo.css b/examples/themes/src/main/resources/theme/logo-example/account/resources/css/logo.css new file mode 100755 index 0000000000..4c1da9ed9d --- /dev/null +++ b/examples/themes/src/main/resources/theme/logo-example/account/resources/css/logo.css @@ -0,0 +1,5 @@ +.navbar-title { + background: url('../img/red-hat-logo.png') no-repeat; + height: 45px; + width: 150px; +} \ No newline at end of file diff --git a/examples/themes/src/main/resources/theme/logo-example/account/theme.properties b/examples/themes/src/main/resources/theme/logo-example/account/theme.properties index 04feb70eda..515c7b634b 100755 --- a/examples/themes/src/main/resources/theme/logo-example/account/theme.properties +++ b/examples/themes/src/main/resources/theme/logo-example/account/theme.properties @@ -1,4 +1,4 @@ parent=keycloak import=common/keycloak -styles= ../patternfly/lib/patternfly/css/patternfly.css ../patternfly/css/account.css ../keycloak/css/account.css css/account.css \ No newline at end of file +styles=lib/patternfly/css/patternfly.css css/account.css css/logo.css \ No newline at end of file diff --git a/examples/themes/src/main/resources/theme/logo-example/admin/resources/css/logo.css b/examples/themes/src/main/resources/theme/logo-example/admin/resources/css/logo.css new file mode 100755 index 0000000000..c00e8140cc --- /dev/null +++ b/examples/themes/src/main/resources/theme/logo-example/admin/resources/css/logo.css @@ -0,0 +1,7 @@ + +.navbar-pf .navbar-brand { + background: url('../img/red-hat-logo.png') no-repeat 0px 0px; + display: block; + height: 25px; + width: 200px; +} \ No newline at end of file diff --git a/examples/themes/src/main/resources/theme/logo-example/admin/resources/css/overrides.css b/examples/themes/src/main/resources/theme/logo-example/admin/resources/css/overrides.css deleted file mode 100755 index a0a86e70eb..0000000000 --- a/examples/themes/src/main/resources/theme/logo-example/admin/resources/css/overrides.css +++ /dev/null @@ -1,8 +0,0 @@ -.navbar-title { - background-image: url('../img/red-hat-logo.png'); - height: 65px; - background-repeat: no-repeat; - width: 203px; - margin: 3px 10px 5px; - text-indent: -99999px; -} diff --git a/examples/themes/src/main/resources/theme/logo-example/admin/resources/img/red-hat-logo.png b/examples/themes/src/main/resources/theme/logo-example/admin/resources/img/red-hat-logo.png index 0b01b1a445..7dcf73141e 100755 Binary files a/examples/themes/src/main/resources/theme/logo-example/admin/resources/img/red-hat-logo.png and b/examples/themes/src/main/resources/theme/logo-example/admin/resources/img/red-hat-logo.png differ diff --git a/examples/themes/src/main/resources/theme/logo-example/admin/theme.properties b/examples/themes/src/main/resources/theme/logo-example/admin/theme.properties index 5265964d7b..8cf8245785 100755 --- a/examples/themes/src/main/resources/theme/logo-example/admin/theme.properties +++ b/examples/themes/src/main/resources/theme/logo-example/admin/theme.properties @@ -1,2 +1,3 @@ parent=keycloak import=common/keycloak +styles=css/styles.css lib/patternfly/css/patternfly.css lib/select2-3.4.1/select2.css css/styles.css css/logo.css \ No newline at end of file diff --git a/examples/themes/src/main/resources/theme/logo-example/login/resources/css/login.css b/examples/themes/src/main/resources/theme/logo-example/login/resources/css/login.css deleted file mode 100755 index 81d3946a6e..0000000000 --- a/examples/themes/src/main/resources/theme/logo-example/login/resources/css/login.css +++ /dev/null @@ -1,9 +0,0 @@ -#kc-logo-wrapper { - background-image: url("../img/red-hat-logo.png"); - background-repeat: no-repeat; - background-position: top right; - - height: 65px; - - margin: 100px; -} diff --git a/examples/themes/src/main/resources/theme/logo-example/login/resources/css/logo.css b/examples/themes/src/main/resources/theme/logo-example/login/resources/css/logo.css new file mode 100755 index 0000000000..b2dabea171 --- /dev/null +++ b/examples/themes/src/main/resources/theme/logo-example/login/resources/css/logo.css @@ -0,0 +1,4 @@ +#kc-logo-wrapper { + background: url("../img/red-hat-logo.png") no-repeat top right; + height: 45px; +} diff --git a/examples/themes/src/main/resources/theme/logo-example/login/theme.properties b/examples/themes/src/main/resources/theme/logo-example/login/theme.properties index d1b98ed842..8d3c3f391a 100755 --- a/examples/themes/src/main/resources/theme/logo-example/login/theme.properties +++ b/examples/themes/src/main/resources/theme/logo-example/login/theme.properties @@ -1,4 +1,4 @@ parent=keycloak import=common/keycloak -styles= ../patternfly/lib/patternfly/css/patternfly.css ../patternfly/css/login.css ../patternfly/lib/zocial/zocial.css ../keycloak/css/login.css css/login.css \ No newline at end of file +styles=lib/patternfly/css/patternfly.css lib/zocial/zocial.css css/login.css css/logo.css \ No newline at end of file diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/menu.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/menu.html index 176f69b096..8c59d131c3 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/menu.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/menu.html @@ -5,9 +5,7 @@ - - - +