diff options
author | silverwind <me@silverwind.io> | 2020-08-25 21:48:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 22:48:53 +0300 |
commit | eb4db0445bea4a8dff370d80a270765840fcb8ef (patch) | |
tree | 7cde26f9a5cad63b724afc2f4bc541562548e432 /web_src/less/_admin.less | |
parent | e90e122b395f2dc0aff9ee917a7377078c774d31 (diff) | |
download | gitea-eb4db0445bea4a8dff370d80a270765840fcb8ef.tar.gz gitea-eb4db0445bea4a8dff370d80a270765840fcb8ef.zip |
Reindent Less to 2-space (#12602)
Reindent and unify codebase to 2-space indentation.
Diffstat (limited to 'web_src/less/_admin.less')
-rw-r--r-- | web_src/less/_admin.less | 142 |
1 files changed, 71 insertions, 71 deletions
diff --git a/web_src/less/_admin.less b/web_src/less/_admin.less index 5bca054d71..29afe96b06 100644 --- a/web_src/less/_admin.less +++ b/web_src/less/_admin.less @@ -1,93 +1,93 @@ .admin { - padding-top: 15px; + padding-top: 15px; - .table.segment { - padding: 0; - font-size: 13px; + .table.segment { + padding: 0; + font-size: 13px; - &:not(.striped) { - thead { - th:last-child { - padding-right: 5px !important; - } - } - } - - th { - padding-top: 5px; - padding-bottom: 5px; + &:not(.striped) { + thead { + th:last-child { + padding-right: 5px !important; } + } + } - &:not(.select) { - th, - td { - &:first-of-type { - padding-left: 15px !important; - } - } - } + th { + padding-top: 5px; + padding-bottom: 5px; + } - form tbody button[type='submit'] { - padding: 5px 8px; + &: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, .15); + form tbody button[type='submit'] { + padding: 5px 8px; } + } - &.user { - .email { - max-width: 200px; - } - } + .ui.header, + .ui.segment { + box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15); + } - dl.admin-dl-horizontal { - padding: 20px; - margin: 0; + &.user { + .email { + max-width: 200px; + } + } - dd { - margin-left: 275px; - } + dl.admin-dl-horizontal { + padding: 20px; + margin: 0; - dt { - font-weight: bolder; - float: left; - width: 285px; - clear: left; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } + dd { + margin-left: 275px; } - &.config { - #test-mail-btn { - margin-left: 5px; - } + dt { + font-weight: bolder; + float: left; + width: 285px; + clear: left; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } + } - code, - pre { - white-space: pre-wrap; - word-wrap: break-word; + &.config { + #test-mail-btn { + margin-left: 5px; } + } - #notice-table { - .notice-description { - @media only screen and (max-width: 767px) { - max-width: 80vw; - } - @media only screen and (max-width: 991px) and (min-width: 768px) { - max-width: 360px; - } - @media only screen and (min-width: 992px) and (max-width: 1199.98px) { - max-width: 510px; - } - @media only screen and (min-width: 1200px) { - max-width: 640px; - } - } + code, + pre { + white-space: pre-wrap; + word-wrap: break-word; + } + + #notice-table { + .notice-description { + @media only screen and (max-width: 767px) { + max-width: 80vw; + } + @media only screen and (max-width: 991px) and (min-width: 768px) { + max-width: 360px; + } + @media only screen and (min-width: 992px) and (max-width: 1199.98px) { + max-width: 510px; + } + @media only screen and (min-width: 1200px) { + max-width: 640px; + } } + } } |