align cells in lists to center by default
This commit is contained in:
@@ -63,6 +63,7 @@ If you need to customize styles for [Redmine Backlogs][redmine_backlogs] remembe
|
|||||||
Latest (master):
|
Latest (master):
|
||||||
|
|
||||||
* Fixed `.pagination` float in project members settings
|
* 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):
|
v1.7.1 (2015-10-10):
|
||||||
|
|
||||||
|
|||||||
@@ -33,13 +33,12 @@ table.list {
|
|||||||
padding: $table-cell-padding;
|
padding: $table-cell-padding;
|
||||||
border: 1px solid $table-border-color;
|
border: 1px solid $table-border-color;
|
||||||
border-width: $table-list-item-border;
|
border-width: $table-list-item-border;
|
||||||
text-align: left;
|
text-align: center;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
||||||
&.checkbox {
|
&.checkbox {
|
||||||
width: 15px;
|
width: 15px;
|
||||||
padding: $table-cell-padding 0 0;
|
padding: $table-cell-padding 0 0;
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
input {
|
input {
|
||||||
margin: 2px 0 0;
|
margin: 2px 0 0;
|
||||||
@@ -58,6 +57,24 @@ table.list {
|
|||||||
text-align: right;
|
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,
|
&.estimated_hours,
|
||||||
&.remaining_hours,
|
&.remaining_hours,
|
||||||
&.spent_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 {
|
&.reorder {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user