diff --git a/less/buttons.less b/less/buttons.less index bd232c5..b3dec7f 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -6,7 +6,6 @@ -webkit-transition-duration: 300ms; transition-duration: 300ms; border: 0; - text-transform: uppercase; border-radius: 2px; &:not(.btn-link):not(.btn-float):not(.command-edit):not(.command-delete):not(.selectpicker) { diff --git a/less/menu.less b/less/menu.less index 3b71494..e78a0e3 100644 --- a/less/menu.less +++ b/less/menu.less @@ -332,6 +332,12 @@ } } } + + li { + .btn-link { + color: @body-color; + } + } } [component="user/logout"] { diff --git a/less/sidebar.less b/less/sidebar.less index 05e4f63..cf60d82 100644 --- a/less/sidebar.less +++ b/less/sidebar.less @@ -31,6 +31,7 @@ background: @sidebar-bg-color; box-shadow: 0 0 10px rgba(51, 51, 51, .38); top: 65px; + left: 0; height: ~"calc(100% - 5px)"; -webkit-transform: translate3d(-250px,0,0); transform: translate3d(-250px,0,0); diff --git a/less/skins.less b/less/skins.less index ebd243a..e331f76 100644 --- a/less/skins.less +++ b/less/skins.less @@ -86,6 +86,11 @@ body { #user-control-list { li>a { color: @body-color-dark; + } + li { + .btn-link { + color: @body-color-dark; + } } } diff --git a/less/style.less b/less/style.less index cda4277..8d43964 100644 --- a/less/style.less +++ b/less/style.less @@ -112,4 +112,10 @@ body #content { .bootbox { z-index: 100001; +} + +[component="category/dropdown"] { + .fa-stack { + font-size: 65%; + } } \ No newline at end of file diff --git a/lib/theme.js b/lib/theme.js index 71d3f5e..73ff2a0 100644 --- a/lib/theme.js +++ b/lib/theme.js @@ -34,7 +34,7 @@ theme.getConfig = function (config, callback) { config.selectedSkin = themeMaterialSkin || settings.skinOption || 'default'; config.bootswatchSkin = 'default'; - callback(false, config); + callback(null, config); }); }; diff --git a/package.json b/package.json index 7337193..494068d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "nodebb-theme-material", "version": "2.12.6", "nbbpm": { - "compatibility": "^1.11.0" + "compatibility": "^1.12.0" }, "description": "Material Design theme for NodeBB", "main": "theme.less", diff --git a/templates/account/consent.tpl b/templates/account/consent.tpl index 0fb674e..17c95a7 100644 --- a/templates/account/consent.tpl +++ b/templates/account/consent.tpl @@ -11,7 +11,6 @@ -
diff --git a/templates/account/edit.tpl b/templates/account/edit.tpl index 913ae79..81006b0 100644 --- a/templates/account/edit.tpl +++ b/templates/account/edit.tpl @@ -90,8 +90,8 @@
-
- +
+ @@ -30,92 +30,86 @@
[[user:custom_route_help]]
-
-
+ +
-
- [[user:browsing]] -
-
-
- -
- -
- -
- [[user:topic_search_help]] - -
- -
-
- -
- [[user:image_load_delay_help]] -
+
+ [[user:browsing]] +
+
+
+
- -
-
- [[global:privacy]] -
-
- -
- -
- - -
- -
- -
- -
-
+ +
+
+ [[user:topic_search_help]] + +
+ +
+
+
+ +
+
+ [[global:privacy]] +
+
+ +
+ +
+ + +
+ +
+ + +
+ +
+ +
+
- +
-
- [[global:email]] -
-
-
-
- +
+ [[global:email]] +
+
+
+
+ checked > - - [[user:follow_topics_you_create]] - -
-
- -
-
-
+
+
+ [[topic:watch]] +
+
+
+ +
+
+ +
+
+
+ + +
+
+
+
-
-
- [[global:pagination]] -
-
-
- -
+
+
+ [[global:pagination]] +
+
+
+ +
-
- - -
-
- -
-
- - -
-
+
+ + +
+
-
-
+
+
+ + +
+
+
+
-
-
- [[user:notifications_and_sounds]] -
-
- -
-
-
-
- +
+
+ [[user:notifications_and_sounds]] +
+
+ +
+
+
+
+
-
-
- +
+
+
-
-
-
- +
+
+
+
-
-
+
+
-
-
-
-
- +
+
+
+
+ @@ -257,12 +261,13 @@
+
-
-
-
- +
+
+
+ @@ -293,18 +298,18 @@
-
-
+
+
- - -
-
- [[user:acp_language]] -
-
-
-
+ + +
+
+ [[user:acp_language]] +
+
+
+
-
-
- - +
+
+ +
diff --git a/templates/account/uploads.tpl b/templates/account/uploads.tpl index 7917911..05d911a 100644 --- a/templates/account/uploads.tpl +++ b/templates/account/uploads.tpl @@ -2,51 +2,49 @@ \ No newline at end of file diff --git a/templates/admin/plugins/material.tpl b/templates/admin/plugins/material.tpl index 22cd6bb..1a8bf8e 100644 --- a/templates/admin/plugins/material.tpl +++ b/templates/admin/plugins/material.tpl @@ -51,5 +51,5 @@
\ No newline at end of file diff --git a/templates/categories.tpl b/templates/categories.tpl index 0100e64..deeb73c 100644 --- a/templates/categories.tpl +++ b/templates/categories.tpl @@ -10,18 +10,18 @@
    -
  • - -
  • -
  • - -
  • -
-

- {categories.name} - - -

+
  • + +
  • +
  • + +
  • + +

    + {categories.name} + + +

    {categories.descriptionParsed}
    @@ -30,13 +30,13 @@
    {categories.posts.topic.title} @@ -60,20 +60,21 @@
    - -
    -
    -
    - + +
    +
    +
    +
    + {categories.name} + +
    {categories.descriptionParsed} -
    -
    +
    +