Not Solved Cerulean select issues
#4
Not Solved
(2019-07-30, 10:36 AM)Løque Wrote: The theme in general is great, that's why I'm installed it on my forum!
How can I make these elements like the default theme? Smile

I found this also, always for select element:
[Image: screenshot-20.png]
[Image: screenshot-21.png]

I assume what you mean is this:

[Image: Post-Reply-to-testing.png]

Aah yes, I see what you are saying, yes the select is still there if you click the area it displays, but yes, you are correct, that needs fixing to display before click..., thank you for pointing that out:

In  jscripts/sceditor/themes/buttons-dark.css

Find:
div.sceditor-dropdown select {
  background-color: #000;
  color: #aaa;
}


Replace with:
div.sceditor-dropdown select {
  background-color: #000;
  color: #aaa;
  opacity: 9 !important;
}

now your theme to use the dark-buttons editor again...


oh something else I just noticed could use some changes to it:

Again in  jscripts/sceditor/themes/buttons-dark.css

Find:

.sceditor-button div {
  margin: 2px 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  color: transparent;
}

change to:

.sceditor-button div {
  margin: -14px 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  color: transparent;
}

Find:
.ie6 .sceditor-button div {
  margin: 5px;
}
.ie7 .sceditor-button div {
  margin: 5px 0;
}

Change to:
.ie6 .sceditor-button div {
  margin: -17px;
}
.ie7 .sceditor-button div {
  margin: -17px 0;
}

In cerulean templates fine ungrouped templates > codebuttons

replace with:

<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/{$theme['editortheme']}" type="text/css" media="all" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1821"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js?ver=1821"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/plugins/undo.js?ver=1821"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/icons/monocons.js?ver=1821"></script>
<script type="text/javascript">
var partialmode = {$mybb->settings['partialmode']},
opt_editor = {
	plugins: "undo",
	format: "bbcode",
    icons: "monocons",	
	bbcodeTrim: true,
	style: "{$mybb->asset_url}/jscripts/sceditor/styles/jquery.sceditor.{$theme['editortheme']}?ver=1821",
	rtl: {$lang->settings['rtl']},
	locale: "mybblang",
	width: "100%",
	enablePasteFiltering: true,
	autoUpdate: true,
	emoticonsEnabled: {$emoticons_enabled},
	emoticons: {
		// Emoticons to be included in the dropdown
		dropdown: {
			{$dropdownsmilies}
		},
		// Emoticons to be included in the more section
		more: {
			{$moresmilies}
		},
		// Emoticons that are not shown in the dropdown but will still be converted. Can be used for things like aliases
		hidden: {
			{$hiddensmilies}
		}
	},
	emoticonsCompat: true,
	toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote|maximize,source",
};
{$editor_language}
$(function() {
	$("#{$bind}").sceditor(opt_editor);

	MyBBEditor = $("#{$bind}").sceditor("instance");
	{$sourcemode}
});
</script>


*** if this seems complicated you can simply download https://community.mybb.com/mods.php?acti...5&bid=4038 with the aforementioned changes applied.



On your previous question: I assume what you are desiring is like so?

[Image: Forums-My-Forum.png]

if so, that is fairly easy to do but will not be part of the released theme and can be done diy specific to your usage by say modifying the selectwrapper removing existing width, say setting min width and display for example inline flex or whatever suites your famcy
Reply


Messages In This Thread
Cerulean select issues - by Løque - 2019-07-29, 11:16 AM
RE: Cerulean select issues - by User 6029 - 2019-07-30, 06:13 AM
RE: Cerulean select issues - by Løque - 2019-07-30, 10:36 AM
RE: Cerulean select issues - by User 6029 - 2019-07-30, 04:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)