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
239b18ad
Commit
239b18ad
authored
Aug 13, 2014
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Break out pointers.scss
parent
24977b37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
104 additions
and
102 deletions
+104
-102
inject.scss
h/static/styles/inject.scss
+2
-102
pointers.scss
h/static/styles/pointers.scss
+102
-0
No files found.
h/static/styles/inject.scss
View file @
239b18ad
...
...
@@ -86,110 +86,10 @@ $base-font-size: 14px;
}
}
.annotator-frame
.heatmap-pointer
{
@include
box-sizing
(
border-box
);
background
:
$white
;
border
:
solid
1px
$gray-lighter
;
border-radius
:
2px
4px
4px
2px
;
right
:
0
;
position
:
absolute
;
margin-top
:
-8px
;
height
:
16px
;
width
:
26px
;
-webkit-tap-highlight-color
:
rgba
(
255
,
255
,
255
,
0
);
text-align
:
center
;
cursor
:
pointer
;
.label
{
@include
reset-box-model
;
@include
reset-font
;
background
:
none
;
color
:
$text-color
;
font-weight
:
bold
;
font-family
:
$sans-font-family
;
font-size
:
10px
;
line-height
:
14px
;
margin
:
0
auto
;
}
&
:before
,
&
:after
{
content
:
''
;
right
:
100%
;
top
:
50%
;
position
:
absolute
;
// NB: use of 'inset' here fixes jagged diagonals in FF
// https://github.com/zurb/foundation/issues/2230
border
:
inset
transparent
;
height
:
0
;
width
:
0
;
}
&
:before
{
border-width
:
8px
;
border-right
:
5px
solid
$gray-lighter
;
margin-top
:
-8px
;
}
&
:after
{
border-width
:
7px
;
border-right
:
4px
solid
$white
;
margin-top
:
-7px
;
}
&
.lower
,
&
.upper
{
&
:before
,
&
:after
{
left
:
50%
;
bottom
:
100%
;
right
:
auto
;
border-right
:
solid
transparent
;
margin-top
:
0
;
}
}
&
.upper
{
border-radius
:
2px
2px
4px
4px
;
&
:before
,
&
:after
{
top
:
auto
;
bottom
:
100%
;
}
&
:before
{
border-width
:
13px
;
border-bottom
:
6px
solid
$gray-lighter
;
margin-left
:
-13px
;
}
&
:after
{
border-width
:
12px
;
border-bottom
:
5px
solid
$white
;
margin-left
:
-12px
;
}
}
&
.lower
{
border-radius
:
4px
4px
2px
2px
;
&
:before
,
&
:after
{
bottom
:
auto
;
top
:
100%
;
}
&
:before
{
border-width
:
13px
;
border-top
:
6px
solid
$gray-lighter
;
margin-left
:
-13px
;
}
&
:after
{
border-width
:
12px
;
border-top
:
5px
solid
$white
;
margin-left
:
-12px
;
}
}
.annotator-frame
{
@import
'pointers'
;
}
//HIGHLIGHTS////////////////////////////////
.annotator-highlights-always-on
.annotator-hl
,
.annotator-hl-active
,
.annotator-hl-temporary
,
.annotator-hl-focused
{
...
...
h/static/styles/pointers.scss
0 → 100644
View file @
239b18ad
.heatmap-pointer
{
@include
box-sizing
(
border-box
);
background
:
$white
;
border
:
solid
1px
$gray-lighter
;
border-radius
:
2px
4px
4px
2px
;
right
:
0
;
position
:
absolute
;
margin-top
:
-8px
;
height
:
16px
;
width
:
26px
;
-webkit-tap-highlight-color
:
rgba
(
255
,
255
,
255
,
0
);
text-align
:
center
;
cursor
:
pointer
;
.label
{
@include
reset-box-model
;
@include
reset-font
;
background
:
none
;
color
:
$text-color
;
font-weight
:
bold
;
font-family
:
$sans-font-family
;
font-size
:
10px
;
line-height
:
14px
;
margin
:
0
auto
;
}
&
:before
,
&
:after
{
content
:
''
;
right
:
100%
;
top
:
50%
;
position
:
absolute
;
// NB: use of 'inset' here fixes jagged diagonals in FF
// https://github.com/zurb/foundation/issues/2230
border
:
inset
transparent
;
height
:
0
;
width
:
0
;
}
&
:before
{
border-width
:
8px
;
border-right
:
5px
solid
$gray-lighter
;
margin-top
:
-8px
;
}
&
:after
{
border-width
:
7px
;
border-right
:
4px
solid
$white
;
margin-top
:
-7px
;
}
&
.lower
,
&
.upper
{
&
:before
,
&
:after
{
left
:
50%
;
bottom
:
100%
;
right
:
auto
;
border-right
:
solid
transparent
;
margin-top
:
0
;
}
}
&
.upper
{
border-radius
:
2px
2px
4px
4px
;
&
:before
,
&
:after
{
top
:
auto
;
bottom
:
100%
;
}
&
:before
{
border-width
:
13px
;
border-bottom
:
6px
solid
$gray-lighter
;
margin-left
:
-13px
;
}
&
:after
{
border-width
:
12px
;
border-bottom
:
5px
solid
$white
;
margin-left
:
-12px
;
}
}
&
.lower
{
border-radius
:
4px
4px
2px
2px
;
&
:before
,
&
:after
{
bottom
:
auto
;
top
:
100%
;
}
&
:before
{
border-width
:
13px
;
border-top
:
6px
solid
$gray-lighter
;
margin-left
:
-13px
;
}
&
:after
{
border-width
:
12px
;
border-top
:
5px
solid
$white
;
margin-left
:
-12px
;
}
}
}
\ No newline at end of file
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