Topic Preview

Started by PS4DEV, April 22, 2011, 03:55:29 PM

Previous topic - Next topic

PS4DEV

Hello,
can i preview a topic, if the mouse is on the topic-link ?
It should have of course a good design ^^

IchBin™

IchBin™        TinyPortal

PS4DEV

ok, that works , but how can i change the layout of this mod ?
I am talking here not from the color design options , that are involved in this mod.

I want to get rounded corners :)
I already know the code for rounded corners, but I don´t know , where to hook/inject the code ???

NanoSector

Quote from: PS4DEV on April 23, 2011, 02:46:23 PM
ok, that works , but how can i change the layout of this mod ?
I am talking here not from the color design options , that are involved in this mod.

I want to get rounded corners :)
I already know the code for rounded corners, but I don´t know , where to hook/inject the code ???
* Yoshi2889 thinks PS4DEV means "border-radius"

Take a look at what CSS the mod adds and add the "border-radius:XXpx" code into it :)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

PS4DEV

* PS4DEV thinks the mod doesn´t write into a .css file ;)

I had a closer look at the intallation file, and it doesn´t seem to write into css

NanoSector

Quote from: PS4DEV on April 23, 2011, 03:12:21 PM
* PS4DEV thinks the mod doesn´t write into a .css file ;)

I had a closer look at the intallation file, and it doesn´t seem to write into css
Lemme parse it, I'll post some stuff later on :P
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

NanoSector

In Subs.php, find:

<style type="text/css">
.nice_tooltip_fgclass { text-align: left;
background-color: ' . $modSettings['NiceTooltips_FGCOLOR'] . '; opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . '; }
.nice_tooltip_bgclass {
background-color: ' . $modSettings['NiceTooltips_BGCOLOR'] . ';
opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . ';
}
</style>


And tweak it.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

PS4DEV

Thanks , it worked.
One more question, would it be possible to set the displayed text into a picture ?

Maybe into this picture ?

NanoSector

Quote from: PS4DEV on April 23, 2011, 03:54:04 PM
Thanks , it worked.
One more question, would it be possible to set the displayed text into a picture ?

Maybe into this picture ?
Find:
background-color: ' . $modSettings['NiceTooltips_FGCOLOR'] . ';

Replace:
background:url(\'url_to_the_picture\');
Do the same for the BGCOLOR (this was FGCOLOR).
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

PS4DEV

That doesn´t work correctly :(
the picture is out of the box , nothing is in the right position ?

Can give a example code ?

NanoSector

Quote from: PS4DEV on April 23, 2011, 04:43:36 PM
That doesn´t work correctly :(
the picture is out of the box , nothing is in the right position ?

Can give a example code ?
use margin-top, margin-bottom, margin-left and margin-right to position it correctly :)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

PS4DEV

that doesn´t work for me either  :o
i´m screwed ...

ARG01

Maybe it's the theme that you are using? Karma?
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

Advertisement: