Alexandre de Souza Posted March 14 Share Posted March 14 /* 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; } Quote Link to comment Share on other sites More sharing options...
Alexandre de Souza Posted March 14 Author Share Posted March 14 up Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 14 Share Posted March 14 Hello, Can you please specify first which edition and build of uniGUI are you using? Quote Link to comment Share on other sites More sharing options...
Alexandre de Souza Posted March 15 Author Share Posted March 15 uni-1.95.0.1580 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 15 Share Posted March 15 3 minutes ago, Alexandre de Souza said: uni-1.95.0.1580 Not trial? Quote Link to comment Share on other sites More sharing options...
Alexandre de Souza Posted March 15 Author Share Posted March 15 I already filled out what you ordered. It's not a trial, can you help me with this problem? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 15 Share Posted March 15 Thanks for the update. Please clarify your question again. What does the component look like by default and what needs to be changed? 1 Quote Link to comment Share on other sites More sharing options...
Alexandre de Souza Posted March 15 Author Share Posted March 15 I want the .x-treelist-item-icon and .x-treelist-item-text to be white when they are selected in the Treelist, not only on hover but also on focus and selected or active Quote Link to comment Share on other sites More sharing options...
Alexandre de Souza Posted March 15 Author Share Posted March 15 When I select an item in the treelist the background changes color but the text does not remain white Quote Link to comment Share on other sites More sharing options...
Alexandre de Souza Posted March 18 Author Share Posted March 18 up Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 18 Share Posted March 18 5 minutes ago, Alexandre de Souza said: up Sorry, but I didn't really understand your request. Quote Link to comment Share on other sites More sharing options...
Alexandre de Souza Posted March 19 Author Share Posted March 19 When you place the mouse over an item in the treelist, it changes the color, right? I would like to know how to change the color when the item in the treelist is selected. If you have any solution I would be most grateful Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.