view src/bbcode/bbcode.css @ 57:169ac5fdb320

add change email
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 28 Nov 2022 23:47:19 -0700
parents cac477dd1f82
children 8b5b1bce7d6b
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;
}
div[from_bbcode] img {
	max-width: 100%;
}
div[from_bbcode] iframe {
	max-width: 100%;
}