annotate default/static/ticket.css @ 62:e7b62f6980a1

ticket: added menus
author Goffi <goffi@goffi.org>
date Sat, 11 Nov 2017 00:17:01 +0100
parents f76ec90e0e1e
children a9ecc765214c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 @import 'blog.css'; /* needed as blog/articles.html is included */
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 .instructions {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 font-style: italic;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 text-align: center;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
7
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 .instructions span {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 padding: 0.3em;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
11
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 .tickets table {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 margin: 0 auto;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
14 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
15
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
16 .tickets tr:nth-child(even) {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 background: #CCC9;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
18 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
19
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
20 .tickets tr:nth-child(odd) {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
21 background: #FFF;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
22 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
23
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 .tickets tbody tr:hover {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
25 background: yellow;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
27
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
28 .tickets tbody tr.severity_major .td_title a::before {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 content: '⚠ ';
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 color: red;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
31 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
32
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 .tickets tbody tr.status_closed {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
34 text-decoration: line-through;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
35 color: grey;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
36 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
37
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
38 /* single ticket */
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
39
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
40 .ticket {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
41 padding: 20px;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
42 max-width: 500px;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
43 margin: 0 auto;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
44 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
45
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
46 .view .xmlui_widget {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
47 width: auto;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
48 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
49
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
50 .view #label_wid_title,
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
51 .view #label_wid_body,
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
52 .view #label_wid_id,
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
53 .view #label_wid_comments_uri,
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
54 .view #wid_comments_uri {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
55 display: none
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
56 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
57
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
58 .view .xmlui_widget {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
59 text-align: right;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
60 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
61
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
62 .view #wid_id {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
63 margin: 0;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
64 font-style: italic;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
65 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
66
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
67 .view .xmlui_label {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
68 font-weight: bold;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
69 float: left;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
70 color: #808080cc;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
71 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
72
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
73 .view #wid_title {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
74 font-weight: bold;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
75 display: block;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
76 text-align: center;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
77 }
61
f76ec90e0e1e base: menus handling, first draft:
Goffi <goffi@goffi.org>
parents: 56
diff changeset
78 .view #wid_title::first-letter {
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
79 text-transform: uppercase;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
80 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
81
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
82 .view #wid_labels span {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
83 font-size: 0.8em;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
84 background: #eae3e3;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
85 font-variant: small-caps;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
86 border: 1px solid black;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
87 border-radius: 0.5em;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
88 padding: 0 2px;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
89 white-space: nowrap;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
90 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
91
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
92 .view #wid_labels span.value_work_in_progress {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
93 background: yellow;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
94 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
95
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
96 .view #wid_type {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
97 font-weight: bold;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
98 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
99
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
100 .view #wid_type span.value_bug::after {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
101 content: ' 🐛';
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
102 color: red;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
103 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
104
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
105 .view #wid_severity span.value_major {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
106 font-weight: bold;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
107 color: red;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
108 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
109
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
110 .view #wid_severity span.value_major::after {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
111 content: '⚠ ';
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
112 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
113
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
114 .view #wid_body {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
115 white-space: pre-wrap;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
116 max-height: 500px;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
117 overflow: auto;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
118 resize: both;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
119 background-color: white;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
120 padding: 5px;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
121 text-align: justify;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
122 border: 1px solid black;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
123 border-radius: 5px;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
124 }
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
125
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
126 .comment_post {
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
127 margin-top: 3em;
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
128 }