Mercurial > libervia-templates
annotate sat_templates/templates/default/static/ticket.css @ 245:10278ba367a2
bulma (photo/discover): design for the new theme + create button + delete button
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jun 2020 17:57:13 +0200 |
parents | 89f940763b02 |
children |
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 | 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 | 8 } |
9 | |
10 .tickets tbody tr.severity_major .td_title a::before { | |
11 content: '⚠ '; | |
12 color: red; | |
13 } | |
14 | |
15 /* single ticket */ | |
16 | |
17 .view .xmlui_widget { | |
18 width: auto; | |
19 } | |
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 | 28 .view #label_wid_title, |
29 .view #label_wid_body, | |
30 .view #label_wid_id, | |
31 .view #label_wid_comments_uri, | |
32 .view #wid_comments_uri { | |
33 display: none | |
34 } | |
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 | 37 padding-right: 2em; |
56 | 38 } |
39 | |
40 .view #wid_id { | |
41 margin: 0; | |
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 | 46 } |
47 | |
48 .view .xmlui_label { | |
49 font-weight: bold; | |
50 float: left; | |
51 color: #808080cc; | |
52 } | |
53 | |
54 .view #wid_title { | |
55 font-weight: bold; | |
56 display: block; | |
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 | 60 } |
61 | 61 .view #wid_title::first-letter { |
56 | 62 text-transform: uppercase; |
63 } | |
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 | 66 font-size: 0.8em; |
67 background: #eae3e3; | |
68 font-variant: small-caps; | |
69 border: 1px solid black; | |
70 border-radius: 0.5em; | |
71 padding: 0 2px; | |
56 | 72 white-space: nowrap; |
73 } | |
74 | |
75 .view #wid_labels span.value_work_in_progress { | |
76 background: yellow; | |
77 } | |
78 | |
79 .view #wid_type { | |
80 font-weight: bold; | |
81 } | |
82 | |
83 .view #wid_type span.value_bug::after { | |
84 content: ' 🐛'; | |
85 color: red; | |
86 } | |
87 | |
88 .view #wid_severity span.value_major { | |
89 font-weight: bold; | |
90 color: red; | |
91 } | |
92 | |
93 .view #wid_severity span.value_major::after { | |
94 content: '⚠ '; | |
95 } | |
96 | |
97 .view #wid_body { | |
98 max-height: 500px; | |
99 overflow: auto; | |
170 | 100 resize: vertical; |
56 | 101 background-color: white; |
102 padding: 5px; | |
170 | 103 border-color: #ddd; |
104 border-style: solid; | |
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 | 109 } |
110 | |
111 .comment_post { | |
112 margin-top: 3em; | |
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 } |