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
b22c2013
Unverified
Commit
b22c2013
authored
Dec 10, 2019
by
Lyza Gardner
Committed by
GitHub
Dec 10, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1589 from hypothesis/remove-gray-lighter
Migrate `$gray-lighter` SASS color to `$grey-3`
parents
dd306431
a4fa623f
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
84 deletions
+33
-84
annotator.scss
src/styles/annotator/annotator.scss
+1
-1
bucket-bar.scss
src/styles/annotator/bucket-bar.scss
+4
-4
forms.scss
src/styles/mixins/forms.scss
+1
-1
common.scss
src/styles/sidebar/common.scss
+0
-43
annotation-quote.scss
src/styles/sidebar/components/annotation-quote.scss
+1
-1
sidebar.scss
src/styles/sidebar/sidebar.scss
+2
-11
variables.scss
src/styles/variables.scss
+24
-23
No files found.
src/styles/annotator/annotator.scss
View file @
b22c2013
...
...
@@ -115,7 +115,7 @@ var.$base-font-size: 14px;
transition
:
background-color
0
.25s
;
@include
shadow
.
smallshadow
;
background
:
var
.
$white
;
border
:
solid
1px
var
.
$gr
ay-lighter
;
border
:
solid
1px
var
.
$gr
ey-3
;
border-radius
:
4px
;
color
:
var
.
$gray-light
;
text-decoration
:
none
;
...
...
src/styles/annotator/bucket-bar.scss
View file @
b22c2013
...
...
@@ -17,7 +17,7 @@
.annotator-bucket-indicator
{
box-sizing
:
border-box
;
background
:
var
.
$white
;
border
:
solid
1px
var
.
$gr
ay-lighter
;
border
:
solid
1px
var
.
$gr
ey-3
;
border-radius
:
2px
4px
4px
2px
;
right
:
0
;
pointer-events
:
all
;
...
...
@@ -57,7 +57,7 @@
&
:before
{
border-width
:
8px
;
border-right
:
5px
solid
var
.
$gr
ay-lighter
;
border-right
:
5px
solid
var
.
$gr
ey-3
;
margin-top
:
-8px
;
}
...
...
@@ -93,7 +93,7 @@
&
:before
{
border-width
:
13px
;
border-bottom
:
6px
solid
var
.
$gr
ay-lighter
;
border-bottom
:
6px
solid
var
.
$gr
ey-3
;
margin-left
:
-13px
;
}
...
...
@@ -115,7 +115,7 @@
&
:before
{
border-width
:
13px
;
border-top
:
6px
solid
var
.
$gr
ay-lighter
;
border-top
:
6px
solid
var
.
$gr
ey-3
;
margin-left
:
-13px
;
}
...
...
src/styles/mixins/forms.scss
View file @
b22c2013
...
...
@@ -30,7 +30,7 @@
@mixin
form-input
{
@include
var
.
font-normal
;
border
:
1px
solid
var
.
$gr
ay-lighter
;
border
:
1px
solid
var
.
$gr
ey-3
;
border-radius
:
2px
;
padding
:
0
.5em
0
.75em
;
font-weight
:
normal
;
...
...
src/styles/sidebar/common.scss
View file @
b22c2013
...
...
@@ -58,46 +58,3 @@ html {
// margin-top: .75em;
}
}
//TABS////////////////////////////////
.nav-tabs
{
margin-bottom
:
0
.7em
;
&
>
li
{
display
:
inline-block
;
line-height
:
1
;
a
{
font-family
:
var
.
$sans-font-family
;
font-weight
:
bold
;
color
:
var
.
$gray-dark
;
cursor
:
pointer
;
border-bottom
:
3px
solid
transparent
;
padding-left
:
0
.153em
;
padding-right
:
0
.153em
;
padding-bottom
:
0
.076em
;
}
&
:active
a
{
position
:
relative
;
top
:
0
.076em
;
}
&
.active
:active
a
{
top
:
0
;
}
&
.active
a
{
border-color
:
var
.
$gray-lighter
;
}
&
:before
{
content
:
'/'
;
margin
:
0
0
.75em
;
}
&
:first-child:before
{
content
:
none
;
}
}
}
src/styles/sidebar/components/annotation-quote.scss
View file @
b22c2013
...
...
@@ -16,7 +16,7 @@
.annotation-quote__quote
{
@include
var
.
font-normal
;
border-left
:
3px
solid
var
.
$gr
ay-lighter
;
border-left
:
3px
solid
var
.
$gr
ey-3
;
color
:
var
.
$grey-4
;
font-family
:
sans-serif
;
font-size
:
12px
;
...
...
src/styles/sidebar/sidebar.scss
View file @
b22c2013
...
...
@@ -119,7 +119,7 @@ hypothesis-app {
// ---------------------------------------
.sheet
{
border
:
solid
1px
var
.
$gr
ay-lighter
;
border
:
solid
1px
var
.
$gr
ey-3
;
border-radius
:
2px
;
font-family
:
var
.
$sans-font-family
;
font-weight
:
300
;
...
...
@@ -128,15 +128,6 @@ hypothesis-app {
position
:
relative
;
background-color
:
var
.
$body-background
;
.nav-tabs
{
border
:
1px
none
var
.
$gray-lighter
;
border-bottom-style
:
solid
;
padding
:
0
0
1
.1em
;
li
a
{
padding-bottom
:
0
.231em
;
}
}
.close
{
position
:
absolute
;
right
:
1em
;
...
...
@@ -159,7 +150,7 @@ hypothesis-app {
.annotation-unavailable-message
{
display
:
flex
;
flex-direction
:
column
;
border
:
1px
solid
var
.
$gr
ay-lighter
;
border
:
1px
solid
var
.
$gr
ey-3
;
padding-top
:
30px
;
padding-bottom
:
30px
;
border-radius
:
3px
;
...
...
src/styles/variables.scss
View file @
b22c2013
@use
"sass:color"
;
// Colors and shades of gray
//
Names courtesy of http://chir.ag/projects/name-that-color
//
Greys
$white
:
#fff
!
default
;
$black
:
#000
!
default
;
// Grays
// ---------------------
$grey-1
:
#f2f2f2
;
$grey-2
:
#ececec
;
$grey-3
:
#dbdbdb
;
$grey-4
:
#a6a6a6
;
$gray-light
:
#969696
!
default
;
$color-gray
:
#818181
;
$grey-5
:
#7a7a7a
;
$gray
:
#777
!
default
;
$color-dove-gray
:
#626262
;
$gray-dark
:
#585858
;
$gray-light
:
#969696
!
default
;
$gray-lighter
:
#d3d3d3
!
default
;
$grey-6
:
#3f3f3f
;
$color-mine-shaft
:
#3a3a3a
;
$color-dove-gray
:
#626262
;
$color-gray
:
#818181
;
$grey-7
:
#202020
;
$black
:
#000
!
default
;
// Colors
// ---------------------
$brand
:
#bd1c2b
;
$highlight
:
#58cef4
;
$button-text-color
:
$gray-dark
!
default
;
$button-background-start
:
$white
!
default
;
...
...
@@ -27,19 +41,6 @@ $button-background-gradient: to bottom, $button-background-start,
$error-color
:
#f0480c
!
default
;
$success-color
:
#1cbd41
!
default
;
// Variables for the new color palette
// ------------------------------------
$grey-1
:
#f2f2f2
;
$grey-2
:
#ececec
;
$grey-3
:
#dbdbdb
;
$grey-4
:
#a6a6a6
;
$grey-5
:
#7a7a7a
;
$grey-6
:
#3f3f3f
;
$grey-7
:
#202020
;
$brand
:
#bd1c2b
;
$highlight
:
#58cef4
;
// Tint and shade functions from
// https://css-tricks.com/snippets/sass/tint-shade-functions
@function
tint
(
$color
,
$percent
)
{
...
...
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