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
df88a428
Commit
df88a428
authored
Jun 09, 2020
by
Lyza Danger Gardner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused `tooltip` SASS module
parent
6172f8f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
62 deletions
+0
-62
tooltip.scss
src/styles/sidebar/components/tooltip.scss
+0
-61
sidebar.scss
src/styles/sidebar/sidebar.scss
+0
-1
No files found.
src/styles/sidebar/components/tooltip.scss
deleted
100644 → 0
View file @
6172f8f1
@use
"../../variables"
as
var
;
// Tooltips
// --------
// Custom tooltips that appear instantly, replacing the browser's default
// tooltip
@mixin
tooltip-arrow
(
$rotation
)
{
transform
:
rotate
(
$rotation
);
background
:
var
.
$grey-7
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.2
);
border-right
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.2
);
content
:
''
;
display
:
block
;
height
:
6px
;
left
:
0
;
margin-left
:
auto
;
margin-right
:
5px
;
position
:
absolute
;
right
:
0
;
width
:
6px
;
}
// The tooltip background
.tooltip
{
@include
var
.
font-small
;
border-radius
:
2px
;
position
:
fixed
;
background-color
:
var
.
$grey-7
;
color
:
white
;
font-weight
:
bold
;
padding-left
:
5px
;
padding-right
:
5px
;
padding-top
:
4px
;
padding-bottom
:
4px
;
z-index
:
var
.
$zindex-tooltip
;
}
// Arrow at the bottom of the tooltip pointing at the target element
// Variant for tooltips above the target that point down at it
.tooltip--down
:before
{
@include
tooltip-arrow
(
45deg
);
content
:
''
;
top
:
calc
(
100%
-
5px
);
}
// Variant for tooltips below the target that point up at it
.tooltip--up
:before
{
@include
tooltip-arrow
(
225deg
);
content
:
''
;
top
:
-3px
;
}
// The text content inside the tooltip
.tooltip-label
{
// Make the label a positioned element so that it appears _above_ the
// tooltip's arrow, which partially overlaps the content of the tooltip.
position
:
relative
;
}
src/styles/sidebar/sidebar.scss
View file @
df88a428
...
...
@@ -54,7 +54,6 @@
@use
'./components/thread-card'
;
@use
'./components/thread-list'
;
@use
'./components/toast-messages'
;
@use
'./components/tooltip'
;
@use
'./components/top-bar'
;
@use
'./components/tutorial'
;
@use
'./components/version-info'
;
...
...
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