112 lines
2.4 KiB
CSS
112 lines
2.4 KiB
CSS
/* ~/.config/wofi/style.css */
|
|
|
|
/* 整体窗口 - 现代毛玻璃效果 */
|
|
window {
|
|
margin: 0px;
|
|
border: 1px solid rgba(94, 129, 172, 0.3); /* 半透明边框 */
|
|
background-color: rgba(46, 52, 64, 0.95); /* 半透明背景 */
|
|
border-radius: 16px; /* 更大的圆角 */
|
|
font-family: "JetBrains Mono", "Noto Sans CJK SC", sans-serif; /* 支持中文 */
|
|
font-size: 14px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); /* 深度阴影 */
|
|
padding: 10px;
|
|
}
|
|
|
|
/* 输入框区域 - 现代搜索框 */
|
|
#input {
|
|
margin: 8px;
|
|
padding: 12px 16px;
|
|
border: 2px solid rgba(94, 129, 172, 0.2);
|
|
color: #eceff4;
|
|
background-color: rgba(59, 66, 82, 0.6);
|
|
border-radius: 12px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
#input:focus {
|
|
border-color: #5e81ac;
|
|
background-color: rgba(59, 66, 82, 0.8);
|
|
box-shadow: 0 0 12px rgba(94, 129, 172, 0.3);
|
|
}
|
|
|
|
/* 内部容器 */
|
|
#inner-box {
|
|
margin: 8px;
|
|
padding: 4px;
|
|
border: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* 每一个条目 - 现代卡片效果 */
|
|
#entry {
|
|
margin: 4px 0px;
|
|
padding: 10px 12px;
|
|
border: none;
|
|
background-color: transparent;
|
|
border-radius: 10px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
/* 悬停效果 */
|
|
#entry:hover {
|
|
background-color: rgba(76, 86, 106, 0.4);
|
|
}
|
|
|
|
/* 选中的条目 - 渐变高亮效果 */
|
|
#entry:selected {
|
|
background: linear-gradient(90deg, rgba(94, 129, 172, 0.8), rgba(136, 192, 208, 0.6));
|
|
color: #eceff4;
|
|
font-weight: 600;
|
|
box-shadow: 0 2px 8px rgba(94, 129, 172, 0.4);
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
/* 列表中的图标 - 增加间距 */
|
|
#img {
|
|
margin-right: 14px;
|
|
background-color: transparent;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* 文本 - 更好的可读性 */
|
|
#text {
|
|
margin: 5px;
|
|
border: none;
|
|
color: #d8dee9;
|
|
font-weight: 500;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
/* 滚动条美化 */
|
|
#scroll {
|
|
margin: 0px;
|
|
border: none;
|
|
}
|
|
|
|
/* 滚动条轨道 */
|
|
scrollbar {
|
|
background-color: transparent;
|
|
border-radius: 8px;
|
|
width: 8px;
|
|
}
|
|
|
|
/* 滚动条滑块 */
|
|
scrollbar slider {
|
|
background-color: rgba(94, 129, 172, 0.4);
|
|
border-radius: 8px;
|
|
min-height: 20px;
|
|
}
|
|
|
|
/* 滚动条滑块悬停 */
|
|
scrollbar slider:hover {
|
|
background-color: rgba(94, 129, 172, 0.6);
|
|
}
|
|
|
|
/* 外部盒子 */
|
|
#outer-box {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
border: none;
|
|
background-color: transparent;
|
|
}
|