view src/bbcode/bbcode.css @ 52:9f8ebc757814

add convert urls
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 23 Nov 2022 23:29:16 -0700
parents 78b2d6995244
children cac477dd1f82
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;
	gap: 4px;
}
div[bbcode_editor] button {
	border: 0;
	background-color: transparent;
	border-radius: 4px;
}
div[bbcode_editor] button:hover {
	background-color: lightgrey;
}
div[bbcode_editor] button[checked] {
	background-color: lightblue;
}
div[bbcode_editor] button:disabled {
	cursor: not-allowed;
	background-color: initial;
	opacity: 0.3;
}
div[bbcode_editor] div[buttons] img {
	height: 24px;
}
div[bbcode_editor] div[preview] {
	display: none;
	border: solid #888888;
	padding: 7px;
	margin-bottom: 4px;
}


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;
}