styling: Fix colored links text hover on dark theme

closes #547 (Text-success hover on dark theme)
This commit is contained in:
Igor Scheller 2018-12-28 17:47:54 +01:00
parent 0150aca6ad
commit 97bab8e063
2 changed files with 11 additions and 8 deletions

View File

@ -900,27 +900,32 @@ THE SOFTWARE.
// Typography ================================================================= // Typography =================================================================
.text-primary, .text-primary,
.text-primary:hover { .text-primary:hover,
a.text-primary:hover {
color: @brand-primary; color: @brand-primary;
} }
.text-success, .text-success,
.text-success:hover { .text-success:hover,
a.text-success:hover {
color: @brand-success; color: @brand-success;
} }
.text-danger, .text-danger,
.text-danger:hover { .text-danger:hover,
a.text-danger:hover {
color: @brand-danger; color: @brand-danger;
} }
.text-warning, .text-warning,
.text-warning:hover { .text-warning:hover,
a.text-warning:hover {
color: @brand-warning; color: @brand-warning;
} }
.text-info, .text-info,
.text-info:hover { .text-info:hover,
a.text-info:hover {
color: @brand-info; color: @brand-info;
} }

View File

@ -58,9 +58,7 @@ module.exports = {
{ {
test: /\.(less|css)$/, test: /\.(less|css)$/,
use: [ use: [
{ { loader: MiniCssExtractPlugin.loader },
loader: __DEV__ ? 'style-loader' : MiniCssExtractPlugin.loader,
},
{ loader: 'css-loader', options: { importLoaders: 1 } }, { loader: 'css-loader', options: { importLoaders: 1 } },
{ loader: 'less-loader' }, { loader: 'less-loader' },
] ]