Skip to content

Commit 16eb74b

Browse files
committed
Updates for latest NodeBB version
1 parent 8a5dd15 commit 16eb74b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1335
-1268
lines changed

less/buttons.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
-webkit-transition-duration: 300ms;
77
transition-duration: 300ms;
88
border: 0;
9-
text-transform: uppercase;
109
border-radius: 2px;
1110

1211
&:not(.btn-link):not(.btn-float):not(.command-edit):not(.command-delete):not(.selectpicker) {

less/menu.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,12 @@
332332
}
333333
}
334334
}
335+
336+
li {
337+
.btn-link {
338+
color: @body-color;
339+
}
340+
}
335341
}
336342

337343
[component="user/logout"] {

less/sidebar.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
background: @sidebar-bg-color;
3232
box-shadow: 0 0 10px rgba(51, 51, 51, .38);
3333
top: 65px;
34+
left: 0;
3435
height: ~"calc(100% - 5px)";
3536
-webkit-transform: translate3d(-250px,0,0);
3637
transform: translate3d(-250px,0,0);

less/skins.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ body {
8686
#user-control-list {
8787
li>a {
8888
color: @body-color-dark;
89+
}
90+
li {
91+
.btn-link {
92+
color: @body-color-dark;
93+
}
8994
}
9095
}
9196

less/style.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,10 @@ body #content {
112112

113113
.bootbox {
114114
z-index: 100001;
115+
}
116+
117+
[component="category/dropdown"] {
118+
.fa-stack {
119+
font-size: 65%;
120+
}
115121
}

lib/theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ theme.getConfig = function (config, callback) {
3434
config.selectedSkin = themeMaterialSkin || settings.skinOption || 'default';
3535
config.bootswatchSkin = 'default';
3636

37-
callback(false, config);
37+
callback(null, config);
3838
});
3939
};
4040

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nodebb-theme-material",
33
"version": "2.12.6",
44
"nbbpm": {
5-
"compatibility": "^1.11.0"
5+
"compatibility": "^1.12.0"
66
},
77
"description": "Material Design theme for NodeBB",
88
"main": "theme.less",

templates/account/consent.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
</div>
1212
</div>
1313

14-
1514
<div class="row">
1615
<div class="col-sm-6">
1716
<!-- IF gdpr_consent -->

templates/account/edit.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
</div>
9191

9292
<div class="form-group fg-line">
93-
<div class="select">
94-
<label for="grouptitle">[[user:grouptitle]]</label>
93+
<div class="select">
94+
<label for="grouptitle">[[user:grouptitle]]</label>
9595
<select class="form-control" id="groupTitle" data-property="groupTitle" <!-- IF allowMultipleBadges --> multiple<!-- ENDIF allowMutlipleBadges -->>
9696
<option value="">[[user:no-group-title]]</option>
9797
<!-- BEGIN groups -->

templates/account/edit/email.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<br/>
3030
<div class="form-actions">
31-
<a id="submitBtn" href="#" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_email]]</a>
31+
<button id="submitBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_email]]</button>
3232
</div>
3333
</form>
3434
</div>

0 commit comments

Comments
 (0)