diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-11-12 17:22:16 +0800 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-11-12 10:22:16 +0100 |
commit | e4e6d48e30da944192263f7ad812dfa78f03ae27 (patch) | |
tree | c916a645486c46cdc9dbf8e61c3454e757abe1ff /web_src/less/_admin.less | |
parent | a0d401451710622b2856d61bf514bccdc7bd0fbd (diff) | |
download | gitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.tar.gz gitea-e4e6d48e30da944192263f7ad812dfa78f03ae27.zip |
Move less from public/ to web_src/ so that it will not be packe… (#8908)
Diffstat (limited to 'web_src/less/_admin.less')
-rw-r--r-- | web_src/less/_admin.less | 74 |
1 files changed, 74 insertions, 0 deletions
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; + } +} |