Skip to content

Issue with setting the background-color as completely transparent #14

@arpy8

Description

@arpy8

I am facing problem while setting the sidebar as completely transparent, is there any way to achieve this?

image

Code:

  selected_task = on_hover_tabs(
      tabName=['Homepage', 'Process Data', 'How to Use', 'Learn', 'About Us'],
      iconName=['home', 'engineering', 'info','school', 'contact_support'],
      styles = {
          'navtab': {'background-color':'transparent',
                      'color': '#ffffff',
                      'font-size': '18px',
                      'transition': '.5s',
                      'white-space': 'nowrap',
                      'text-transform': 'uppercase'},
          'tabOptionsStyle': {':hover :hover': {'color': 'red',
                                          'cursor': 'pointer'},
                          'background-color':'transparent !important'
                          },
          'iconStyle':{'background-color':'transparent !important',
                      'position':'fixed',
                      'left':'7.5px',
                      'text-align': 'left'},
          'tabStyle' : {'background-color':'transparent',
                      'list-style-type': 'none',
                      'margin-bottom': '30px',
                      'padding-left': '30px'},
          'navtab' : {
              'background-color':'#0000 !important',
              'color': '#ffffff',
              }
          },
      
      key="1", 
      default_choice=0)

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions