From e4e6d48e30da944192263f7ad812dfa78f03ae27 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 12 Nov 2019 17:22:16 +0800 Subject: Move less from public/ to web_src/ so that it will not be packeā€¦ (#8908) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/less/_admin.less | 74 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 web_src/less/_admin.less (limited to 'web_src/less/_admin.less') diff --git a/web_src/less/_admin.less b/web_src/less/_admin.less new file mode 100644 index 0000000000..0bd685142a --- /dev/null +++ b/web_src/less/_admin.less @@ -0,0 +1,74 @@ +.admin { + padding-top: 15px; + + .table.segment { + padding: 0; + font-size: 13px; + + &:not(.striped) { + padding-top: 5px; + + thead { + th:last-child { + padding-right: 5px !important; + } + } + } + + th { + padding-top: 5px; + padding-bottom: 5px; + } + + &:not(.select) { + th, + td { + &:first-of-type { + padding-left: 15px !important; + } + } + } + } + + .ui.header, + .ui.segment { + box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15); + } + + &.user { + .email { + max-width: 200px; + } + } + + dl.admin-dl-horizontal { + padding: 20px; + margin: 0; + + dd { + margin-left: 275px; + } + + dt { + font-weight: bolder; + float: left; + width: 285px; + clear: left; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + } + + &.config { + #test-mail-btn { + margin-left: 5px; + } + } + + code, + pre { + white-space: pre-wrap; + word-wrap: break-word; + } +} -- cgit v1.2.3