Remove all navbar fill option, change default settings

This commit is contained in:
the1812 2019-08-22 22:59:04 +08:00
parent 029a051578
commit 46392149a0
8 changed files with 20 additions and 21 deletions

View File

@ -211,7 +211,6 @@
可用的选项包括:
- 使用主题色填充顶栏
- 使用主题色填充其他的顶栏, 包括直播/相簿/会员购等
- 为顶栏添加一层阴影效果
- 为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分
- 在顶部横幅存在时, 使用背景模糊效果
@ -219,7 +218,7 @@
- 改变顶栏边缘两侧的间距
- 改变顶栏里栏目的顺序和显示状态
6个是整体的外观设置, 可以在设置里直接开关, 后面2个是对顶栏里面内容的详细布局设定, 可以在`附加功能`里设置.
5个是整体的外观设置, 可以在设置里直接开关, 后面2个是对顶栏里面内容的详细布局设定, 可以在`附加功能`里设置.
下图展示了顶栏在不同设置下的整体外观: (从上到下依次为: 不使用主题色填充, 不填充+夜间模式, 填充主题色, 使用不同的主题色)
![效果图](images/compressed/custom-navbar-effects.jpg)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -250,11 +250,10 @@ const settings = {
skin: false,
},
customNavbar: true,
customNavbarFill: true,
allNavbarFill: true,
customNavbarFill: false,
customNavbarShadow: true,
customNavbarCompact: false,
customNavbarBlur: false,
customNavbarBlur: true,
customNavbarBlurOpacity: 0.7,
customNavbarOrder: { ...customNavbarDefaultOrders },
customNavbarHidden: ['bangumiLink'],
@ -305,6 +304,7 @@ const fixedSettings = {
useNewStyle: false,
overrideNavBar: false,
touchVideoPlayerAnimation: false,
allNavbarFill: false,
latestVersionLink: 'https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js',
currentVersion: GM_info.script.version,
}

View File

@ -250,11 +250,10 @@ const settings = {
skin: false,
},
customNavbar: true,
customNavbarFill: true,
allNavbarFill: true,
customNavbarFill: false,
customNavbarShadow: true,
customNavbarCompact: false,
customNavbarBlur: false,
customNavbarBlur: true,
customNavbarBlurOpacity: 0.7,
customNavbarOrder: { ...customNavbarDefaultOrders },
customNavbarHidden: ['bangumiLink'],
@ -305,6 +304,7 @@ const fixedSettings = {
useNewStyle: false,
overrideNavBar: false,
touchVideoPlayerAnimation: false,
allNavbarFill: false,
latestVersionLink: 'https://github.com/the1812/Bilibili-Evolved/raw/master/bilibili-evolved.user.js',
currentVersion: GM_info.script.version,
}

File diff suppressed because one or more lines are too long

View File

@ -101,11 +101,10 @@ export const settings = {
skin: false,
},
customNavbar: true,
customNavbarFill: true,
allNavbarFill: true,
customNavbarFill: false,
customNavbarShadow: true,
customNavbarCompact: false,
customNavbarBlur: false,
customNavbarBlur: true,
customNavbarBlurOpacity: 0.7,
customNavbarOrder: { ...customNavbarDefaultOrders },
customNavbarHidden: ['bangumiLink'],
@ -156,6 +155,7 @@ const fixedSettings = {
useNewStyle: false,
overrideNavBar: false,
touchVideoPlayerAnimation: false,
allNavbarFill: false,
latestVersionLink: 'https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js',
currentVersion: GM_info.script.version,
}

View File

@ -60,7 +60,7 @@
<!-- <textbox indent="1" key="blurBackgroundOpacity" dependencies="useNewStyle"></textbox> -->
<checkbox indent="0" key="customNavbar" dependencies=""></checkbox>
<checkbox indent="1" key="customNavbarFill" dependencies="customNavbar"></checkbox>
<checkbox indent="1" key="allNavbarFill" dependencies="customNavbar"></checkbox>
<!-- <checkbox indent="1" key="allNavbarFill" dependencies="customNavbar"></checkbox> -->
<checkbox indent="1" key="customNavbarShadow" dependencies="customNavbar"></checkbox>
<checkbox indent="1" key="customNavbarCompact" dependencies="customNavbar"></checkbox>
<checkbox indent="1" key="customNavbarBlur" dependencies="customNavbar"></checkbox>