From 37e776b23776006a1711aabe038ef0fa6e3be4c7 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期日, 26 四月 2020 15:10:23 +0800 Subject: [PATCH] 改版样式 --- css/admin-all.css | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/admin-all.css b/css/admin-all.css index d3e753f..2d0cd71 100644 --- a/css/admin-all.css +++ b/css/admin-all.css @@ -95,13 +95,13 @@ .admin-table{ min-width: 100%; display: table; border-collapse: collapse; } /*琛ㄦ牸thead*/ .admin-table-thead{ min-width: 100%; height: 0.23rem; display: table; table-layout: fixed; position: sticky; top: 0; border-collapse: collapse; background-color: #555555; } -.admin-table-th{ min-width: 1rem; padding: 10px; display: table-cell; border: 1px solid #4B4B4B; color: white; text-align: center; } +.admin-table-th{ min-width: 1rem; padding: 5px; display: table-cell; border: 1px solid #4B4B4B; color: white; text-align: center; } /*琛ㄦ牸tbody*/ .admin-table-tbody{ min-width: 100%; height: auto; display: table; border-collapse: collapse; } /*琛ㄦ牸tr/td*/ -.admin-table-tr{ min-width: 100%; min-height: 0.5rem; display: table; table-layout: fixed; border-collapse: collapse; border-bottom: 1px solid #CCC; } +.admin-table-tr{ min-width: 100%; min-height: 0.3rem; display: table; table-layout: fixed; border-collapse: collapse; border-bottom: 1px solid #CCC; } .admin-table-tr:nth-child(even){ background-color: white; } .admin-table-tr:nth-child(odd){ background-color: #F2F2F2; } -.admin-table-td{ min-width: 1rem; padding: 10px; display: table-cell; border-left: 1px solid #CCC; border-right: 1px solid #CCC; line-height: 1.5; text-align: center; transition-property: background-color; transition-duration: 0.3s; } +.admin-table-td{ min-width: 1rem; padding: 5px; display: table-cell; border-left: 1px solid #CCC; border-right: 1px solid #CCC; line-height: 1.5; text-align: center; transition-property: background-color; transition-duration: 0.3s; } .admin-table-tr-check .admin-table-td{ background-color: #CBE5CB; } /*琛ㄦ牸搴曢儴宸ュ叿鏍�*/ .admin-table-tool{ width: calc(100% - 0.1rem - 10px); height: 0.25rem; padding: 0 10px; margin-left: 0.05rem; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; border: 1px solid #CCC; } -- Gitblit v1.8.0