align cells in lists to center by default

This commit is contained in:
mrliptontea
2015-10-12 10:13:56 +02:00
parent c45de83791
commit db39c6cb54
3 changed files with 21 additions and 15 deletions

View File

@@ -63,6 +63,7 @@ If you need to customize styles for [Redmine Backlogs][redmine_backlogs] remembe
Latest (master):
* Fixed `.pagination` float in project members settings
* Lists' cells are aligned to center by default (as in Redmine's default theme)
v1.7.1 (2015-10-10):

View File

@@ -33,13 +33,12 @@ table.list {
padding: $table-cell-padding;
border: 1px solid $table-border-color;
border-width: $table-list-item-border;
text-align: left;
text-align: center;
vertical-align: top;
&.checkbox {
width: 15px;
padding: $table-cell-padding 0 0;
text-align: center;
input {
margin: 2px 0 0;
@@ -58,6 +57,24 @@ table.list {
text-align: right;
}
&.assigned_to,
&.author,
&.activity,
&.category,
&.comments,
&.description,
&.fixed_version,
&.name,
&.priority,
&.relations,
&.roles,
&.status,
&.string,
&.subject,
&.user {
text-align: left;
}
&.estimated_hours,
&.remaining_hours,
&.spent_hours,
@@ -76,18 +93,6 @@ table.list {
}
}
&.project,
&.created_on,
&.updated_on,
&.start_date,
&.due_date,
&.is_private,
&.reorder,
&.bool,
&.date {
text-align: center;
}
&.reorder {
white-space: nowrap;
}

File diff suppressed because one or more lines are too long