mirror of
https://github.com/VirtualHotBar/NetMount.git
synced 2026-07-04 03:14:27 +08:00
78 lines
1.4 KiB
CSS
78 lines
1.4 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
p,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
color: var(--color-text-1);
|
|
}
|
|
|
|
.singe-line {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
word-break: break-all;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 字体 */
|
|
@font-face {
|
|
font-family: "Inter";
|
|
src: url("./assets/font/HarmonyOS_Sans_Regular.ttf") format("truetype");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Inter-Bold";
|
|
src: url("./assets/font/HarmonyOS_Sans_Bold.ttf") format("truetype");
|
|
}
|
|
|
|
/* @font-face {
|
|
font-family: 'emoji';
|
|
src: url('./assets/font/seguiemj.woff2') format('woff2');
|
|
}
|
|
*/
|
|
|
|
/* 美化滚动条 */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
width: 6px;
|
|
background: rgba(#101F1C, 0.1);
|
|
-webkit-border-radius: 2em;
|
|
-moz-border-radius: 2em;
|
|
border-radius: 2em;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: rgba(144, 147, 153, .5);
|
|
background-clip: padding-box;
|
|
min-height: 28px;
|
|
-webkit-border-radius: 2em;
|
|
-moz-border-radius: 2em;
|
|
border-radius: 2em;
|
|
transition: background-color .3s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background-color: rgba(144, 147, 153, .3);
|
|
}
|
|
|
|
/* 选择存储卡片 */
|
|
.custom-radio-card {
|
|
padding: 10px 16px;
|
|
border: 1px solid var(--color-border-2);
|
|
border-radius: 4px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.custom-radio-card-checked {
|
|
background-color: var(--color-primary-light-1);
|
|
} |