News:

Wondering if this will always be free?  See why free is better.

Main Menu

Quick Spoiler

Started by Bugo, October 13, 2011, 09:51:33 AM

Previous topic - Next topic

grandseb59

yes I have lunarfall as a theme
so what should I add and where?
I don't know what glyphs are

Speed King

Maybe you need to ask the theme's author in related support topic:

https://www.simplemachines.org/community/index.php?topic=561934.0

Bugo

Quote from: grandseb59 on December 11, 2022, 03:26:28 PMyes I have lunarfall as a theme
so what should I add and where?
I don't know what glyphs are
https://www.simplemachines.org/community/index.php?msg=4126242

Use this code for example:
.fa-spoiler:before {
    content:"\f185";
}

You can see Unicodes at the fontawesome site.

grandseb59

thanks a lot bugo.
it's ok the code works fine and I put the letter "S" inside the space.

.fa-spoiler:before {
    content:"\53";
}

FragaCampos

Portuguese_pt-utf8 translation

<?php

$txt
['quick_spoiler'] = 'Spoiler';
$txt['qs_title'] = 'Título padrão da tag';
$txt['qs_settings'] = 'Configurações de spoiler';
$txt['qs_no_spoiler_sorry'] = 'Lamentamos, mas não tem permissão para ver o conteúdo do spoiler.';
$txt['groups_view_spoiler'] = 'Grupos que podem ver o conteúdo de spoilers';

$txt['qs_footer']  = '[fechar]';
$txt['qs_bgcolor'] = 'Cor do spoiler';
$txt['qs_colors']  = array(
'default'   => 'Padrão',
'green'     => 'Verde',
'red'       => 'Vermelho',
'blue'      => 'Azul',
'yellow'    => 'Amarelo',
'orange'    => 'Cor de laranja',
'brown'     => 'Castanho',
'purple'    => 'Roxo',
'cyan'      => 'Azul claro',
'lime'      => 'Verde lima',
'steelblue' => 'Azul aço'
);

$txt['permissionname_view_spoiler'] = $txt['group_perms_name_view_spoiler'] = $txt['groups_view_spoiler'];
$txt['permissionhelp_view_spoiler'] = 'Utilizadores podem ver informação escondida pelos spoilers.';

User2

I would like to remove the bold from the spoiler title so that the spoiler does not stand out among other text.

Bugo

See /Themes/default/css/quick_spoiler.css

User2

Bugo, what exactly needs to be changed? I'm just a user, not a web programmer.

And is it possible to add settings to the user interface so that the administrator can change the appearance of the spoiler using the user interface, rather than making changes to the forum code.

Bugo

Well, if you are just a user, then you should know about Ctrl-C/Ctrl-V/Ctrl-F? Open Themes/default/css/quick_spoiler.css, press Ctrl-F and find "font-weight: bold;" line and remove it. Save the file.

If you want to learn how to find and change any interface elements on your forum pages, then read about Developer Tools, and then press F12 key in your browser.

About the new settings - I'll think about it.

Advertisement: