Plugin Directory


Ignore:
Timestamp:
02/11/2026 03:00:04 PM (6 weeks ago)
Author:
bastho
Message:

Merge branch 'chatbot-title-and-icon' into 'main'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • faqtastic/trunk/src/chatbot/chatbot.scss

    r3443351 r3459058  
    144144    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    145145    transition: transform 0.2s ease, background 0.2s ease;
     146    display: flex;
     147    align-items: center;
     148    justify-content: center;
    146149    &:hover {
    147150        transform: scale(1.05);
    148151    }
    149152}
     153
     154// Custom SVG icon styles
     155.faqtastic-chatbot-custom-icon {
     156    display: flex;
     157    align-items: center;
     158    justify-content: center;
     159    width: 24px;
     160    height: 24px;
     161   
     162    svg {
     163        width: 100%;
     164        height: 100%;
     165        fill: currentColor;
     166    }
     167}
     168
     169// Custom Image icon styles
     170.faqtastic-chatbot-custom-image {
     171    width: 24px;
     172    height: 24px;
     173    object-fit: contain;
     174    border-radius: 0;
     175}
     176
    150177.faqtastic-chatbot-wrapper[data-position="relative"] .faqtastic-chatbot-toggle {
    151178    margin-top: 0.5rem;
     
    203230}
    204231
     232.faqtastic-chatbot-header-text {
     233    display: flex;
     234    flex-direction: column;
     235    gap: 2px;
     236}
     237
     238.faqtastic-chatbot-title {
     239    font-weight: bold;
     240    line-height: 1.2;
     241}
     242
     243.faqtastic-chatbot-subtitle {
     244    font-size: 0.75em;
     245    font-weight: normal;
     246    opacity: 0.85;
     247    line-height: 1.2;
     248}
     249
    205250.faqtastic-close-btn {
    206251    background: none;
Note: See TracChangeset for help on using the changeset viewer.