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
f924d9ee
Commit
f924d9ee
authored
Feb 02, 2022
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Feb 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused ModerationBanner SCSS
parent
750f669e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
56 deletions
+0
-56
ModerationBanner.scss
src/styles/sidebar/components/ModerationBanner.scss
+0
-55
_index.scss
src/styles/sidebar/components/_index.scss
+0
-1
No files found.
src/styles/sidebar/components/ModerationBanner.scss
deleted
100644 → 0
View file @
750f669e
@use
'../../variables'
as
var
;
@use
'../../mixins/layout'
;
@at-root
{
// Horizontal margin between edge of annotation card and content
$h-padding
:
15px
;
.ModerationBanner
{
@include
layout
.
row
;
position
:
relative
;
color
:
white
;
font-weight
:
bold
;
}
// The moderation banner on top-level annotations spans the full width
// of the annotation card and has rounded top corners to match an un-flagged
// annotation.
//
// The left and right edges of the content are horizontally aligned with the
// content of the annotation below.
.ModerationBanner
:not
(
.is-reply
)
{
left
:
-
$h-padding
;
padding-bottom
:
5px
;
padding-left
:
$h-padding
;
padding-right
:
$h-padding
-
5px
;
padding-top
:
5px
;
top
:
-
$h-padding
;
width
:
calc
(
100%
+
#{
$h-padding
}
*
2
);
border-top-left-radius
:
2px
;
border-top-right-radius
:
2px
;
}
// The moderation banner on replies is a little more vertically compact. Its
// right-edge aligns with the right edge of the annotation thread. The left edge
// is aligned with the left edge of the reply.
.ModerationBanner.is-reply
{
margin-top
:
10px
;
margin-bottom
:
5px
;
width
:
calc
(
100%
+
#{
$h-padding
}
);
padding-left
:
5px
;
padding-right
:
$h-padding
-
5px
;
padding-top
:
3px
;
padding-bottom
:
3px
;
}
.ModerationBanner.is-flagged
:not
(
.is-hidden
)
{
background-color
:
var
.
$color-brand
;
}
.ModerationBanner.is-hidden
{
background-color
:
var
.
$grey-6
;
}
}
src/styles/sidebar/components/_index.scss
View file @
f924d9ee
...
...
@@ -28,7 +28,6 @@
@use
'./Menu'
;
@use
'./MenuItem'
;
@use
'./MenuSection'
;
@use
'./ModerationBanner'
;
@use
'./NotebookView'
;
@use
'./NotebookResultCount'
;
@use
'./PaginationNavigation'
;
...
...
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