Jump to content

Keep the color of x-treelist-row-over when the "x-treelist-row-focus" item is active. I need the item color to remain white when selected. Como faço?


Recommended Posts

/* treelist */
.x-treelist-nav .x-treelist-row {
    padding-left: 30px;
    padding-right: 0;
}


.x-btn-icon-left > .x-btn-icon-el-default-medium, .x-btn-icon-right > .x-btn-icon-el-default-medium {
    width: 34px;
    color: white;
}

.x-treelist-nav .x-treelist-item-icon, .x-treelist-nav .x-treelist-item-tool {
    color: #383838;
    font-size: 24px;
    width: 24px;
}

.x-treelist-nav {                      /* Aqui ira determina a COR DE Fundo do menu */
    background-color: #f8f8fa !important;/* 
    padding-left: 30px;
    padding-right: 0;
    borde:none ;
    overflow: auto !important;
    scrollbar-width: thin;             /*estilo do scrool para o mozilla  */
    scrollbar-color: #adb3b8 #516579;  /*estilo do scrool para o mozilla  */
}

.x-treelist-nav::-webkit-scrollbar {width: 7px; height:7px; 
background:#516579;}
.x-treelist-nav::-webkit-scrollbar-track {background: rgba(0,0,0,0.1);}
.x-treelist-nav::-webkit-scrollbar-thumb {border-radius: 7px; height:7px; 
background:#adb3b8;}

 .x-treelist-nav .x-treelist-item-text {
  /* menu lado Esquerdo */
  color: #383838;     /* cor da letra do menu */
  margin-left: 40px;  /* 27 espaçamento da esquerda para direita dos Itens do menu */
  margin-right: 40px; /* espaçamento da esquerda para direita dos Grupos do menu */
  font-size: 20px;    /* tamanho das letras */
  line-height: 48px;  /* altura da linha do menu */
}

.x-treelist-nav .x-treelist-item-icon:before, .x-treelist-nav .x-treelist-item-tool:before, .x-treelist-nav .x-treelist-item-expander {
    line-height: 48px;   /* 44 é o padrao */

}
.x-treelist-nav .x-treelist-item-selected  >  .x-treelist-row  {
    background: linear-gradient(90deg, rgba(1,87,255,1) 0%, rgba(160,90,255,1) 100%) !important;
    color: #fff;
}
.x-treelist-nav .x-treelist-row-over {
    background: linear-gradient(90deg, rgba(1,87,255,1) 0%, rgba(160,90,255,1) 100%) !important;
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...