Mercurial Hosting > freedit
annotate src/bbcode/bbcode.css @ 58:31c895b73bd0
improve change email
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 29 Nov 2022 16:09:17 -0700 |
parents | cac477dd1f82 |
children | 8b5b1bce7d6b |
rev | line source |
---|---|
50 | 1 div[bbcode_editor] * { |
44 | 2 box-sizing: border-box; |
3 } | |
50 | 4 div[bbcode_editor] textarea { |
44 | 5 font: inherit; |
6 padding: 7px; | |
7 border-color: #DDDDDD; | |
8 width: 100%; | |
9 } | |
10 | |
50 | 11 div[bbcode_editor] input[type="file"] { |
44 | 12 display: none; |
13 } | |
45 | 14 |
50 | 15 div[bbcode_editor] button:hover { |
45 | 16 cursor: pointer; |
17 } | |
18 | |
50 | 19 div[bbcode_editor] div[buttons] { |
45 | 20 display: flex; |
21 justify-content: flex-end; | |
52 | 22 gap: 4px; |
45 | 23 } |
51 | 24 div[bbcode_editor] button { |
45 | 25 border: 0; |
26 background-color: transparent; | |
47 | 27 border-radius: 4px; |
28 } | |
51 | 29 div[bbcode_editor] button:hover { |
47 | 30 background-color: lightgrey; |
31 } | |
51 | 32 div[bbcode_editor] button[checked] { |
47 | 33 background-color: lightblue; |
45 | 34 } |
51 | 35 div[bbcode_editor] button:disabled { |
36 cursor: not-allowed; | |
37 background-color: initial; | |
38 opacity: 0.3; | |
39 } | |
50 | 40 div[bbcode_editor] div[buttons] img { |
45 | 41 height: 24px; |
42 } | |
51 | 43 div[bbcode_editor] div[preview] { |
44 display: none; | |
45 border: solid #888888; | |
46 padding: 7px; | |
47 margin-bottom: 4px; | |
48 } | |
49 | 49 |
50 | 50 |
49 | 51 div[from_bbcode] { |
52 white-space: pre-wrap; | |
53 line-height: 1.4; | |
54 } | |
55 div[from_bbcode] code { | |
56 display: block; | |
57 background-color: #EEE; | |
58 padding: 7px; | |
59 } | |
60 div[from_bbcode] code[inline] { | |
61 display: initial; | |
62 padding: 1px; | |
63 } | |
53
cac477dd1f82
convert image and video urls
Franklin Schmidt <fschmidt@gmail.com>
parents:
52
diff
changeset
|
64 div[from_bbcode] img { |
cac477dd1f82
convert image and video urls
Franklin Schmidt <fschmidt@gmail.com>
parents:
52
diff
changeset
|
65 max-width: 100%; |
cac477dd1f82
convert image and video urls
Franklin Schmidt <fschmidt@gmail.com>
parents:
52
diff
changeset
|
66 } |
cac477dd1f82
convert image and video urls
Franklin Schmidt <fschmidt@gmail.com>
parents:
52
diff
changeset
|
67 div[from_bbcode] iframe { |
cac477dd1f82
convert image and video urls
Franklin Schmidt <fschmidt@gmail.com>
parents:
52
diff
changeset
|
68 max-width: 100%; |
cac477dd1f82
convert image and video urls
Franklin Schmidt <fschmidt@gmail.com>
parents:
52
diff
changeset
|
69 } |