????
Current Path : C:/inetpub/vhost/redmine/public/themes/improved/src/sass/components/ |
Current File : C:/inetpub/vhost/redmine/public/themes/improved/src/sass/components/_tables.scss |
/*************************************************************************************************** * * Tables * */ td.center { text-align: center; } tr { &.odd { background-color: #f6f7f8; // lighten($gray-base, 95%) $gray-lighter } &.even { background-color: white; } } /******************************************************************************* * * table list * */ table.list, .table-list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } table.list th, .table-list-header { background-color: #EEEEEE; padding: 4px; white-space: nowrap; font-weight: bold; } table.list { td { text-align: center; vertical-align: top; padding-right: 10px; &.id { width: 2%; text-align: center; } &.name, &.description, &.subject, &.comments, &.roles { text-align: left; } &.tick { width: 15%; } &.checkbox { width: 15px; padding: 2px 0 0 0; input { padding: 0px; } } &.buttons { // contains buttons width: 15%; white-space: nowrap; text-align: right; padding-top: $padding-large-vertical; padding-bottom: $padding-large-vertical; } &.reorder { width: 15%; white-space: nowrap; text-align: center; } } table.progress td { padding-right: 0px; } caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; } } // Here ??? div.buttons { width: 15%; white-space: nowrap; text-align: right; } table.list td.buttons a, div.buttons a { margin-right: 0.6em; } table.list td.buttons img, div.buttons img { vertical-align: middle; } #role-permissions-trackers table.list th { white-space: normal; } .table-list-cell { display: table-cell; vertical-align: top; padding: 2px; } /******************************************************************************* * * * */ tr { &.project { td.name a { white-space: nowrap; } &.closed, &.archived, &.closed a, &.archived a { color: #aaa; } &.idnt td.name span { background: url(../../../images/bullet_arrow_right.png) no-repeat 0 50%; // carret-right padding-left: 16px; } &.idnt-1 td.name { padding-left: 0.5em; } &.idnt-2 td.name { padding-left: 2em; } &.idnt-3 td.name { padding-left: 3.5em; } &.idnt-4 td.name { padding-left: 5em; } &.idnt-5 td.name { padding-left: 6.5em; } &.idnt-6 td.name { padding-left: 8em; } &.idnt-7 td.name { padding-left: 9.5em; } &.idnt-8 td.name { padding-left: 11em; } &.idnt-9 td.name { padding-left: 12.5em; } } } td.assigned_to { white-space: normal; } tr { &.entry { border: 1px solid #f8f8f8; td { white-space: nowrap; &.filename { width: 30%; text-align: left; } &.filename_no_report { width: 70%; text-align: left; } &.size { text-align: right; font-size: 90%; } &.revision, &.author { text-align: center; } &.age { text-align: right; } } &.file td { &.filename a, &.filename_no_report a { margin-left: 16px; } } } span.expander { background-image: url(../../../images/bullet_toggle_plus.png); // plus-square padding-left: 8px; margin-left: 0; cursor: pointer; } &.open span.expander { background-image: url(../../../images/bullet_toggle_minus.png); // minus-square } &.changeset { height: 20px; ul { margin-top: 0px; margin-bottom: 0px; } } } tr.changeset td { &.revision_graph { width: 15%; background-color: #fffffb; } &.author, &.committed_on { text-align: center; width: 15%; white-space: nowrap; } } table { &.files { tbody th { text-align: left; } tr.file td { &.filename { text-align: left; padding-left: 24px; } &.digest { font-size: 80%; } } } &.members td.roles, &.memberships td.roles { width: 45%; } } tr { &.message { height: 2.6em; td { &.subject { padding-left: 20px; } &.created_on { white-space: nowrap; } &.last_message { font-size: 80%; white-space: nowrap; } } &.locked td.subject { background: url(../../../images/locked.png) no-repeat 0 1px; } &.sticky td.subject { background: url(../../../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; } } &.version { &.closed { color: #999; a { color: #999; } } td.name { padding-left: 20px; } &.shared td.name { background: url(../../../images/link.png) no-repeat 0% 70%; } td { &.date, &.status, &.sharing { text-align: center; white-space: nowrap; } } } &.user td { width: 13%; white-space: nowrap; } } td { &.username, &.firstname, &.lastname, &.email { text-align: left !important; } } tr.user { td.email { width: 18%; } &.locked, &.registered, &.locked a, &.registered a { color: #aaa; } } table.permissions td.role { color: #999; font-size: 90%; font-weight: normal !important; text-align: center; vertical-align: bottom; } tr { &.wiki-page-version td { &.updated_on, &.author { text-align: center; } } &.time-entry { text-align: center; white-space: nowrap; td { &.issue, &.comments, &.subject, &.activity { text-align: left; white-space: normal; } } } } td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; .hours-dec { font-size: 0.9em; } } table.plugins { td { vertical-align: middle; &.configure { text-align: right; padding-right: 1em; } } span { &.name { font-weight: bold; display: block; margin-bottom: 6px; } &.description, &.url { display: block; font-size: 0.9em; } } } tr.group { td { padding: 0.8em 0 0.5em 0.3em; border-bottom: 1px solid #ccc; text-align: left; } span { &.name { font-weight: bold; } &.count { font-weight: bold; position: relative; top: -1px; color: #fff; font-size: 10px; background: #9DB9D5; padding: 0px 6px 1px 6px; border-radius: 3px; margin-left: 4px; } &.totals { color: #aaa; font-size: 80%; .value { font-weight: bold; color: #777; } } } a.toggle-all { color: #aaa; font-size: 80%; display: none; float: right; margin-right: 4px; } &:hover a.toggle-all { display: inline; } } a.toggle-all:hover { text-decoration: none; } table { &.list tbody tr { &:hover { background-color: #ffffdd; } &.group:hover { background-color: inherit; } } td { padding: 2px; } p { margin: 0; } } tr.builtin td.name { font-style: italic; } a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; &.asc { background-image: url(../../../images/sort_asc.png); } &.desc { background-image: url(../../../images/sort_desc.png); } } table.boards a.board, h3.comments { background: url(../../../images/comment.png) no-repeat 0% 50%; padding-left: 20px; } table.boards td.last-message { text-align: left; font-size: 80%; } div.table-list.boards .table-list-cell.name { width: 30%; } table.messages td.last_message { text-align: left; } #query_form_content { font-size: 90%; } .query_sort_criteria_count { display: inline-block; min-width: 1em; } table.query-columns { border-collapse: collapse; border: 0; td.buttons { vertical-align: middle; text-align: center; input[type=button] { width: 35px; } } } .query-totals { text-align: right; margin-top: -2.3em; > span { margin-left: 0.6em; } .value { font-weight: bold; } }