????
Current Path : C:/inetpub/vhost/redmine/public/themes/openmind/scss/application/ |
Current File : C:/inetpub/vhost/redmine/public/themes/openmind/scss/application/_table.scss |
/***** Tables *****/ table.list, .table-list { border: 1px solid #dddddd; width: 100%; margin-bottom: 4px; border-radius: 3px; border-spacing: 0; overflow: hidden; margin: 10px 0; } table.list th, .table-list-header { background-color: #EEEEEE; padding: 10px; white-space: nowrap; font-weight: bold; } table.list { td { text-align: center; vertical-align: middle; padding: 10px; &.id { width: 2%; text-align: center; } &.name, &.description, &.subject, &.comments, &.roles, &.attachments, &.text, &.short_description { text-align: left; } &.attachments a { display: block; } &.tick { width: 15%; } &.checkbox { width: 15px; padding: 2px 0 0 0; } } .checkbox input { padding: 0px; height: initial; } td.buttons { white-space: nowrap; text-align: right; } } div.buttons { white-space: nowrap; text-align: right; } table.list td.buttons a, div.buttons a { margin-right: 0.6em; } table.list td.buttons a:last-child, div.buttons a:last-child { margin-right: 0; } table.list td.buttons img, div.buttons img { vertical-align: middle; } table.list { td.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; } tr.overdue td.due_date { color: #c22; } } #role-permissions-trackers table.list th { white-space: normal; } .table-list-cell { display: table-cell; padding: 8px; &.name { a { margin-left: 10px; } } } .table-list div.buttons { width: 15%; } tr { &.project { td.name a { white-space: nowrap; } &.closed, &.archived, &.closed a, &.archived a { color: #aaa; } } &.issue { text-align: center; white-space: nowrap; td { &.subject, &.category { white-space: normal; } } } } td { &.assigned_to, &.last_updated_by { white-space: normal; } } tr.issue td { &.string, &.text, &.list, &.relations, &.parent { white-space: normal; } &.relations { text-align: left; } &.done_ratio table.progress { margin-left: auto; margin-right: auto; } &.relations span { white-space: nowrap; } } table.issues td.block_column { color: #777; font-size: 90%; padding: 4px 4px 4px 24px; text-align: left; white-space: normal; span { font-weight: bold; display: block; margin-bottom: 4px; } pre { white-space: normal; } } tr { &.issue.idnt td.subject, &.project.idnt td.name { background: url(../../../images/arrow_right.png) no-repeat 2px 50%; } &.issue.idnt-1 td.subject, &.project.idnt-1 td.name { padding-left: 24px; background-position: 8px 50%; } &.issue.idnt-2 td.subject, &.project.idnt-2 td.name { padding-left: 40px; background-position: 24px 50%; } &.issue.idnt-3 td.subject, &.project.idnt-3 td.name { padding-left: 56px; background-position: 40px 50%; } &.issue.idnt-4 td.subject, &.project.idnt-4 td.name { padding-left: 72px; background-position: 56px 50%; } &.issue.idnt-5 td.subject, &.project.idnt-5 td.name { padding-left: 88px; background-position: 72px 50%; } &.issue.idnt-6 td.subject, &.project.idnt-6 td.name { padding-left: 104px; background-position: 88px 50%; } &.issue.idnt-7 td.subject, &.project.idnt-7 td.name { padding-left: 120px; background-position: 104px 50%; } &.issue.idnt-8 td.subject, &.project.idnt-8 td.name { padding-left: 136px; background-position: 120px 50%; } &.issue.idnt-9 td.subject, &.project.idnt-9 td.name { padding-left: 152px; background-position: 136px 50%; } } table.issue-report { table-layout: fixed; } .issue-report-graph { width: 75%; margin: 2em 0; } 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-position: 2px 50%; padding-left: 8px; margin-left: 0; cursor: pointer; } } .gantt_subjects div > span { &.expander { background-position: 2px 50%; padding-left: 8px; margin-left: 0; cursor: pointer; padding-left: 12px; } .icon-gravatar { float: none; } } tr.changeset { height: 20px; ul { margin-top: 0px; margin-bottom: 0px; } } ol { 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%; } &.messages td.last_message { text-align: left; } } tr.message { height: 2.6em; td { &.created_on { white-space: nowrap; } &.last_message { font-size: 80%; white-space: nowrap; } } &.sticky td.subject { font-weight: bold; } } body.avatars-on #replies .message.reply { padding-left: 32px; } #replies { .reply:target h4.reply-header { background-color: #DDEEFF; } h4 img.gravatar { margin-left: -32px; } } tr { &.version { &.closed { color: #999; a { color: #999; } } td { &.name { padding-left: 20px; } &.date, &.status, &.sharing { text-align: center; white-space: nowrap; } } } &.member td.icon-user { background: transparent; } } #principals_for_new_member .icon-user { background: transparent; } tr.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, &.project { 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; } } } &.list.enumerations { table-layout: fixed; margin-bottom: 2em; } } tr.group { td { padding: 0.8em 0 0.5em 0.3em; border-bottom: 1px solid #ccc; text-align: left; background-color: #fff; } span { &.count { top: -1px; } &.name { font-weight: bold; } &.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.group:hover { background-color: inherit; } td { padding: 2px; } p { margin: 0; } &.list:not(.odd-even) tbody tr:nth-child(odd) { background-color: #f6f7f8; } } .odd, #issue-changesets div.changeset:nth-child(odd) { background-color: #f6f7f8; } table.list:not(.odd-even) tbody tr:nth-child(even), .even, #issue-changesets div.changeset:nth-child(even) { background-color: #fff; } table.list:not(.odd-even) tbody tr:nth-child(odd):hover, .odd:hover, #issue-changesets div.changeset:nth-child(odd):hover, table.list:not(.odd-even) tbody tr:nth-child(even):hover, .even:hover, #issue-changesets div.changeset:nth-child(even):hover { background-color: #ffffdd; } tr.builtin td.name { font-style: italic; } a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; } table.boards { a.board { background: url(../../../images/comment.png) no-repeat 0% 50%; padding-left: 20px; } td.last-message { text-align: left; font-size: 80%; } } table.progress { td { padding: 0; } }