summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-10-13 07:38:56 +0000
committerGo MAEDA <maeda@farend.jp>2024-10-13 07:38:56 +0000
commitbad907d01337358878aa1b5a31e117e9582de241 (patch)
tree3d236f672ebbb78cebe3810080eac66bf0718675 /app
parentaa631cc41b30010adc5499d45b5df15a4f940c6f (diff)
downloadredmine-bad907d01337358878aa1b5a31e117e9582de241.tar.gz
redmine-bad907d01337358878aa1b5a31e117e9582de241.zip
Improve table readability by adding row borders (#41475).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23120 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/application.css13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index d45523956..03eb5d6c0 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -288,17 +288,17 @@ div + .drdn-items {border-top:1px solid #ccc;}
/***** Tables *****/
table.list, .table-list {
font-size: 0.8125rem;
- border: 1px solid #d0d7de;
+ border-top: 1px solid #d0d7de;
+ border-bottom: 1px solid #d0d7de;
+ border-collapse: collapse;
width: 100%;
margin-bottom: 4px;
- border-radius: 3px;
- border-spacing: 0;
- box-shadow: 0 1px 2px rgba(0,0,0,0.05);
overflow: hidden;
}
table.list th, .table-list-header { background-color:#EEEEEE; padding: 4px; white-space:nowrap; font-weight:bold; }
table.list th.whitespace-normal {white-space: normal;}
-table.list td {text-align:center; vertical-align:middle; padding-right:10px;}
+table.list td {text-align:center; vertical-align:middle; padding-top: 3px; padding-right: 10px; padding-bottom: 3px; border-top: 1px solid #d0d7de;}
+table.list td.icon {width: 100%;} /* Prevents border from disappearing due to inline-flex shrinking */
table.list td.id { width: 2%; text-align: center;}
table.list td.name, table.list td.description, table.list td.subject, table.list td.parent-subject, table.list td.comments, table.list td.roles, table.list td.attachments, table.list td.text, table.list td.short_description {text-align: left;}
@@ -627,7 +627,8 @@ div.issue .attribute.text_cf .value .wiki p:first-of-type {margin-top: 0;}
div.issue.overdue .due-date .value { color: #c22; }
body.controller-issues h2.inline-flex {padding-right: 0}
-#issue_tree table.issues, #relations table.issues {border: 0; box-shadow: none;}
+#issue_tree table.issues, #relations table.issues {border: 0;}
+#issue_tree table.issues td, #relations table.issues td {border: 0;}
#issue_tree td.checkbox, #relations td.checkbox {display:none;}
#issue_tree td.buttons, #relations td.buttons {padding:0;}
#issue_tree .issues-stat, #relations .issues-stat {font-size: 93%}