chore: 新增 .gitattributes 统一换行符
默认入库 LF、Windows 脚本 CRLF、常见二进制不做转换;顺带 renormalize 了 3 个此前以 CRLF 入库的文件(cookie.css / gvsds-page.css / MembersView.vue)。
This commit is contained in:
1 parent
b3b899663a
commit
7516af5f4a
4 files changed
+1503
-1485
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# 默认:入库统一 LF,检出时不因平台改变(避免 CRLF 噪音 diff)
|
||||
* text=auto eol=lf
|
||||
|
||||
# Windows 脚本保持 CRLF(deploy.ps1 带 UTF-8 BOM,勿去 BOM:PS 5.1 靠它识别 UTF-8)
|
||||
*.ps1 text eol=crlf
|
||||
*.bat text eol=crlf
|
||||
*.cmd text eol=crlf
|
||||
|
||||
# 二进制:不做换行符转换
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
*.webp binary
|
||||
*.woff binary
|
||||
*.woff2 binary
|
||||
*.ttf binary
|
||||
+263
-263
@@ -1,264 +1,264 @@
|
||||
:root {
|
||||
--text-color: #323130;
|
||||
--card-bg: rgba(255, 255, 255, 0.85);
|
||||
--border-color: rgba(0, 0, 0, 0.1);
|
||||
--primary-color: #0078d4;
|
||||
--primary-hover: #106ebe;
|
||||
--secondary-bg: #e1dfdd;
|
||||
--secondary-hover: #d2d0ce;
|
||||
--font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
/*
|
||||
body {
|
||||
padding: 2rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
h1, p {
|
||||
max-width: 800px;
|
||||
text-align: center;
|
||||
line-height: 1.6;
|
||||
}
|
||||
*/
|
||||
|
||||
/* --- 主内容区域 --- */
|
||||
.GCookie_MainContent {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.GCookie_MainContent h1 {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.GCookie_MainContent p {
|
||||
font-size: 1.1rem;
|
||||
color: #605e5c;
|
||||
}
|
||||
|
||||
/* 用于隐藏元素的 class */
|
||||
.c-furry.GCookie_Hidden {
|
||||
opacity: 0;
|
||||
transform: scale(0.95);
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
/* --- 通用按钮样式 --- */
|
||||
.GCookie_Btn {
|
||||
padding: 0.6rem 1.2rem;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
font-size: 1rem;
|
||||
font-family: var(--font-family);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease, transform 0.1s ease;
|
||||
}
|
||||
|
||||
.GCookie_Btn:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.GCookie_Btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.GCookie_BtnPrimary {
|
||||
background-color: var(--primary-color);
|
||||
color: white;
|
||||
}
|
||||
.GCookie_BtnPrimary:hover {
|
||||
background-color: var(--primary-hover);
|
||||
}
|
||||
|
||||
.GCookie_BtnSecondary {
|
||||
background-color: var(--secondary-bg);
|
||||
color: var(--text-color);
|
||||
}
|
||||
.GCookie_BtnSecondary:hover {
|
||||
background-color: var(--secondary-hover);
|
||||
}
|
||||
|
||||
/* --- Cookie 政策横幅 --- */
|
||||
#GCookie_CookieBanner {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: var(--card-bg);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
border-top: 1px solid var(--border-color);
|
||||
padding: 1.5rem 2rem;
|
||||
box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
transform: translateY(100%);
|
||||
opacity: 0;
|
||||
transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
|
||||
}
|
||||
|
||||
#GCookie_CookieBanner.GCookie_Show {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#GCookie_CookieBanner .GCookie_BannerText {
|
||||
color: #000;
|
||||
flex-grow: 1;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
#GCookie_CookieBanner .GCookie_BannerButtons {
|
||||
display: flex;
|
||||
gap: 0.8rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* --- Cookie 设置模态框 --- */
|
||||
#GCookie_CookieSettingsModal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 2000;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
#GCookie_CookieSettingsModal.GCookie_Show {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.GCookie_ModalContent {
|
||||
background-color: var(--card-bg);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
border-radius: 12px;
|
||||
padding: 2rem;
|
||||
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
|
||||
max-width: 500px;
|
||||
width: 90%;
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
transform: scale(0.9);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
#GCookie_CookieSettingsModal.GCookie_Show .GCookie_ModalContent {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.GCookie_ModalHeader {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 1.5rem;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.GCookie_ModalHeader h2 {
|
||||
margin: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.GCookie_ModalBody {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.GCookie_CloseBtn {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 1.5rem;
|
||||
color: #605e5c;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
.GCookie_CloseBtn:hover {
|
||||
background-color: var(--secondary-bg);
|
||||
}
|
||||
|
||||
.GCookie_SettingItem {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.GCookie_SettingItem label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* 自定义开关样式 */
|
||||
.GCookie_Switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 24px;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.GCookie_Switch input {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.GCookie_Slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #ccc;
|
||||
transition: .4s;
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
.GCookie_Slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
left: 3px;
|
||||
bottom: 3px;
|
||||
background-color: white;
|
||||
transition: .4s;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
input:checked + .GCookie_Slider {
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
input:checked + .GCookie_Slider:before {
|
||||
transform: translateX(26px);
|
||||
}
|
||||
|
||||
.GCookie_ModalFooter {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 2rem;
|
||||
:root {
|
||||
--text-color: #323130;
|
||||
--card-bg: rgba(255, 255, 255, 0.85);
|
||||
--border-color: rgba(0, 0, 0, 0.1);
|
||||
--primary-color: #0078d4;
|
||||
--primary-hover: #106ebe;
|
||||
--secondary-bg: #e1dfdd;
|
||||
--secondary-hover: #d2d0ce;
|
||||
--font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
/*
|
||||
body {
|
||||
padding: 2rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
h1, p {
|
||||
max-width: 800px;
|
||||
text-align: center;
|
||||
line-height: 1.6;
|
||||
}
|
||||
*/
|
||||
|
||||
/* --- 主内容区域 --- */
|
||||
.GCookie_MainContent {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.GCookie_MainContent h1 {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.GCookie_MainContent p {
|
||||
font-size: 1.1rem;
|
||||
color: #605e5c;
|
||||
}
|
||||
|
||||
/* 用于隐藏元素的 class */
|
||||
.c-furry.GCookie_Hidden {
|
||||
opacity: 0;
|
||||
transform: scale(0.95);
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
/* --- 通用按钮样式 --- */
|
||||
.GCookie_Btn {
|
||||
padding: 0.6rem 1.2rem;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
font-size: 1rem;
|
||||
font-family: var(--font-family);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease, transform 0.1s ease;
|
||||
}
|
||||
|
||||
.GCookie_Btn:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.GCookie_Btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.GCookie_BtnPrimary {
|
||||
background-color: var(--primary-color);
|
||||
color: white;
|
||||
}
|
||||
.GCookie_BtnPrimary:hover {
|
||||
background-color: var(--primary-hover);
|
||||
}
|
||||
|
||||
.GCookie_BtnSecondary {
|
||||
background-color: var(--secondary-bg);
|
||||
color: var(--text-color);
|
||||
}
|
||||
.GCookie_BtnSecondary:hover {
|
||||
background-color: var(--secondary-hover);
|
||||
}
|
||||
|
||||
/* --- Cookie 政策横幅 --- */
|
||||
#GCookie_CookieBanner {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: var(--card-bg);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
border-top: 1px solid var(--border-color);
|
||||
padding: 1.5rem 2rem;
|
||||
box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
transform: translateY(100%);
|
||||
opacity: 0;
|
||||
transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
|
||||
}
|
||||
|
||||
#GCookie_CookieBanner.GCookie_Show {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#GCookie_CookieBanner .GCookie_BannerText {
|
||||
color: #000;
|
||||
flex-grow: 1;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
#GCookie_CookieBanner .GCookie_BannerButtons {
|
||||
display: flex;
|
||||
gap: 0.8rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* --- Cookie 设置模态框 --- */
|
||||
#GCookie_CookieSettingsModal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 2000;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
#GCookie_CookieSettingsModal.GCookie_Show {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.GCookie_ModalContent {
|
||||
background-color: var(--card-bg);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
border-radius: 12px;
|
||||
padding: 2rem;
|
||||
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
|
||||
max-width: 500px;
|
||||
width: 90%;
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
transform: scale(0.9);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
#GCookie_CookieSettingsModal.GCookie_Show .GCookie_ModalContent {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.GCookie_ModalHeader {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 1.5rem;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.GCookie_ModalHeader h2 {
|
||||
margin: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.GCookie_ModalBody {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.GCookie_CloseBtn {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 1.5rem;
|
||||
color: #605e5c;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
.GCookie_CloseBtn:hover {
|
||||
background-color: var(--secondary-bg);
|
||||
}
|
||||
|
||||
.GCookie_SettingItem {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.GCookie_SettingItem label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* 自定义开关样式 */
|
||||
.GCookie_Switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 24px;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.GCookie_Switch input {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.GCookie_Slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #ccc;
|
||||
transition: .4s;
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
.GCookie_Slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
left: 3px;
|
||||
bottom: 3px;
|
||||
background-color: white;
|
||||
transition: .4s;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
input:checked + .GCookie_Slider {
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
input:checked + .GCookie_Slider:before {
|
||||
transform: translateX(26px);
|
||||
}
|
||||
|
||||
.GCookie_ModalFooter {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
+674
-674
File diff suppressed because it is too large.
Load diff
+548
-548
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user