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 =================================================================
.text-primary,
.text-primary:hover {
.text-primary:hover,
a.text-primary:hover {
color: @brand-primary;
}
.text-success,
.text-success:hover {
.text-success:hover,
a.text-success:hover {
color: @brand-success;
}
.text-danger,
.text-danger:hover {
.text-danger:hover,
a.text-danger:hover {
color: @brand-danger;
}
.text-warning,
.text-warning:hover {
.text-warning:hover,
a.text-warning:hover {
color: @brand-warning;
}
.text-info,
.text-info:hover {
.text-info:hover,
a.text-info:hover {
color: @brand-info;
}

View File

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