diff options
author | Adam Strzelecki <ono@java.pl> | 2015-12-01 00:04:13 +0100 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-12-02 21:57:39 +0100 |
commit | 61fdd8c57120e25a31a686ad60f35ac6445786bd (patch) | |
tree | 4923e4a30ca683ce7ada5b451b0c0c78a5dc9f0f /public/css | |
parent | 4813665d0ad600729fe0aba3346f026502fe3b14 (diff) | |
download | gitea-61fdd8c57120e25a31a686ad60f35ac6445786bd.tar.gz gitea-61fdd8c57120e25a31a686ad60f35ac6445786bd.zip |
Commits & files UI: SUI fixed single line table
Instead using own ellipsis, uses Semantic UI fixed single line table which
effectively applies ellipsis to all overflowing table cells.
NOTE: File list cannot use colspan="2" for 1st "Last commit" elements,
otherwise layout breaks with fixed table.
Diffstat (limited to 'public/css')
-rwxr-xr-x | public/css/gogs.css | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 9cf6e39b27..cd27a674ae 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1857,40 +1857,16 @@ footer .container .links > *:first-child { .repository.file.list .head.meta li .ui.breadcrumb a { font-size: 16px; } -.repository.file.list #repo-files-table .table.list { - width: 80% !important; -} .repository.file.list #repo-files-table thead th { padding-top: 8px; padding-bottom: 5px; font-weight: normal; } -.repository.file.list #repo-files-table thead th #last-commit-message { - margin-left: 5px; - margin-bottom: -4px; - width: 400px; -} -.repository.file.list #repo-files-table thead th .age { - margin-top: 2px; -} .repository.file.list #repo-files-table thead .ui.avatar { margin-bottom: 5px; } .repository.file.list #repo-files-table tbody .icon { - margin-left: 5px; -} -.repository.file.list #repo-files-table tbody .name { - max-width: 120px; -} -.repository.file.list #repo-files-table tbody .message { - max-width: 300px; -} -.repository.file.list #repo-files-table tbody .age { - min-width: 150px; -} -.repository.file.list #repo-files-table tbody .text.truncate { - margin-bottom: -5px; - max-width: 100%; + margin-right: 5px; } .repository.file.list #repo-files-table td { padding-top: 8px; @@ -2255,25 +2231,6 @@ footer .container .links > *:first-child { font-weight: normal; padding: 5px 10px; } -.repository .commits.table { - font-size: 13px; -} -.repository .commits.table th:first-child, -.repository .commits.table td:first-child { - padding-left: 15px; -} -.repository .commits.table td { - line-height: 15px; -} -.repository .commits.table .author { - min-width: 180px; -} -.repository .commits.table .message span { - max-width: 500px; -} -.repository .commits.table .date { - width: 120px; -} .repository .diff-detail-box { margin: 15px 0; line-height: 30px; |