Commit d3b5ceaf authored by Takuya Noguchi's avatar Takuya Noguchi

Enable UnnecessaryMantissa in scss-lint

parent 760b2c75
...@@ -241,7 +241,7 @@ linters: ...@@ -241,7 +241,7 @@ linters:
# Numeric values should not contain unnecessary fractional portions. # Numeric values should not contain unnecessary fractional portions.
UnnecessaryMantissa: UnnecessaryMantissa:
enabled: false enabled: true
# Do not use parent selector references (&) when they would otherwise # Do not use parent selector references (&) when they would otherwise
# be unnecessary. # be unnecessary.
......
...@@ -101,13 +101,13 @@ ...@@ -101,13 +101,13 @@
@for $i from 0 through 5 { @for $i from 0 through 5 {
.legend-box-#{$i} { .legend-box-#{$i} {
background-color: mix($blame-cyan, $blame-blue, $i / 5.0 * 100%); background-color: mix($blame-cyan, $blame-blue, $i / 5 * 100%);
} }
} }
@for $i from 1 through 4 { @for $i from 1 through 4 {
.legend-box-#{$i + 5} { .legend-box-#{$i + 5} {
background-color: mix($blame-gray, $blame-cyan, $i / 4.0 * 100%); background-color: mix($blame-gray, $blame-cyan, $i / 4 * 100%);
} }
} }
} }
...@@ -200,13 +200,13 @@ ...@@ -200,13 +200,13 @@
@for $i from 0 through 5 { @for $i from 0 through 5 {
td.blame-commit-age-#{$i} { td.blame-commit-age-#{$i} {
border-left-color: mix($blame-cyan, $blame-blue, $i / 5.0 * 100%); border-left-color: mix($blame-cyan, $blame-blue, $i / 5 * 100%);
} }
} }
@for $i from 1 through 4 { @for $i from 1 through 4 {
td.blame-commit-age-#{$i + 5} { td.blame-commit-age-#{$i + 5} {
border-left-color: mix($blame-gray, $blame-cyan, $i / 4.0 * 100%); border-left-color: mix($blame-gray, $blame-cyan, $i / 4 * 100%);
} }
} }
} }
......
...@@ -163,7 +163,7 @@ $gl-text-color: #2e2e2e; ...@@ -163,7 +163,7 @@ $gl-text-color: #2e2e2e;
$gl-text-color-secondary: #707070; $gl-text-color-secondary: #707070;
$gl-text-color-tertiary: #949494; $gl-text-color-tertiary: #949494;
$gl-text-color-quaternary: #d6d6d6; $gl-text-color-quaternary: #d6d6d6;
$gl-text-color-inverted: rgba(255, 255, 255, 1.0); $gl-text-color-inverted: rgba(255, 255, 255, 1);
$gl-text-color-secondary-inverted: rgba(255, 255, 255, .85); $gl-text-color-secondary-inverted: rgba(255, 255, 255, .85);
$gl-text-green: $green-600; $gl-text-green: $green-600;
$gl-text-green-hover: $green-700; $gl-text-green-hover: $green-700;
...@@ -486,8 +486,8 @@ $callout-success-color: $green-700; ...@@ -486,8 +486,8 @@ $callout-success-color: $green-700;
/* /*
* Commit Page * Commit Page
*/ */
$commit-max-width-marker-color: rgba(0, 0, 0, 0.0); $commit-max-width-marker-color: rgba(0, 0, 0, 0);
$commit-message-text-area-bg: rgba(0, 0, 0, 0.0); $commit-message-text-area-bg: rgba(0, 0, 0, 0);
/* /*
* Common * Common
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
.prometheus-graph-overlay { .prometheus-graph-overlay {
fill: none; fill: none;
opacity: 0.0; opacity: 0;
pointer-events: all; pointer-events: all;
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.diff-file .diff-content { .diff-file .diff-content {
tr.line_holder:hover > td .line_note_link { tr.line_holder:hover > td .line_note_link {
opacity: 1.0; opacity: 1;
filter: alpha(opacity = 100); filter: alpha(opacity = 100);
} }
} }
......
---
title: Enable UnnecessaryMantissa in scss-lint
merge_request: 15255
author: Takuya Noguchi
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment