-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cfc1397
commit e475aa1
Showing
6 changed files
with
237 additions
and
74 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
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,78 @@ | ||
.night { | ||
display: none; | ||
/* 分割线 */ | ||
/* 头部颜色 */ | ||
} | ||
.night :host { | ||
/* 头部渐变色 */ | ||
--card_title_target_color: rgba(44, 123, 76, 0); | ||
/* 头部颜色 */ | ||
--card_title_color: rgba(44, 123, 76, 0.81); | ||
/* 头部最终颜色 */ | ||
--card_header_color: var(linear-gradient(90deg, var(--card_title_color) 0%, var(--card_title_target_color) 100%)); | ||
/* 头部高度 */ | ||
--card_title_height: 36px; | ||
/* 身体实体颜色 */ | ||
--card_body_color: rgba(0, 0, 0, 0.3); | ||
} | ||
.night .card { | ||
/* border: 1px solid rgba(0, 0, 0, 0.1); */ | ||
color: white; | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
transition: all 0.3s ease-in-out; | ||
border-radius: 10px; | ||
border: 1.5px solid #f0f0f0; | ||
overflow: hidden; | ||
font-size: 12px; | ||
} | ||
.night .card_header { | ||
position: relative; | ||
display: flex; | ||
justify-content: space-between; | ||
background: black; | ||
/* z-index: 999; */ | ||
} | ||
.night .card_header_gradient { | ||
display: flex; | ||
position: relative; | ||
justify-content: space-between; | ||
z-index: 99; | ||
align-items: center; | ||
height: var(--card_title_height); | ||
padding: 0px 10px; | ||
} | ||
.night .card_header_wrapper { | ||
border-bottom: 1.5px solid #f0f0f0; | ||
position: relative; | ||
font-size: 13px; | ||
} | ||
.night .card_header_wrapper_before { | ||
width: 100%; | ||
background: linear-gradient(90deg, var(--card_title_color) 0%, var(--card_title_target_color) 100%); | ||
content: ""; | ||
position: absolute; | ||
height: var(--card_title_height); | ||
backdrop-filter: blur(2px); | ||
border-radius: 5px 5px 0px 0px; | ||
/* width: 30%; */ | ||
/* z-index: -9; */ | ||
align-items: center; | ||
} | ||
.night .card_mask { | ||
/* transition: all .3s ease-in-out; */ | ||
background: var(--card_body_color); | ||
border-radius: 10px; | ||
backdrop-filter: blur(6px); | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
z-index: -1; | ||
transition: all 0.3s ease-in-out; | ||
overflow: hidden; | ||
} | ||
.night .padding { | ||
padding: 2px 10px; | ||
border-radius: 5px 5px 0px 0px; | ||
} |
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,89 @@ | ||
|
||
.night{ | ||
display: none; | ||
:host { | ||
/* 头部渐变色 */ | ||
--card_title_target_color: rgba(44, 123, 76, 0); | ||
/* 头部颜色 */ | ||
--card_title_color: rgba(44, 123, 76, 0.81); | ||
/* 头部最终颜色 */ | ||
--card_header_color:var(linear-gradient(90deg, var(--card_title_color) 0%, var(--card_title_target_color) 100%)); | ||
/* 头部高度 */ | ||
--card_title_height: 36px; | ||
/* 身体实体颜色 */ | ||
--card_body_color: rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
.card { | ||
/* border: 1px solid rgba(0, 0, 0, 0.1); */ | ||
color: white; | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
transition: all .3s ease-in-out; | ||
border-radius: 10px; | ||
border: 1.5px solid rgba(240, 240, 240, 1); | ||
overflow:hidden; | ||
font-size:12px | ||
} | ||
|
||
/* 分割线 */ | ||
.card_header { | ||
position: relative; | ||
display: flex; | ||
justify-content: space-between; | ||
|
||
background: black; | ||
/* z-index: 999; */ | ||
} | ||
|
||
.card_header_gradient { | ||
display: flex; | ||
position: relative; | ||
justify-content: space-between; | ||
z-index: 99; | ||
align-items: center; | ||
height: var(--card_title_height); | ||
padding: 0px 10px; | ||
} | ||
|
||
/* 头部颜色 */ | ||
.card_header_wrapper { | ||
border-bottom: 1.5px solid rgba(240, 240, 240, 1); | ||
position: relative; | ||
font-size:13px | ||
} | ||
.card_header_wrapper_before { | ||
|
||
width: 100%; | ||
background: linear-gradient(90deg, var(--card_title_color) 0%, var(--card_title_target_color) 100%); | ||
content: ""; | ||
position: absolute; | ||
height: var(--card_title_height); | ||
backdrop-filter: blur(2px); | ||
border-radius: 5px 5px 0px 0px; | ||
/* width: 30%; */ | ||
/* z-index: -9; */ | ||
|
||
align-items: center; | ||
} | ||
.card_mask { | ||
/* transition: all .3s ease-in-out; */ | ||
background: var(--card_body_color); | ||
border-radius: 10px; | ||
backdrop-filter: blur(6px); | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
z-index: -1; | ||
transition: all .3s ease-in-out; | ||
overflow:hidden | ||
} | ||
|
||
.padding { | ||
padding: 2px 10px; | ||
border-radius: 5px 5px 0px 0px; | ||
} | ||
|
||
|
||
} |