From 0c894a43555f01fc33a4e2eaf7c9555069fb630a Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 22 Jun 2022 16:32:57 +0800 Subject: [PATCH 1/3] * Adjust style and codes. --- module/mr/css/browse.css | 12 ++++-- module/mr/view/browse.html.php | 35 ++-------------- module/repo/css/browse.css | 1 - module/repo/css/common.css | 11 +++++ module/repo/model.php | 72 +++++++++++++++++++++++++++++--- module/repo/view/browse.html.php | 38 +---------------- 6 files changed, 92 insertions(+), 77 deletions(-) diff --git a/module/mr/css/browse.css b/module/mr/css/browse.css index e8ef6a456d..76e30fc3fd 100644 --- a/module/mr/css/browse.css +++ b/module/mr/css/browse.css @@ -1,3 +1,9 @@ -#dropMenu li > a{margin-top: 4px; margin-bottom: 4px; border-radius: 4px;} -.tree li{padding: 0 0 0 8px;} -.tree li a.selected{color: #3123ae; background: #f2eafc;} +#repoList .tree li {padding: 0 0 0 10px;} +#repoList .tree li > a {padding: 5px;} +#repoList .hide-in-search .hidden {display: block !important; visibility: inherit !important;} +#dropMenuRepo > div.table-row > div > div > ul > li > div {padding-left: 20px;} +#repoList li > a.selected {color: #e9f2fb; background-color: #16a8f8; line-height: 20px; border-radius: 5px;} +#repoList .tree li.has-list.open:before {border-left: 0px;} +#repoList ul.tree-angles {margin-bottom: 0;} +#repoList {margin: 0;} +#repoList .tree > li {padding: 2px;} diff --git a/module/mr/view/browse.html.php b/module/mr/view/browse.html.php index ae0c53e382..e9bed68561 100644 --- a/module/mr/view/browse.html.php +++ b/module/mr/view/browse.html.php @@ -12,37 +12,10 @@