view 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
line wrap: on
line source

div[bbcode_editor] * {
 	box-sizing: border-box;
}
div[bbcode_editor] textarea {
	font: inherit;
	padding: 7px;
	border-color: #DDDDDD;
	width: 100%;
}

div[bbcode_editor] input[type="file"] {
	display: none;
}

div[bbcode_editor] button:hover {
	cursor: pointer;
}

div[bbcode_editor] div[buttons] {
	display: flex;
	justify-content: flex-end;
}
div[bbcode_editor] div[buttons] button {
	border: 0;
	background-color: transparent;
	border-radius: 4px;
}
div[bbcode_editor] div[buttons] button:hover {
	background-color: lightgrey;
}
div[bbcode_editor] div[buttons] button[checked] {
	background-color: lightblue;
}
div[bbcode_editor] div[buttons] img {
	height: 24px;
}


div[from_bbcode] {
	white-space: pre-wrap;
	line-height: 1.4;
}
div[from_bbcode] code {
	display: block;
	background-color: #EEE;
	padding: 7px;
}
div[from_bbcode] code[inline] {
	display: initial;
	padding: 1px;
}