Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
修复了用户卡片有时不会清除边框的问题、清除加载页面 Logo
Browse files Browse the repository at this point in the history
- 修复有时候不会清除用户卡片头像边框的问题
- 清除用户卡片正在听音乐的边框
- 清除加载页面 Logo
- 使新消息提示和历史消息提示变为单独一个卡片
- 修复了新消息的黑方块 (将新消息提示移动到分割线上方)
  • Loading branch information
Misaka-L committed Apr 24, 2021
1 parent c1e38af commit 8fbd519
Showing 1 changed file with 43 additions and 4 deletions.
47 changes: 43 additions & 4 deletions Nameless.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,26 @@ body{
backdrop-filter: blur(1rem); /* 给弹窗添加模糊背景 */
}

.feedback-dialog{
backdrop-filter: blur(1rem); /* 帮助弹窗 */
}

/* -- 用户卡片 -- */
.user-info-card.user-playing-game{
border: none; /* 清除用户正在玩游戏时的边框 */
border: none !important; /* 清除用户正在玩游戏时的边框 */
}

.user-info-card .card-head .user-avator{
border: none; /* 清除用户头像的边框 */
.user-info-card.user-playing-music{
border: none !important; /* 清除用户正在听音乐的边框 */
}

.user-avator{
border: none !important; /* 清除用户头像的边框 */
}

.card-head{
border: none !important; /* 清除用户头像的边框 */
padding: 0 i !important;
}

.user-info-card{
Expand Down Expand Up @@ -145,7 +158,7 @@ body{
backdrop-filter: blur(1rem) !important;
}

/* 设置界面 */
/* -- 设置界面 -- */
.setting-mask{ /* 设置界面的背景模糊 */
backdrop-filter: blur(0.3rem) !important;
}
Expand All @@ -161,6 +174,26 @@ body{
backdrop-filter: blur(1rem);
}

/* -- 加载页面 -- */
.connect-logo{
height: 0 !important; /* 清除 logo */
}

/* -- 历史消息 / 有新消息提示 -- */
.scroll-bottom-tips{ /* 调整 "你正在查看历史消息",使其成为单独一个气泡 */
margin-bottom: 10px !important;
background-color: rgba(102, 102, 204, 0.8) !important;
border-radius: 8px !important;
backdrop-filter: blur(1rem);
}

.unread-tips{ /* 调整 "有新消息",使其成为单独一个气泡 */
margin-top: 10px !important;
background-color: rgba(102, 102, 204, 0.8) !important;
border-radius: 8px !important;
backdrop-filter: blur(1rem);
}

/* -- 通用 -- */
.theme-textarea{ /* 重设文本域背景 */
background-color: var(--background-primary) !important;
Expand All @@ -176,4 +209,10 @@ body{

.header-right{
background: transparent !important; /* 去除频道右上角按钮诡异的黑色方块 */
}

/* 新消息 */
.left-timer{
background: transparent !important; /* 清除诡异的背景 */
top: -12px !important; /* 移动到分割线上面 */
}

0 comments on commit 8fbd519

Please sign in to comment.