-
-
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-features' into preview
- Loading branch information
Showing
62 changed files
with
1,488 additions
and
465 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
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
20 changes: 20 additions & 0 deletions
20
registry/lib/components/live/chat-panel-fit/chat-panel-fit.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 |
---|---|---|
@@ -1,10 +1,30 @@ | ||
.player-full-win:not(.hide-aside-area) { | ||
.live-room-app { | ||
.aside-area { | ||
container-name: aside-area; | ||
container-type: size; | ||
width: var(--live-chat-panel-width, 302px) !important; | ||
} | ||
.player-section { | ||
width: calc(100% - var(--live-chat-panel-width, 302px)) !important; | ||
} | ||
@container aside-area (max-width: 290px) { | ||
.control-panel-icon-row-new .icon-left-part-new { | ||
.super-chat, | ||
.like-btn { | ||
width: 32px; | ||
&-icon { | ||
margin-right: 0 !important; | ||
} | ||
&-text { | ||
display: none !important; | ||
} | ||
} | ||
} | ||
.chat-input-ctnr-new .medal-section { | ||
min-width: 0 !important; | ||
max-width: 0 !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
24 changes: 24 additions & 0 deletions
24
registry/lib/components/style/custom-navbar/settings/Widget.vue
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,24 @@ | ||
<template> | ||
<DefaultWidget | ||
name="顶栏布局设置" | ||
icon="mdi-sort" | ||
@mouseover="loadNavbarSettings()" | ||
@click="toggleNavbarSettings()" | ||
/> | ||
</template> | ||
<script lang="ts"> | ||
import { DefaultWidget } from '@/ui' | ||
import { loadNavbarSettings, toggleNavbarSettings } from './vm' | ||
export default Vue.extend({ | ||
components: { | ||
DefaultWidget, | ||
}, | ||
methods: { | ||
async loadNavbarSettings() { | ||
await loadNavbarSettings() | ||
}, | ||
toggleNavbarSettings, | ||
}, | ||
}) | ||
</script> |
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; | ||
} | ||
} |
Oops, something went wrong.