Skip to content

Username and password on the login page is not visible in Classic theme #3926

@RadekHvizdos

Description

@RadekHvizdos

Describe the bug

When I type a username and password for login to Cacti I don't see typed characters in Classic theme. On some browser/OS combinations the placeholder text for Username and Password is also not visible.

I think a character's color is equal to background color.

This is a similar bug to #3535

To Reproduce

Steps to reproduce the behavior:

  1. Switch to Classic Theme

  2. Logout

  3. Try to login

Expected behavior

I should be able to see the placeholder text and what I am typing into the input fields.

Screenshots

cacti_login

Desktop (please complete the following information)

  • OS: Windows 10

  • Browser: Brave, Firefox, Internet Explorer (yuk!)

  • Version: latest

Smartphone (please complete the following information)

  • OS: Android 10

  • Browser: Brave, Firefox

  • Version: latest

Additional context

I can fix the issue by editing the theme file and adding "color: black" here:

# cat /usr/share/cacti/site/include/themes/classic/main.css.fix
.ui-state-default {
        background: #FFFFFF !important;
        border: none;
        font-weight: normal;
        padding: 2px;
        color: black;
}

But this is probably not the correct solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions