comparison src/bbcode/bbcode.css @ 60:8b5b1bce7d6b

bcode menus
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 30 Nov 2022 23:50:52 -0700
parents cac477dd1f82
children
comparison
equal deleted inserted replaced
59:02d8876dc41d 60:8b5b1bce7d6b
10 10
11 div[bbcode_editor] input[type="file"] { 11 div[bbcode_editor] input[type="file"] {
12 display: none; 12 display: none;
13 } 13 }
14 14
15 div[bbcode_editor] button:hover { 15 div[bbcode_editor] input[type="checkbox"],
16 div[bbcode_editor] button {
16 cursor: pointer; 17 cursor: pointer;
17 } 18 }
18 19
19 div[bbcode_editor] div[buttons] { 20 div[bbcode_editor] div[buttons] {
20 display: flex; 21 display: flex;
22 gap: 4px;
23 align-items: center;
24 }
25 div[bbcode_editor] div[buttons="top"] {
26 margin-bottom: 2px;
27 }
28 div[bbcode_editor] div[buttons="bottom"] {
21 justify-content: flex-end; 29 justify-content: flex-end;
22 gap: 4px;
23 } 30 }
24 div[bbcode_editor] button { 31 div[bbcode_editor] button {
32 padding-top: 2px;
33 }
34 div[bbcode_editor] button:has(img) {
25 border: 0; 35 border: 0;
26 background-color: transparent; 36 background-color: transparent;
27 border-radius: 4px; 37 border-radius: 4px;
28 } 38 }
29 div[bbcode_editor] button:hover { 39 div[bbcode_editor] button input[type="checkbox"] {
40 margin: 0;
41 }
42 div[bbcode_editor] button:has(img):hover {
30 background-color: lightgrey; 43 background-color: lightgrey;
31 } 44 }
32 div[bbcode_editor] button[checked] { 45 div[bbcode_editor] button[checked] {
33 background-color: lightblue; 46 background-color: lightblue;
34 } 47 }