Mercurial Hosting > freedit
comparison src/bbcode/bbcode.css @ 51:78b2d6995244
add preview
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Tue, 22 Nov 2022 22:57:43 -0700 |
| parents | 0d99cec5142c |
| children | 9f8ebc757814 |
comparison
equal
deleted
inserted
replaced
| 50:0d99cec5142c | 51:78b2d6995244 |
|---|---|
| 18 | 18 |
| 19 div[bbcode_editor] div[buttons] { | 19 div[bbcode_editor] div[buttons] { |
| 20 display: flex; | 20 display: flex; |
| 21 justify-content: flex-end; | 21 justify-content: flex-end; |
| 22 } | 22 } |
| 23 div[bbcode_editor] div[buttons] button { | 23 div[bbcode_editor] button { |
| 24 border: 0; | 24 border: 0; |
| 25 background-color: transparent; | 25 background-color: transparent; |
| 26 border-radius: 4px; | 26 border-radius: 4px; |
| 27 } | 27 } |
| 28 div[bbcode_editor] div[buttons] button:hover { | 28 div[bbcode_editor] button:hover { |
| 29 background-color: lightgrey; | 29 background-color: lightgrey; |
| 30 } | 30 } |
| 31 div[bbcode_editor] div[buttons] button[checked] { | 31 div[bbcode_editor] button[checked] { |
| 32 background-color: lightblue; | 32 background-color: lightblue; |
| 33 } | |
| 34 div[bbcode_editor] button:disabled { | |
| 35 cursor: not-allowed; | |
| 36 background-color: initial; | |
| 37 opacity: 0.3; | |
| 33 } | 38 } |
| 34 div[bbcode_editor] div[buttons] img { | 39 div[bbcode_editor] div[buttons] img { |
| 35 height: 24px; | 40 height: 24px; |
| 41 } | |
| 42 div[bbcode_editor] div[preview] { | |
| 43 display: none; | |
| 44 border: solid #888888; | |
| 45 padding: 7px; | |
| 46 margin-bottom: 4px; | |
| 36 } | 47 } |
| 37 | 48 |
| 38 | 49 |
| 39 div[from_bbcode] { | 50 div[from_bbcode] { |
| 40 white-space: pre-wrap; | 51 white-space: pre-wrap; |
