From 394a3cbdacaa4796b6ecf4c6ca4c51e757dc2fbc Mon Sep 17 00:00:00 2001 From: laurier <14360417+laurieryayoi@users.noreply.github.com> Date: Tue, 20 Nov 2018 20:18:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=8D=A1=E7=89=87=E5=88=86?= =?UTF-8?q?=E7=BB=84=E6=94=B6=E7=BC=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/theme/material/css/project.min.css | 41 ++++++++++++++++++----- resources/views/material/user/node.tpl | 15 +++++---- 2 files changed, 41 insertions(+), 15 deletions(-) diff --git a/public/theme/material/css/project.min.css b/public/theme/material/css/project.min.css index 95741565..b1b5945b 100755 --- a/public/theme/material/css/project.min.css +++ b/public/theme/material/css/project.min.css @@ -302,16 +302,17 @@ ul.dropdown-menu { flex-wrap: wrap; position: relative; } */ -.card-row { - /* display: grid; */ - display: none; +.card-row,.node-cardgroup { + display: grid; grid-template-columns: 100%; justify-content: space-between; position: relative; opacity: 1; } - -.card-row,.node-table,.node-fade,.shop-flex,.shop-table { +.node-cardgroup { + display: none; +} +.card-row,.node-table,.node-fade,.shop-flex,.shop-table,.node-cardgroup { transition-duration: .2s; transition-property: all; } @@ -344,6 +345,14 @@ ul.dropdown-menu { top: -3px; box-shadow: 3px 3px 7px 3px rgb(189, 189, 189); } +/* 追加伸缩 */ +.card-row.collapse.in { + display: grid; +} +.collapse.card-row { + display: none; +} +/* */ .node-fade { opacity: 0; } @@ -432,11 +441,12 @@ ul.dropdown-menu { div.nodetitle:first-of-type>div { margin-top: 0; } -.nodetitle div { - position: relative; +.nodetitle>div { left: 0; top: 0; + position: relative; background: white; + transition: .3s all; width: 210px; height: 50px; border-radius: 30px 10px 10px 10px; @@ -444,10 +454,21 @@ div.nodetitle:first-of-type>div { margin-top: 2em; text-align: center; } + .nodetitle div span { font-size: 20px; position: relative; - top: .8em; + top: .8em; + color: black +} +a.nodetitle.collapsed>div,a.nodetitle.collapsed .waves-wrap { + border-radius: 10px; +} +.nodetitle .waves-wrap { + border-radius: 30px 10px 10px 10px; +} +a.nodetitle { + text-decoration: none; } .onlinemember,.nodetraffic,.nodecheck,.nodehead,.nodeband { @@ -521,6 +542,8 @@ div.nodetitle:first-of-type>div { z-index: 2; } +/* index顶部4栏 */ + .user-info { flex-wrap: wrap; } @@ -619,7 +642,7 @@ a.tag-green { .nodemain { max-width: 200px; } - .nodetitle div { + .nodetitle>div { width: 160px; } .nodetitle div span { diff --git a/resources/views/material/user/node.tpl b/resources/views/material/user/node.tpl index cfbdba0d..45ab72b8 100755 --- a/resources/views/material/user/node.tpl +++ b/resources/views/material/user/node.tpl @@ -64,16 +64,18 @@ -