Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #113685
    edwardsmarkff
    Participant

    hi – i “discovered” the grid cell comment option which works MUCH BETTER than trying to use smart-tooltips in the grid.

    what is the best way to style the comments?    i have tried the following:

    div.secondary.smart-grid-tooltip {  /* this does not work in css but it does indeed work in the console */
    . . height : 100px ;
    . . width : 100px ;
    }
    div.secondary.smart-grid-tooltip textarea { /* this works fine! */
    . . opacity : 0.50 ;
    }

     

    #113690
    admin
    Keymaster

    Hi,

    .smart-grid-tooltip is the CSS class for the Grid comments. It uses the –smart-surface and –smart-surface-color CSS variables i.e to apply a custom style you need to define the CSS class in your code and add new values to these properties.

    Best regards,
    Markov

    #113726
    edwardsmarkff
    Participant

    this has been difficult for me, so i wanted to show what i have done so far.

    i wanted the tooltip box to PARTIALLY show what was underneath (hidden); otherwise a user might not see this is a tooltip and they need to hover away to close it.

    here is what i have done so far:

    div.secondary.smart-grid-tooltip        {
            background-color        :       transparent                             ;
            --smart-surface         :       rgba(107, 90, 90,  0.8)                 ;
            color                   :       black                   !important      ;
            width                   :       110px                   !important      ;       
    }
    div.secondary.smart-grid-tooltip > textarea     {
            font-size               :       20px                    ;
    }

    please let me know if any more of this should be done with the double-dash css variables instead of using “important!”.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.