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
0e00dc6b
Commit
0e00dc6b
authored
Aug 01, 2014
by
Randall Leeds
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1350 from hypothesis/remove-highlight-drop-shadows
Remove the drop shadow from the highlight states
parents
d711fc55
5236e7af
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
7 deletions
+25
-7
base.scss
h/static/styles/base.scss
+7
-2
inject.scss
h/static/styles/inject.scss
+18
-5
No files found.
h/static/styles/base.scss
View file @
0e00dc6b
...
...
@@ -58,8 +58,13 @@ $negative: #d11c2b;
$neutral
:
#0171ba
;
//OTHER VARIABLES
$highlight-color
:
rgba
(
201
,
215
,
241
,
.5
);
$highlight-mode-color
:
rgba
(
255
,
255
,
60
,
.5
);
$highlight-color
:
rgba
(
192
,
236
,
253
,
0
.5
);
$highlight-color-second
:
rgba
(
181
,
234
,
255
,
0
.8
);
$highlight-color-third
:
rgba
(
149
,
224
,
253
,
0
.8
);
$highlight-mode-color
:
rgba
(
255
,
255
,
60
,
0
.3
);
$highlight-mode-color-second
:
rgba
(
206
,
206
,
60
,
0
.4
);
$highlight-mode-color-third
:
rgba
(
192
,
192
,
49
,
0
.4
);
$highlight-mode-active-color
:
rgba
(
255
,
255
,
60
,
0
.7
);
$thread-padding
:
1em
;
$threadexp-width
:
.72em
;
$score-width
:
40px
;
...
...
h/static/styles/inject.scss
View file @
0e00dc6b
...
...
@@ -204,28 +204,41 @@ $base-font-size: 14px;
.annotator-highlights-always-on
.annotator-hl
,
.annotator-hl-active
,
.annotator-hl-temporary
,
.annotator-hl-focused
{
background
:
$highlight-color
;
box-shadow
:
3px
3px
4px
-1px
#999999
;
.annotator-hl
{
background-color
:
$highlight-color-second
;
}
.annotator-hl
.annotator-hl
{
background-color
:
$highlight-color-third
;
}
&
:
:-
moz-selection
{
background
:
$highlight-color
;
box-shadow
:
3px
3px
4px
#999999
;
}
&
:
:-
moz-selection
,
&::-
moz-window-inactive
,
&::
window-inactive
{
background
:
$highlight-color
;
box-shadow
:
3px
3px
4px
#999999
;
}
&
:
:
selection
,
&::
selection
:
window-inactive
{
background
:
$highlight-color
;
box-shadow
:
3px
3px
4px
#999999
;
}
}
.annotator-highlights-always-on
.annotator-hl
{
background
:
$highlight-mode-color
;
.annotator-hl
{
background-color
:
$highlight-mode-color-second
;
}
.annotator-hl
.annotator-hl
{
background-color
:
$highlight-mode-color-third
;
}
}
.annotator-highlights-always-on
.annotator-hl-active
,
.annotator-highlights-always-on
.annotator-hl-focused
{
b
ox-shadow
:
3px
3px
4px
3px
#999999
;
b
ackground-color
:
$highlight-mode-active-color
;
}
// Sidebar
...
...
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