Show More
@@ -1,156 +1,161 b'' | |||||
1 | .ui-button { |
|
1 | .ui-button { | |
2 | display: none; |
|
2 | display: none; | |
3 | } |
|
3 | } | |
4 |
|
4 | |||
5 | .ui-dialog-content { |
|
5 | .ui-dialog-content { | |
6 | padding: 0; |
|
6 | padding: 0; | |
7 | min-height: 0; |
|
7 | min-height: 0; | |
8 | } |
|
8 | } | |
9 |
|
9 | |||
10 | .mark_btn { |
|
10 | .mark_btn { | |
11 | cursor: pointer; |
|
11 | cursor: pointer; | |
12 | } |
|
12 | } | |
13 |
|
13 | |||
14 | .img-full { |
|
14 | .img-full { | |
15 | position: fixed; |
|
15 | position: fixed; | |
16 | background-color: #CCC; |
|
16 | background-color: #CCC; | |
17 | border: 1px solid #000; |
|
17 | border: 1px solid #000; | |
18 | cursor: pointer; |
|
18 | cursor: pointer; | |
19 | } |
|
19 | } | |
20 |
|
20 | |||
21 | .strikethrough { |
|
21 | .strikethrough { | |
22 | text-decoration: line-through; |
|
22 | text-decoration: line-through; | |
23 | } |
|
23 | } | |
24 |
|
24 | |||
25 | .post_preview { |
|
25 | .post_preview { | |
26 | z-index: 300; |
|
26 | z-index: 300; | |
27 | position:absolute; |
|
27 | position:absolute; | |
28 | } |
|
28 | } | |
29 |
|
29 | |||
30 | .gallery_image { |
|
30 | .gallery_image { | |
31 | display: inline-block; |
|
31 | display: inline-block; | |
32 | } |
|
32 | } | |
33 |
|
33 | |||
34 | @media print { |
|
34 | @media print { | |
35 | .post-form-w { |
|
35 | .post-form-w { | |
36 | display: none; |
|
36 | display: none; | |
37 | } |
|
37 | } | |
38 | } |
|
38 | } | |
39 |
|
39 | |||
40 | input[name="image"] { |
|
40 | input[name="image"] { | |
41 | display: block; |
|
41 | display: block; | |
42 | width: 100px; |
|
42 | width: 100px; | |
43 | height: 100px; |
|
43 | height: 100px; | |
44 | cursor: pointer; |
|
44 | cursor: pointer; | |
45 | position: absolute; |
|
45 | position: absolute; | |
46 | opacity: 0; |
|
46 | opacity: 0; | |
47 | z-index: 1; |
|
47 | z-index: 1; | |
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | .file_wrap { |
|
50 | .file_wrap { | |
51 | width: 100px; |
|
51 | width: 100px; | |
52 | height: 100px; |
|
52 | height: 100px; | |
53 | border: solid 1px white; |
|
53 | border: solid 1px white; | |
54 | display: inline-block; |
|
54 | display: inline-block; | |
55 | } |
|
55 | } | |
56 |
|
56 | |||
57 | form > .file_wrap { |
|
57 | form > .file_wrap { | |
58 | float: left; |
|
58 | float: left; | |
59 | } |
|
59 | } | |
60 |
|
60 | |||
61 | .file-thumb { |
|
61 | .file-thumb { | |
62 | width: 100px; |
|
62 | width: 100px; | |
63 | height: 100px; |
|
63 | height: 100px; | |
64 | background-size: cover; |
|
64 | background-size: cover; | |
65 | background-position: center; |
|
65 | background-position: center; | |
66 | } |
|
66 | } | |
67 |
|
67 | |||
68 | .compact-form-text { |
|
68 | .compact-form-text { | |
69 | margin-left:110px; |
|
69 | margin-left:110px; | |
70 | } |
|
70 | } | |
71 |
|
71 | |||
72 | textarea, input { |
|
72 | textarea, input { | |
73 | -moz-box-sizing: border-box; |
|
73 | -moz-box-sizing: border-box; | |
74 | -webkit-box-sizing: border-box; |
|
74 | -webkit-box-sizing: border-box; | |
75 | box-sizing: border-box; |
|
75 | box-sizing: border-box; | |
76 | } |
|
76 | } | |
77 |
|
77 | |||
78 | .compact-form-text > textarea { |
|
78 | .compact-form-text > textarea { | |
79 | height: 100px; |
|
79 | height: 100px; | |
80 | width: 100%; |
|
80 | width: 100%; | |
81 | } |
|
81 | } | |
82 |
|
82 | |||
83 | .post-button-form { |
|
83 | .post-button-form { | |
84 | display: inline; |
|
84 | display: inline; | |
85 | } |
|
85 | } | |
86 |
|
86 | |||
87 | .post-button-form > button, #autoupdate { |
|
87 | .post-button-form > button, #autoupdate { | |
88 | border: none; |
|
88 | border: none; | |
89 | margin: inherit; |
|
89 | margin: inherit; | |
90 | padding: inherit; |
|
90 | padding: inherit; | |
91 | background: none; |
|
91 | background: none; | |
92 | font-size: inherit; |
|
92 | font-size: inherit; | |
93 | cursor: pointer; |
|
93 | cursor: pointer; | |
94 | } |
|
94 | } | |
95 |
|
95 | |||
96 | #form-close-button { |
|
96 | #form-close-button { | |
97 | display: none; |
|
97 | display: none; | |
98 | } |
|
98 | } | |
99 |
|
99 | |||
100 | .post-image-full { |
|
100 | .post-image-full { | |
101 | width: 100%; |
|
101 | width: 100%; | |
102 | height: auto; |
|
102 | height: auto; | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | #preview-text { |
|
105 | #preview-text { | |
106 | display: none; |
|
106 | display: none; | |
107 | } |
|
107 | } | |
108 |
|
108 | |||
109 | .random-images-table { |
|
109 | .random-images-table { | |
110 | text-align: center; |
|
110 | text-align: center; | |
111 | width: 100%; |
|
111 | width: 100%; | |
112 | } |
|
112 | } | |
113 |
|
113 | |||
114 | .random-images-table > div { |
|
114 | .random-images-table > div { | |
115 | margin-left: auto; |
|
115 | margin-left: auto; | |
116 | margin-right: auto; |
|
116 | margin-right: auto; | |
117 | } |
|
117 | } | |
118 |
|
118 | |||
119 | .tag-image, .tag-text-data { |
|
119 | .tag-image, .tag-text-data { | |
120 | display: inline-block; |
|
120 | display: inline-block; | |
121 | } |
|
121 | } | |
122 |
|
122 | |||
123 | .tag-text-data > h2 { |
|
123 | .tag-text-data > h2 { | |
124 | margin: 0; |
|
124 | margin: 0; | |
125 | } |
|
125 | } | |
126 |
|
126 | |||
127 | .tag-image { |
|
127 | .tag-image { | |
128 | margin-right: 5px; |
|
128 | margin-right: 5px; | |
129 | } |
|
129 | } | |
130 |
|
130 | |||
131 | .reply-to-message { |
|
131 | .reply-to-message { | |
132 | display: none; |
|
132 | display: none; | |
133 | } |
|
133 | } | |
134 |
|
134 | |||
135 | .tripcode { |
|
135 | .tripcode { | |
136 | padding: 2px; |
|
136 | padding: 2px; | |
137 | } |
|
137 | } | |
138 |
|
138 | |||
139 | #fav-panel { |
|
139 | #fav-panel { | |
140 | display: none; |
|
140 | display: none; | |
141 | margin: 1ex; |
|
141 | margin: 1ex; | |
142 | } |
|
142 | } | |
143 |
|
143 | |||
144 | .hidden_post { |
|
144 | .hidden_post { | |
145 | opacity: 0.2; |
|
145 | opacity: 0.2; | |
146 | } |
|
146 | } | |
147 |
|
147 | |||
148 | .hidden_post:hover { |
|
148 | .hidden_post:hover { | |
149 | opacity: 1; |
|
149 | opacity: 1; | |
150 | } |
|
150 | } | |
151 |
|
151 | |||
152 | .monochrome > .image > .thumb > img { |
|
152 | .monochrome > .image > .thumb > img { | |
153 | filter: grayscale(100%); |
|
153 | filter: grayscale(100%); | |
154 | -webkit-filter: grayscale(100%); |
|
154 | -webkit-filter: grayscale(100%); | |
155 | } |
|
155 | } | |
156 |
|
156 | |||
|
157 | #quote-button { | |||
|
158 | position: absolute; | |||
|
159 | display: none; | |||
|
160 | cursor: pointer; | |||
|
161 | } No newline at end of file |
@@ -1,568 +1,578 b'' | |||||
1 | * { |
|
1 | * { | |
2 | text-decoration: none; |
|
2 | text-decoration: none; | |
3 | font-weight: inherit; |
|
3 | font-weight: inherit; | |
4 | } |
|
4 | } | |
5 |
|
5 | |||
6 | b, strong { |
|
6 | b, strong { | |
7 | font-weight: bold; |
|
7 | font-weight: bold; | |
8 | } |
|
8 | } | |
9 |
|
9 | |||
10 | html { |
|
10 | html { | |
11 | background: #555; |
|
11 | background: #555; | |
12 | color: #ffffff; |
|
12 | color: #ffffff; | |
13 | } |
|
13 | } | |
14 |
|
14 | |||
15 | body { |
|
15 | body { | |
16 | margin: 0; |
|
16 | margin: 0; | |
17 | } |
|
17 | } | |
18 |
|
18 | |||
19 | #admin_panel { |
|
19 | #admin_panel { | |
20 | background: #FF0000; |
|
20 | background: #FF0000; | |
21 | color: #00FF00 |
|
21 | color: #00FF00 | |
22 | } |
|
22 | } | |
23 |
|
23 | |||
24 | .input_field_error { |
|
24 | .input_field_error { | |
25 | color: #FF0000; |
|
25 | color: #FF0000; | |
26 | } |
|
26 | } | |
27 |
|
27 | |||
28 | .title { |
|
28 | .title { | |
29 | font-weight: bold; |
|
29 | font-weight: bold; | |
30 | color: #ffcc00; |
|
30 | color: #ffcc00; | |
31 | } |
|
31 | } | |
32 |
|
32 | |||
33 | .link, a { |
|
33 | .link, a { | |
34 | color: #afdcec; |
|
34 | color: #afdcec; | |
35 | } |
|
35 | } | |
36 |
|
36 | |||
37 | .block { |
|
37 | .block { | |
38 | display: inline-block; |
|
38 | display: inline-block; | |
39 | vertical-align: top; |
|
39 | vertical-align: top; | |
40 | } |
|
40 | } | |
41 |
|
41 | |||
42 | .tag { |
|
42 | .tag { | |
43 | color: #FFD37D; |
|
43 | color: #FFD37D; | |
44 | } |
|
44 | } | |
45 |
|
45 | |||
46 | .post_id { |
|
46 | .post_id { | |
47 | color: #fff380; |
|
47 | color: #fff380; | |
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | .post, .dead_post, .archive_post, #posts-table { |
|
50 | .post, .dead_post, .archive_post, #posts-table { | |
51 | background: #333; |
|
51 | background: #333; | |
52 | padding: 10px; |
|
52 | padding: 10px; | |
53 | clear: left; |
|
53 | clear: left; | |
54 | word-wrap: break-word; |
|
54 | word-wrap: break-word; | |
55 | border-top: 1px solid #777; |
|
55 | border-top: 1px solid #777; | |
56 | border-bottom: 1px solid #777; |
|
56 | border-bottom: 1px solid #777; | |
57 | } |
|
57 | } | |
58 |
|
58 | |||
59 | .post + .post { |
|
59 | .post + .post { | |
60 | border-top: none; |
|
60 | border-top: none; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | .dead_post + .dead_post { |
|
63 | .dead_post + .dead_post { | |
64 | border-top: none; |
|
64 | border-top: none; | |
65 | } |
|
65 | } | |
66 |
|
66 | |||
67 | .archive_post + .archive_post { |
|
67 | .archive_post + .archive_post { | |
68 | border-top: none; |
|
68 | border-top: none; | |
69 | } |
|
69 | } | |
70 |
|
70 | |||
71 | .metadata { |
|
71 | .metadata { | |
72 | padding-top: 5px; |
|
72 | padding-top: 5px; | |
73 | margin-top: 10px; |
|
73 | margin-top: 10px; | |
74 | border-top: solid 1px #666; |
|
74 | border-top: solid 1px #666; | |
75 | color: #ddd; |
|
75 | color: #ddd; | |
76 | } |
|
76 | } | |
77 |
|
77 | |||
78 | .navigation_panel, .tag_info { |
|
78 | .navigation_panel, .tag_info { | |
79 | background: #222; |
|
79 | background: #222; | |
80 | margin-bottom: 5px; |
|
80 | margin-bottom: 5px; | |
81 | margin-top: 5px; |
|
81 | margin-top: 5px; | |
82 | padding: 10px; |
|
82 | padding: 10px; | |
83 | border-bottom: solid 1px #888; |
|
83 | border-bottom: solid 1px #888; | |
84 | border-top: solid 1px #888; |
|
84 | border-top: solid 1px #888; | |
85 | color: #eee; |
|
85 | color: #eee; | |
86 | } |
|
86 | } | |
87 |
|
87 | |||
88 | .navigation_panel .link:first-child { |
|
88 | .navigation_panel .link:first-child { | |
89 | border-right: 1px solid #fff; |
|
89 | border-right: 1px solid #fff; | |
90 | font-weight: bold; |
|
90 | font-weight: bold; | |
91 | margin-right: 1ex; |
|
91 | margin-right: 1ex; | |
92 | padding-right: 1ex; |
|
92 | padding-right: 1ex; | |
93 | } |
|
93 | } | |
94 |
|
94 | |||
95 | .navigation_panel .right-link { |
|
95 | .navigation_panel .right-link { | |
96 | border-left: 1px solid #fff; |
|
96 | border-left: 1px solid #fff; | |
97 | border-right: none; |
|
97 | border-right: none; | |
98 | float: right; |
|
98 | float: right; | |
99 | margin-left: 1ex; |
|
99 | margin-left: 1ex; | |
100 | margin-right: 0; |
|
100 | margin-right: 0; | |
101 | padding-left: 1ex; |
|
101 | padding-left: 1ex; | |
102 | padding-right: 0; |
|
102 | padding-right: 0; | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | .navigation_panel .link { |
|
105 | .navigation_panel .link { | |
106 | font-weight: bold; |
|
106 | font-weight: bold; | |
107 | } |
|
107 | } | |
108 |
|
108 | |||
109 | .navigation_panel::after, .post::after { |
|
109 | .navigation_panel::after, .post::after { | |
110 | clear: both; |
|
110 | clear: both; | |
111 | content: "."; |
|
111 | content: "."; | |
112 | display: block; |
|
112 | display: block; | |
113 | height: 0; |
|
113 | height: 0; | |
114 | line-height: 0; |
|
114 | line-height: 0; | |
115 | visibility: hidden; |
|
115 | visibility: hidden; | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | .tag_info { |
|
118 | .tag_info { | |
119 | text-align: center; |
|
119 | text-align: center; | |
120 | } |
|
120 | } | |
121 |
|
121 | |||
122 | .tag_info > .tag-text-data { |
|
122 | .tag_info > .tag-text-data { | |
123 | text-align: left; |
|
123 | text-align: left; | |
124 | max-width: 30em; |
|
124 | max-width: 30em; | |
125 | } |
|
125 | } | |
126 |
|
126 | |||
127 | .header { |
|
127 | .header { | |
128 | border-bottom: solid 2px #ccc; |
|
128 | border-bottom: solid 2px #ccc; | |
129 | margin-bottom: 5px; |
|
129 | margin-bottom: 5px; | |
130 | border-top: none; |
|
130 | border-top: none; | |
131 | margin-top: 0; |
|
131 | margin-top: 0; | |
132 | } |
|
132 | } | |
133 |
|
133 | |||
134 | .footer { |
|
134 | .footer { | |
135 | border-top: solid 2px #ccc; |
|
135 | border-top: solid 2px #ccc; | |
136 | margin-top: 5px; |
|
136 | margin-top: 5px; | |
137 | border-bottom: none; |
|
137 | border-bottom: none; | |
138 | margin-bottom: 0; |
|
138 | margin-bottom: 0; | |
139 | } |
|
139 | } | |
140 |
|
140 | |||
141 | p, .br { |
|
141 | p, .br { | |
142 | margin-top: .5em; |
|
142 | margin-top: .5em; | |
143 | margin-bottom: .5em; |
|
143 | margin-bottom: .5em; | |
144 | } |
|
144 | } | |
145 |
|
145 | |||
146 | .post-form-w { |
|
146 | .post-form-w { | |
147 | background: #333344; |
|
147 | background: #333344; | |
148 | border-top: solid 1px #888; |
|
148 | border-top: solid 1px #888; | |
149 | border-bottom: solid 1px #888; |
|
149 | border-bottom: solid 1px #888; | |
150 | color: #fff; |
|
150 | color: #fff; | |
151 | padding: 10px; |
|
151 | padding: 10px; | |
152 | margin-bottom: 5px; |
|
152 | margin-bottom: 5px; | |
153 | margin-top: 5px; |
|
153 | margin-top: 5px; | |
154 | } |
|
154 | } | |
155 |
|
155 | |||
156 | .form-row { |
|
156 | .form-row { | |
157 | width: 100%; |
|
157 | width: 100%; | |
158 | display: table-row; |
|
158 | display: table-row; | |
159 | } |
|
159 | } | |
160 |
|
160 | |||
161 | .form-label { |
|
161 | .form-label { | |
162 | padding: .25em 1ex .25em 0; |
|
162 | padding: .25em 1ex .25em 0; | |
163 | vertical-align: top; |
|
163 | vertical-align: top; | |
164 | display: table-cell; |
|
164 | display: table-cell; | |
165 | } |
|
165 | } | |
166 |
|
166 | |||
167 | .form-input { |
|
167 | .form-input { | |
168 | padding: .25em 0; |
|
168 | padding: .25em 0; | |
169 | width: 100%; |
|
169 | width: 100%; | |
170 | display: table-cell; |
|
170 | display: table-cell; | |
171 | } |
|
171 | } | |
172 |
|
172 | |||
173 | .form-errors { |
|
173 | .form-errors { | |
174 | font-weight: bolder; |
|
174 | font-weight: bolder; | |
175 | vertical-align: middle; |
|
175 | vertical-align: middle; | |
176 | display: table-cell; |
|
176 | display: table-cell; | |
177 | } |
|
177 | } | |
178 |
|
178 | |||
179 | .post-form input:not([name="image"]):not([type="checkbox"]):not([type="submit"]), .post-form textarea, .post-form select { |
|
179 | .post-form input:not([name="image"]):not([type="checkbox"]):not([type="submit"]), .post-form textarea, .post-form select { | |
180 | background: #333; |
|
180 | background: #333; | |
181 | color: #fff; |
|
181 | color: #fff; | |
182 | border: solid 1px; |
|
182 | border: solid 1px; | |
183 | padding: 0; |
|
183 | padding: 0; | |
184 | font: medium sans-serif; |
|
184 | font: medium sans-serif; | |
185 | width: 100%; |
|
185 | width: 100%; | |
186 | } |
|
186 | } | |
187 |
|
187 | |||
188 | .post-form textarea { |
|
188 | .post-form textarea { | |
189 | resize: vertical; |
|
189 | resize: vertical; | |
190 | } |
|
190 | } | |
191 |
|
191 | |||
192 | .form-submit { |
|
192 | .form-submit { | |
193 | display: table; |
|
193 | display: table; | |
194 | margin-bottom: 1ex; |
|
194 | margin-bottom: 1ex; | |
195 | margin-top: 1ex; |
|
195 | margin-top: 1ex; | |
196 | } |
|
196 | } | |
197 |
|
197 | |||
198 | .form-title { |
|
198 | .form-title { | |
199 | font-weight: bold; |
|
199 | font-weight: bold; | |
200 | font-size: 2ex; |
|
200 | font-size: 2ex; | |
201 | margin-bottom: 0.5ex; |
|
201 | margin-bottom: 0.5ex; | |
202 | } |
|
202 | } | |
203 |
|
203 | |||
204 | input[type="submit"], button { |
|
204 | input[type="submit"], button { | |
205 | background: #222; |
|
205 | background: #222; | |
206 | border: solid 2px #fff; |
|
206 | border: solid 2px #fff; | |
207 | color: #fff; |
|
207 | color: #fff; | |
208 | padding: 0.5ex; |
|
208 | padding: 0.5ex; | |
209 | margin-right: 0.5ex; |
|
209 | margin-right: 0.5ex; | |
210 | } |
|
210 | } | |
211 |
|
211 | |||
212 | input[type="submit"]:hover { |
|
212 | input[type="submit"]:hover { | |
213 | background: #060; |
|
213 | background: #060; | |
214 | } |
|
214 | } | |
215 |
|
215 | |||
216 | .form-submit > button:hover { |
|
216 | .form-submit > button:hover { | |
217 | background: #006; |
|
217 | background: #006; | |
218 | } |
|
218 | } | |
219 |
|
219 | |||
220 | blockquote { |
|
220 | blockquote { | |
221 | border-left: solid 2px; |
|
221 | border-left: solid 2px; | |
222 | padding-left: 5px; |
|
222 | padding-left: 5px; | |
223 | color: #B1FB17; |
|
223 | color: #B1FB17; | |
224 | margin: 0; |
|
224 | margin: 0; | |
225 | } |
|
225 | } | |
226 |
|
226 | |||
227 | .post > .image { |
|
227 | .post > .image { | |
228 | float: left; |
|
228 | float: left; | |
229 | margin: 0 1ex .5ex 0; |
|
229 | margin: 0 1ex .5ex 0; | |
230 | min-width: 1px; |
|
230 | min-width: 1px; | |
231 | text-align: center; |
|
231 | text-align: center; | |
232 | display: table-row; |
|
232 | display: table-row; | |
233 | } |
|
233 | } | |
234 |
|
234 | |||
235 | .post > .metadata { |
|
235 | .post > .metadata { | |
236 | clear: left; |
|
236 | clear: left; | |
237 | } |
|
237 | } | |
238 |
|
238 | |||
239 | .get { |
|
239 | .get { | |
240 | font-weight: bold; |
|
240 | font-weight: bold; | |
241 | color: #d55; |
|
241 | color: #d55; | |
242 | } |
|
242 | } | |
243 |
|
243 | |||
244 | * { |
|
244 | * { | |
245 | text-decoration: none; |
|
245 | text-decoration: none; | |
246 | } |
|
246 | } | |
247 |
|
247 | |||
248 | .dead_post > .post-info { |
|
248 | .dead_post > .post-info { | |
249 | font-style: italic; |
|
249 | font-style: italic; | |
250 | } |
|
250 | } | |
251 |
|
251 | |||
252 | .archive_post > .post-info { |
|
252 | .archive_post > .post-info { | |
253 | text-decoration: line-through; |
|
253 | text-decoration: line-through; | |
254 | } |
|
254 | } | |
255 |
|
255 | |||
256 | .mark_btn { |
|
256 | .mark_btn { | |
257 | border: 1px solid; |
|
257 | border: 1px solid; | |
258 | padding: 2px 2ex; |
|
258 | padding: 2px 2ex; | |
259 | display: inline-block; |
|
259 | display: inline-block; | |
260 | margin: 0 5px 4px 0; |
|
260 | margin: 0 5px 4px 0; | |
261 | } |
|
261 | } | |
262 |
|
262 | |||
263 | .mark_btn:hover { |
|
263 | .mark_btn:hover { | |
264 | background: #555; |
|
264 | background: #555; | |
265 | } |
|
265 | } | |
266 |
|
266 | |||
267 | .quote { |
|
267 | .quote { | |
268 | color: #92cf38; |
|
268 | color: #92cf38; | |
269 | font-style: italic; |
|
269 | font-style: italic; | |
270 | } |
|
270 | } | |
271 |
|
271 | |||
272 | .multiquote { |
|
272 | .multiquote { | |
273 | padding: 3px; |
|
273 | padding: 3px; | |
274 | display: inline-block; |
|
274 | display: inline-block; | |
275 | background: #222; |
|
275 | background: #222; | |
276 | border-style: solid; |
|
276 | border-style: solid; | |
277 | border-width: 1px 1px 1px 4px; |
|
277 | border-width: 1px 1px 1px 4px; | |
278 | font-size: 0.9em; |
|
278 | font-size: 0.9em; | |
279 | } |
|
279 | } | |
280 |
|
280 | |||
281 | .spoiler { |
|
281 | .spoiler { | |
282 | background: black; |
|
282 | background: black; | |
283 | color: black; |
|
283 | color: black; | |
284 | } |
|
284 | } | |
285 |
|
285 | |||
286 | .spoiler:hover { |
|
286 | .spoiler:hover { | |
287 | color: #ddd; |
|
287 | color: #ddd; | |
288 | } |
|
288 | } | |
289 |
|
289 | |||
290 | .comment { |
|
290 | .comment { | |
291 | color: #eb2; |
|
291 | color: #eb2; | |
292 | } |
|
292 | } | |
293 |
|
293 | |||
294 | a:hover { |
|
294 | a:hover { | |
295 | text-decoration: underline; |
|
295 | text-decoration: underline; | |
296 | } |
|
296 | } | |
297 |
|
297 | |||
298 | .last-replies { |
|
298 | .last-replies { | |
299 | margin-left: 3ex; |
|
299 | margin-left: 3ex; | |
300 | margin-right: 3ex; |
|
300 | margin-right: 3ex; | |
301 | border-left: solid 1px #777; |
|
301 | border-left: solid 1px #777; | |
302 | border-right: solid 1px #777; |
|
302 | border-right: solid 1px #777; | |
303 | } |
|
303 | } | |
304 |
|
304 | |||
305 | .last-replies > .post:first-child { |
|
305 | .last-replies > .post:first-child { | |
306 | border-top: none; |
|
306 | border-top: none; | |
307 | } |
|
307 | } | |
308 |
|
308 | |||
309 | .thread { |
|
309 | .thread { | |
310 | margin-bottom: 3ex; |
|
310 | margin-bottom: 3ex; | |
311 | margin-top: 1ex; |
|
311 | margin-top: 1ex; | |
312 | } |
|
312 | } | |
313 |
|
313 | |||
314 | .post:target { |
|
314 | .post:target { | |
315 | border: solid 2px white; |
|
315 | border: solid 2px white; | |
316 | } |
|
316 | } | |
317 |
|
317 | |||
318 | pre{ |
|
318 | pre{ | |
319 | white-space:pre-wrap |
|
319 | white-space:pre-wrap | |
320 | } |
|
320 | } | |
321 |
|
321 | |||
322 | li { |
|
322 | li { | |
323 | list-style-position: inside; |
|
323 | list-style-position: inside; | |
324 | } |
|
324 | } | |
325 |
|
325 | |||
326 | .fancybox-skin { |
|
326 | .fancybox-skin { | |
327 | position: relative; |
|
327 | position: relative; | |
328 | background-color: #fff; |
|
328 | background-color: #fff; | |
329 | color: #ddd; |
|
329 | color: #ddd; | |
330 | text-shadow: none; |
|
330 | text-shadow: none; | |
331 | } |
|
331 | } | |
332 |
|
332 | |||
333 | .fancybox-image { |
|
333 | .fancybox-image { | |
334 | border: 1px solid black; |
|
334 | border: 1px solid black; | |
335 | } |
|
335 | } | |
336 |
|
336 | |||
337 | .image-mode-tab { |
|
337 | .image-mode-tab { | |
338 | background: #444; |
|
338 | background: #444; | |
339 | color: #eee; |
|
339 | color: #eee; | |
340 | margin-top: 5px; |
|
340 | margin-top: 5px; | |
341 | padding: 5px; |
|
341 | padding: 5px; | |
342 | border-top: 1px solid #888; |
|
342 | border-top: 1px solid #888; | |
343 | border-bottom: 1px solid #888; |
|
343 | border-bottom: 1px solid #888; | |
344 | } |
|
344 | } | |
345 |
|
345 | |||
346 | .image-mode-tab > label { |
|
346 | .image-mode-tab > label { | |
347 | margin: 0 1ex; |
|
347 | margin: 0 1ex; | |
348 | } |
|
348 | } | |
349 |
|
349 | |||
350 | .image-mode-tab > label > input { |
|
350 | .image-mode-tab > label > input { | |
351 | margin-right: .5ex; |
|
351 | margin-right: .5ex; | |
352 | } |
|
352 | } | |
353 |
|
353 | |||
354 | #posts-table { |
|
354 | #posts-table { | |
355 | margin-top: 5px; |
|
355 | margin-top: 5px; | |
356 | margin-bottom: 5px; |
|
356 | margin-bottom: 5px; | |
357 | } |
|
357 | } | |
358 |
|
358 | |||
359 | .tag_info > h2 { |
|
359 | .tag_info > h2 { | |
360 | margin: 0; |
|
360 | margin: 0; | |
361 | } |
|
361 | } | |
362 |
|
362 | |||
363 | .post-info { |
|
363 | .post-info { | |
364 | color: #ddd; |
|
364 | color: #ddd; | |
365 | margin-bottom: 1ex; |
|
365 | margin-bottom: 1ex; | |
366 | } |
|
366 | } | |
367 |
|
367 | |||
368 | .moderator_info { |
|
368 | .moderator_info { | |
369 | color: #e99d41; |
|
369 | color: #e99d41; | |
370 | opacity: 0.4; |
|
370 | opacity: 0.4; | |
371 | } |
|
371 | } | |
372 |
|
372 | |||
373 | .moderator_info:hover { |
|
373 | .moderator_info:hover { | |
374 | opacity: 1; |
|
374 | opacity: 1; | |
375 | } |
|
375 | } | |
376 |
|
376 | |||
377 | .refmap { |
|
377 | .refmap { | |
378 | font-size: 0.9em; |
|
378 | font-size: 0.9em; | |
379 | color: #ccc; |
|
379 | color: #ccc; | |
380 | margin-top: 1em; |
|
380 | margin-top: 1em; | |
381 | } |
|
381 | } | |
382 |
|
382 | |||
383 | .fav { |
|
383 | .fav { | |
384 | color: yellow; |
|
384 | color: yellow; | |
385 | } |
|
385 | } | |
386 |
|
386 | |||
387 | .not_fav { |
|
387 | .not_fav { | |
388 | color: #ccc; |
|
388 | color: #ccc; | |
389 | } |
|
389 | } | |
390 |
|
390 | |||
391 | .form-email { |
|
391 | .form-email { | |
392 | display: none; |
|
392 | display: none; | |
393 | } |
|
393 | } | |
394 |
|
394 | |||
395 | .bar-value { |
|
395 | .bar-value { | |
396 | background: rgba(50, 55, 164, 0.45); |
|
396 | background: rgba(50, 55, 164, 0.45); | |
397 | font-size: 0.9em; |
|
397 | font-size: 0.9em; | |
398 | height: 1.5em; |
|
398 | height: 1.5em; | |
399 | } |
|
399 | } | |
400 |
|
400 | |||
401 | .bar-bg { |
|
401 | .bar-bg { | |
402 | position: relative; |
|
402 | position: relative; | |
403 | border-top: solid 1px #888; |
|
403 | border-top: solid 1px #888; | |
404 | border-bottom: solid 1px #888; |
|
404 | border-bottom: solid 1px #888; | |
405 | margin-top: 5px; |
|
405 | margin-top: 5px; | |
406 | overflow: hidden; |
|
406 | overflow: hidden; | |
407 | } |
|
407 | } | |
408 |
|
408 | |||
409 | .bar-text { |
|
409 | .bar-text { | |
410 | padding: 2px; |
|
410 | padding: 2px; | |
411 | position: absolute; |
|
411 | position: absolute; | |
412 | left: 0; |
|
412 | left: 0; | |
413 | top: 0; |
|
413 | top: 0; | |
414 | } |
|
414 | } | |
415 |
|
415 | |||
416 | .page_link { |
|
416 | .page_link { | |
417 | background: #444; |
|
417 | background: #444; | |
418 | border-top: solid 1px #888; |
|
418 | border-top: solid 1px #888; | |
419 | border-bottom: solid 1px #888; |
|
419 | border-bottom: solid 1px #888; | |
420 | padding: 5px; |
|
420 | padding: 5px; | |
421 | color: #eee; |
|
421 | color: #eee; | |
422 | font-size: 2ex; |
|
422 | font-size: 2ex; | |
423 | margin-top: .5ex; |
|
423 | margin-top: .5ex; | |
424 | margin-bottom: .5ex; |
|
424 | margin-bottom: .5ex; | |
425 | } |
|
425 | } | |
426 |
|
426 | |||
427 | .skipped_replies { |
|
427 | .skipped_replies { | |
428 | padding: 5px; |
|
428 | padding: 5px; | |
429 | margin-left: 3ex; |
|
429 | margin-left: 3ex; | |
430 | margin-right: 3ex; |
|
430 | margin-right: 3ex; | |
431 | border-left: solid 1px #888; |
|
431 | border-left: solid 1px #888; | |
432 | border-right: solid 1px #888; |
|
432 | border-right: solid 1px #888; | |
433 | border-bottom: solid 1px #888; |
|
433 | border-bottom: solid 1px #888; | |
434 | background: #000; |
|
434 | background: #000; | |
435 | } |
|
435 | } | |
436 |
|
436 | |||
437 | .current_page { |
|
437 | .current_page { | |
438 | padding: 2px; |
|
438 | padding: 2px; | |
439 | background-color: #afdcec; |
|
439 | background-color: #afdcec; | |
440 | color: #000; |
|
440 | color: #000; | |
441 | } |
|
441 | } | |
442 |
|
442 | |||
443 | .current_mode { |
|
443 | .current_mode { | |
444 | font-weight: bold; |
|
444 | font-weight: bold; | |
445 | } |
|
445 | } | |
446 |
|
446 | |||
447 | .gallery_image { |
|
447 | .gallery_image { | |
448 | border: solid 1px; |
|
448 | border: solid 1px; | |
449 | margin: 0.5ex; |
|
449 | margin: 0.5ex; | |
450 | text-align: center; |
|
450 | text-align: center; | |
451 | padding: 1ex; |
|
451 | padding: 1ex; | |
452 | } |
|
452 | } | |
453 |
|
453 | |||
454 | code { |
|
454 | code { | |
455 | border: dashed 1px #ccc; |
|
455 | border: dashed 1px #ccc; | |
456 | background: #111; |
|
456 | background: #111; | |
457 | padding: 2px; |
|
457 | padding: 2px; | |
458 | font-size: 1.2em; |
|
458 | font-size: 1.2em; | |
459 | display: inline-block; |
|
459 | display: inline-block; | |
460 | } |
|
460 | } | |
461 |
|
461 | |||
462 | pre { |
|
462 | pre { | |
463 | overflow: auto; |
|
463 | overflow: auto; | |
464 | } |
|
464 | } | |
465 |
|
465 | |||
466 | .img-full { |
|
466 | .img-full { | |
467 | background: #222; |
|
467 | background: #222; | |
468 | border: solid 1px white; |
|
468 | border: solid 1px white; | |
469 | } |
|
469 | } | |
470 |
|
470 | |||
471 | .tag_item { |
|
471 | .tag_item { | |
472 | display: inline-block; |
|
472 | display: inline-block; | |
473 | } |
|
473 | } | |
474 |
|
474 | |||
475 | #id_models li { |
|
475 | #id_models li { | |
476 | list-style: none; |
|
476 | list-style: none; | |
477 | } |
|
477 | } | |
478 |
|
478 | |||
479 | #id_q { |
|
479 | #id_q { | |
480 | margin-left: 1ex; |
|
480 | margin-left: 1ex; | |
481 | } |
|
481 | } | |
482 |
|
482 | |||
483 | ul { |
|
483 | ul { | |
484 | padding-left: 0px; |
|
484 | padding-left: 0px; | |
485 | } |
|
485 | } | |
486 |
|
486 | |||
487 | .quote-header { |
|
487 | .quote-header { | |
488 | border-bottom: 2px solid #ddd; |
|
488 | border-bottom: 2px solid #ddd; | |
489 | margin-bottom: 1ex; |
|
489 | margin-bottom: 1ex; | |
490 | padding-bottom: .5ex; |
|
490 | padding-bottom: .5ex; | |
491 | color: #ddd; |
|
491 | color: #ddd; | |
492 | font-size: 1.2em; |
|
492 | font-size: 1.2em; | |
493 | } |
|
493 | } | |
494 |
|
494 | |||
495 | /* Reflink preview */ |
|
495 | /* Reflink preview */ | |
496 | .post_preview { |
|
496 | .post_preview { | |
497 | border-left: 1px solid #777; |
|
497 | border-left: 1px solid #777; | |
498 | border-right: 1px solid #777; |
|
498 | border-right: 1px solid #777; | |
499 | max-width: 600px; |
|
499 | max-width: 600px; | |
500 | } |
|
500 | } | |
501 |
|
501 | |||
502 | /* Code highlighter */ |
|
502 | /* Code highlighter */ | |
503 | .hljs { |
|
503 | .hljs { | |
504 | color: #fff; |
|
504 | color: #fff; | |
505 | background: #000; |
|
505 | background: #000; | |
506 | display: inline-block; |
|
506 | display: inline-block; | |
507 | } |
|
507 | } | |
508 |
|
508 | |||
509 | .hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title { |
|
509 | .hljs, .hljs-subst, .hljs-tag .hljs-title, .lisp .hljs-title, .clojure .hljs-built_in, .nginx .hljs-title { | |
510 | color: #fff; |
|
510 | color: #fff; | |
511 | } |
|
511 | } | |
512 |
|
512 | |||
513 | #up { |
|
513 | #up { | |
514 | position: fixed; |
|
514 | position: fixed; | |
515 | bottom: 5px; |
|
515 | bottom: 5px; | |
516 | right: 5px; |
|
516 | right: 5px; | |
517 | border: 1px solid #777; |
|
517 | border: 1px solid #777; | |
518 | background: #000; |
|
518 | background: #000; | |
519 | padding: 4px; |
|
519 | padding: 4px; | |
520 | opacity: 0.3; |
|
520 | opacity: 0.3; | |
521 | } |
|
521 | } | |
522 |
|
522 | |||
523 | #up:hover { |
|
523 | #up:hover { | |
524 | opacity: 1; |
|
524 | opacity: 1; | |
525 | } |
|
525 | } | |
526 |
|
526 | |||
527 | .user-cast { |
|
527 | .user-cast { | |
528 | border: solid #ffffff 1px; |
|
528 | border: solid #ffffff 1px; | |
529 | padding: .2ex; |
|
529 | padding: .2ex; | |
530 | background: #152154; |
|
530 | background: #152154; | |
531 | color: #fff; |
|
531 | color: #fff; | |
532 | } |
|
532 | } | |
533 |
|
533 | |||
534 | .highlight { |
|
534 | .highlight { | |
535 | background: #222; |
|
535 | background: #222; | |
536 | } |
|
536 | } | |
537 |
|
537 | |||
538 | .post-button-form > button:hover { |
|
538 | .post-button-form > button:hover { | |
539 | text-decoration: underline; |
|
539 | text-decoration: underline; | |
540 | } |
|
540 | } | |
541 |
|
541 | |||
542 | .tree_reply > .post { |
|
542 | .tree_reply > .post { | |
543 | margin-top: 1ex; |
|
543 | margin-top: 1ex; | |
544 | border-left: solid 1px #777; |
|
544 | border-left: solid 1px #777; | |
545 | padding-right: 0; |
|
545 | padding-right: 0; | |
546 | } |
|
546 | } | |
547 |
|
547 | |||
548 | #preview-text { |
|
548 | #preview-text { | |
549 | border: solid 1px white; |
|
549 | border: solid 1px white; | |
550 | margin: 1ex 0 1ex 0; |
|
550 | margin: 1ex 0 1ex 0; | |
551 | padding: 1ex; |
|
551 | padding: 1ex; | |
552 | } |
|
552 | } | |
553 |
|
553 | |||
554 | .image-metadata { |
|
554 | .image-metadata { | |
555 | font-size: 0.9em; |
|
555 | font-size: 0.9em; | |
556 | } |
|
556 | } | |
557 |
|
557 | |||
558 | .tripcode { |
|
558 | .tripcode { | |
559 | color: white; |
|
559 | color: white; | |
560 | } |
|
560 | } | |
561 |
|
561 | |||
562 | #fav-panel { |
|
562 | #fav-panel { | |
563 | border: 1px solid white; |
|
563 | border: 1px solid white; | |
564 | } |
|
564 | } | |
565 |
|
565 | |||
566 | .post-blink { |
|
566 | .post-blink { | |
567 | background-color: #000; |
|
567 | background-color: #000; | |
568 | } |
|
568 | } | |
|
569 | ||||
|
570 | #quote-button { | |||
|
571 | background-color: black; | |||
|
572 | border: solid white 1px; | |||
|
573 | padding: 2px; | |||
|
574 | } | |||
|
575 | ||||
|
576 | #quote-button:hover { | |||
|
577 | background-color: #2d3955; | |||
|
578 | } No newline at end of file |
@@ -1,383 +1,393 b'' | |||||
1 | html { |
|
1 | html { | |
2 | background: rgb(238, 238, 238); |
|
2 | background: rgb(238, 238, 238); | |
3 | color: rgb(51, 51, 51); |
|
3 | color: rgb(51, 51, 51); | |
4 | } |
|
4 | } | |
5 |
|
5 | |||
6 | #admin_panel { |
|
6 | #admin_panel { | |
7 | background: #FF0000; |
|
7 | background: #FF0000; | |
8 | color: #00FF00 |
|
8 | color: #00FF00 | |
9 | } |
|
9 | } | |
10 |
|
10 | |||
11 | .input_field { |
|
11 | .input_field { | |
12 |
|
12 | |||
13 | } |
|
13 | } | |
14 |
|
14 | |||
15 | .input_field_name { |
|
15 | .input_field_name { | |
16 |
|
16 | |||
17 | } |
|
17 | } | |
18 |
|
18 | |||
19 | .input_field_error { |
|
19 | .input_field_error { | |
20 | color: #FF0000; |
|
20 | color: #FF0000; | |
21 | } |
|
21 | } | |
22 |
|
22 | |||
23 |
|
23 | |||
24 | .title { |
|
24 | .title { | |
25 | font-weight: bold; |
|
25 | font-weight: bold; | |
26 | color: #333; |
|
26 | color: #333; | |
27 | font-size: 2ex; |
|
27 | font-size: 2ex; | |
28 | } |
|
28 | } | |
29 |
|
29 | |||
30 | .link, a { |
|
30 | .link, a { | |
31 | color: #ff7000; |
|
31 | color: #ff7000; | |
32 | } |
|
32 | } | |
33 |
|
33 | |||
34 | .block { |
|
34 | .block { | |
35 | display: inline-block; |
|
35 | display: inline-block; | |
36 | vertical-align: top; |
|
36 | vertical-align: top; | |
37 | } |
|
37 | } | |
38 |
|
38 | |||
39 | .tag { |
|
39 | .tag { | |
40 | color: #222; |
|
40 | color: #222; | |
41 | } |
|
41 | } | |
42 |
|
42 | |||
43 | .post_id:hover { |
|
43 | .post_id:hover { | |
44 | color: #11f; |
|
44 | color: #11f; | |
45 | } |
|
45 | } | |
46 |
|
46 | |||
47 | .post_id { |
|
47 | .post_id { | |
48 | color: #444; |
|
48 | color: #444; | |
49 | } |
|
49 | } | |
50 |
|
50 | |||
51 | .post, .dead_post, #posts-table { |
|
51 | .post, .dead_post, #posts-table { | |
52 | margin: 5px; |
|
52 | margin: 5px; | |
53 | padding: 10px; |
|
53 | padding: 10px; | |
54 | background: rgb(221, 221, 221); |
|
54 | background: rgb(221, 221, 221); | |
55 | border: 1px solid rgb(204, 204, 204); |
|
55 | border: 1px solid rgb(204, 204, 204); | |
56 | border-radius: 5px 5px 5px 5px; |
|
56 | border-radius: 5px 5px 5px 5px; | |
57 | clear: left; |
|
57 | clear: left; | |
58 | word-wrap: break-word; |
|
58 | word-wrap: break-word; | |
59 | display: table; |
|
59 | display: table; | |
60 | } |
|
60 | } | |
61 |
|
61 | |||
62 | .metadata { |
|
62 | .metadata { | |
63 | padding: 5px; |
|
63 | padding: 5px; | |
64 | margin-top: 10px; |
|
64 | margin-top: 10px; | |
65 | border: solid 1px #666; |
|
65 | border: solid 1px #666; | |
66 | font-size: 0.9em; |
|
66 | font-size: 0.9em; | |
67 | display: table; |
|
67 | display: table; | |
68 | } |
|
68 | } | |
69 |
|
69 | |||
70 | .navigation_panel, .tag_info, .page_link { |
|
70 | .navigation_panel, .tag_info, .page_link { | |
71 | margin: 5px; |
|
71 | margin: 5px; | |
72 | padding: 10px; |
|
72 | padding: 10px; | |
73 | border: 1px solid rgb(204, 204, 204); |
|
73 | border: 1px solid rgb(204, 204, 204); | |
74 | border-radius: 5px 5px 5px 5px; |
|
74 | border-radius: 5px 5px 5px 5px; | |
75 | } |
|
75 | } | |
76 |
|
76 | |||
77 | .navigation_panel .link { |
|
77 | .navigation_panel .link { | |
78 | border-right: 1px solid #000; |
|
78 | border-right: 1px solid #000; | |
79 | font-weight: bold; |
|
79 | font-weight: bold; | |
80 | margin-right: 1ex; |
|
80 | margin-right: 1ex; | |
81 | padding-right: 1ex; |
|
81 | padding-right: 1ex; | |
82 | } |
|
82 | } | |
83 | .navigation_panel .link:last-child { |
|
83 | .navigation_panel .link:last-child { | |
84 | border-left: 1px solid #000; |
|
84 | border-left: 1px solid #000; | |
85 | border-right: none; |
|
85 | border-right: none; | |
86 | float: right; |
|
86 | float: right; | |
87 | margin-left: 1ex; |
|
87 | margin-left: 1ex; | |
88 | margin-right: 0; |
|
88 | margin-right: 0; | |
89 | padding-left: 1ex; |
|
89 | padding-left: 1ex; | |
90 | padding-right: 0; |
|
90 | padding-right: 0; | |
91 | } |
|
91 | } | |
92 |
|
92 | |||
93 | .navigation_panel::after, .post::after { |
|
93 | .navigation_panel::after, .post::after { | |
94 | clear: both; |
|
94 | clear: both; | |
95 | content: "."; |
|
95 | content: "."; | |
96 | display: block; |
|
96 | display: block; | |
97 | height: 0; |
|
97 | height: 0; | |
98 | line-height: 0; |
|
98 | line-height: 0; | |
99 | visibility: hidden; |
|
99 | visibility: hidden; | |
100 | } |
|
100 | } | |
101 |
|
101 | |||
102 | p { |
|
102 | p { | |
103 | margin-top: .5em; |
|
103 | margin-top: .5em; | |
104 | margin-bottom: .5em; |
|
104 | margin-bottom: .5em; | |
105 | } |
|
105 | } | |
106 |
|
106 | |||
107 | .post-form-w { |
|
107 | .post-form-w { | |
108 | display: table; |
|
108 | display: table; | |
109 | padding: 10px; |
|
109 | padding: 10px; | |
110 | margin: 5px |
|
110 | margin: 5px | |
111 | } |
|
111 | } | |
112 |
|
112 | |||
113 | .form-row { |
|
113 | .form-row { | |
114 | display: table-row; |
|
114 | display: table-row; | |
115 | } |
|
115 | } | |
116 |
|
116 | |||
117 | .form-label, .form-input, .form-errors { |
|
117 | .form-label, .form-input, .form-errors { | |
118 | display: table-cell; |
|
118 | display: table-cell; | |
119 | } |
|
119 | } | |
120 |
|
120 | |||
121 | .form-label { |
|
121 | .form-label { | |
122 | padding: .25em 1ex .25em 0; |
|
122 | padding: .25em 1ex .25em 0; | |
123 | vertical-align: top; |
|
123 | vertical-align: top; | |
124 | } |
|
124 | } | |
125 |
|
125 | |||
126 | .form-input { |
|
126 | .form-input { | |
127 | padding: .25em 0; |
|
127 | padding: .25em 0; | |
128 | } |
|
128 | } | |
129 |
|
129 | |||
130 | .form-errors { |
|
130 | .form-errors { | |
131 | padding-left: 1ex; |
|
131 | padding-left: 1ex; | |
132 | font-weight: bold; |
|
132 | font-weight: bold; | |
133 | vertical-align: middle; |
|
133 | vertical-align: middle; | |
134 | } |
|
134 | } | |
135 |
|
135 | |||
136 | .post-form input:not([name="image"]), .post-form textarea { |
|
136 | .post-form input:not([name="image"]), .post-form textarea { | |
137 | background: #fff; |
|
137 | background: #fff; | |
138 | color: #000; |
|
138 | color: #000; | |
139 | border: solid 1px; |
|
139 | border: solid 1px; | |
140 | padding: 0; |
|
140 | padding: 0; | |
141 | width: 100%; |
|
141 | width: 100%; | |
142 | font: medium sans; |
|
142 | font: medium sans; | |
143 | } |
|
143 | } | |
144 |
|
144 | |||
145 | .form-submit { |
|
145 | .form-submit { | |
146 | border-bottom: 2px solid #ddd; |
|
146 | border-bottom: 2px solid #ddd; | |
147 | margin-bottom: .5em; |
|
147 | margin-bottom: .5em; | |
148 | padding-bottom: .5em; |
|
148 | padding-bottom: .5em; | |
149 | } |
|
149 | } | |
150 |
|
150 | |||
151 | .form-title { |
|
151 | .form-title { | |
152 | font-weight: bold; |
|
152 | font-weight: bold; | |
153 | } |
|
153 | } | |
154 |
|
154 | |||
155 | input[type="submit"] { |
|
155 | input[type="submit"] { | |
156 | background: #fff; |
|
156 | background: #fff; | |
157 | border: solid 1px #000; |
|
157 | border: solid 1px #000; | |
158 | color: #000; |
|
158 | color: #000; | |
159 | } |
|
159 | } | |
160 |
|
160 | |||
161 | blockquote { |
|
161 | blockquote { | |
162 | border-left: solid 2px; |
|
162 | border-left: solid 2px; | |
163 | padding-left: 5px; |
|
163 | padding-left: 5px; | |
164 | color: #B1FB17; |
|
164 | color: #B1FB17; | |
165 | margin: 0; |
|
165 | margin: 0; | |
166 | } |
|
166 | } | |
167 |
|
167 | |||
168 | .post > .image { |
|
168 | .post > .image { | |
169 | float: left; |
|
169 | float: left; | |
170 | margin: 0 1ex .5ex 0; |
|
170 | margin: 0 1ex .5ex 0; | |
171 | min-width: 1px; |
|
171 | min-width: 1px; | |
172 | text-align: center; |
|
172 | text-align: center; | |
173 | display: table-row; |
|
173 | display: table-row; | |
174 | } |
|
174 | } | |
175 |
|
175 | |||
176 | .post > .metadata { |
|
176 | .post > .metadata { | |
177 | clear: left; |
|
177 | clear: left; | |
178 | } |
|
178 | } | |
179 |
|
179 | |||
180 | .get { |
|
180 | .get { | |
181 | font-weight: bold; |
|
181 | font-weight: bold; | |
182 | color: #d55; |
|
182 | color: #d55; | |
183 | } |
|
183 | } | |
184 |
|
184 | |||
185 | * { |
|
185 | * { | |
186 | text-decoration: none; |
|
186 | text-decoration: none; | |
187 | } |
|
187 | } | |
188 |
|
188 | |||
189 | .dead_post { |
|
189 | .dead_post { | |
190 | border-top: solid #d5494f; |
|
190 | border-top: solid #d5494f; | |
191 | } |
|
191 | } | |
192 |
|
192 | |||
193 | .archive_post { |
|
193 | .archive_post { | |
194 | border-top: solid #575e9f; |
|
194 | border-top: solid #575e9f; | |
195 | } |
|
195 | } | |
196 |
|
196 | |||
197 | .quote { |
|
197 | .quote { | |
198 | color: #080; |
|
198 | color: #080; | |
199 | font-style: italic; |
|
199 | font-style: italic; | |
200 | } |
|
200 | } | |
201 |
|
201 | |||
202 | .spoiler { |
|
202 | .spoiler { | |
203 | background: white; |
|
203 | background: white; | |
204 | color: white; |
|
204 | color: white; | |
205 | } |
|
205 | } | |
206 |
|
206 | |||
207 | .spoiler:hover { |
|
207 | .spoiler:hover { | |
208 | color: black; |
|
208 | color: black; | |
209 | } |
|
209 | } | |
210 |
|
210 | |||
211 | .comment { |
|
211 | .comment { | |
212 | color: #8B6914; |
|
212 | color: #8B6914; | |
213 | font-style: italic; |
|
213 | font-style: italic; | |
214 | } |
|
214 | } | |
215 |
|
215 | |||
216 | a:hover { |
|
216 | a:hover { | |
217 | text-decoration: underline; |
|
217 | text-decoration: underline; | |
218 | } |
|
218 | } | |
219 |
|
219 | |||
220 | .last-replies { |
|
220 | .last-replies { | |
221 | margin-left: 3ex; |
|
221 | margin-left: 3ex; | |
222 | } |
|
222 | } | |
223 |
|
223 | |||
224 | .thread { |
|
224 | .thread { | |
225 | margin-bottom: 3ex; |
|
225 | margin-bottom: 3ex; | |
226 | } |
|
226 | } | |
227 |
|
227 | |||
228 | .post:target { |
|
228 | .post:target { | |
229 | border: solid 2px black; |
|
229 | border: solid 2px black; | |
230 | } |
|
230 | } | |
231 |
|
231 | |||
232 | pre{ |
|
232 | pre{ | |
233 | white-space:pre-wrap |
|
233 | white-space:pre-wrap | |
234 | } |
|
234 | } | |
235 |
|
235 | |||
236 | li { |
|
236 | li { | |
237 | list-style-position: inside; |
|
237 | list-style-position: inside; | |
238 | } |
|
238 | } | |
239 |
|
239 | |||
240 | .fancybox-skin { |
|
240 | .fancybox-skin { | |
241 | position: relative; |
|
241 | position: relative; | |
242 | background-color: #fff; |
|
242 | background-color: #fff; | |
243 | color: #ddd; |
|
243 | color: #ddd; | |
244 | text-shadow: none; |
|
244 | text-shadow: none; | |
245 | } |
|
245 | } | |
246 |
|
246 | |||
247 | .fancybox-image { |
|
247 | .fancybox-image { | |
248 | border: 1px solid black; |
|
248 | border: 1px solid black; | |
249 | } |
|
249 | } | |
250 |
|
250 | |||
251 | .image-mode-tab { |
|
251 | .image-mode-tab { | |
252 | display: table; |
|
252 | display: table; | |
253 | margin: 5px; |
|
253 | margin: 5px; | |
254 | padding: 5px; |
|
254 | padding: 5px; | |
255 | background: rgb(221, 221, 221); |
|
255 | background: rgb(221, 221, 221); | |
256 | border: 1px solid rgb(204, 204, 204); |
|
256 | border: 1px solid rgb(204, 204, 204); | |
257 | border-radius: 5px 5px 5px 5px; |
|
257 | border-radius: 5px 5px 5px 5px; | |
258 | } |
|
258 | } | |
259 |
|
259 | |||
260 | .image-mode-tab > label { |
|
260 | .image-mode-tab > label { | |
261 | margin: 0 1ex; |
|
261 | margin: 0 1ex; | |
262 | } |
|
262 | } | |
263 |
|
263 | |||
264 | .image-mode-tab > label > input { |
|
264 | .image-mode-tab > label > input { | |
265 | margin-right: .5ex; |
|
265 | margin-right: .5ex; | |
266 | } |
|
266 | } | |
267 |
|
267 | |||
268 | #posts-table { |
|
268 | #posts-table { | |
269 | margin: 5px; |
|
269 | margin: 5px; | |
270 | } |
|
270 | } | |
271 |
|
271 | |||
272 | .tag_info, .page_link { |
|
272 | .tag_info, .page_link { | |
273 | display: table; |
|
273 | display: table; | |
274 | } |
|
274 | } | |
275 |
|
275 | |||
276 | .tag_info > h2 { |
|
276 | .tag_info > h2 { | |
277 | margin: 0; |
|
277 | margin: 0; | |
278 | } |
|
278 | } | |
279 |
|
279 | |||
280 | .moderator_info { |
|
280 | .moderator_info { | |
281 | color: #e99d41; |
|
281 | color: #e99d41; | |
282 | border: dashed 1px; |
|
282 | border: dashed 1px; | |
283 | padding: 3px; |
|
283 | padding: 3px; | |
284 | } |
|
284 | } | |
285 |
|
285 | |||
286 | .refmap { |
|
286 | .refmap { | |
287 | font-size: 0.9em; |
|
287 | font-size: 0.9em; | |
288 | color: #444; |
|
288 | color: #444; | |
289 | margin-top: 1em; |
|
289 | margin-top: 1em; | |
290 | } |
|
290 | } | |
291 |
|
291 | |||
292 | input[type="submit"]:hover { |
|
292 | input[type="submit"]:hover { | |
293 | background: #ccc; |
|
293 | background: #ccc; | |
294 | } |
|
294 | } | |
295 |
|
295 | |||
296 |
|
296 | |||
297 | .fav { |
|
297 | .fav { | |
298 | color: rgb(255, 102, 0); |
|
298 | color: rgb(255, 102, 0); | |
299 | } |
|
299 | } | |
300 |
|
300 | |||
301 | .not_fav { |
|
301 | .not_fav { | |
302 | color: #555; |
|
302 | color: #555; | |
303 | } |
|
303 | } | |
304 |
|
304 | |||
305 | .form-email { |
|
305 | .form-email { | |
306 | display: none; |
|
306 | display: none; | |
307 | } |
|
307 | } | |
308 |
|
308 | |||
309 | .mark_btn { |
|
309 | .mark_btn { | |
310 | padding: 2px 2ex; |
|
310 | padding: 2px 2ex; | |
311 | border: 1px solid; |
|
311 | border: 1px solid; | |
312 | } |
|
312 | } | |
313 |
|
313 | |||
314 | .mark_btn:hover { |
|
314 | .mark_btn:hover { | |
315 | background: #ccc; |
|
315 | background: #ccc; | |
316 | } |
|
316 | } | |
317 |
|
317 | |||
318 | .bar-value { |
|
318 | .bar-value { | |
319 | background: rgba(251, 199, 16, 0.61); |
|
319 | background: rgba(251, 199, 16, 0.61); | |
320 | padding: 2px; |
|
320 | padding: 2px; | |
321 | font-size: 0.9em; |
|
321 | font-size: 0.9em; | |
322 | height: 1.5em; |
|
322 | height: 1.5em; | |
323 | } |
|
323 | } | |
324 |
|
324 | |||
325 | .bar-bg { |
|
325 | .bar-bg { | |
326 | position: relative; |
|
326 | position: relative; | |
327 | border: 1px solid rgb(204, 204, 204); |
|
327 | border: 1px solid rgb(204, 204, 204); | |
328 | border-radius: 5px 5px 5px 5px; |
|
328 | border-radius: 5px 5px 5px 5px; | |
329 | margin: 5px; |
|
329 | margin: 5px; | |
330 | overflow: hidden; |
|
330 | overflow: hidden; | |
331 | } |
|
331 | } | |
332 |
|
332 | |||
333 | .bar-text { |
|
333 | .bar-text { | |
334 | padding: 2px; |
|
334 | padding: 2px; | |
335 | position: absolute; |
|
335 | position: absolute; | |
336 | left: 0; |
|
336 | left: 0; | |
337 | top: 0; |
|
337 | top: 0; | |
338 | } |
|
338 | } | |
339 |
|
339 | |||
340 | .skipped_replies { |
|
340 | .skipped_replies { | |
341 | margin: 5px; |
|
341 | margin: 5px; | |
342 | } |
|
342 | } | |
343 |
|
343 | |||
344 | .current_page, .current_mode { |
|
344 | .current_page, .current_mode { | |
345 | border: solid 1px #000; |
|
345 | border: solid 1px #000; | |
346 | padding: 2px; |
|
346 | padding: 2px; | |
347 | } |
|
347 | } | |
348 |
|
348 | |||
349 | .tag_item { |
|
349 | .tag_item { | |
350 | display: inline-block; |
|
350 | display: inline-block; | |
351 | border: 1px solid #ccc; |
|
351 | border: 1px solid #ccc; | |
352 | margin: 0.3ex; |
|
352 | margin: 0.3ex; | |
353 | padding: 0.2ex; |
|
353 | padding: 0.2ex; | |
354 | } |
|
354 | } | |
355 |
|
355 | |||
356 | .multiquote { |
|
356 | .multiquote { | |
357 | padding: 3px; |
|
357 | padding: 3px; | |
358 | display: inline-block; |
|
358 | display: inline-block; | |
359 | background: #ddd; |
|
359 | background: #ddd; | |
360 | border-style: solid; |
|
360 | border-style: solid; | |
361 | border-width: 1px 1px 1px 4px; |
|
361 | border-width: 1px 1px 1px 4px; | |
362 | border-color: #222; |
|
362 | border-color: #222; | |
363 | font-size: 0.9em; |
|
363 | font-size: 0.9em; | |
364 | } |
|
364 | } | |
365 |
|
365 | |||
366 | .highlight { |
|
366 | .highlight { | |
367 | background-color: #F9E8A5; |
|
367 | background-color: #F9E8A5; | |
368 | } |
|
368 | } | |
369 |
|
369 | |||
370 | #preview-text { |
|
370 | #preview-text { | |
371 | border: solid 1px black; |
|
371 | border: solid 1px black; | |
372 | margin: 1ex 0 1ex 0; |
|
372 | margin: 1ex 0 1ex 0; | |
373 | padding: 1ex; |
|
373 | padding: 1ex; | |
374 | } |
|
374 | } | |
375 |
|
375 | |||
376 | .image-metadata { |
|
376 | .image-metadata { | |
377 | font-style: italic; |
|
377 | font-style: italic; | |
378 | font-size: 0.9em; |
|
378 | font-size: 0.9em; | |
379 | } |
|
379 | } | |
380 |
|
380 | |||
381 | .post-blink { |
|
381 | .post-blink { | |
382 | background-color: #333; |
|
382 | background-color: #333; | |
383 | } |
|
383 | } | |
|
384 | ||||
|
385 | #quote-button { | |||
|
386 | background-color: #e2c48f; | |||
|
387 | border: solid #000000 1px; | |||
|
388 | padding: 2px; | |||
|
389 | } | |||
|
390 | ||||
|
391 | #quote-button:hover { | |||
|
392 | background-color: #bde2a6; | |||
|
393 | } No newline at end of file |
@@ -1,418 +1,428 b'' | |||||
1 | * { |
|
1 | * { | |
2 | font-size: inherit; |
|
2 | font-size: inherit; | |
3 | margin: 0; |
|
3 | margin: 0; | |
4 | padding: 0; |
|
4 | padding: 0; | |
5 | } |
|
5 | } | |
6 | html { |
|
6 | html { | |
7 | background: #fff; |
|
7 | background: #fff; | |
8 | color: #000; |
|
8 | color: #000; | |
9 | font: medium sans-serif; |
|
9 | font: medium sans-serif; | |
10 | } |
|
10 | } | |
11 | a { |
|
11 | a { | |
12 | color: inherit; |
|
12 | color: inherit; | |
13 | text-decoration: underline; |
|
13 | text-decoration: underline; | |
14 | } |
|
14 | } | |
15 | li { |
|
15 | li { | |
16 | list-style-position: inside; |
|
16 | list-style-position: inside; | |
17 | } |
|
17 | } | |
18 |
|
18 | |||
19 | #admin_panel { |
|
19 | #admin_panel { | |
20 | background: #182F6F; |
|
20 | background: #182F6F; | |
21 | color: #fff; |
|
21 | color: #fff; | |
22 | padding: .5ex 1ex .5ex 1ex; |
|
22 | padding: .5ex 1ex .5ex 1ex; | |
23 | } |
|
23 | } | |
24 |
|
24 | |||
25 | .navigation_panel { |
|
25 | .navigation_panel { | |
26 | background: #182F6F; |
|
26 | background: #182F6F; | |
27 | color: #B4CFEC; |
|
27 | color: #B4CFEC; | |
28 | margin-bottom: 1em; |
|
28 | margin-bottom: 1em; | |
29 | padding: .5ex 1ex 1ex 1ex; |
|
29 | padding: .5ex 1ex 1ex 1ex; | |
30 | } |
|
30 | } | |
31 | .navigation_panel::after { |
|
31 | .navigation_panel::after { | |
32 | clear: both; |
|
32 | clear: both; | |
33 | content: "."; |
|
33 | content: "."; | |
34 | display: block; |
|
34 | display: block; | |
35 | height: 0; |
|
35 | height: 0; | |
36 | line-height: 0; |
|
36 | line-height: 0; | |
37 | visibility: hidden; |
|
37 | visibility: hidden; | |
38 | } |
|
38 | } | |
39 |
|
39 | |||
40 | .navigation_panel a:link, .navigation_panel a:visited, .navigation_panel a:hover { |
|
40 | .navigation_panel a:link, .navigation_panel a:visited, .navigation_panel a:hover { | |
41 | text-decoration: none; |
|
41 | text-decoration: none; | |
42 | } |
|
42 | } | |
43 |
|
43 | |||
44 | .navigation_panel .link { |
|
44 | .navigation_panel .link { | |
45 | border-right: 1px solid #fff; |
|
45 | border-right: 1px solid #fff; | |
46 | color: #fff; |
|
46 | color: #fff; | |
47 | font-weight: bold; |
|
47 | font-weight: bold; | |
48 | margin-right: 1ex; |
|
48 | margin-right: 1ex; | |
49 | padding-right: 1ex; |
|
49 | padding-right: 1ex; | |
50 | } |
|
50 | } | |
51 | .navigation_panel .right-link { |
|
51 | .navigation_panel .right-link { | |
52 | border-left: 1px solid #fff; |
|
52 | border-left: 1px solid #fff; | |
53 | border-right: none; |
|
53 | border-right: none; | |
54 | float: right; |
|
54 | float: right; | |
55 | margin-left: 1ex; |
|
55 | margin-left: 1ex; | |
56 | margin-right: 0; |
|
56 | margin-right: 0; | |
57 | padding-left: 1ex; |
|
57 | padding-left: 1ex; | |
58 | padding-right: 0; |
|
58 | padding-right: 0; | |
59 | } |
|
59 | } | |
60 |
|
60 | |||
61 | .navigation_panel .tag { |
|
61 | .navigation_panel .tag { | |
62 | color: #fff; |
|
62 | color: #fff; | |
63 | } |
|
63 | } | |
64 |
|
64 | |||
65 | .input_field { |
|
65 | .input_field { | |
66 |
|
66 | |||
67 | } |
|
67 | } | |
68 |
|
68 | |||
69 | .input_field_name { |
|
69 | .input_field_name { | |
70 |
|
70 | |||
71 | } |
|
71 | } | |
72 |
|
72 | |||
73 | .input_field_error { |
|
73 | .input_field_error { | |
74 | color: #FF0000; |
|
74 | color: #FF0000; | |
75 | } |
|
75 | } | |
76 |
|
76 | |||
77 |
|
77 | |||
78 | .title { |
|
78 | .title { | |
79 | color: #182F6F; |
|
79 | color: #182F6F; | |
80 | font-weight: bold; |
|
80 | font-weight: bold; | |
81 | } |
|
81 | } | |
82 |
|
82 | |||
83 | .post-form-w { |
|
83 | .post-form-w { | |
84 | background: #182F6F; |
|
84 | background: #182F6F; | |
85 | border-radius: 1ex; |
|
85 | border-radius: 1ex; | |
86 | color: #fff; |
|
86 | color: #fff; | |
87 | margin: 1em 1ex; |
|
87 | margin: 1em 1ex; | |
88 | padding: 1ex; |
|
88 | padding: 1ex; | |
89 | } |
|
89 | } | |
90 |
|
90 | |||
91 | .form-row { |
|
91 | .form-row { | |
92 | display: table; |
|
92 | display: table; | |
93 | width: 100%; |
|
93 | width: 100%; | |
94 | } |
|
94 | } | |
95 | .form-label, .form-input { |
|
95 | .form-label, .form-input { | |
96 | display: table-cell; |
|
96 | display: table-cell; | |
97 | vertical-align: top; |
|
97 | vertical-align: top; | |
98 | } |
|
98 | } | |
99 | .form-label { |
|
99 | .form-label { | |
100 | padding: .25em 1ex .25em 0; |
|
100 | padding: .25em 1ex .25em 0; | |
101 | width: 14ex; |
|
101 | width: 14ex; | |
102 | } |
|
102 | } | |
103 | .form-input { |
|
103 | .form-input { | |
104 | padding: .25em 0; |
|
104 | padding: .25em 0; | |
105 | } |
|
105 | } | |
106 | .form-input > * { |
|
106 | .form-input > * { | |
107 | background: #fff; |
|
107 | background: #fff; | |
108 | color: #000; |
|
108 | color: #000; | |
109 | border: none; |
|
109 | border: none; | |
110 | padding: 0; |
|
110 | padding: 0; | |
111 | resize: vertical; |
|
111 | resize: vertical; | |
112 | } |
|
112 | } | |
113 |
|
113 | |||
114 | .form-input > :not(.file_wrap) { |
|
114 | .form-input > :not(.file_wrap) { | |
115 | width: 100%; |
|
115 | width: 100%; | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | .form-submit { |
|
118 | .form-submit { | |
119 | border-bottom: 1px solid #666; |
|
119 | border-bottom: 1px solid #666; | |
120 | margin-bottom: .5em; |
|
120 | margin-bottom: .5em; | |
121 | padding-bottom: .5em; |
|
121 | padding-bottom: .5em; | |
122 | } |
|
122 | } | |
123 | .form-title { |
|
123 | .form-title { | |
124 | font-weight: bold; |
|
124 | font-weight: bold; | |
125 | margin-bottom: .5em; |
|
125 | margin-bottom: .5em; | |
126 | } |
|
126 | } | |
127 | .post-form .settings_item { |
|
127 | .post-form .settings_item { | |
128 | margin: .5em 0; |
|
128 | margin: .5em 0; | |
129 | } |
|
129 | } | |
130 | .form-submit input { |
|
130 | .form-submit input { | |
131 | margin-top: .5em; |
|
131 | margin-top: .5em; | |
132 | padding: .2em 1ex; |
|
132 | padding: .2em 1ex; | |
133 | } |
|
133 | } | |
134 | .form-label { |
|
134 | .form-label { | |
135 | text-align: left; |
|
135 | text-align: left; | |
136 | } |
|
136 | } | |
137 |
|
137 | |||
138 | .block { |
|
138 | .block { | |
139 | display: inline-block; |
|
139 | display: inline-block; | |
140 | vertical-align: top; |
|
140 | vertical-align: top; | |
141 | } |
|
141 | } | |
142 |
|
142 | |||
143 | .post_id { |
|
143 | .post_id { | |
144 | color: #a00; |
|
144 | color: #a00; | |
145 | } |
|
145 | } | |
146 |
|
146 | |||
147 | .post { |
|
147 | .post { | |
148 | clear: left; |
|
148 | clear: left; | |
149 | margin: 0 1ex 1em 1ex; |
|
149 | margin: 0 1ex 1em 1ex; | |
150 | overflow-x: auto; |
|
150 | overflow-x: auto; | |
151 | word-wrap: break-word; |
|
151 | word-wrap: break-word; | |
152 | background: #FFF; |
|
152 | background: #FFF; | |
153 | padding: 1ex; |
|
153 | padding: 1ex; | |
154 | border: 1px solid #666; |
|
154 | border: 1px solid #666; | |
155 | box-shadow: 1px 1px 2px 1px #666; |
|
155 | box-shadow: 1px 1px 2px 1px #666; | |
156 | } |
|
156 | } | |
157 |
|
157 | |||
158 | #posts > .post:last-child { |
|
158 | #posts > .post:last-child { | |
159 | border-bottom: none; |
|
159 | border-bottom: none; | |
160 | padding-bottom: 0; |
|
160 | padding-bottom: 0; | |
161 | } |
|
161 | } | |
162 |
|
162 | |||
163 | .metadata { |
|
163 | .metadata { | |
164 | background: #C0E4E8; |
|
164 | background: #C0E4E8; | |
165 | border: 1px solid #7F9699; |
|
165 | border: 1px solid #7F9699; | |
166 | border-radius: .4ex; |
|
166 | border-radius: .4ex; | |
167 | display: table; |
|
167 | display: table; | |
168 | margin-top: .5em; |
|
168 | margin-top: .5em; | |
169 | padding: .4em; |
|
169 | padding: .4em; | |
170 | } |
|
170 | } | |
171 |
|
171 | |||
172 | .post ul, .post ol { |
|
172 | .post ul, .post ol { | |
173 | margin: .5em 0 .5em 3ex; |
|
173 | margin: .5em 0 .5em 3ex; | |
174 | } |
|
174 | } | |
175 | .post li { |
|
175 | .post li { | |
176 | margin: .2em 0; |
|
176 | margin: .2em 0; | |
177 | } |
|
177 | } | |
178 | .post p { |
|
178 | .post p { | |
179 | margin: .5em 0; |
|
179 | margin: .5em 0; | |
180 | } |
|
180 | } | |
181 | .post blockquote { |
|
181 | .post blockquote { | |
182 | border-left: 3px solid #182F6F; |
|
182 | border-left: 3px solid #182F6F; | |
183 | margin: .5em 0 .5em 3ex; |
|
183 | margin: .5em 0 .5em 3ex; | |
184 | padding-left: 1ex; |
|
184 | padding-left: 1ex; | |
185 | } |
|
185 | } | |
186 | .post blockquote > blockquote { |
|
186 | .post blockquote > blockquote { | |
187 | padding-top: .1em; |
|
187 | padding-top: .1em; | |
188 | } |
|
188 | } | |
189 |
|
189 | |||
190 | .post > .image { |
|
190 | .post > .image { | |
191 | float: left; |
|
191 | float: left; | |
192 | margin-right: 1ex; |
|
192 | margin-right: 1ex; | |
193 | } |
|
193 | } | |
194 | .post > .metadata { |
|
194 | .post > .metadata { | |
195 | clear: left; |
|
195 | clear: left; | |
196 | } |
|
196 | } | |
197 |
|
197 | |||
198 | .post > .message .get { |
|
198 | .post > .message .get { | |
199 | color: #182F6F; font-weight: bold; |
|
199 | color: #182F6F; font-weight: bold; | |
200 | } |
|
200 | } | |
201 |
|
201 | |||
202 | .dead_post > .metadata { |
|
202 | .dead_post > .metadata { | |
203 | background: #eee; |
|
203 | background: #eee; | |
204 | } |
|
204 | } | |
205 |
|
205 | |||
206 | .quote, .multiquote { |
|
206 | .quote, .multiquote { | |
207 | color: #182F6F; |
|
207 | color: #182F6F; | |
208 | } |
|
208 | } | |
209 |
|
209 | |||
210 | .spoiler { |
|
210 | .spoiler { | |
211 | background: black; |
|
211 | background: black; | |
212 | color: black; |
|
212 | color: black; | |
213 | } |
|
213 | } | |
214 |
|
214 | |||
215 | .spoiler:hover { |
|
215 | .spoiler:hover { | |
216 | background: #ffffff; |
|
216 | background: #ffffff; | |
217 | } |
|
217 | } | |
218 |
|
218 | |||
219 | .comment { |
|
219 | .comment { | |
220 | color: #557055; |
|
220 | color: #557055; | |
221 | } |
|
221 | } | |
222 |
|
222 | |||
223 | .last-replies { |
|
223 | .last-replies { | |
224 | margin-left: 6ex; |
|
224 | margin-left: 6ex; | |
225 | } |
|
225 | } | |
226 |
|
226 | |||
227 | .thread > .post > .message > .post-info { |
|
227 | .thread > .post > .message > .post-info { | |
228 | border-bottom: 1px solid #ccc; |
|
228 | border-bottom: 1px solid #ccc; | |
229 | padding-bottom: .5em; |
|
229 | padding-bottom: .5em; | |
230 | } |
|
230 | } | |
231 |
|
231 | |||
232 | :target .post_id { |
|
232 | :target .post_id { | |
233 | background: #182F6F; |
|
233 | background: #182F6F; | |
234 | color: #FFF; |
|
234 | color: #FFF; | |
235 | text-decoration: none; |
|
235 | text-decoration: none; | |
236 | } |
|
236 | } | |
237 |
|
237 | |||
238 | .image-mode-tab { |
|
238 | .image-mode-tab { | |
239 | background: #182F6F; |
|
239 | background: #182F6F; | |
240 | color: #FFF; |
|
240 | color: #FFF; | |
241 | display: table; |
|
241 | display: table; | |
242 | margin: 1em auto 1em 0; |
|
242 | margin: 1em auto 1em 0; | |
243 | padding: .2em .5ex; |
|
243 | padding: .2em .5ex; | |
244 | } |
|
244 | } | |
245 |
|
245 | |||
246 | .image-mode-tab > label { |
|
246 | .image-mode-tab > label { | |
247 | margin: 0 1ex; |
|
247 | margin: 0 1ex; | |
248 | } |
|
248 | } | |
249 |
|
249 | |||
250 | .image-mode-tab > label > input { |
|
250 | .image-mode-tab > label > input { | |
251 | margin-right: .5ex; |
|
251 | margin-right: .5ex; | |
252 | } |
|
252 | } | |
253 |
|
253 | |||
254 | .tag_info, .page_link { |
|
254 | .tag_info, .page_link { | |
255 | margin: 1em 0; |
|
255 | margin: 1em 0; | |
256 | text-align: center; |
|
256 | text-align: center; | |
257 | } |
|
257 | } | |
258 |
|
258 | |||
259 | .form-errors { |
|
259 | .form-errors { | |
260 | margin-left: 1ex; |
|
260 | margin-left: 1ex; | |
261 | } |
|
261 | } | |
262 |
|
262 | |||
263 | .moderator_info { |
|
263 | .moderator_info { | |
264 | font-weight: bold; |
|
264 | font-weight: bold; | |
265 | float: right; |
|
265 | float: right; | |
266 | } |
|
266 | } | |
267 |
|
267 | |||
268 | .refmap { |
|
268 | .refmap { | |
269 | border: 1px dashed #aaa; |
|
269 | border: 1px dashed #aaa; | |
270 | padding: 0.5em; |
|
270 | padding: 0.5em; | |
271 | display: table; |
|
271 | display: table; | |
272 | } |
|
272 | } | |
273 |
|
273 | |||
274 | .fav { |
|
274 | .fav { | |
275 | color: blue; |
|
275 | color: blue; | |
276 | } |
|
276 | } | |
277 |
|
277 | |||
278 | .not_fav { |
|
278 | .not_fav { | |
279 | color: #ccc; |
|
279 | color: #ccc; | |
280 | } |
|
280 | } | |
281 |
|
281 | |||
282 | .form-email { |
|
282 | .form-email { | |
283 | display: none; |
|
283 | display: none; | |
284 | } |
|
284 | } | |
285 |
|
285 | |||
286 | .bar-value { |
|
286 | .bar-value { | |
287 | background: #E3E7F2; |
|
287 | background: #E3E7F2; | |
288 | padding: .1em 1ex; |
|
288 | padding: .1em 1ex; | |
289 | moz-box-sizing: border-box; |
|
289 | moz-box-sizing: border-box; | |
290 | box-sizing: border-box; |
|
290 | box-sizing: border-box; | |
291 | height: 1.5em; |
|
291 | height: 1.5em; | |
292 | } |
|
292 | } | |
293 |
|
293 | |||
294 | .bar-bg { |
|
294 | .bar-bg { | |
295 | background: #EA4649; |
|
295 | background: #EA4649; | |
296 | border: 1px solid #666; |
|
296 | border: 1px solid #666; | |
297 | margin: 0 1ex 1em 1ex; |
|
297 | margin: 0 1ex 1em 1ex; | |
298 | position: relative; |
|
298 | position: relative; | |
299 | overflow: hidden; |
|
299 | overflow: hidden; | |
300 | } |
|
300 | } | |
301 |
|
301 | |||
302 | .bar-text { |
|
302 | .bar-text { | |
303 | padding: 2px; |
|
303 | padding: 2px; | |
304 | position: absolute; |
|
304 | position: absolute; | |
305 | left: 0; |
|
305 | left: 0; | |
306 | top: 0; |
|
306 | top: 0; | |
307 | } |
|
307 | } | |
308 |
|
308 | |||
309 | .skipped_replies { |
|
309 | .skipped_replies { | |
310 | margin: 1ex; |
|
310 | margin: 1ex; | |
311 | } |
|
311 | } | |
312 |
|
312 | |||
313 | #mark-panel { |
|
313 | #mark-panel { | |
314 | background: #eee; |
|
314 | background: #eee; | |
315 | border-bottom: 1px solid #182F6F; |
|
315 | border-bottom: 1px solid #182F6F; | |
316 | } |
|
316 | } | |
317 |
|
317 | |||
318 | .mark_btn { |
|
318 | .mark_btn { | |
319 | display: inline-block; |
|
319 | display: inline-block; | |
320 | padding: .2em 1ex; |
|
320 | padding: .2em 1ex; | |
321 | border-left: 1px solid #182F6F; |
|
321 | border-left: 1px solid #182F6F; | |
322 | } |
|
322 | } | |
323 |
|
323 | |||
324 | .mark_btn:first-child { |
|
324 | .mark_btn:first-child { | |
325 | border-left: none; |
|
325 | border-left: none; | |
326 | } |
|
326 | } | |
327 |
|
327 | |||
328 | .mark_btn:last-child { |
|
328 | .mark_btn:last-child { | |
329 | border-right: 1px solid #182F6F; |
|
329 | border-right: 1px solid #182F6F; | |
330 | } |
|
330 | } | |
331 |
|
331 | |||
332 | .current_page { |
|
332 | .current_page { | |
333 | border-bottom: 1px solid #FFF; |
|
333 | border-bottom: 1px solid #FFF; | |
334 | padding: 0px 0.5ex; |
|
334 | padding: 0px 0.5ex; | |
335 | } |
|
335 | } | |
336 |
|
336 | |||
337 | .image-mode-tab a { |
|
337 | .image-mode-tab a { | |
338 | text-decoration: none; |
|
338 | text-decoration: none; | |
339 | } |
|
339 | } | |
340 | .image-mode-tab .current_mode::before { |
|
340 | .image-mode-tab .current_mode::before { | |
341 | content: "β "; |
|
341 | content: "β "; | |
342 | padding: 0 0 0 .5ex; |
|
342 | padding: 0 0 0 .5ex; | |
343 | color: #182F6F; |
|
343 | color: #182F6F; | |
344 | background: #FFF; |
|
344 | background: #FFF; | |
345 | } |
|
345 | } | |
346 | .image-mode-tab .current_mode { |
|
346 | .image-mode-tab .current_mode { | |
347 | padding: 0 .5ex 0 0; |
|
347 | padding: 0 .5ex 0 0; | |
348 | color: #182F6F; |
|
348 | color: #182F6F; | |
349 | background: #FFF; |
|
349 | background: #FFF; | |
350 | } |
|
350 | } | |
351 |
|
351 | |||
352 | .gallery_image_metadata { |
|
352 | .gallery_image_metadata { | |
353 | margin-bottom: 1em; |
|
353 | margin-bottom: 1em; | |
354 | } |
|
354 | } | |
355 |
|
355 | |||
356 | .gallery_image { |
|
356 | .gallery_image { | |
357 | padding: 4px; |
|
357 | padding: 4px; | |
358 | margin: .5em 0 0 1ex; |
|
358 | margin: .5em 0 0 1ex; | |
359 | text-align: center; |
|
359 | text-align: center; | |
360 | vertical-align: top; |
|
360 | vertical-align: top; | |
361 | } |
|
361 | } | |
362 |
|
362 | |||
363 | .swappable-form-full > form { |
|
363 | .swappable-form-full > form { | |
364 | display: table; |
|
364 | display: table; | |
365 | width: 100%; |
|
365 | width: 100%; | |
366 | } |
|
366 | } | |
367 |
|
367 | |||
368 | #id_models li { |
|
368 | #id_models li { | |
369 | list-style: none; |
|
369 | list-style: none; | |
370 | } |
|
370 | } | |
371 |
|
371 | |||
372 | #id_q { |
|
372 | #id_q { | |
373 | margin-left: 1ex; |
|
373 | margin-left: 1ex; | |
374 | } |
|
374 | } | |
375 |
|
375 | |||
376 | .br { |
|
376 | .br { | |
377 | margin-top: 0.5em; |
|
377 | margin-top: 0.5em; | |
378 | margin-bottom: 0.5em; |
|
378 | margin-bottom: 0.5em; | |
379 | } |
|
379 | } | |
380 |
|
380 | |||
381 | .message, .refmap { |
|
381 | .message, .refmap { | |
382 | margin-top: .5em; |
|
382 | margin-top: .5em; | |
383 | } |
|
383 | } | |
384 |
|
384 | |||
385 | .user-cast { |
|
385 | .user-cast { | |
386 | padding: 0.2em .5ex; |
|
386 | padding: 0.2em .5ex; | |
387 | background: #008; |
|
387 | background: #008; | |
388 | color: #FFF; |
|
388 | color: #FFF; | |
389 | display: inline-block; |
|
389 | display: inline-block; | |
390 | text-decoration: none; |
|
390 | text-decoration: none; | |
391 | } |
|
391 | } | |
392 |
|
392 | |||
393 | .highlight { |
|
393 | .highlight { | |
394 | background-color: #D4F0F9; |
|
394 | background-color: #D4F0F9; | |
395 | } |
|
395 | } | |
396 |
|
396 | |||
397 | .dead_post { |
|
397 | .dead_post { | |
398 | border-right: 1ex solid #666; |
|
398 | border-right: 1ex solid #666; | |
399 | } |
|
399 | } | |
400 |
|
400 | |||
401 | #preview-text { |
|
401 | #preview-text { | |
402 | border: solid 1px white; |
|
402 | border: solid 1px white; | |
403 | margin: 1ex 0 1ex 0; |
|
403 | margin: 1ex 0 1ex 0; | |
404 | padding: 1ex; |
|
404 | padding: 1ex; | |
405 | } |
|
405 | } | |
406 |
|
406 | |||
407 | .image-metadata { |
|
407 | .image-metadata { | |
408 | font-style: italic; |
|
408 | font-style: italic; | |
409 | font-size: 0.9em; |
|
409 | font-size: 0.9em; | |
410 | } |
|
410 | } | |
411 |
|
411 | |||
412 | audio { |
|
412 | audio { | |
413 | margin-top: 1em; |
|
413 | margin-top: 1em; | |
414 | } |
|
414 | } | |
415 |
|
415 | |||
416 | .post-blink { |
|
416 | .post-blink { | |
417 | background-color: #ccc; |
|
417 | background-color: #ccc; | |
418 | } |
|
418 | } | |
|
419 | ||||
|
420 | #quote-button { | |||
|
421 | background-color: #99a3e2; | |||
|
422 | border: solid #000000 1px; | |||
|
423 | padding: 2px; | |||
|
424 | } | |||
|
425 | ||||
|
426 | #quote-button:hover { | |||
|
427 | background-color: #b9c4e2; | |||
|
428 | } No newline at end of file |
@@ -1,122 +1,143 b'' | |||||
1 | /* |
|
1 | /* | |
2 | @licstart The following is the entire license notice for the |
|
2 | @licstart The following is the entire license notice for the | |
3 | JavaScript code in this page. |
|
3 | JavaScript code in this page. | |
4 |
|
4 | |||
5 |
|
5 | |||
6 | Copyright (C) 2013 neko259 |
|
6 | Copyright (C) 2013 neko259 | |
7 |
|
7 | |||
8 | The JavaScript code in this page is free software: you can |
|
8 | The JavaScript code in this page is free software: you can | |
9 | redistribute it and/or modify it under the terms of the GNU |
|
9 | redistribute it and/or modify it under the terms of the GNU | |
10 | General Public License (GNU GPL) as published by the Free Software |
|
10 | General Public License (GNU GPL) as published by the Free Software | |
11 | Foundation, either version 3 of the License, or (at your option) |
|
11 | Foundation, either version 3 of the License, or (at your option) | |
12 | any later version. The code is distributed WITHOUT ANY WARRANTY; |
|
12 | any later version. The code is distributed WITHOUT ANY WARRANTY; | |
13 | without even the implied warranty of MERCHANTABILITY or FITNESS |
|
13 | without even the implied warranty of MERCHANTABILITY or FITNESS | |
14 | FOR A PARTICULAR PURPOSE. See the GNU GPL for more details. |
|
14 | FOR A PARTICULAR PURPOSE. See the GNU GPL for more details. | |
15 |
|
15 | |||
16 | As additional permission under GNU GPL version 3 section 7, you |
|
16 | As additional permission under GNU GPL version 3 section 7, you | |
17 | may distribute non-source (e.g., minimized or compacted) forms of |
|
17 | may distribute non-source (e.g., minimized or compacted) forms of | |
18 | that code without the copy of the GNU GPL normally required by |
|
18 | that code without the copy of the GNU GPL normally required by | |
19 | section 4, provided you include this license notice and a URL |
|
19 | section 4, provided you include this license notice and a URL | |
20 | through which recipients can access the Corresponding Source. |
|
20 | through which recipients can access the Corresponding Source. | |
21 |
|
21 | |||
22 | @licend The above is the entire license notice |
|
22 | @licend The above is the entire license notice | |
23 | for the JavaScript code in this page. |
|
23 | for the JavaScript code in this page. | |
24 | */ |
|
24 | */ | |
25 |
|
25 | |||
26 | var CLOSE_BUTTON = '#form-close-button'; |
|
26 | var CLOSE_BUTTON = '#form-close-button'; | |
27 | var REPLY_TO_MSG = '.reply-to-message'; |
|
27 | var REPLY_TO_MSG = '.reply-to-message'; | |
28 | var REPLY_TO_MSG_ID = '#reply-to-message-id'; |
|
28 | var REPLY_TO_MSG_ID = '#reply-to-message-id'; | |
29 |
|
29 | |||
30 | var $html = $("html, body"); |
|
30 | var $html = $("html, body"); | |
31 |
|
31 | |||
32 | function moveCaretToEnd(el) { |
|
32 | function moveCaretToEnd(el) { | |
33 | if (typeof el.selectionStart == "number") { |
|
33 | if (typeof el.selectionStart == "number") { | |
34 | el.selectionStart = el.selectionEnd = el.value.length; |
|
34 | el.selectionStart = el.selectionEnd = el.value.length; | |
35 | } else if (typeof el.createTextRange != "undefined") { |
|
35 | } else if (typeof el.createTextRange != "undefined") { | |
36 | el.focus(); |
|
36 | el.focus(); | |
37 | var range = el.createTextRange(); |
|
37 | var range = el.createTextRange(); | |
38 | range.collapse(false); |
|
38 | range.collapse(false); | |
39 | range.select(); |
|
39 | range.select(); | |
40 | } |
|
40 | } | |
41 | } |
|
41 | } | |
42 |
|
42 | |||
43 | function getForm() { |
|
43 | function getForm() { | |
44 | return $('.post-form-w'); |
|
44 | return $('.post-form-w'); | |
45 | } |
|
45 | } | |
46 |
|
46 | |||
47 | function resetFormPosition() { |
|
47 | function resetFormPosition() { | |
48 | var form = getForm(); |
|
48 | var form = getForm(); | |
49 | form.insertAfter($('.thread')); |
|
49 | form.insertAfter($('.thread')); | |
50 |
|
50 | |||
51 | $(CLOSE_BUTTON).hide(); |
|
51 | $(CLOSE_BUTTON).hide(); | |
52 | $(REPLY_TO_MSG).hide(); |
|
52 | $(REPLY_TO_MSG).hide(); | |
53 | } |
|
53 | } | |
54 |
|
54 | |||
55 | function showFormAfter(blockToInsertAfter) { |
|
55 | function showFormAfter(blockToInsertAfter) { | |
56 | var form = getForm(); |
|
56 | var form = getForm(); | |
57 | form.insertAfter(blockToInsertAfter); |
|
57 | form.insertAfter(blockToInsertAfter); | |
58 |
|
58 | |||
59 | $(CLOSE_BUTTON).show(); |
|
59 | $(CLOSE_BUTTON).show(); | |
60 | form.show(); |
|
60 | form.show(); | |
61 | $(REPLY_TO_MSG_ID).text(blockToInsertAfter.attr('id')); |
|
61 | $(REPLY_TO_MSG_ID).text(blockToInsertAfter.attr('id')); | |
62 | $(REPLY_TO_MSG).show(); |
|
62 | $(REPLY_TO_MSG).show(); | |
63 | } |
|
63 | } | |
64 |
|
64 | |||
65 | function addQuickReply(postId) { |
|
65 | function addQuickReply(postId) { | |
66 | // If we click "reply" on the same post, it means "cancel" |
|
66 | // If we click "reply" on the same post, it means "cancel" | |
67 | if (getForm().prev().attr('id') == postId) { |
|
67 | if (getForm().prev().attr('id') == postId) { | |
68 | resetFormPosition(); |
|
68 | resetFormPosition(); | |
69 | } else { |
|
69 | } else { | |
70 | var blockToInsert = null; |
|
70 | var blockToInsert = null; | |
71 | var textAreaJq = $('textarea'); |
|
71 | var textAreaJq = $('textarea'); | |
72 | var postLinkRaw = '[post]' + postId + '[/post]' |
|
72 | var postLinkRaw = '[post]' + postId + '[/post]' | |
73 | var textToAdd = ''; |
|
73 | var textToAdd = ''; | |
74 |
|
74 | |||
75 | if (postId != null) { |
|
75 | if (postId != null) { | |
76 | var post = $('#' + postId); |
|
76 | var post = $('#' + postId); | |
77 |
|
77 | |||
78 | // If this is not OP, add reflink to the post. If there already is |
|
78 | // If this is not OP, add reflink to the post. If there already is | |
79 | // the same reflink, don't add it again. |
|
79 | // the same reflink, don't add it again. | |
80 | if (!post.is(':first-child') && textAreaJq.val().indexOf(postLinkRaw) < 0) { |
|
80 | if (!post.is(':first-child') && textAreaJq.val().indexOf(postLinkRaw) < 0) { | |
81 | textToAdd += postLinkRaw + '\n'; |
|
81 | textToAdd += postLinkRaw + '\n'; | |
82 | } |
|
82 | } | |
83 |
|
83 | |||
84 | textAreaJq.val(textAreaJq.val()+ textToAdd); |
|
84 | textAreaJq.val(textAreaJq.val()+ textToAdd); | |
85 | blockToInsert = post; |
|
85 | blockToInsert = post; | |
86 | } else { |
|
86 | } else { | |
87 | blockToInsert = $('.thread'); |
|
87 | blockToInsert = $('.thread'); | |
88 | } |
|
88 | } | |
89 | showFormAfter(blockToInsert); |
|
89 | showFormAfter(blockToInsert); | |
90 |
|
90 | |||
91 | textAreaJq.focus(); |
|
91 | textAreaJq.focus(); | |
92 |
|
92 | |||
93 | var textarea = document.getElementsByTagName('textarea')[0]; |
|
93 | var textarea = document.getElementsByTagName('textarea')[0]; | |
94 | moveCaretToEnd(textarea); |
|
94 | moveCaretToEnd(textarea); | |
95 | } |
|
95 | } | |
96 | } |
|
96 | } | |
97 |
|
97 | |||
98 |
function addQuickQuote( |
|
98 | function addQuickQuote() { | |
99 | if (getForm().prev().attr('id') != postId) { |
|
|||
100 | addQuickReply(postId); |
|
|||
101 | } |
|
|||
102 |
|
||||
103 | var textToAdd = ''; |
|
99 | var textToAdd = ''; | |
104 | var textAreaJq = $('textarea'); |
|
100 | var textAreaJq = $('textarea'); | |
105 | var postLinkRaw = '[post]' + postId + '[/post]' |
|
|||
106 | var selection = window.getSelection().toString(); |
|
101 | var selection = window.getSelection().toString(); | |
|
102 | if (selection.length == 0) { | |||
|
103 | selection = $("#quote-button").attr('data-text'); | |||
|
104 | } | |||
107 | if (selection.length > 0) { |
|
105 | if (selection.length > 0) { | |
108 | textToAdd += '[quote]' + selection + '[/quote]\n'; |
|
106 | textToAdd += '[quote]' + selection + '[/quote]\n'; | |
109 | } |
|
107 | } | |
110 |
|
108 | |||
111 | textAreaJq.val(textAreaJq.val()+ textToAdd); |
|
109 | textAreaJq.val(textAreaJq.val()+ textToAdd); | |
112 |
|
110 | |||
113 | textAreaJq.focus(); |
|
111 | textAreaJq.focus(); | |
114 |
|
112 | |||
115 | var textarea = document.getElementsByTagName('textarea')[0]; |
|
113 | var textarea = document.getElementsByTagName('textarea')[0]; | |
116 | moveCaretToEnd(textarea); |
|
114 | moveCaretToEnd(textarea); | |
117 | } |
|
115 | } | |
118 |
|
116 | |||
119 | function scrollToBottom() { |
|
117 | function scrollToBottom() { | |
120 | $html.animate({scrollTop: $html.height()}, "fast"); |
|
118 | $html.animate({scrollTop: $html.height()}, "fast"); | |
121 | } |
|
119 | } | |
122 |
|
120 | |||
|
121 | function showQuoteButton() { | |||
|
122 | var selection = window.getSelection().getRangeAt(0).getBoundingClientRect(); | |||
|
123 | var quoteButton = $("#quote-button"); | |||
|
124 | if (selection.width > 0) { | |||
|
125 | // quoteButton.offset({ top: selection.top - selection.height, left: selection.left }); | |||
|
126 | quoteButton.css({top: selection.top + $(window).scrollTop() - 30, left: selection.left}); | |||
|
127 | quoteButton.show(); | |||
|
128 | ||||
|
129 | var text = window.getSelection().toString(); | |||
|
130 | quoteButton.attr('data-text', text); | |||
|
131 | } else { | |||
|
132 | quoteButton.hide(); | |||
|
133 | } | |||
|
134 | } | |||
|
135 | ||||
|
136 | $(document).ready(function() { | |||
|
137 | $('body').on('mouseup', function() { | |||
|
138 | showQuoteButton(); | |||
|
139 | }); | |||
|
140 | $("#quote-button").click(function() { | |||
|
141 | addQuickQuote(); | |||
|
142 | }) | |||
|
143 | }); No newline at end of file |
@@ -1,106 +1,105 b'' | |||||
1 | {% load i18n %} |
|
1 | {% load i18n %} | |
2 | {% load board %} |
|
2 | {% load board %} | |
3 |
|
3 | |||
4 | {% get_current_language as LANGUAGE_CODE %} |
|
4 | {% get_current_language as LANGUAGE_CODE %} | |
5 |
|
5 | |||
6 | <div class="{{ css_class }}" id="{{ post.id }}" data-uid="{{ post.uid }}" {% if tree_depth %}style="margin-left: {{ tree_depth }}em;"{% endif %}> |
|
6 | <div class="{{ css_class }}" id="{{ post.id }}" data-uid="{{ post.uid }}" {% if tree_depth %}style="margin-left: {{ tree_depth }}em;"{% endif %}> | |
7 | <div class="post-info"> |
|
7 | <div class="post-info"> | |
8 | <a class="post_id" href="{{ post.get_absolute_url }}">#{{ post.get_absolute_id }}</a> |
|
8 | <a class="post_id" href="{{ post.get_absolute_url }}">#{{ post.get_absolute_id }}</a> | |
9 | <span class="title">{{ post.title }}</span> |
|
9 | <span class="title">{{ post.title }}</span> | |
10 | <span class="pub_time"><time datetime="{{ post.pub_time|date:'c' }}">{{ post.pub_time }}</time></span> |
|
10 | <span class="pub_time"><time datetime="{{ post.pub_time|date:'c' }}">{{ post.pub_time }}</time></span> | |
11 | {% if post.tripcode %} |
|
11 | {% if post.tripcode %} | |
12 | / |
|
12 | / | |
13 | {% with tripcode=post.get_tripcode %} |
|
13 | {% with tripcode=post.get_tripcode %} | |
14 | <a href="{% url 'feed' %}?tripcode={{ tripcode.get_full_text }}" |
|
14 | <a href="{% url 'feed' %}?tripcode={{ tripcode.get_full_text }}" | |
15 | class="tripcode" title="{{ tripcode.get_full_text }}" |
|
15 | class="tripcode" title="{{ tripcode.get_full_text }}" | |
16 | style="border: solid 2px #{{ tripcode.get_color }}; border-left: solid 1ex #{{ tripcode.get_color }};">{{ tripcode.get_short_text }}</a> |
|
16 | style="border: solid 2px #{{ tripcode.get_color }}; border-left: solid 1ex #{{ tripcode.get_color }};">{{ tripcode.get_short_text }}</a> | |
17 | {% endwith %} |
|
17 | {% endwith %} | |
18 | {% endif %} |
|
18 | {% endif %} | |
19 | {% comment %} |
|
19 | {% comment %} | |
20 | Thread death time needs to be shown only if the thread is alredy archived |
|
20 | Thread death time needs to be shown only if the thread is alredy archived | |
21 | and this is an opening post (thread death time) or a post for popup |
|
21 | and this is an opening post (thread death time) or a post for popup | |
22 | (we don't see OP here so we show the death time in the post itself). |
|
22 | (we don't see OP here so we show the death time in the post itself). | |
23 | {% endcomment %} |
|
23 | {% endcomment %} | |
24 | {% if thread.is_archived %} |
|
24 | {% if thread.is_archived %} | |
25 | {% if is_opening %} |
|
25 | {% if is_opening %} | |
26 | β <time datetime="{{ thread.bump_time|date:'c' }}">{{ thread.bump_time }}</time> |
|
26 | β <time datetime="{{ thread.bump_time|date:'c' }}">{{ thread.bump_time }}</time> | |
27 | {% endif %} |
|
27 | {% endif %} | |
28 | {% endif %} |
|
28 | {% endif %} | |
29 | {% if is_opening %} |
|
29 | {% if is_opening %} | |
30 | {% if need_open_link %} |
|
30 | {% if need_open_link %} | |
31 | {% if thread.is_archived %} |
|
31 | {% if thread.is_archived %} | |
32 | <a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a> |
|
32 | <a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a> | |
33 | {% else %} |
|
33 | {% else %} | |
34 | <a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a> |
|
34 | <a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a> | |
35 | {% endif %} |
|
35 | {% endif %} | |
36 | {% endif %} |
|
36 | {% endif %} | |
37 | {% else %} |
|
37 | {% else %} | |
38 | {% if need_op_data %} |
|
38 | {% if need_op_data %} | |
39 | {% with thread.get_opening_post as op %} |
|
39 | {% with thread.get_opening_post as op %} | |
40 | {% trans " in " %}{{ op.get_link_view|safe }} <span class="title">{{ op.get_title_or_text }}</span> |
|
40 | {% trans " in " %}{{ op.get_link_view|safe }} <span class="title">{{ op.get_title_or_text }}</span> | |
41 | {% endwith %} |
|
41 | {% endwith %} | |
42 | {% endif %} |
|
42 | {% endif %} | |
43 | {% endif %} |
|
43 | {% endif %} | |
44 | {% if reply_link and not thread.is_archived %} |
|
44 | {% if reply_link and not thread.is_archived %} | |
45 |
<a href="#form" onclick="addQuickReply('{{ post.id }}'); return false;">{% trans 'Reply' %}</a> |
|
45 | <a href="#form" onclick="addQuickReply('{{ post.id }}'); return false;">{% trans 'Reply' %}</a> | |
46 | <a href="#form" onclick="addQuickQuote('{{ post.id }}'); return false;">{% trans 'Quote' %}</a> |
|
|||
47 | {% endif %} |
|
46 | {% endif %} | |
48 |
|
47 | |||
49 | {% if perms.boards.change_post or perms.boards.delete_post or perms.boards.change_thread or perms_boards.delete_thread %} |
|
48 | {% if perms.boards.change_post or perms.boards.delete_post or perms.boards.change_thread or perms_boards.delete_thread %} | |
50 | <span class="moderator_info"> |
|
49 | <span class="moderator_info"> | |
51 | {% if perms.boards.change_post or perms.boards.delete_post %} |
|
50 | {% if perms.boards.change_post or perms.boards.delete_post %} | |
52 | | <a href="{% url 'admin:boards_post_change' post.id %}">{% trans 'Edit' %}</a> |
|
51 | | <a href="{% url 'admin:boards_post_change' post.id %}">{% trans 'Edit' %}</a> | |
53 | {% endif %} |
|
52 | {% endif %} | |
54 | {% if perms.boards.change_thread or perms_boards.delete_thread %} |
|
53 | {% if perms.boards.change_thread or perms_boards.delete_thread %} | |
55 | {% if is_opening %} |
|
54 | {% if is_opening %} | |
56 | | <a href="{% url 'admin:boards_thread_change' thread.id %}">{% trans 'Edit thread' %}</a> |
|
55 | | <a href="{% url 'admin:boards_thread_change' thread.id %}">{% trans 'Edit thread' %}</a> | |
57 | {% endif %} |
|
56 | {% endif %} | |
58 | {% endif %} |
|
57 | {% endif %} | |
59 | </form> |
|
58 | </form> | |
60 | </span> |
|
59 | </span> | |
61 | {% endif %} |
|
60 | {% endif %} | |
62 | </div> |
|
61 | </div> | |
63 | {% comment %} |
|
62 | {% comment %} | |
64 | Post images. Currently only 1 image can be posted and shown, but post model |
|
63 | Post images. Currently only 1 image can be posted and shown, but post model | |
65 | supports multiple. |
|
64 | supports multiple. | |
66 | {% endcomment %} |
|
65 | {% endcomment %} | |
67 | {% for image in post.images.all %} |
|
66 | {% for image in post.images.all %} | |
68 | {{ image.get_view|safe }} |
|
67 | {{ image.get_view|safe }} | |
69 | {% endfor %} |
|
68 | {% endfor %} | |
70 | {% for file in post.attachments.all %} |
|
69 | {% for file in post.attachments.all %} | |
71 | {{ file.get_view|safe }} |
|
70 | {{ file.get_view|safe }} | |
72 | {% endfor %} |
|
71 | {% endfor %} | |
73 | {% comment %} |
|
72 | {% comment %} | |
74 | Post message (text) |
|
73 | Post message (text) | |
75 | {% endcomment %} |
|
74 | {% endcomment %} | |
76 | <div class="message"> |
|
75 | <div class="message"> | |
77 | {% autoescape off %} |
|
76 | {% autoescape off %} | |
78 | {% if truncated %} |
|
77 | {% if truncated %} | |
79 | {{ post.get_text|truncatewords_html:50 }} |
|
78 | {{ post.get_text|truncatewords_html:50 }} | |
80 | {% else %} |
|
79 | {% else %} | |
81 | {{ post.get_text }} |
|
80 | {{ post.get_text }} | |
82 | {% endif %} |
|
81 | {% endif %} | |
83 | {% endautoescape %} |
|
82 | {% endautoescape %} | |
84 | </div> |
|
83 | </div> | |
85 | {% if post.is_referenced %} |
|
84 | {% if post.is_referenced %} | |
86 | {% if not mode_tree %} |
|
85 | {% if not mode_tree %} | |
87 | <div class="refmap"> |
|
86 | <div class="refmap"> | |
88 | {% trans "Replies" %}: {{ post.refmap|safe }} |
|
87 | {% trans "Replies" %}: {{ post.refmap|safe }} | |
89 | </div> |
|
88 | </div> | |
90 | {% endif %} |
|
89 | {% endif %} | |
91 | {% endif %} |
|
90 | {% endif %} | |
92 | {% comment %} |
|
91 | {% comment %} | |
93 | Thread metadata: counters, tags etc |
|
92 | Thread metadata: counters, tags etc | |
94 | {% endcomment %} |
|
93 | {% endcomment %} | |
95 | {% if is_opening %} |
|
94 | {% if is_opening %} | |
96 | <div class="metadata"> |
|
95 | <div class="metadata"> | |
97 | {% if is_opening and need_open_link %} |
|
96 | {% if is_opening and need_open_link %} | |
98 | {% blocktrans count count=thread.get_reply_count %}{{ count }} message{% plural %}{{ count }} messages{% endblocktrans %}, |
|
97 | {% blocktrans count count=thread.get_reply_count %}{{ count }} message{% plural %}{{ count }} messages{% endblocktrans %}, | |
99 | {% blocktrans count count=thread.get_images_count %}{{ count }} image{% plural %}{{ count }} images{% endblocktrans %}. |
|
98 | {% blocktrans count count=thread.get_images_count %}{{ count }} image{% plural %}{{ count }} images{% endblocktrans %}. | |
100 | {% endif %} |
|
99 | {% endif %} | |
101 | <span class="tags"> |
|
100 | <span class="tags"> | |
102 | {{ thread.get_tag_url_list|safe }} |
|
101 | {{ thread.get_tag_url_list|safe }} | |
103 | </span> |
|
102 | </span> | |
104 | </div> |
|
103 | </div> | |
105 | {% endif %} |
|
104 | {% endif %} | |
106 | </div> |
|
105 | </div> |
@@ -1,79 +1,81 b'' | |||||
1 | {% extends "boards/thread.html" %} |
|
1 | {% extends "boards/thread.html" %} | |
2 |
|
2 | |||
3 | {% load i18n %} |
|
3 | {% load i18n %} | |
4 | {% load static from staticfiles %} |
|
4 | {% load static from staticfiles %} | |
5 | {% load board %} |
|
5 | {% load board %} | |
6 | {% load tz %} |
|
6 | {% load tz %} | |
7 |
|
7 | |||
8 | {% block thread_content %} |
|
8 | {% block thread_content %} | |
9 | {% get_current_language as LANGUAGE_CODE %} |
|
9 | {% get_current_language as LANGUAGE_CODE %} | |
10 | {% get_current_timezone as TIME_ZONE %} |
|
10 | {% get_current_timezone as TIME_ZONE %} | |
11 |
|
11 | |||
|
12 | <div id="quote-button">{% trans 'Quote' %}</div> | |||
|
13 | ||||
12 | <div class="tag_info"> |
|
14 | <div class="tag_info"> | |
13 | <h2> |
|
15 | <h2> | |
14 | <form action="{% url 'thread' opening_post.id %}" method="post" class="post-button-form"> |
|
16 | <form action="{% url 'thread' opening_post.id %}" method="post" class="post-button-form"> | |
15 | {% csrf_token %} |
|
17 | {% csrf_token %} | |
16 | {% if is_favorite %} |
|
18 | {% if is_favorite %} | |
17 | <button name="method" value="unsubscribe" class="fav">β </button> |
|
19 | <button name="method" value="unsubscribe" class="fav">β </button> | |
18 | {% else %} |
|
20 | {% else %} | |
19 | <button name="method" value="subscribe" class="not_fav">β </button> |
|
21 | <button name="method" value="subscribe" class="not_fav">β </button> | |
20 | {% endif %} |
|
22 | {% endif %} | |
21 | </form> |
|
23 | </form> | |
22 | {{ opening_post.get_title_or_text }} |
|
24 | {{ opening_post.get_title_or_text }} | |
23 | </h2> |
|
25 | </h2> | |
24 | </div> |
|
26 | </div> | |
25 |
|
27 | |||
26 | {% if bumpable and thread.has_post_limit %} |
|
28 | {% if bumpable and thread.has_post_limit %} | |
27 | <div class="bar-bg"> |
|
29 | <div class="bar-bg"> | |
28 | <div class="bar-value" style="width:{{ bumplimit_progress }}%" id="bumplimit_progress"> |
|
30 | <div class="bar-value" style="width:{{ bumplimit_progress }}%" id="bumplimit_progress"> | |
29 | </div> |
|
31 | </div> | |
30 | <div class="bar-text"> |
|
32 | <div class="bar-text"> | |
31 | <span id="left_to_limit">{{ posts_left }}</span> {% trans 'posts to bumplimit' %} |
|
33 | <span id="left_to_limit">{{ posts_left }}</span> {% trans 'posts to bumplimit' %} | |
32 | </div> |
|
34 | </div> | |
33 | </div> |
|
35 | </div> | |
34 | {% endif %} |
|
36 | {% endif %} | |
35 |
|
37 | |||
36 | <div class="thread"> |
|
38 | <div class="thread"> | |
37 | {% for post in thread.get_replies %} |
|
39 | {% for post in thread.get_replies %} | |
38 | {% post_view post reply_link=True %} |
|
40 | {% post_view post reply_link=True %} | |
39 | {% endfor %} |
|
41 | {% endfor %} | |
40 | </div> |
|
42 | </div> | |
41 |
|
43 | |||
42 | {% if not thread.is_archived %} |
|
44 | {% if not thread.is_archived %} | |
43 | <div class="post-form-w"> |
|
45 | <div class="post-form-w"> | |
44 | <script src="{% static 'js/panel.js' %}"></script> |
|
46 | <script src="{% static 'js/panel.js' %}"></script> | |
45 | <div class="form-title">{% trans "Reply to thread" %} #{{ opening_post.id }}<span class="reply-to-message"> {% trans "to message " %} #<span id="reply-to-message-id"></span></span></div> |
|
47 | <div class="form-title">{% trans "Reply to thread" %} #{{ opening_post.id }}<span class="reply-to-message"> {% trans "to message " %} #<span id="reply-to-message-id"></span></span></div> | |
46 | <div class="post-form" id="compact-form" data-hasher="{% static 'js/3party/sha256.js' %}" |
|
48 | <div class="post-form" id="compact-form" data-hasher="{% static 'js/3party/sha256.js' %}" | |
47 | data-pow-script="{% static 'js/proof_of_work.js' %}"> |
|
49 | data-pow-script="{% static 'js/proof_of_work.js' %}"> | |
48 | <div class="swappable-form-full"> |
|
50 | <div class="swappable-form-full"> | |
49 | <form enctype="multipart/form-data" method="post" id="form">{% csrf_token %} |
|
51 | <form enctype="multipart/form-data" method="post" id="form">{% csrf_token %} | |
50 | <div class="compact-form-text"></div> |
|
52 | <div class="compact-form-text"></div> | |
51 | {{ form.as_div }} |
|
53 | {{ form.as_div }} | |
52 | <div class="form-submit"> |
|
54 | <div class="form-submit"> | |
53 | <input type="submit" value="{% trans "Post" %}"/> |
|
55 | <input type="submit" value="{% trans "Post" %}"/> | |
54 | <button id="preview-button" onclick="return false;">{% trans 'Preview' %}</button> |
|
56 | <button id="preview-button" onclick="return false;">{% trans 'Preview' %}</button> | |
55 | <button id="file-source-button" onclick="return false;">{% trans 'Change file source' %}</button> |
|
57 | <button id="file-source-button" onclick="return false;">{% trans 'Change file source' %}</button> | |
56 | </div> |
|
58 | </div> | |
57 | </form> |
|
59 | </form> | |
58 | </div> |
|
60 | </div> | |
59 | <div id="preview-text"></div> |
|
61 | <div id="preview-text"></div> | |
60 | <div> |
|
62 | <div> | |
61 | {% with size=max_file_size|filesizeformat %} |
|
63 | {% with size=max_file_size|filesizeformat %} | |
62 | {% blocktrans %}Max file size is {{ size }}.{% endblocktrans %} |
|
64 | {% blocktrans %}Max file size is {{ size }}.{% endblocktrans %} | |
63 | {% endwith %} |
|
65 | {% endwith %} | |
64 | </div> |
|
66 | </div> | |
65 | <div><a href="{% url "staticpage" name="help" %}"> |
|
67 | <div><a href="{% url "staticpage" name="help" %}"> | |
66 | {% trans 'Text syntax' %}</a></div> |
|
68 | {% trans 'Text syntax' %}</a></div> | |
67 | <div><a id="form-close-button" href="#" onClick="resetFormPosition(); return false;">{% trans 'Close form' %}</a></div> |
|
69 | <div><a id="form-close-button" href="#" onClick="resetFormPosition(); return false;">{% trans 'Close form' %}</a></div> | |
68 | </div> |
|
70 | </div> | |
69 | </div> |
|
71 | </div> | |
70 |
|
72 | |||
71 | <script src="{% static 'js/form.js' %}"></script> |
|
73 | <script src="{% static 'js/form.js' %}"></script> | |
72 | <script src="{% static 'js/jquery.form.min.js' %}"></script> |
|
74 | <script src="{% static 'js/jquery.form.min.js' %}"></script> | |
73 | <script src="{% static 'js/3party/jquery.blockUI.js' %}"></script> |
|
75 | <script src="{% static 'js/3party/jquery.blockUI.js' %}"></script> | |
74 | <script src="{% static 'js/thread.js' %}"></script> |
|
76 | <script src="{% static 'js/thread.js' %}"></script> | |
75 | <script src="{% static 'js/thread_update.js' %}"></script> |
|
77 | <script src="{% static 'js/thread_update.js' %}"></script> | |
76 | {% endif %} |
|
78 | {% endif %} | |
77 |
|
79 | |||
78 | <script src="{% static 'js/3party/centrifuge.js' %}"></script> |
|
80 | <script src="{% static 'js/3party/centrifuge.js' %}"></script> | |
79 | {% endblock %} |
|
81 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now