annotate sat_templates/templates/default/static/ticket.css @ 304:cdf88211b86b

bulma (input/field): `field` macro now has `control_class` and `in_group` attributes: - `control_class` is used to specify additional classes for the control (when `class` is used for classes of the of the `field`) - when `in_group` is `true`, `field` is not added, only the `control` is used. This is useful for grouping elements in the same field
author Goffi <goffi@goffi.org>
date Sat, 27 Feb 2021 20:44:01 +0100
parents 89f940763b02
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
74
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
1 .tickets a.status_closed {
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
2 text-decoration: line-through;
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
3 color: grey;
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 }
74
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
5 .tickets a.severity_major .xmlui_field__title {
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
6 font-weight: bold;
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
7 color: red;
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
9
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 .tickets tbody tr.severity_major .td_title a::before {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
11 content: '⚠ ';
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 color: red;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
14
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 /* single ticket */
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
16
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 .view .xmlui_widget {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
18 width: auto;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
19 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
20
63
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
21 .view div.xmlui_cont div.xmlui_cont {
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
22 display: grid;
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
23 grid-template-columns: min-content 1fr;
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
24 }
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
25
141
7f8b948bddfe static (ticket.css): hide published if present in data
Goffi <goffi@goffi.org>
parents: 90
diff changeset
26 .view #label_wid_publisher,
7f8b948bddfe static (ticket.css): hide published if present in data
Goffi <goffi@goffi.org>
parents: 90
diff changeset
27 .view #wid_publisher,
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
28 .view #label_wid_title,
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 .view #label_wid_body,
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 .view #label_wid_id,
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
31 .view #label_wid_comments_uri,
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
32 .view #wid_comments_uri {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 display: none
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
34 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
35
63
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
36 .view .xmlui_label {
64
767509e8c272 ticket/item: added padding to label
Goffi <goffi@goffi.org>
parents: 63
diff changeset
37 padding-right: 2em;
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
38 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
39
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
40 .view #wid_id {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
41 margin: 0;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
42 font-style: italic;
63
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
43 grid-column-start: 1;
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
44 grid-column-end: 3;
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
45 text-align: right;
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
46 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
47
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
48 .view .xmlui_label {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
49 font-weight: bold;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
50 float: left;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
51 color: #808080cc;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
52 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
53
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
54 .view #wid_title {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
55 font-weight: bold;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
56 display: block;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
57 text-align: center;
63
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
58 grid-column-start: 1;
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
59 grid-column-end: 3;
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
60 }
61
f76ec90e0e1e base: menus handling, first draft:
Goffi <goffi@goffi.org>
parents: 56
diff changeset
61 .view #wid_title::first-letter {
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
62 text-transform: uppercase;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
63 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
64
74
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
65 .view #wid_labels span, .xmlui_field__labels span {
66
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents: 64
diff changeset
66 font-size: 0.8em;
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents: 64
diff changeset
67 background: #eae3e3;
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents: 64
diff changeset
68 font-variant: small-caps;
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents: 64
diff changeset
69 border: 1px solid black;
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents: 64
diff changeset
70 border-radius: 0.5em;
9834106678da base: menu implementation:
Goffi <goffi@goffi.org>
parents: 64
diff changeset
71 padding: 0 2px;
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
72 white-space: nowrap;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
73 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
74
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
75 .view #wid_labels span.value_work_in_progress {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
76 background: yellow;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
77 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
78
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
79 .view #wid_type {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
80 font-weight: bold;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
81 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
82
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
83 .view #wid_type span.value_bug::after {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
84 content: ' 🐛';
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
85 color: red;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
86 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
87
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
88 .view #wid_severity span.value_major {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
89 font-weight: bold;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
90 color: red;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
91 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
92
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
93 .view #wid_severity span.value_major::after {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
94 content: '⚠ ';
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
95 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
96
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
97 .view #wid_body {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
98 max-height: 500px;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
99 overflow: auto;
170
6c251da9a4f3 style improvment
Goffi <goffi@goffi.org>
parents: 166
diff changeset
100 resize: vertical;
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
101 background-color: white;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
102 padding: 5px;
170
6c251da9a4f3 style improvment
Goffi <goffi@goffi.org>
parents: 166
diff changeset
103 border-color: #ddd;
6c251da9a4f3 style improvment
Goffi <goffi@goffi.org>
parents: 166
diff changeset
104 border-style: solid;
6c251da9a4f3 style improvment
Goffi <goffi@goffi.org>
parents: 166
diff changeset
105 border-width: 1px 0;
63
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
106 grid-column-start: 1;
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
107 grid-column-end: 3;
a9ecc765214c ticket(view): use CSS grid to display metadata, and put data next to labels
Goffi <goffi@goffi.org>
parents: 61
diff changeset
108 display: block;
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
109 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
110
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
111 .comment_post {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
112 margin-top: 3em;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
113 }
74
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
114
206
131fd1eeb132 css (tickets): hide "author" field when editing a ticket
Goffi <goffi@goffi.org>
parents: 181
diff changeset
115
74
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
116 @media (min-width: 800px) {
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
117 ul.xmlui_list {
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
118 padding: 0 2em;
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
119 }
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
120 .xmlui_list li {
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
121 border-radius: 0.3em;
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
122 }
e99bd385774a ticket(overview): use list instead of table and display labels
Goffi <goffi@goffi.org>
parents: 66
diff changeset
123 }