mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 15:42:52 +01:00
chore: remove .opacity() mixin as it is supported cross-browser
This commit is contained in:
@@ -93,9 +93,9 @@
|
||||
"nodebb-plugin-spam-be-gone": "0.7.10",
|
||||
"nodebb-rewards-essentials": "0.2.0",
|
||||
"nodebb-theme-lavender": "5.2.1",
|
||||
"nodebb-theme-persona": "11.2.19",
|
||||
"nodebb-theme-persona": "11.2.20",
|
||||
"nodebb-theme-slick": "1.4.14",
|
||||
"nodebb-theme-vanilla": "12.1.7",
|
||||
"nodebb-theme-vanilla": "12.1.8",
|
||||
"nodebb-widget-essentials": "5.0.4",
|
||||
"nodemailer": "^6.5.0",
|
||||
"nprogress": "0.2.0",
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
&.disabled {
|
||||
background-color: #888!important;
|
||||
.opacity(0.5);
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,13 +32,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.opacity(@opacity: 1) {
|
||||
-moz-opacity: @opacity;
|
||||
opacity: @opacity;
|
||||
-ms-filter: ~`"progid:DXImageTransform.Microsoft.Alpha(opacity=(" + "@{opacity}" * 100 + "))"`;
|
||||
filter: ~`"alpha(opacity = (" + "@{opacity}" * 100 + "))"`;
|
||||
}
|
||||
|
||||
.border-radius (@radius: 5px) {
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
|
||||
@@ -228,7 +228,7 @@ Minifier.js.minifyBatch = async function (scripts, fork) {
|
||||
actions.buildCSS = async function buildCSS(data) {
|
||||
const lessOutput = await less.render(data.source, {
|
||||
paths: data.paths,
|
||||
javascriptEnabled: true,
|
||||
javascriptEnabled: false,
|
||||
});
|
||||
|
||||
const postcssArgs = [autoprefixer];
|
||||
|
||||
Reference in New Issue
Block a user