Skip to content

Commit

Permalink
style: v3
Browse files Browse the repository at this point in the history
  • Loading branch information
kasuie committed Apr 25, 2024
1 parent 8c68480 commit aeaf556
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
16 changes: 11 additions & 5 deletions v3/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
--mio-text: 0, 0, 0;
--mio-primary: 100, 209, 226;
--mio-primary50: 63, 194, 214;
--mio-main-opacity: 0.3;
--hope-colors-info9: rgba(var(--mio-primary), 1);
--hope-colors-info4: rgba(var(--mio-primary), 1);
--hope-colors-info5: rgba(var(--mio-primary50), 1);
Expand All @@ -13,6 +14,7 @@
--mio-text: 255, 255, 255;
--mio-primary: 100, 209, 226;
--mio-primary50: 63, 194, 214;
--mio-main-opacity: 0.3;
--hope-colors-info9: rgba(var(--mio-primary), 1);
--hope-colors-info4: rgba(var(--mio-primary), 0.4);
--hope-colors-info5: rgba(var(--mio-primary50), 0.4);
Expand Down Expand Up @@ -158,6 +160,10 @@ div#root div.header svg {

/**内容部分*/

div#root div.body {
min-height: calc(100vh - 102px);
}

/*导航部分*/
div#root div.body nav.nav {
color: #fff;
Expand All @@ -169,9 +175,9 @@ div#root div.body nav.nav::after {

/*列表部分*/
div#root div.body div.obj-box {
background-color: rgba(var(--mio-main), 0.3);
background-color: rgba(var(--mio-main), var(--mio-main-opacity));
min-height: 300px;
max-height: calc(100vh - 180px);
max-height: calc(100vh - 170px);
overflow-y: auto;
backdrop-filter: blur(5px);
}
Expand Down Expand Up @@ -206,7 +212,7 @@ div#root div.body div.obj-box span.hope-c-iojPKw svg {
/*底部MD*/
div#root div.body div.hope-c-PJLV-ikSuVsl-css,
div#root div.body .hope-c-PJLV-iiuDLME-css {
background-color: rgba(var(--mio-main), 0.3);
background-color: rgba(var(--mio-main), var(--mio-main-opacity));
backdrop-filter: blur(5px);
}

Expand All @@ -217,7 +223,7 @@ div#root div.body .hope-c-PJLV-iiuDLME-css {

/**侧边栏*/
div#root div.body div.hope-c-PJLV-ieGWMbI-css {
background-color: rgba(var(--mio-main), 0.3);
background-color: rgba(var(--mio-main), var(--mio-main-opacity));
}

div#root div.body div.hope-c-PJLV-ieGWMbI-css p.hope-c-PJLV-iZZmce-css {
Expand Down Expand Up @@ -278,7 +284,7 @@ div.hope-spinner {

/**menu下拉区域*/
div.hope-menu__content {
background-color: rgba(var(--mio-main), 0.3);
background-color: rgba(var(--mio-main), var(--mio-main-opacity));
}

/**select下拉区域*/
Expand Down
6 changes: 3 additions & 3 deletions v3/js/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
* @Author: kasuie
* @Date: 2024-04-24 15:35:59
* @LastEditors: kasuie
* @LastEditTime: 2024-04-25 21:07:29
* @LastEditTime: 2024-04-25 21:26:14
* @Description:
*/
let footer = false;

const footerStyle = `
.footer {
position: fixed;
padding-top: 0;
bottom: 0;
display: flex !important;
padding-bottom: 10px;
padding-top: 10px;
display: flex !important;
}
.mio-footer-main {
font-size: 14px;
Expand Down

0 comments on commit aeaf556

Please sign in to comment.