1 Reply Latest reply on Oct 24, 2014 4:07 AM by resdesign

    apply webkit on stage

    spout4fun Level 1

      Hello, I am trying to modify the scrollbar design using webkit

      In CreationComplete I wrote :

       

      sym.$("Stage").css("-webkit-scrollbar { width: 12px; }, -webkit-scrollbar-track { background-color: #eaeaea; border-left: 1px solid #ccc; }, -webkit-scrollbar-thumb { background-color: #ccc; }, -webkit-scrollbar-thumb:hover { background-color: #aaa; }");

       

      I had tried to put that in the html file previously but it doesn't seems to work also

       

      <style>

              .edgeLoad-EDGE-XXXXX {

                  visibility:hidden;

                  -webkit-scrollbar { width: 12px; } 

                  -webkit-scrollbar-track { background-color: #eaeaea; border-left: 1px solid #ccc; } 

                  -webkit-scrollbar-thumb { background-color: #ccc; } 

                  -webkit-scrollbar-thumb:hover { background-color: #aaa; }

      </style>

       

      is someone have a solution or an idea ?

       

      thanks a lot