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
ad56a58c
Commit
ad56a58c
authored
May 26, 2016
by
Conor Delahunty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add padding, fix hover state colours, tweak shadow
Making this change to increase the visibility of the adder.
parent
2f7d7d91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
adder.scss
h/static/styles/annotator/adder.scss
+7
-3
No files found.
h/static/styles/annotator/adder.scss
View file @
ad56a58c
...
...
@@ -12,7 +12,7 @@ $adder-transition-duration: 80ms;
background
:
$white
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.20
);
border-radius
:
4px
;
box-shadow
:
0px
0px
4px
0px
rgba
(
0
,
0
,
0
,
0
.1
5
);
box-shadow
:
0px
2px
10px
0px
rgba
(
0
,
0
,
0
,
0
.2
5
);
z-index
:
999
;
// Give the adder a very low opacity initially. It will then fade-in when
...
...
@@ -79,6 +79,10 @@ $adder-transition-duration: 80ms;
color
:
$gray-light
!
important
;
}
.annotator-adder-actions
:hover
.annotator-adder-actions__label
{
color
:
$gray-light
!
important
;
}
.annotator-adder-actions__button
{
box-shadow
:
none
;
font-family
:
h
;
...
...
@@ -91,7 +95,7 @@ $adder-transition-duration: 80ms;
border
:
none
;
cursor
:
pointer
;
padding-top
:
7
px
;
padding-top
:
10
px
;
padding-bottom
:
6px
;
padding-left
:
10px
;
padding-right
:
10px
;
...
...
@@ -111,6 +115,6 @@ $adder-transition-duration: 80ms;
font-size
:
11px
;
margin
:
2px
0px
;
font-family
:
sans-serif
;
color
:
$gray-
light
!
important
;
color
:
$gray-
dark
!
important
;
transition
:
color
$adder-transition-duration
;
}
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