From 656589f71f547622d981d5c4cf28d6a833c2687c Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 19 Aug 2015 15:43:19 -0400 Subject: [PATCH] acp skins first pass --- public/less/admin/appearance/themes.less | 14 +++++++++++- src/views/admin/appearance/skins.tpl | 29 ++++++++---------------- src/views/admin/partials/theme_list.tpl | 2 +- 3 files changed, 24 insertions(+), 21 deletions(-) diff --git a/public/less/admin/appearance/themes.less b/public/less/admin/appearance/themes.less index 8766832626..f121f2a766 100644 --- a/public/less/admin/appearance/themes.less +++ b/public/less/admin/appearance/themes.less @@ -28,9 +28,21 @@ } } + [data-type="bootswatch"] { + .mdl-card__title { + height: 195px; + } + + .mdl-card__title-text { + display: none; + } + } .theme-card { + margin-bottom: 30px; + .mdl-card__title { - height: 250px; + height: 223px; + background-size: contain; .mdl-card__title-text { background: rgba(0,0,0,0.65); diff --git a/src/views/admin/appearance/skins.tpl b/src/views/admin/appearance/skins.tpl index 10211893f5..fad2a8d7a2 100644 --- a/src/views/admin/appearance/skins.tpl +++ b/src/views/admin/appearance/skins.tpl @@ -1,24 +1,15 @@
-
-
-
Bootswatch Themes
-
-

- NodeBB's skins are powered by Bootswatch, a repository containing themes built with Bootstrap as a base theme. Currently, the Vanilla theme is best optimized for use with Bootswatch. -

-
    -
  • Loading Themes
  • -
-
-
+
+ Loading Themes
-
-
-
Revert to Default
-
-

This will remove any custom Bootswatch skin applied to your NodeBB, and restore the base theme.

- -
+
+ +
+
+
Revert to Default
+
+

This will remove any custom Bootswatch skin applied to your NodeBB, and restore the base theme.

+
diff --git a/src/views/admin/partials/theme_list.tpl b/src/views/admin/partials/theme_list.tpl index 27bef4dfa2..930141f806 100644 --- a/src/views/admin/partials/theme_list.tpl +++ b/src/views/admin/partials/theme_list.tpl @@ -1,7 +1,7 @@
data-css="{themes.css}">
-
+

{themes.name}