Mercurial > hgrepos > hgweb.cgi > s4
annotate examples/common/default/default.css @ 591:3bfd1ac6fbf3
Hr in reply box changed to inline-block
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 07 Sep 2019 07:41:52 +0900 |
parents | 33fab353a39e |
children | f02b38fa9489 |
rev | line source |
---|---|
6 | 1 /* |
2 * Default CSS definitions | |
3 */ | |
259
85a001a9c7c5
Make it visible: the group is moderated; the user is a member of the group
HIROSE Yuuji <yuuji@gentei.org>
parents:
258
diff
changeset
|
4 body {background: #eff; margin: 2px; padding: 6px;} |
221 | 5 h2, h3, hr {clear: both;} |
116 | 6 *.warn {color: red;} |
6 | 7 div.topmenu { |
8 margin: 0; padding: 0; width: 100%; height: 2em; | |
9 } | |
556
4a33f5424767
Bring div.topmenu ul to z-index=5
HIROSE Yuuji <yuuji@gentei.org>
parents:
505
diff
changeset
|
10 div.topmenu ul {width: 100%; position: fixed; z-index: 5; margin: 0; |
6 | 11 margin: 0 auto;} |
12 div.topmenu ul li { | |
13 float: left; width: 18%; | |
14 background: rgba(68,255,102,0.8); border: #3e5 2px groove; margin: 0; | |
15 text-align: center; font-size: 80%; list-style: none; | |
16 box-shadow: #242 2px 3px 5px; | |
17 text-shadow: #fff 0px 0px 10px; | |
18 } | |
19 div.topmenu ul li:hover {background: #8fa;} | |
20 div.topmenu ul a {text-decoration: none;} | |
21 | |
22 ldiv.topmenu + h1 {clear: both; margin-top: 3em;} | |
369
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
23 pre.list { |
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
24 overflow: auto; width: 96%; height: 40%; background: white; |
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
25 border: 2px inset; |
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
26 } |
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
27 p.copyright { |
377
e8630c45a3ef
Clear float at pre.list instead of script body
HIROSE Yuuji <yuuji@gentei.org>
parents:
369
diff
changeset
|
28 border-top: 2px inset #555; text-align: right; clear: both; |
369
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
29 font-size: 50%; |
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
30 } |
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
31 p.copyright a {text-decoration: none;} |
6 | 32 |
33 td {padding-left: 0.5ex; padding-right: 0.5ex;} | |
34 table.td2r td:nth-child(2) {text-align: right;} | |
35 table.td3r td:nth-child(3) {text-align: right;} | |
369
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
36 table.td3rr td:nth-child(n+3) {text-align: right;} |
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
37 table.td3evw th:nth-child(2n+4) {background: white;} |
252
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
38 |
6 | 39 table.form, table.b, table.b tr, table.b td, table.b th { |
40 border: 1px solid black; border-collapse: collapse; | |
41 } | |
185 | 42 table.b, table.bloghead { |
43 border-radius: 1ex; box-shadow: rgb(250,222,222) 1px 2px 3px; | |
44 } | |
6 | 45 td.warn {background: #fcc;} |
46 input[type="checkbox"][name="rm"]:checked ~ table {background: red;} | |
47 input[type="checkbox"][name="rm"] ~ span {display: none;} | |
48 input[type="checkbox"][name="rm"]:checked ~ span {display: inline;} | |
49 | |
50 input[type="radio"][value="replace"] + input.replace[type="file"] { | |
51 visibility: hidden;} | |
52 input[type="radio"][value="replace"]:checked + input.replace[type="file"] { | |
53 visibility: visible; | |
54 } | |
153
f7b4f7e5df2a
Commission of grp_adm pulled back into grpaction()
HIROSE Yuuji <yuuji@gentei.org>
parents:
152
diff
changeset
|
55 label.admin span {border-bottom: 1px solid blue;} |
f7b4f7e5df2a
Commission of grp_adm pulled back into grpaction()
HIROSE Yuuji <yuuji@gentei.org>
parents:
152
diff
changeset
|
56 label.admin:after {content: "(ADMIN)"; color: red; text-decoration: none;} |
6 | 57 |
58 /* keep/edit/rm action selector */ | |
59 input.action ~ input:not(.action), input.action ~ textarea { | |
60 display: none; | |
61 } | |
62 input.action[value="edit"]:checked ~ input {display: inline;} | |
63 input.action[value="edit"]:checked ~ textarea {display: block;} | |
64 input.action[value="edit"]:checked ~ span {display: none;} | |
65 input.action[value="rm"]:checked ~ span {background: red;} | |
66 label.confirm {display: none;} | |
67 input.action[value="rm"]:checked ~ label.confirm { | |
68 display: inline; | |
69 } | |
451
8965bdad3172
Add convenient link pattern [[#ArticleId]] for direct link to articles.
HIROSE Yuuji <yuuji@gentei.org>
parents:
427
diff
changeset
|
70 input.hidesub ~ input[type="submit"] {visibility: hidden;} |
8965bdad3172
Add convenient link pattern [[#ArticleId]] for direct link to articles.
HIROSE Yuuji <yuuji@gentei.org>
parents:
427
diff
changeset
|
71 input.hidesub:focus ~ input[type="submit"], |
8965bdad3172
Add convenient link pattern [[#ArticleId]] for direct link to articles.
HIROSE Yuuji <yuuji@gentei.org>
parents:
427
diff
changeset
|
72 p:active input[type="submit"] |
8965bdad3172
Add convenient link pattern [[#ArticleId]] for direct link to articles.
HIROSE Yuuji <yuuji@gentei.org>
parents:
427
diff
changeset
|
73 {visibility: visible;} |
8965bdad3172
Add convenient link pattern [[#ArticleId]] for direct link to articles.
HIROSE Yuuji <yuuji@gentei.org>
parents:
427
diff
changeset
|
74 input[type=text]:focus {background: #ffa;} |
6 | 75 |
241
0c817d4a549a
Disable margin-bottom of form.replyblog
HIROSE Yuuji <yuuji@gentei.org>
parents:
237
diff
changeset
|
76 form.replyblog {xxx-margin-bottom: 40%;} |
6 | 77 div.blogcomment { |
78 position: fixed; bottom: 0; left: 0; | |
193 | 79 z-index: 2; background-color: rgba(250,222,222,0.6); |
6 | 80 } |
211 | 81 /* div.blogcomment textarea:focus {background: yellow; |
82 position: fixed; top: 0; bottom: auto; } Need to consider narrow display */ | |
6 | 83 div.blogcomment * {opacity: 1.0;} |
84 table.bloghead, .bloghead tr, .bloghead td { | |
85 border: 1px solid black; border-collapse: collapse; | |
86 min-width: 30em; | |
87 } | |
293
6c281c9899e5
Allow WikiStyle notation in blog heading
HIROSE Yuuji <yuuji@gentei.org>
parents:
291
diff
changeset
|
88 table.bloghead tr.preface { |
6 | 89 font-size: 150%; background: yellow; text-align: center; |
290
8a1012410035
s/pre/pre-wrap/ in bloghead
HIROSE Yuuji <yuuji@gentei.org>
parents:
289
diff
changeset
|
90 white-space: pre-wrap; |
6 | 91 } |
397
e9e8b4d40220
Add feature of `frozen state' of the blog board
HIROSE Yuuji <yuuji@gentei.org>
parents:
389
diff
changeset
|
92 table.bloghead tr.frozen {background: blue; color: white;} |
e9e8b4d40220
Add feature of `frozen state' of the blog board
HIROSE Yuuji <yuuji@gentei.org>
parents:
389
diff
changeset
|
93 |
6 | 94 table.bloghead {margin-bottom: 1em;} |
95 | |
96 table.blog_replies, .blog_replies tr, .blog_replies td { | |
505
2f2fd6da7194
reply box border made paler
HIROSE Yuuji <yuuji@gentei.org>
parents:
504
diff
changeset
|
97 border: 1px solid #999; border-collapse: collapse; |
185 | 98 white-space: pre-wrap; |
6 | 99 } |
498
d309f2e10a5e
Ul in preface should have white-space: normal
HIROSE Yuuji <yuuji@gentei.org>
parents:
497
diff
changeset
|
100 table.bloghead tr.preface td ul, |
496
18f7f10566bf
Add link notation: "video=URL"
HIROSE Yuuji <yuuji@gentei.org>
parents:
489
diff
changeset
|
101 table.blog_replies video, |
18f7f10566bf
Add link notation: "video=URL"
HIROSE Yuuji <yuuji@gentei.org>
parents:
489
diff
changeset
|
102 table.blog_replies iframe, |
489
075897fee2c0
minitbl() includes mini-ul translation
HIROSE Yuuji <yuuji@gentei.org>
parents:
485
diff
changeset
|
103 table.blog_replies ul, .blog_replies tr ul, .blog_replies td ul { |
075897fee2c0
minitbl() includes mini-ul translation
HIROSE Yuuji <yuuji@gentei.org>
parents:
485
diff
changeset
|
104 text-align: left; white-space: normal; margin: 1ex 0; |
075897fee2c0
minitbl() includes mini-ul translation
HIROSE Yuuji <yuuji@gentei.org>
parents:
485
diff
changeset
|
105 } |
322
18be0c210dc8
First implementation of icon display in blog_replies.
HIROSE Yuuji <yuuji@gentei.org>
parents:
320
diff
changeset
|
106 table.blog_replies p.proficon { |
18be0c210dc8
First implementation of icon display in blog_replies.
HIROSE Yuuji <yuuji@gentei.org>
parents:
320
diff
changeset
|
107 float: right; margin: 0 1ex 0 0; |
18be0c210dc8
First implementation of icon display in blog_replies.
HIROSE Yuuji <yuuji@gentei.org>
parents:
320
diff
changeset
|
108 } |
219
e2dea2f63a69
Duplicate posting by reload avoided
HIROSE Yuuji <yuuji@gentei.org>
parents:
211
diff
changeset
|
109 table.blog_replies+p.update_link {margin-top: 0; margin-bottom: 14em;} |
291
1df64f0490ca
`|col|col|...' like table conversion enabled
HIROSE Yuuji <yuuji@gentei.org>
parents:
290
diff
changeset
|
110 .blog_replies td.repl { |
6 | 111 vertical-align: top; min-width: 30em; height: 3em; |
185 | 112 max-width: 50em; |
6 | 113 } |
500
c9a7fb74e96a
Limit inline image visual width to 30%
HIROSE Yuuji <yuuji@gentei.org>
parents:
498
diff
changeset
|
114 .blog_replies td.repl img {max-width: 30%;} |
427
d52dd72a70e1
td.repl h[234] -> display: inline;
HIROSE Yuuji <yuuji@gentei.org>
parents:
417
diff
changeset
|
115 td.repl h2, td.repl h3, td.repl h4 { |
d52dd72a70e1
td.repl h[234] -> display: inline;
HIROSE Yuuji <yuuji@gentei.org>
parents:
417
diff
changeset
|
116 display: inline; /* Because td.repl's white space is pre-wrap */ |
459
6af9e7371b31
text-shadow is little bit noisy...
HIROSE Yuuji <yuuji@gentei.org>
parents:
458
diff
changeset
|
117 /* text-shadow: blue 0px 1px; */ |
427
d52dd72a70e1
td.repl h[234] -> display: inline;
HIROSE Yuuji <yuuji@gentei.org>
parents:
417
diff
changeset
|
118 } |
591
3bfd1ac6fbf3
Hr in reply box changed to inline-block
HIROSE Yuuji <yuuji@gentei.org>
parents:
588
diff
changeset
|
119 td.repl hr {display: inline-block; width: 95%; color: #cde} |
584
1974f3bce999
Add padding to slant font (td.repl em)
HIROSE Yuuji <yuuji@gentei.org>
parents:
583
diff
changeset
|
120 td.repl em {color: #a00; text-decoration: underline; padding-right: 0.3ex;} |
485
021e7943fd99
Emphasis pattern *word*, _word_ and strong pattern **word**, __word__
HIROSE Yuuji <yuuji@gentei.org>
parents:
484
diff
changeset
|
121 td.repl strong {color: white; background: #00a; padding: 0 0.5ex;} |
458 | 122 td.repl h2:before {content: "■"; color: #a22;} |
123 td.repl h3:before {content: "◆"; color: #a22;} | |
456
33149c656f37
Add pseudo content to h2, h3, h4 in td.repl
HIROSE Yuuji <yuuji@gentei.org>
parents:
452
diff
changeset
|
124 td.repl h4:before {content: "○";} |
355 | 125 .blog_replies td.repatt {min-width: 12em;} |
354
5ab7efa5a950
More specific : table.blog_replies
HIROSE Yuuji <yuuji@gentei.org>
parents:
352
diff
changeset
|
126 table.blog_replies iframe { |
251
9e8e43ed3c11
Set geometry of iframe inside of blog_replies by property instead of attr.
HIROSE Yuuji <yuuji@gentei.org>
parents:
243
diff
changeset
|
127 width: 400px; height: 300px; max-width: 50em; max-height: 20em; |
9e8e43ed3c11
Set geometry of iframe inside of blog_replies by property instead of attr.
HIROSE Yuuji <yuuji@gentei.org>
parents:
243
diff
changeset
|
128 padding: 0; border: 0; |
9e8e43ed3c11
Set geometry of iframe inside of blog_replies by property instead of attr.
HIROSE Yuuji <yuuji@gentei.org>
parents:
243
diff
changeset
|
129 } |
354
5ab7efa5a950
More specific : table.blog_replies
HIROSE Yuuji <yuuji@gentei.org>
parents:
352
diff
changeset
|
130 table.blog_replies td.new { /* New Article from last visit */ |
287
422270e94adc
New flag attached to `time' has low visibility. Attached to `td'.
HIROSE Yuuji <yuuji@gentei.org>
parents:
286
diff
changeset
|
131 background: white |
286
1c4f13f0813e
Add newer article flag representing by time string decoration.
HIROSE Yuuji <yuuji@gentei.org>
parents:
260
diff
changeset
|
132 } |
291
1df64f0490ca
`|col|col|...' like table conversion enabled
HIROSE Yuuji <yuuji@gentei.org>
parents:
290
diff
changeset
|
133 table.mini, table.mini tr, table.mini th, table.mini td { |
1df64f0490ca
`|col|col|...' like table conversion enabled
HIROSE Yuuji <yuuji@gentei.org>
parents:
290
diff
changeset
|
134 margin: 0; border-width: 0; |
1df64f0490ca
`|col|col|...' like table conversion enabled
HIROSE Yuuji <yuuji@gentei.org>
parents:
290
diff
changeset
|
135 border-collapse: collapse; |
1df64f0490ca
`|col|col|...' like table conversion enabled
HIROSE Yuuji <yuuji@gentei.org>
parents:
290
diff
changeset
|
136 vertical-align: top; width: auto; height: 1em; |
1df64f0490ca
`|col|col|...' like table conversion enabled
HIROSE Yuuji <yuuji@gentei.org>
parents:
290
diff
changeset
|
137 } |
564
b86a82ffe407
Table header in mini made brighter
HIROSE Yuuji <yuuji@gentei.org>
parents:
557
diff
changeset
|
138 table.mini th {background: #cee;} |
481
856710101c49
Background color and border-bottom for mini-table
HIROSE Yuuji <yuuji@gentei.org>
parents:
459
diff
changeset
|
139 table.mini tr {border-bottom: solid 1px #bcc;} |
294
7f63a9424410
Columns by minitbl()'s text-align set to 'justify'
HIROSE Yuuji <yuuji@gentei.org>
parents:
293
diff
changeset
|
140 table.mini th, table.mini td {text-align: justify;} |
583
ae420aaa8f4f
Horizontal padding of table.mini td changed from 1ex to 0.5ex
HIROSE Yuuji <yuuji@gentei.org>
parents:
564
diff
changeset
|
141 table.mini td, table.mini th {padding: 1px 0.5ex; min-width: 1em;} |
291
1df64f0490ca
`|col|col|...' like table conversion enabled
HIROSE Yuuji <yuuji@gentei.org>
parents:
290
diff
changeset
|
142 table.mini {margin-left: 1em; border-left: 2px solid #686;} |
1df64f0490ca
`|col|col|...' like table conversion enabled
HIROSE Yuuji <yuuji@gentei.org>
parents:
290
diff
changeset
|
143 |
320
9735dd6c7bff
Workaround for chromium's not supporting visibility: collapse;
HIROSE Yuuji <yuuji@gentei.org>
parents:
319
diff
changeset
|
144 /* "visibility: collapse" not working on chromium browser */ |
9735dd6c7bff
Workaround for chromium's not supporting visibility: collapse;
HIROSE Yuuji <yuuji@gentei.org>
parents:
319
diff
changeset
|
145 div.noprofimg tr.profimg {visibility: collapse; display: none;} |
319
a868f03970b5
Profimg hiding rule revised
HIROSE Yuuji <yuuji@gentei.org>
parents:
318
diff
changeset
|
146 div.noprofimg tr:hover + tr.profimg, div.noprofimg tr:active + tr.profimg, |
a868f03970b5
Profimg hiding rule revised
HIROSE Yuuji <yuuji@gentei.org>
parents:
318
diff
changeset
|
147 div.noprofimg tr.profimg:hover, div.noprofimg tr.profimg:active { |
320
9735dd6c7bff
Workaround for chromium's not supporting visibility: collapse;
HIROSE Yuuji <yuuji@gentei.org>
parents:
319
diff
changeset
|
148 visibility: visible; display: table-row;} |
311
121b91ee87c1
User/Group home icon cache'ing and group icon displaying added
HIROSE Yuuji <yuuji@gentei.org>
parents:
296
diff
changeset
|
149 |
557
591838015ac3
Put inaccessible mark on such attached file icon.
HIROSE Yuuji <yuuji@gentei.org>
parents:
556
diff
changeset
|
150 /* Used for overlapping image */ |
591838015ac3
Put inaccessible mark on such attached file icon.
HIROSE Yuuji <yuuji@gentei.org>
parents:
556
diff
changeset
|
151 img.overlap {position: absolute; top: 40px; left: 50px; z-index: 2;} |
591838015ac3
Put inaccessible mark on such attached file icon.
HIROSE Yuuji <yuuji@gentei.org>
parents:
556
diff
changeset
|
152 |
322
18be0c210dc8
First implementation of icon display in blog_replies.
HIROSE Yuuji <yuuji@gentei.org>
parents:
320
diff
changeset
|
153 /* Used in user's home page */ |
311
121b91ee87c1
User/Group home icon cache'ing and group icon displaying added
HIROSE Yuuji <yuuji@gentei.org>
parents:
296
diff
changeset
|
154 p.profimg {float: left; max-width: 50%; max-height: 400px; |
121b91ee87c1
User/Group home icon cache'ing and group icon displaying added
HIROSE Yuuji <yuuji@gentei.org>
parents:
296
diff
changeset
|
155 overflow: hidden; margin: 0 1em 1ex; |
146 | 156 padding: 0; border: white 1px solid; box-shadow: 2px 3px 4px |
157 } | |
149
0e28561bf73a
Specify `max-width: 400px' to p.profimg img
HIROSE Yuuji <yuuji@gentei.org>
parents:
146
diff
changeset
|
158 p.profimg img {max-width: 400px;} |
146 | 159 div.home+* {clear: both;} |
311
121b91ee87c1
User/Group home icon cache'ing and group icon displaying added
HIROSE Yuuji <yuuji@gentei.org>
parents:
296
diff
changeset
|
160 body.grouphome p.groupimg { |
315
5577a3d131e3
body.grouphome p.groupimg img
HIROSE Yuuji <yuuji@gentei.org>
parents:
314
diff
changeset
|
161 float: right; margin: 0 1em 1ex; |
311
121b91ee87c1
User/Group home icon cache'ing and group icon displaying added
HIROSE Yuuji <yuuji@gentei.org>
parents:
296
diff
changeset
|
162 overflow: hidden;} |
315
5577a3d131e3
body.grouphome p.groupimg img
HIROSE Yuuji <yuuji@gentei.org>
parents:
314
diff
changeset
|
163 body.grouphome p.groupimg img { |
5577a3d131e3
body.grouphome p.groupimg img
HIROSE Yuuji <yuuji@gentei.org>
parents:
314
diff
changeset
|
164 max-width: 380px; max-height: 380px;} |
6 | 165 |
166 div.fold {margin-top: 1em; border-top: 1px solid black; padding-top: 1em;} | |
237 | 167 div.noborder {border: 0px; margin: 0;} |
6 | 168 div.fold > div { |
32
280024035566
Folding div by `display none' breaks effects of transition.
HIROSE Yuuji <yuuji@gentei.org>
parents:
30
diff
changeset
|
169 xxdisplay: none; max-height: 80%; overflow: auto; |
30
a9f061d74153
Add transition to hidden div by div.fold
HIROSE Yuuji <yuuji@gentei.org>
parents:
24
diff
changeset
|
170 height: 0px; opacity: 0; padding: 0 1ex; |
6 | 171 } |
59 | 172 div.fold input[type="checkbox"]:checked ~ div, |
173 div.fold input[type="radio"]:checked ~ div { | |
193 | 174 display: block; background: #fadede; |
30
a9f061d74153
Add transition to hidden div by div.fold
HIROSE Yuuji <yuuji@gentei.org>
parents:
24
diff
changeset
|
175 height: auto; opacity: 1.0; transition: 1s; |
a9f061d74153
Add transition to hidden div by div.fold
HIROSE Yuuji <yuuji@gentei.org>
parents:
24
diff
changeset
|
176 } |
260
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
177 |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
178 /* fold2!! */ |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
179 div.foldtabs { |
289
af84e8da1008
`white-space pre' in bloghead
HIROSE Yuuji <yuuji@gentei.org>
parents:
287
diff
changeset
|
180 position: relative; height: 5em; margin-top: 1em; |
260
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
181 border-top: 1px solid black; padding-top: 1em; |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
182 } |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
183 div.foldtabs > div { |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
184 position: absolute; top: 2.5em; opacity: 0.0; background: pink; |
369
5f01ead0174f
Add feature of scoring up all report-style blogs.
HIROSE Yuuji <yuuji@gentei.org>
parents:
355
diff
changeset
|
185 margin: 2px; overflow: auto; |
260
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
186 } |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
187 div.foldtabs input[type="radio"] {display: none;} |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
188 div.foldtabs input[type="radio"]:checked + label + div { |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
189 display: block; opacity: 1.0; transition: 0.2s; width: 100%; |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
190 margin: 0; z-index: 2; |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
191 } |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
192 div.foldtabs > label { |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
193 border: 1px outset #ddd; background: #ddd; xbackground: pink; |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
194 border-top-left-radius: 0.8em; border-top-right-radius: 0.8em; |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
195 margin: 0; |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
196 padding: 0.2ex 0.5em; height: 3em; |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
197 } |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
198 div.foldtabs > input:active + label {background: white;} |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
199 div.foldtabs input:checked + label { |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
200 background: pink; border: pink 1px solid; border-bottom-width: 6px; |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
201 } |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
202 div.foldtabs input:checked + label:last-of-type {border-width: 1px;} |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
203 input[type="checkbox"] + label + input[type="submit"] {display: none;} |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
204 input[type="checkbox"]:checked + label + input[type="submit"] { |
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
205 display: inline;} |
289
af84e8da1008
`white-space pre' in bloghead
HIROSE Yuuji <yuuji@gentei.org>
parents:
287
diff
changeset
|
206 div.foldtabs p {margin: 0;} |
260
1b9d45b823b8
UI changed to tab selection
HIROSE Yuuji <yuuji@gentei.org>
parents:
259
diff
changeset
|
207 |
502
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
208 /* ToDo List CheckBox inspired by https://cultureacademia.jp/webcreate/303/ */ |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
209 input.s4-checkbox {display: none;} /* Do not show real checkbox */ |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
210 input.s4-checkbox + label { |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
211 position: relative; padding-left: 0.8em; margin-right: 1em; |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
212 } |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
213 input.s4-checkbox + label:before, |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
214 input.s4-checkbox + label:after { |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
215 content: ""; display: block; /* Mimic Checkbox by absolute box */ |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
216 position: absolute; top: 0; left: 0; margin: 0; |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
217 } |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
218 input.s4-checkbox + label:before { /* checkbox frame */ |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
219 width: 0.8em; height: 0.8em; border: 1px solid #aaa; border-radius: 20%; |
504
3ee6cc78d5bb
s4-Checkbox background darken
HIROSE Yuuji <yuuji@gentei.org>
parents:
502
diff
changeset
|
220 background: #ddd; |
502
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
221 } |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
222 input.s4-checkbox:checked + label:before { /* checked frame bg */ |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
223 background: pink; |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
224 } |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
225 input.s4-checkbox:checked + label { /* checked text */ |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
226 /* text-shadow: red 1px 1px; */ |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
227 } |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
228 input.s4-checkbox:checked + label:after { /* checked mark */ |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
229 width: 0.6em; height: 0.4em; top: 0.05em; left: 0.1em; |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
230 border-bottom: 3px solid navy; |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
231 border-left: 3px solid navy; |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
232 transform: rotate(-40deg); |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
233 } |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
234 /* ---------------------------------------------------- */ |
46a8da2740d9
Add CheckBox WikiStyle notation "- [ ]"
HIROSE Yuuji <yuuji@gentei.org>
parents:
500
diff
changeset
|
235 |
199
5f98d8f46af5
Recover to div.dumptable stand alone
HIROSE Yuuji <yuuji@gentei.org>
parents:
198
diff
changeset
|
236 div.dumptable {max-height: 15em; overflow: auto;} |
296
da0a9c2380c1
Hover highlighting for dumptable added
HIROSE Yuuji <yuuji@gentei.org>
parents:
294
diff
changeset
|
237 div.dumptable tr:hover {background-color: #fee;} |
258
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
238 table.dumpblogs td, |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
239 div.lcto td { /* LINK + CTIME + TITLE + OWNER + something... */ |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
240 white-space: nowrap; overflow: hidden;} |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
241 table.dumpblogs td:nth-child(4), |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
242 div.lcto td:nth-child(2) {max-width: 8em;} |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
243 table.dumpblogs td:nth-child(5), /* team */ |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
244 table.dumpblogs td:nth-child(6), /* title */ |
397
e9e8b4d40220
Add feature of `frozen state' of the blog board
HIROSE Yuuji <yuuji@gentei.org>
parents:
389
diff
changeset
|
245 table.dumpblogs td:nth-child(7), /* heading */ |
258
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
246 div.lcto td:nth-child(3), /* title */ |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
247 div.lcto td:nth-child(4) /* owner */ |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
248 {max-width: 14em;} |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
249 |
397
e9e8b4d40220
Add feature of `frozen state' of the blog board
HIROSE Yuuji <yuuji@gentei.org>
parents:
389
diff
changeset
|
250 table.dumpblogs tr.凍結 td:nth-child(n+2) {opacity: 0.5;} |
e9e8b4d40220
Add feature of `frozen state' of the blog board
HIROSE Yuuji <yuuji@gentei.org>
parents:
389
diff
changeset
|
251 table.dumpblogs tr.凍結 td:last-child {opacity: 1.0; color: blue;} |
e9e8b4d40220
Add feature of `frozen state' of the blog board
HIROSE Yuuji <yuuji@gentei.org>
parents:
389
diff
changeset
|
252 *.frozen, *.凍結 {color: blue;} |
258
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
253 |
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
254 /* |
252
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
255 table.dumpblogs td:nth-child(4) { |
256
e9b33033d95f
table.dumpblogs td {white-space: nowrap;}
HIROSE Yuuji <yuuji@gentei.org>
parents:
252
diff
changeset
|
256 max-width: 7.6em; overflow: hidden;} |
252
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
257 table.dumpblogs td:nth-child(5), |
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
258 table.dumpblogs td:nth-child(6) { |
256
e9b33033d95f
table.dumpblogs td {white-space: nowrap;}
HIROSE Yuuji <yuuji@gentei.org>
parents:
252
diff
changeset
|
259 max-width: 12em; overflow: hidden;} |
252
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
260 table.dumpblogs td:nth-child(7) { |
256
e9b33033d95f
table.dumpblogs td {white-space: nowrap;}
HIROSE Yuuji <yuuji@gentei.org>
parents:
252
diff
changeset
|
261 min-width: 5em; overflow: hidden;} |
258
a967788f7ad8
More controls by CSS selector
HIROSE Yuuji <yuuji@gentei.org>
parents:
256
diff
changeset
|
262 */ |
6 | 263 |
264 /********************* icon list *********************/ | |
265 div.iconlist { | |
266 text-align: center; float: left; margin: 1ex 1em; | |
267 border: dotted #dfd 2px; padding: 1ex; | |
268 } | |
269 div.iconlist p {margin: 0; padding: 0;} | |
270 div.iconlist p.tag {background: #ffa; border-radius: 4em;} | |
19 | 271 div.iconlist p._temp {background: cyan;} |
272 div.iconlist p._lecture {background: pink;} | |
273 div.iconlist p._admin {background: yellow;} | |
274 div.iconlist p._friend {background: fuchsia;} | |
23 | 275 div.iconlist p._fellows {background: #9f9;} /* light green */ |
24 | 276 div.iconlist p._club {background: #4bb;} /* light teal */ |
23 | 277 div.iconlist p._event {background: maroon; color: white;} |
278 div.iconlist p._misc {background: purple; color: white;} | |
38 | 279 div.iconlist p._record {background: red; color: white;} |
190
ba6c2c3c0373
Add CSS for "info", "support" and "test" group.
HIROSE Yuuji <yuuji@gentei.org>
parents:
185
diff
changeset
|
280 div.iconlist p._info {background: #eff;} /* light cyan */ |
ba6c2c3c0373
Add CSS for "info", "support" and "test" group.
HIROSE Yuuji <yuuji@gentei.org>
parents:
185
diff
changeset
|
281 div.iconlist p._support {background: #ffe;} /* light yellow */ |
ba6c2c3c0373
Add CSS for "info", "support" and "test" group.
HIROSE Yuuji <yuuji@gentei.org>
parents:
185
diff
changeset
|
282 div.iconlist p._test {background: #ffb6c1;} /* light pink */ |
6 | 283 div.xy120x120 {min-width: 120px; min-height: 140px;} |
284 div.xy96x96 {min-width: 96px; min-height: 116px;} | |
388
4f6b63c25ab8
User/Group listing made fast by using imgsrc_cache()
HIROSE Yuuji <yuuji@gentei.org>
parents:
377
diff
changeset
|
285 div.xy96x96 img {max-width: 96px;} |
6 | 286 div.xy50x50 {min-width: 50px; min-height: 70px;} |
389
3074b635687a
xy5050 icon has width 50px;
HIROSE Yuuji <yuuji@gentei.org>
parents:
388
diff
changeset
|
287 div.xy50x50 img {max-width: 50px;} |
259
85a001a9c7c5
Make it visible: the group is moderated; the user is a member of the group
HIROSE Yuuji <yuuji@gentei.org>
parents:
258
diff
changeset
|
288 div.moderated {background: rgba(255, 215, 0, 0.3);} /* gold */ |
85a001a9c7c5
Make it visible: the group is moderated; the user is a member of the group
HIROSE Yuuji <yuuji@gentei.org>
parents:
258
diff
changeset
|
289 body.moderated {background: #fffec4;} /* #faed8a */ |
85a001a9c7c5
Make it visible: the group is moderated; the user is a member of the group
HIROSE Yuuji <yuuji@gentei.org>
parents:
258
diff
changeset
|
290 body.ismember, div.ismember {border-top: 4px red solid; margin-top: 0;} |
243
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
291 div.right, div.search {clear: both; float: right;} |
234 | 292 *.clear {clear: both;} |
243
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
293 div.search input[type="text"] { |
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
294 border: solid 1px #bbb; border-radius: 0.5ex; min-height: 20px; |
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
295 margin: 1em; padding: 0 0.5ex; padding-left: 18px; |
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
296 background: url("../../img/loupe.png") left center no-repeat |
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
297 rgba(242,240,240,0.7); |
352
dd0c70353869
More HELP text for search form. Add search result report.
HIROSE Yuuji <yuuji@gentei.org>
parents:
325
diff
changeset
|
298 position: relative; |
dd0c70353869
More HELP text for search form. Add search result report.
HIROSE Yuuji <yuuji@gentei.org>
parents:
325
diff
changeset
|
299 } |
557
591838015ac3
Put inaccessible mark on such attached file icon.
HIROSE Yuuji <yuuji@gentei.org>
parents:
556
diff
changeset
|
300 div.search div.fr, *.relative {position: relative;} |
452
30ab12e54324
Ballon help for s4-WikiStyle added
HIROSE Yuuji <yuuji@gentei.org>
parents:
451
diff
changeset
|
301 div.search p.help, textarea + p.help {display: none;} |
30ab12e54324
Ballon help for s4-WikiStyle added
HIROSE Yuuji <yuuji@gentei.org>
parents:
451
diff
changeset
|
302 div.search input:focus + p.help, |
30ab12e54324
Ballon help for s4-WikiStyle added
HIROSE Yuuji <yuuji@gentei.org>
parents:
451
diff
changeset
|
303 textarea:focus + p.help { |
352
dd0c70353869
More HELP text for search form. Add search result report.
HIROSE Yuuji <yuuji@gentei.org>
parents:
325
diff
changeset
|
304 display: block; background: white; |
dd0c70353869
More HELP text for search form. Add search result report.
HIROSE Yuuji <yuuji@gentei.org>
parents:
325
diff
changeset
|
305 position: absolute; right: 15em; white-space: pre; |
dd0c70353869
More HELP text for search form. Add search result report.
HIROSE Yuuji <yuuji@gentei.org>
parents:
325
diff
changeset
|
306 border: 1px solid #888; border-radius: 1em; padding: 1ex; |
dd0c70353869
More HELP text for search form. Add search result report.
HIROSE Yuuji <yuuji@gentei.org>
parents:
325
diff
changeset
|
307 box-shadow: #555 2px 2px; |
243
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
308 } |
452
30ab12e54324
Ballon help for s4-WikiStyle added
HIROSE Yuuji <yuuji@gentei.org>
parents:
451
diff
changeset
|
309 textarea:focus + p.help { |
30ab12e54324
Ballon help for s4-WikiStyle added
HIROSE Yuuji <yuuji@gentei.org>
parents:
451
diff
changeset
|
310 position: fixed; |
30ab12e54324
Ballon help for s4-WikiStyle added
HIROSE Yuuji <yuuji@gentei.org>
parents:
451
diff
changeset
|
311 top: 0em; left: 0; |
30ab12e54324
Ballon help for s4-WikiStyle added
HIROSE Yuuji <yuuji@gentei.org>
parents:
451
diff
changeset
|
312 } |
587
1e40019d1bb1
Indicate notification mode in submit button
HIROSE Yuuji <yuuji@gentei.org>
parents:
584
diff
changeset
|
313 form.summary input[type=submit], |
588
33fab353a39e
Class of submitting button with notify=all specified
HIROSE Yuuji <yuuji@gentei.org>
parents:
587
diff
changeset
|
314 input[type="submit"].all {background: #cfc; padding: 0.4ex 2ex;} |
126 | 315 |
316 /* | |
317 * PR Web | |
318 */ | |
319 body.pr {font-size: 200%;} | |
320 body.pr h1 { | |
321 text-align: center; width: 80%; padding: 3ex 0; margin: 0 auto; | |
322 background: #ffefef; border: double 5px navy; | |
323 } |