-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'preview-fixes' into master-cdn
- Loading branch information
Showing
47 changed files
with
1,226 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
registry/lib/components/feeds/fold-comments/fold-comment-shadow.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:host(bili-comments) { | ||
#end .bottombar { | ||
padding-bottom: 8px !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 77 additions & 0 deletions
77
registry/lib/components/style/dark-mode/dark-shadow-dom.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
@import './dark-definitions'; | ||
|
||
:host(bili-comment-action-buttons-renderer) { | ||
@include color('a'); | ||
button { | ||
@include color('a'); | ||
&:hover { | ||
@include theme-color(); | ||
} | ||
} | ||
bili-icon[style*='var(--brand_blue)'] ~ #count { | ||
@include theme-color(); | ||
} | ||
} | ||
:host(bili-comment-replies-renderer) { | ||
#view-more { | ||
@include color('a'); | ||
} | ||
} | ||
:host(bili-comment-user-info) { | ||
#user-name { | ||
@include color('e'); | ||
} | ||
} | ||
:host(bili-comments) { | ||
.bottombar { | ||
@include color('e'); | ||
&.clickable:hover { | ||
@include theme-color(); | ||
} | ||
} | ||
} | ||
:host(bili-comment-menu) { | ||
#options li:hover { | ||
@include background-color('3'); | ||
} | ||
} | ||
:host(bili-rich-text) { | ||
#contents { | ||
a { | ||
@include theme-color(); | ||
} | ||
img, | ||
a i { | ||
@include to-theme('blue'); | ||
} | ||
} | ||
} | ||
:host(bili-comment-box) { | ||
#pub button { | ||
@include theme-background-color(); | ||
@include foreground-color(); | ||
&:hover, | ||
&.active { | ||
@include theme-background-color('80'); | ||
} | ||
} | ||
} | ||
:host(bili-comments-header-renderer) { | ||
#title #count { | ||
@include color('a'); | ||
} | ||
bili-text-button { | ||
@include set-color('--_label-text-color', 'e'); | ||
&:hover { | ||
@include set-theme-color('--_label-text-color-hover'); | ||
} | ||
} | ||
#sort-actions.hot bili-text-button:first-child, | ||
#sort-actions.time bili-text-button:last-child { | ||
@include set-theme-color('--_label-text-color'); | ||
} | ||
.bili-comments-bottom-fixed-wrapper > div { | ||
@include background-color('2'); | ||
@include border-color('3'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
registry/lib/components/style/simplify/comments/comments-v3-firefox/base.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
:host(bili-rich-text) { | ||
#contents img, | ||
#contents a i { | ||
max-width: 1.4em; | ||
max-height: 1.4em; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
registry/lib/components/style/simplify/comments/comments-v3-firefox/decorate-and-time.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:host(bili-comment-renderer) { | ||
bili-comment-user-sailing-card { | ||
display: none; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
registry/lib/components/style/simplify/comments/comments-v3-firefox/event-banner.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:host(bili-comments-header-renderer) { | ||
bili-comments-notice { | ||
display: none; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
registry/lib/components/style/simplify/comments/comments-v3-firefox/fans-medal.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:host(bili-comment-user-info) { | ||
bili-comment-user-medal { | ||
display: none; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
registry/lib/components/style/simplify/comments/comments-v3-firefox/reply-editor.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
:host(bili-comment-box) { | ||
#pub button { | ||
font-size: 14px; | ||
} | ||
} | ||
:host(bili-checkbox) { | ||
#label { | ||
font-size: 15px; | ||
} | ||
} | ||
:host(bili-comment-textarea) { | ||
#input { | ||
font-size: 13px; | ||
} | ||
#input, | ||
#input::placeholder { | ||
line-height: normal; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
registry/lib/components/style/simplify/comments/comments-v3-firefox/sub-reply-new-line.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:host(bili-comment-reply-renderer) { | ||
bili-comment-user-info { | ||
display: block; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
registry/lib/components/style/simplify/comments/comments-v3-firefox/user-level.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:host(bili-comment-user-info) { | ||
#user-level { | ||
display: none; | ||
} | ||
} |
Oops, something went wrong.