annotate src/bbcode/bbcode.css @ 50:0d99cec5142c

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 17 Nov 2022 22:00:59 -0700
parents f225e82b2bf8
children 78b2d6995244
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
1 div[bbcode_editor] * {
44
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 box-sizing: border-box;
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 }
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
4 div[bbcode_editor] textarea {
44
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 font: inherit;
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 padding: 7px;
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 border-color: #DDDDDD;
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 width: 100%;
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 }
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
11 div[bbcode_editor] input[type="file"] {
44
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 display: none;
96f0c3d65698 add /bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 }
45
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
14
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
15 div[bbcode_editor] button:hover {
45
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
16 cursor: pointer;
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
17 }
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
18
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
19 div[bbcode_editor] div[buttons] {
45
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
20 display: flex;
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
21 justify-content: flex-end;
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
22 }
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
23 div[bbcode_editor] div[buttons] button {
45
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
24 border: 0;
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
25 background-color: transparent;
47
7ef9222474e2 add more button
Franklin Schmidt <fschmidt@gmail.com>
parents: 45
diff changeset
26 border-radius: 4px;
7ef9222474e2 add more button
Franklin Schmidt <fschmidt@gmail.com>
parents: 45
diff changeset
27 }
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
28 div[bbcode_editor] div[buttons] button:hover {
47
7ef9222474e2 add more button
Franklin Schmidt <fschmidt@gmail.com>
parents: 45
diff changeset
29 background-color: lightgrey;
7ef9222474e2 add more button
Franklin Schmidt <fschmidt@gmail.com>
parents: 45
diff changeset
30 }
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
31 div[bbcode_editor] div[buttons] button[checked] {
47
7ef9222474e2 add more button
Franklin Schmidt <fschmidt@gmail.com>
parents: 45
diff changeset
32 background-color: lightblue;
45
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
33 }
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
34 div[bbcode_editor] div[buttons] img {
45
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
35 height: 24px;
2d4f00755092 bcode editor work
Franklin Schmidt <fschmidt@gmail.com>
parents: 44
diff changeset
36 }
49
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
37
50
Franklin Schmidt <fschmidt@gmail.com>
parents: 49
diff changeset
38
49
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
39 div[from_bbcode] {
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
40 white-space: pre-wrap;
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
41 line-height: 1.4;
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
42 }
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
43 div[from_bbcode] code {
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
44 display: block;
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
45 background-color: #EEE;
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
46 padding: 7px;
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
47 }
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
48 div[from_bbcode] code[inline] {
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
49 display: initial;
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
50 padding: 1px;
f225e82b2bf8 add code bbcode
Franklin Schmidt <fschmidt@gmail.com>
parents: 47
diff changeset
51 }