-
Notifications
You must be signed in to change notification settings - Fork 834
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Windows 12 AI Copilot(@NB-Group提供api, @tjy-gitnub魔改) -任务管理器(由 @User782Tec 提供) -安全中心(由 @NB-Group 提供) -适配文件系统(由 @NB-Group 提供)(别问我为啥现在才出,要问问@NB-Group) -窗口云母(Mica)效果(由 @tjy-gitnub 提供,在设置中启用) -文件资源管理器导航栏(由 @User782Tec 提供) -任务管理器小组件(由 @User782Tec 提供) -全新壁纸(由 @tjy-gitnub 提供) -新增新闻(来自 @for-the-zero) -修复了终端的灾难性bug -优化部分UI -细节优化和修复
- Loading branch information
1 parent
ea8cffd
commit 6423407
Showing
26 changed files
with
1,199 additions
and
3,168 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
#copilot{ | ||
position: fixed; | ||
right: -410px; | ||
background-color: var(--bg70); | ||
/* box-shadow: 1px 2px 25px var(--sd); */ | ||
border: 2px solid #6f6f6f30; | ||
width: 400px; | ||
height: calc(100% - 70px); | ||
top: 10px; | ||
border-radius: 14px; | ||
overflow: hidden; | ||
transition: 300ms cubic-bezier(0.9, 0, 0.1, 1); | ||
z-index: 92; | ||
display: flex; | ||
flex-direction: column; | ||
padding-top: 5px; | ||
} | ||
|
||
#copilot.show{ | ||
right: 10px; | ||
box-shadow: 1px 2px 25px var(--sd); | ||
backdrop-filter: blur(20px) saturate(1.3); | ||
} | ||
|
||
#copilot>.titbar{ | ||
height: 40px; | ||
display: flex; | ||
align-items: center; | ||
padding: 0 10px; | ||
min-height: 40px; | ||
} | ||
|
||
#copilot>.titbar>.text{ | ||
font-size: 20px; | ||
} | ||
|
||
#copilot>.titbar>.alr{ | ||
flex-grow: 1; | ||
display: flex; | ||
justify-content: flex-end; | ||
} | ||
|
||
#copilot>.titbar>.alr>.btn{ | ||
width: 35px; | ||
height: 35px; | ||
text-align: center; | ||
padding: 6px 0; | ||
display: block; | ||
} | ||
|
||
#copilot>.chat{ | ||
flex-grow: 1; | ||
padding: 10px 15px; | ||
overflow-y: auto; | ||
overflow-x:hidden !important; | ||
scroll-behavior: smooth; | ||
} | ||
|
||
#copilot>.chat>.line{ | ||
width: 100%; | ||
display: flex; | ||
margin-top: 15px; | ||
} | ||
#copilot>.chat>.line.user{ | ||
width: 100%; | ||
flex-direction: row-reverse; | ||
} | ||
@keyframes msg{ | ||
0%{ | ||
opacity: 0; | ||
transform: translateY(20px); | ||
} | ||
100%{ | ||
opacity: 1; | ||
transform: none; | ||
} | ||
} | ||
|
||
#copilot>.chat>.line>.text{ | ||
width: max-content; | ||
padding: 10px 15px; | ||
border-radius: 10px; | ||
box-shadow: 0 1px 6px var(--sd); | ||
max-width: calc(100% - 40px); | ||
word-break:break-all; | ||
animation: msg 400ms cubic-bezier(0,0,0,1); | ||
user-select:text; | ||
} | ||
#copilot>.chat>.line.ai>.text{ | ||
background-color: var(--msg); | ||
} | ||
#copilot>.chat>.line.user>.text{ | ||
background: linear-gradient(100deg,#3397e9c0,#024bb1d6); | ||
color: #fff; | ||
} | ||
#copilot>.chat>.line.system>.text{ | ||
background: linear-gradient(100deg,#ca3ee0b0,#6f0bbcbe); | ||
color: #fff; | ||
} | ||
#copilot>.chat>.line.ai>.text>.action{ | ||
background-color: var(--hover-b); | ||
padding: 10px 15px; | ||
border-radius: 9px; | ||
box-shadow: 0 1px 2px var(--s3d); | ||
margin: 10px 5px; | ||
} | ||
#copilot>.chat>.line.ai>.text>.action>.tit{ | ||
font-size: 20px; | ||
} | ||
|
||
#copilot>.inputbox{ | ||
height: 60px; | ||
display: flex; | ||
align-items: center; | ||
min-height: 60px; | ||
} | ||
|
||
#copilot>.inputbox.disable{ | ||
pointer-events:none; | ||
filter: saturate(0.8) brightness(0.9); | ||
} | ||
|
||
#copilot>.inputbox>.input{ | ||
margin: 0 10px; | ||
flex-grow: 1; | ||
height: 40px; | ||
} | ||
|
||
#copilot>.inputbox>.send{ | ||
width: 80px; | ||
color: #fff; | ||
text-align: center; | ||
margin-right: 10px; | ||
background: linear-gradient(120deg,var(--theme-1),var(--theme-2)); | ||
} |
Oops, something went wrong.