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
8a962da4
Commit
8a962da4
authored
Sep 17, 2020
by
Eduardo Sanz García
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#refactor: cleaner organisation
Added a better structure, comments, and a variable
parent
abb97b1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
bucket-bar.scss
src/styles/annotator/bucket-bar.scss
+6
-7
No files found.
src/styles/annotator/bucket-bar.scss
View file @
8a962da4
...
...
@@ -4,15 +4,9 @@
// Bucket-bar styles are nested inside `.annotator-frame` to ensure they take
// precedence over the CSS reset applied to `.annotator-frame`.
.annotator-frame.annotator-collapsed
{
.annotator-bucket-bar
{
background
:
rgba
(
0
,
0
,
0
,
0
.08
);
}
}
.annotator-frame
{
.annotator-bucket-bar
{
background
:
rgb
(
235
,
235
,
235
);
background
:
var
.
$grey-2
;
// When sidebar is unfolded, remove the background transparency
pointer-events
:
none
;
position
:
absolute
;
height
:
100%
;
...
...
@@ -20,6 +14,11 @@
left
:
-
(
var
.
$bucket-bar-width
);
}
// When the sidebar is collapsed, make the background semi-transparent so the text is visible throughout (useful for pages with tight margins)
&
.annotator-collapsed
.annotator-bucket-bar
{
background
:
rgba
(
0
,
0
,
0
,
0
.08
);
}
.annotator-bucket-indicator
{
box-sizing
:
border-box
;
background
:
var
.
$white
;
...
...
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