summaryrefslogtreecommitdiffstats
path: root/public/less/_repository.less
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-12-01 00:04:13 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-02 21:57:39 +0100
commit61fdd8c57120e25a31a686ad60f35ac6445786bd (patch)
tree4923e4a30ca683ce7ada5b451b0c0c78a5dc9f0f /public/less/_repository.less
parent4813665d0ad600729fe0aba3346f026502fe3b14 (diff)
downloadgitea-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/less/_repository.less')
-rw-r--r--public/less/_repository.less49
1 files changed, 1 insertions, 48 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 2e0ea17c79..ffd432db2d 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -143,24 +143,11 @@
}
#repo-files-table {
- .table.list {
- width: 80% !important;
- }
-
thead {
th {
padding-top: 8px;
padding-bottom: 5px;
font-weight: normal;
-
- #last-commit-message {
- margin-left: 5px;
- margin-bottom: -4px;
- width: 400px;
- }
- .age {
- margin-top: 2px;
- }
}
.ui.avatar {
margin-bottom: 5px;
@@ -168,21 +155,7 @@
}
tbody {
.icon {
- margin-left: 5px;
- }
- .name {
- max-width: 120px;
- }
- .message {
- max-width: 300px;
- }
- .age {
- min-width: 150px;
- }
-
- .text.truncate {
- margin-bottom: -5px;
- max-width: 100%;
+ margin-right: 5px;
}
}
td {
@@ -610,26 +583,6 @@
}
}
}
- .commits.table {
- font-size: 13px;
- th, td {
- &:first-child {
- padding-left: 15px;
- }
- }
- td {
- line-height: 15px;
- }
- .author {
- min-width: 180px;
- }
- .message span {
- max-width: 500px;
- }
- .date {
- width: 120px;
- }
- }
.diff-detail-box {
margin: 15px 0;