view default/static/ticket.css @ 66:9834106678da

base: menu implementation: 2 menus are now handled: main menu and category menu (for submenus relative to a page). Main menu is displayed on the side bar on big screen. Added menu for tickets.
author Goffi <goffi@goffi.org>
date Fri, 01 Dec 2017 00:46:42 +0100
parents 767509e8c272
children e99bd385774a
line wrap: on
line source

@import 'blog.css'; /* needed as blog/articles.html is included */

.instructions {
    font-style: italic;
    text-align: center;
}

.instructions span {
    padding: 0.3em;
}

.tickets table {
    margin: 0 auto;
    border-spacing: 0 0.5em;
}

.tickets tr:nth-child(even) {
    background: #CCC9;
}

.tickets tr:nth-child(odd) {
    background: #FFF;
}

.tickets tbody tr:hover {
    background: yellow;
}

.tickets tbody tr.severity_major .td_title a::before {
    content: '⚠ ';
    color: red;
}

.tickets tbody tr.status_closed {
    text-decoration: line-through;
    color: grey;
}

/* single ticket */

.ticket {
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.view .xmlui_widget {
    width: auto;
}

.view div.xmlui_cont div.xmlui_cont {
    display: grid;
    grid-template-columns: min-content 1fr;
}

.view #label_wid_title,
.view #label_wid_body,
.view #label_wid_id,
.view #label_wid_comments_uri,
.view #wid_comments_uri {
    display: none
}

.view .xmlui_label {
    padding-right: 2em;
}

.view #wid_id {
    margin: 0;
    font-style: italic;
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: right;
}

.view .xmlui_label {
    font-weight: bold;
    float: left;
    color: #808080cc;
}

.view #wid_title {
    font-weight: bold;
    display: block;
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 3;
}
.view #wid_title::first-letter {
    text-transform: uppercase;
}

.view #wid_labels span {
    font-size: 0.8em;
    background: #eae3e3;
    font-variant: small-caps;
    border: 1px solid black;
    border-radius: 0.5em;
    padding: 0 2px;
    white-space: nowrap;
}

.view #wid_labels span.value_work_in_progress {
    background: yellow;
}

.view #wid_type {
    font-weight: bold;
}

.view #wid_type span.value_bug::after {
    content: ' 🐛';
    color: red;
}

.view #wid_severity span.value_major {
    font-weight: bold;
    color: red;
}

.view #wid_severity span.value_major::after {
    content: '⚠ ';
}

.view #wid_body {
    white-space: pre-wrap;
    max-height: 500px;
    overflow: auto;
    resize: both;
    background-color: white;
    padding: 5px;
    text-align: justify;
    border: 1px solid black;
    border-radius: 5px;
    grid-column-start: 1;
    grid-column-end: 3;
    display: block;
}

.comment_post {
    margin-top: 3em;
}