Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
81e6c501
Unverified
Commit
81e6c501
authored
May 28, 2020
by
Robert Knight
Committed by
GitHub
May 28, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2210 from hypothesis/remove-unused-sass-vars
Remove unused/unnecessary SASS vars and mixins
parents
81871feb
049b0d8d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
29 deletions
+0
-29
forms.scss
src/styles/mixins/forms.scss
+0
-17
annotation-header.scss
src/styles/sidebar/components/annotation-header.scss
+0
-1
variables.scss
src/styles/variables.scss
+0
-11
No files found.
src/styles/mixins/forms.scss
View file @
81e6c501
...
...
@@ -14,15 +14,6 @@
}
}
// See http://compass-style.org/reference/compass/utilities/general/clearfix/#mixin-pie-clearfix
@mixin
pie-clearfix
{
&
:after
{
content
:
''
;
display
:
table
;
clear
:
both
;
}
}
@mixin
focus-outline
{
border-color
:
var
.
$color-focus-outline
;
box-shadow
:
0px
1px
2px
rgba
(
0
,
0
,
0
,
0
.075
)
inset
,
...
...
@@ -57,14 +48,6 @@
}
}
@mixin
btn-hover
{
box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
0
.05
);
outline
:
none
;
color
:
var
.
$button-text-color
;
background
:
var
.
$button-background-start
;
border-color
:
var
.
$grey-4
;
}
@mixin
primary-action-btn
{
@include
focus
.
outline-on-keyboard-focus
;
color
:
var
.
$grey-1
;
...
...
src/styles/sidebar/components/annotation-header.scss
View file @
81e6c501
...
...
@@ -2,7 +2,6 @@
@use
"../../variables"
as
var
;
.annotation-header
{
@include
forms
.
pie-clearfix
;
color
:
var
.
$grey-6
;
&
__row
{
...
...
src/styles/variables.scss
View file @
81e6c501
...
...
@@ -34,8 +34,6 @@ $grey-6: #3f3f3f;
$grey-7
:
#202020
;
$black
:
#000
!
default
;
// Colors
$color-success
:
#00a36d
;
...
...
@@ -47,12 +45,6 @@ $highlight: #58cef4;
$color-focus-outline
:
#51a7e8
;
$color-focus-shadow
:
color
.
scale
(
$color-focus-outline
,
$alpha
:
-50%
);
$button-text-color
:
$grey-mid
!
default
;
$button-background-start
:
$white
!
default
;
$button-background-end
:
#f0f0f0
!
default
;
$button-background-gradient
:
to
bottom
,
$button-background-start
,
$button-background-end
!
default
;
$error-color
:
#f0480c
!
default
;
$success-color
:
#1cbd41
!
default
;
...
...
@@ -123,8 +115,6 @@ $body1-line-height: 1.4em;
$body2-font-size
:
14px
;
$title-font-weight
:
bold
;
$normal-font-size
:
13px
;
$normal-line-height
:
17px
;
...
...
@@ -154,7 +144,6 @@ $highlight-color: rgba(255, 255, 60, 0.4);
$highlight-color-second
:
rgba
(
206
,
206
,
60
,
0
.4
);
$highlight-color-focus
:
rgba
(
156
,
230
,
255
,
0
.5
);
$top-bar-height
:
40px
;
$group-list-width
:
280px
;
$popup-menu-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.1
);
// Mixins
...
...
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