/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1750344796
Updated: 2025-06-19 11:53:16

*/
/* Container principal do dropdown de revisões */
.custom-revisions-container {
    position: relative;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Estilo para o estado NORMAL do botão */
div.custom-revisions-container button.revisions-toggle-button {
    background-color: #f7f7f7 !important;
    color: #555 !important;
    border: 1px solid #ccc !important;
    padding: 10px 15px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 3px; 
    transition: background-color 0.2s ease-in-out; /* Transição suave */
}

/* Estilo para quando o MOUSE ESTÁ SOBRE o botão (HOVER) */
div.custom-revisions-container button.revisions-toggle-button:hover {
    background-color: #e9e9e9 !important;
    color: #333 !important;
}

/* Estilo para quando o BOTÃO ESTÁ SELECIONADO (FOCUS) */
div.custom-revisions-container button.revisions-toggle-button:focus {
    background-color: #e9e9e9 !important;
    color: #333 !important;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.4) !important; /* Adiciona um brilho de foco, similar ao padrão do WordPress */
    outline: none !important; /* Remove a borda de foco padrão do navegador */
}
/* --- FIM DA CORREÇÃO --- */

.revisions-arrow {
    transition: transform 0.3s ease;
}

.custom-revisions-container.active .revisions-arrow {
    transform: rotate(180deg);
}

/* REGRA PADRÃO (ESCONDIDO) */
.custom-revisions-container .revisions-dropdown-content {
    display: none;
    padding: 10px;
    background-color: white;
    border-top: 1px solid #ddd;
}

/* REGRA QUANDO ATIVO (VISÍVEL) */
.custom-revisions-container.active .revisions-dropdown-content {
    display: block;
}

/* Estilos para a lista interna */
.custom-revisions-container .bbp-topic-revision-log {
    list-style: none; padding: 0; margin: 0; background: none; border: none;
}
.custom-revisions-container .bbp-topic-revision-log-item {
    padding: 7px 7px; margin: 0; border: none; border-bottom: 1px solid #eee; line-height: 1.5; font-size: 14px; color: #333;
}
.custom-revisions-container .bbp-topic-revision-log-item:last-child {
    border-bottom: none;
}
.custom-revisions-container .bbp-topic-revision-log-item a {
    text-decoration: none; color: #0073aa;
}
.custom-revisions-container .bbp-topic-revision-log-item a:hover {
    text-decoration: underline;
}

