Data/hora atual: 27.04.24 13:01

3 resultados encontrados para F4F9FD

Mensagem de agradecimento no tópico

Olá @Chris Gayle,

O código em cima é funcional, mas é necessário alterar a "cor do fundo da postagem agradecida" #f4f9fd para a sua #ffffff ficando:
Código:
(function($) {
    'use strict';
    $(function() {
        if (!$('.post[style="background-color:#ffffff;"]').length) return;
        $('.post[style="background-color:#ffffff;"]').prepend('<div id="melhor_reply_fdf" class="profile_user">Melhor Resposta<i class="fa fa-check"></i></div>');
        var reply_author_name = $('.post #melhor_reply_fdf').parents('.post').find('.postprofile strong').html();
        var topicavatar = $('.post #melhor_reply_fdf').parents('.post').find('.postprofile .cadre_avatar').html();
        var topicpost = $('.post #melhor_reply_fdf').parents('.post').find('.topic-title a').attr('href');
        var bestcontent = $('.post #melhor_reply_fdf').parents('.post').find('.content.clearfix div').html();
        $('#melhor_reply_fdf').parents('.post').find('.inner').css("border-top", "0px");
        if ($('#melhor_reply_fdf').length) {
            $('.page-title').before('<div class="navigation"><div class="title" style="text-align: center;">Melhor resposta</div></div><table id="bestfdf"><tr><td width="5%"><span id="melhorimg">' + topicavatar + '</span></td><td>O autor do tópico marcou a resposta de ' + reply_author_name + ' como <strong>melhor resposta</strong>!<br />Caso não seja a melhor resposta, use o sistema de busca para obter ajuda necessária ou crie um novo tópico!<br /><br /><a class="links" href="' + topicpost + '">Ir para a resposta</a><a id="bestpreview" class="links">Ver resposta</a></td><td width="5%"><i class="fa fa-check" style="font-size: 2.5em; border-radius: 50%; color: white; background: #7abf56; padding: 6px;"></i></td></tr></table><div id="reply" style="display:none">' + bestcontent + '</div>')
        }
        $('#bestpreview').click(function() {
            if ($("#reply").attr("style").indexOf("none") > 0) {
                $(this).text("Ocultar resposta").css("background", "red");
                $('#reply').slideDown(450)
            } else {
                $(this).text("Ver resposta").css("background", "#7abf56");
                $('#reply').slideUp(450)
            }
        });
        $("head").append('<style>div#melhor_reply_fdf {background: #7abf56;color: white;padding: 9px;font-size: 13px;}#melhor_reply_fdf i.fa.fa-check { float: right; background: #ffffff; padding: 3px; margin: -2px; border-radius: 50%; color: #7abf56; }#bestfdf { font-size: 11px; width:100%; background: white; box-shadow: 0 1px 6px rgba(0,0,0,0.06); } #bestfdf td { padding: 10px; } span#melhorimg img { border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.3), 0 0 1px rgba(0,0,0,.3); display: block; height: 50px; width: 50px; } #reply {background: white; padding: 2em; border-top: 1px solid #efefef;}#bestfdf a.links { background: #7abf56; color: white; padding: 4px; border-radius: 6px; margin: 3px; cursor: pointer;}</style>')
    })
})(jQuery);



Atenciosamente,
pedxz.
por tikky
em 29.12.20 23:21
 
Procurar em: Questões resolvidas sobre códigos Javascript e jQuery
Tópico: Mensagem de agradecimento no tópico
Respostas: 24
Vistos: 1238

Remover imagem de fundo dos botões da resposta rápida

Folha de CSS:


@Mshas ai está espero que possa me ajudar
por Rafusqui_
em 29.08.15 22:31
 
Procurar em: Questões resolvidas sobre a aparência do fórum
Tópico: Remover imagem de fundo dos botões da resposta rápida
Respostas: 11
Vistos: 11647

Problema com SCEDITOR

Detalhes da questão


Endereço do fórum: http://pokemonchampionxnew.forum-livre.com
Versão do fórum: PunBB

Descrição


Estou com alguns problemas nos tópicos, pois a resposta rápida esta com alguns bugs, no Firefox, Internet Explore, Microsoft Edge seu menu não aparece, no Google Chrome quando se aperta pre-visualizar a menu fica cortado, e também em todos os navegadores, quando se aperta pre-visualiza a parte de baixo do forum vai para em cima da caixa mensagem.

Firefox, Internet Explore, Edge, etc.:

Chrome:

Oque esta dando em todos os navegadores:


Meu CSS:
por Dudu>,>
em 17.08.15 19:30
 
Procurar em: Questões resolvidas sobre a aparência do fórum
Tópico: Problema com SCEDITOR
Respostas: 5
Vistos: 10747

Ir para o topo

Ir para: