BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d3b5ceaf
Commit
d3b5ceaf
authored
Nov 08, 2017
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable UnnecessaryMantissa in scss-lint
parent
760b2c75
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
10 deletions
+15
-10
.scss-lint.yml
.scss-lint.yml
+1
-1
files.scss
app/assets/stylesheets/framework/files.scss
+4
-4
variables.scss
app/assets/stylesheets/framework/variables.scss
+3
-3
environments.scss
app/assets/stylesheets/pages/environments.scss
+1
-1
note_form.scss
app/assets/stylesheets/pages/note_form.scss
+1
-1
enable-scss-lint-unnecessary-mantissa.yml
...logs/unreleased/enable-scss-lint-unnecessary-mantissa.yml
+5
-0
No files found.
.scss-lint.yml
View file @
d3b5ceaf
...
...
@@ -241,7 +241,7 @@ linters:
# Numeric values should not contain unnecessary fractional portions.
UnnecessaryMantissa
:
enabled
:
fals
e
enabled
:
tru
e
# Do not use parent selector references (&) when they would otherwise
# be unnecessary.
...
...
app/assets/stylesheets/framework/files.scss
View file @
d3b5ceaf
...
...
@@ -101,13 +101,13 @@
@for
$i
from
0
through
5
{
.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
{
.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 @@
@for
$i
from
0
through
5
{
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
{
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%
);
}
}
}
...
...
app/assets/stylesheets/framework/variables.scss
View file @
d3b5ceaf
...
...
@@ -163,7 +163,7 @@ $gl-text-color: #2e2e2e;
$gl-text-color-secondary
:
#707070
;
$gl-text-color-tertiary
:
#949494
;
$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-green
:
$green-600
;
$gl-text-green-hover
:
$green-700
;
...
...
@@ -486,8 +486,8 @@ $callout-success-color: $green-700;
/*
* Commit Page
*/
$commit-max-width-marker-color
:
rgba
(
0
,
0
,
0
,
0
.0
);
$commit-message-text-area-bg
:
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
);
/*
* Common
...
...
app/assets/stylesheets/pages/environments.scss
View file @
d3b5ceaf
...
...
@@ -173,7 +173,7 @@
.prometheus-graph-overlay
{
fill
:
none
;
opacity
:
0
.0
;
opacity
:
0
;
pointer-events
:
all
;
}
...
...
app/assets/stylesheets/pages/note_form.scss
View file @
d3b5ceaf
...
...
@@ -7,7 +7,7 @@
.diff-file
.diff-content
{
tr
.line_holder
:hover
>
td
.line_note_link
{
opacity
:
1
.0
;
opacity
:
1
;
filter
:
alpha
(
opacity
=
100
);
}
}
...
...
changelogs/unreleased/enable-scss-lint-unnecessary-mantissa.yml
0 → 100644
View file @
d3b5ceaf
---
title
:
Enable UnnecessaryMantissa in scss-lint
merge_request
:
15255
author
:
Takuya Noguchi
type
:
other
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment