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 @@ -
+
+
+
+
+
— {../timestampReadable}
+
+
[[user:info.banned-until, {../untilReadable}]]
diff --git a/templates/account/sessions.tpl b/templates/account/sessions.tpl
new file mode 100644
index 0000000..c0d3558
--- /dev/null
+++ b/templates/account/sessions.tpl
@@ -0,0 +1,36 @@
+
+
+
[[user:sessions.description]]
+- | - |
---|---|
- {uploads.url} - | -
-
-
-
- |
-
+ | + |
---|---|
+ {uploads.url} + | +
+
+
+
+ |
+