diff --git a/public/theme/material/css/base.min.css b/public/theme/material/css/base.min.css index 15a094bb..ea748cea 100755 --- a/public/theme/material/css/base.min.css +++ b/public/theme/material/css/base.min.css @@ -6507,285 +6507,12 @@ code.form-control { } } -/* 卡片节点 */ - -.nodelist { - position: relative; -} - -/* .card-row { - display: flex; - justify-content: space-between; - flex-wrap: wrap; - position: relative; -} */ -.card-row { - /* display: grid; */ - display: none; - grid-template-columns: 100%; - justify-content: space-between; - position: relative; - opacity: 1; -} - -.card-row,.node-table,.node-fade,.shop-flex,.shop-table { - transition-duration: .2s; - transition-property: all; -} - -.node-card { - position: relative; - left: 0; - top: 0; - background: white; - /* width: 430px; */ - height: 120px; - border-radius: 10px; - box-shadow: 2px 2px 7px 1px rgb(189, 189, 189); - margin-top: 1em; - transition-duration: .1s; - transition-property: all; - justify-content: space-between; - padding: 0 1em; - cursor: pointer; -} -.node-table { - opacity: 1; - display: none; - /* display:flex; */ -} -.node-card:hover { - transition-duration: .1s; - transition-property: all; - left: -3px; - top: -3px; - box-shadow: 3px 3px 7px 3px rgb(189, 189, 189); -} -.node-fade { - opacity: 0; -} -.nodetitle { - /* flex-basis: 100%; */ - grid-column-end: 2; - grid-column-start: 1; -} -@media screen and (max-width:400px) { - .nodemain { - max-width: 240px; - } -} - -@media screen and (min-width:480px) { - - -} - -@media screen and (min-width:768px) { - .card-row { - grid-template-columns: 49% 49%; - } - .nodetitle { - grid-column-end: 3; - grid-column-start: 1; - } -} - -@media screen and (min-width:992px) { - -} - -@media screen and (min-width:1440px) { - .card-row { - grid-template-columns: 32% 32% 32%; - } - .nodetitle { - grid-column-end: 4; - grid-column-start: 1; - } -} - - - -.flag img { - width: 35px; -} - -.node-flex { - display: flex; -} - -.nodemain>div { - margin-top: 13px; -} - -.nodeonline { - background: #4fd69c; -} - -.nodeoffline { - background: #ea4c4c; -} - -.nodeunset { - background: #666; -} - -.nodestatus>div { - padding: 1em; - width: 60px; - height: 60px; - border-radius: 50%; - position: relative; - top: .8em; -} - -.nodehead>div,.nodemiddle>div,.nodeinfo>div { - margin-right: 9px; -} - -.nodeinfo i { - font-size: 22px; -} - -.nodestatus i { - position: relative; - font-size: 35px; - bottom: 3px; - right: 2.5px; - color: white; -} - -.nodeunset i { - bottom: 0; -} -.nodeoffline i { - bottom: 1.5px; - right: 1px; -} - -.nodemiddle { - align-items: flex-end; -} - -.nodetype { - font-size: 12px; - color: rgb(190, 190, 190); - font-weight: bold; -} - -.nodehead { - height: 23.5px; -} - -.nodename { - font-size: 16px; -} - - -div.nodetitle:first-of-type>div { - margin-top: 0; -} -.nodetitle div { - position: relative; - left: 0; - top: 0; - background: white; - width: 210px; - height: 50px; - border-radius: 30px 10px 10px 10px; - box-shadow: 2px 2px 7px 1px rgb(189, 189, 189); - margin-top: 2em; - text-align: center; -} -.nodetitle div span { - font-size: 20px; - position: relative; - top: .8em; -} - -.onlinemember,.nodetraffic,.nodecheck,.nodehead,.nodeband { - align-items: center; -} - -.nodetraffic span,.nodecheck span,.nodeband span { - margin-left: 5px; - font-size: 14px; - color: #646464; -} -.onlinemember span { - font-size: 15px; - font-weight: bold; - margin-left: 5px; -} - -.node-tip { - position: fixed; - top: -20vh; - margin-left: auto; - margin-right: auto; - left: 0; - right: 0; - max-width: 350px; - background: white; - z-index: -1; - padding: 20px; - border-radius: 20px; - opacity: 0; - box-shadow: 0 0 7px 0 gray; - transition-duration: .5s; - transition-property: all; -} -.nodetip-table { - flex-wrap: wrap; -} -.nodetip-table>.card-main { - flex-basis: 100%; -} -.nodeload { - display: flex; - justify-content: space-between; - align-items: center; -} -.tiptitle { - margin: 10px 0 10px 0; -} -.tiptitle a { - font-size: 18px; - display: block; - margin-bottom: .5em -} -.tipmiddle { - margin-bottom: 10px -} -.tip-down { - opacity: 1; - top: 70px; - transition-duration: .5s; - transition-property: all; - transition-timing-function: ease-out; - /* z-index: 3; */ -} -.tiphidden { - position: fixed; - background: gray; - opacity: .3; - width: 0; - height: 0; - z-index: 2; -} - .qr-center img { margin-left:auto; margin-right: auto; max-width: 100%; } -@media screen and (max-width:320px) { - .card-heading { - font-size: 18px; - } -} - @media screen and (min-width:1440px) { .hidden-lg { display: none!important diff --git a/public/theme/material/css/project.min.css b/public/theme/material/css/project.min.css index 6936ca37..f6cf34e2 100755 --- a/public/theme/material/css/project.min.css +++ b/public/theme/material/css/project.min.css @@ -290,6 +290,267 @@ ul.dropdown-menu { min-width: 130px; } +/* 卡片节点 */ + +.nodelist { + position: relative; +} + +/* .card-row { + display: flex; + justify-content: space-between; + flex-wrap: wrap; + position: relative; +} */ +.card-row { + /* display: grid; */ + display: none; + grid-template-columns: 100%; + justify-content: space-between; + position: relative; + opacity: 1; +} + +.card-row,.node-table,.node-fade,.shop-flex,.shop-table { + transition-duration: .2s; + transition-property: all; +} + +.node-card { + position: relative; + left: 0; + top: 0; + background: white; + /* width: 430px; */ + height: 120px; + border-radius: 10px; + box-shadow: 2px 2px 7px 1px rgb(189, 189, 189); + margin-top: 1em; + transition-duration: .1s; + transition-property: all; + justify-content: space-between; + padding: 0 1em; + cursor: pointer; +} +.node-table { + opacity: 1; + display: none; + /* display:flex; */ +} +.node-card:hover { + transition-duration: .1s; + transition-property: all; + left: -3px; + top: -3px; + box-shadow: 3px 3px 7px 3px rgb(189, 189, 189); +} +.node-fade { + opacity: 0; +} +.nodetitle { + /* flex-basis: 100%; */ + grid-column-end: 2; + grid-column-start: 1; +} + +.flag img { + width: 35px; +} + +.node-flex { + display: flex; +} + +.nodemain>div { + margin-top: 13px; +} + +.nodeonline { + background: #4fd69c; +} + +.nodeoffline { + background: #ea4c4c; +} + +.nodeunset { + background: #666; +} + +.nodestatus>div { + padding: 1em; + width: 60px; + height: 60px; + border-radius: 50%; + position: relative; + top: .8em; +} + +.nodehead>div,.nodemiddle>div,.nodeinfo>div { + margin-right: 9px; +} + +.nodeinfo i { + font-size: 22px; +} + +.nodestatus i { + position: relative; + font-size: 35px; + bottom: 3px; + right: 2.5px; + color: white; +} + +.nodeunset i { + bottom: 0; +} +.nodeoffline i { + bottom: 1.5px; + right: 1px; +} + +.nodemiddle { + align-items: flex-end; +} + +.nodetype { + font-size: 12px; + color: rgb(190, 190, 190); + font-weight: bold; +} + +.nodehead { + height: 23.5px; +} + +.nodename { + font-size: 16px; +} + + +div.nodetitle:first-of-type>div { + margin-top: 0; +} +.nodetitle div { + position: relative; + left: 0; + top: 0; + background: white; + width: 210px; + height: 50px; + border-radius: 30px 10px 10px 10px; + box-shadow: 2px 2px 7px 1px rgb(189, 189, 189); + margin-top: 2em; + text-align: center; +} +.nodetitle div span { + font-size: 20px; + position: relative; + top: .8em; +} + +.onlinemember,.nodetraffic,.nodecheck,.nodehead,.nodeband { + align-items: center; +} + +.nodetraffic span,.nodecheck span,.nodeband span { + margin-left: 5px; + font-size: 14px; + color: #646464; +} +.onlinemember span { + font-size: 15px; + font-weight: bold; + margin-left: 5px; +} + +.node-tip { + position: fixed; + top: -20vh; + margin-left: auto; + margin-right: auto; + left: 0; + right: 0; + max-width: 350px; + background: white; + z-index: -1; + padding: 20px; + border-radius: 20px; + opacity: 0; + box-shadow: 0 0 7px 0 gray; + transition-duration: .5s; + transition-property: all; +} +.nodetip-table { + flex-wrap: wrap; +} +.nodetip-table>.card-main { + flex-basis: 100%; +} +.nodeload { + display: flex; + justify-content: space-between; + align-items: center; +} +.tiptitle { + margin: 10px 0 10px 0; +} +.tiptitle a { + font-size: 18px; + display: block; + margin-bottom: .5em +} +.tipmiddle { + margin-bottom: 10px +} +.tip-down { + opacity: 1; + top: 70px; + transition-duration: .5s; + transition-property: all; + transition-timing-function: ease-out; + /* z-index: 3; */ +} +.tiphidden { + position: fixed; + background: gray; + opacity: .3; + width: 0; + height: 0; + z-index: 2; +} + +@media screen and (max-width:320px) { + .card-heading { + font-size: 18px; + } + .nodemain { + max-width: 200px; + } + .nodetitle div { + width: 160px; + } + .nodetitle div span { + font-size: 18px; + top: .9em; + } + .nodename { + font-size: 14px; + line-height: 1.1em; + } + .nodetraffic span, .nodecheck span, .nodeband span { + font-size: 13px; + margin-right: 3px; + } +} + +@media screen and (max-width:400px) { + .nodemain { + max-width: 240px; + } +} + @media only screen and (min-width:768px) { .ui-card-pre { min-height: 189px @@ -298,6 +559,13 @@ ul.dropdown-menu { .ui-card-pre-media { min-height: 353px } + .card-row { + grid-template-columns: 49% 49%; + } + .nodetitle { + grid-column-end: 3; + grid-column-start: 1; + } } @media only screen and (min-width:992px) { @@ -314,4 +582,11 @@ ul.dropdown-menu { .ui-card-pre-media { min-height: 389px } + .card-row { + grid-template-columns: 32% 32% 32%; + } + .nodetitle { + grid-column-end: 4; + grid-column-start: 1; + } } \ No newline at end of file