Jump to content

easegura777

uniGUI Subscriber
  • Posts

    102
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by easegura777

  1. 4 minutes ago, Sherzod said:

     

    Test this solution, but not found
    
    function chart.beforeInit(sender, config)
    {
        config.series[0].tooltip = {
            trackMouse: true,
            width: 120,
            renderer: function(tip, item) {
                tip.setTitle(item.get('LL'));
                tip.update('Значение: ' + item.get('A'));
            }
        }
        
       config.series[1].tooltip = {
            trackMouse: true,
            width: 120,
            renderer: function(tip, item) {
                tip.setTitle(item.get('LL'));
                tip.update('Значение: ' + item.get('B'));
            }
        }  
    }
  2. 9 hours ago, Sherzod said:

    I offered you this sequence:

     

    UnimButton ->

     

    1. UI  = 'plain'

     

    2. ClientEvents -> UniEvents -> beforeInit:

    
    function beforeInit(sender, config)
    {
        config.userCls='my-button';
    }

    3. UniServerModule->CustomCSS:

    
    .my-button {
      background-color: orange;
    }
    
    .my-button:hover {
      background-color: #ff8c00;
    }
    
    .my-button.x-pressing {
      background-color: #ee7600;
    }

    Excelent!! it worked !!, thanks!!

  3. 7 hours ago, Sherzod said:

    No pude reproducirme.

     

     

    CSS

    .x-button
    {
      width:120px;
        color:green; !important;
        height:30px;
        background-color: green; !important; 
        border: 5px solid #1E90FF; /* borda branca em volta */
        margin: auto; /* centraliza com bordas automáticas nas laterais */
        text-align: center; /* centraliza o texto */
        font-family: Source Sans Pro; /* fonte */
        font-size: 16px;  /* tamanho da fonte */
        color: green; /* cor fonte */ 

        border: 1px solid #ccc;
        border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
        border-color: #e6e6e6 #e6e6e6 #bfbfbf;
        border-bottom-color: #b3b3b3;
        border-radius: 4px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
    }                      
     

    With theme triton

     

    image.png.2b20e116d7aa0bb49178bd3b076df6d3.png

     

    with theme material

     

    image.png.ced04258ff7061483e914ff6fead2be5.png

     

×
×
  • Create New...