diff --git a/public/less/admin/appearance/themes.less b/public/less/admin/appearance/themes.less index aa052d4e67..8766832626 100644 --- a/public/less/admin/appearance/themes.less +++ b/public/less/admin/appearance/themes.less @@ -8,14 +8,6 @@ margin: 0.25em 1em; list-style-type: none; .pointer; - -webkit-border-radius: 10px; - -moz-border-radius: 10px; - border-radius: 10px; - -webkit-transition: background-color 250ms linear; - -moz-transition: background-color 250ms linear; - -ms-transition: background-color 250ms linear; - -o-transition: background-color 250ms linear; - transition: background-color 250ms linear; img { max-width: 150px; @@ -30,16 +22,24 @@ font-size: 0.9em; } - &:hover { - background-color: rgba(128, 128, 128, 0.2); - } - &.no-themes { font-style: italic; } } } + .theme-card { + .mdl-card__title { + height: 250px; + + .mdl-card__title-text { + background: rgba(0,0,0,0.65); + color: white; + padding: 5px 20px; + } + } + } + textarea[data-field] { min-height: 450px; width: 100%; diff --git a/public/src/admin/appearance/skins.js b/public/src/admin/appearance/skins.js index 1a24b80ef5..05e5fb8fd3 100644 --- a/public/src/admin/appearance/skins.js +++ b/public/src/admin/appearance/skins.js @@ -63,8 +63,8 @@ define('admin/appearance/skins', function() { }; function highlightSelectedTheme(themeId) { - $('.themes li[data-theme]').removeClass('btn-warning'); - $('.themes li[data-theme="' + themeId + '"]').addClass('btn-warning'); + $('.themes li[data-theme]').removeClass('selected').find('[data-action="use"]').html('Use Theme').removeClass('btn-success').addClass('btn-primary'); + $('.themes li[data-theme="' + themeId + '"]').addClass('selected').find('[data-action="use"]').html('Current Theme').removeClass('btn-primary').addClass('btn-success'); } return Skins; diff --git a/public/src/admin/appearance/themes.js b/public/src/admin/appearance/themes.js index e513d677ec..6598e7fe4b 100644 --- a/public/src/admin/appearance/themes.js +++ b/public/src/admin/appearance/themes.js @@ -84,8 +84,8 @@ define('admin/appearance/themes', function() { }; function highlightSelectedTheme(themeId) { - $('.themes li[data-theme]').removeClass('btn-warning'); - $('.themes li[data-theme="' + themeId + '"]').addClass('btn-warning'); + $('.themes li[data-theme]').removeClass('selected'); + $('.themes li[data-theme="' + themeId + '"]').addClass('selected'); } return Themes; diff --git a/src/views/admin/appearance/themes.tpl b/src/views/admin/appearance/themes.tpl index 9e543052f9..d1a135ef35 100644 --- a/src/views/admin/appearance/themes.tpl +++ b/src/views/admin/appearance/themes.tpl @@ -1,14 +1,5 @@
- The following themes are currently installed on your forum. -
- -