Pe8er / Sidebar.Widget

28 stars 8 forks source link

Issue with transparency? #11

Closed Esgal closed 7 years ago

Esgal commented 7 years ago

I have a couple more widgets on the desktop, mainly trash size and a clock. I have managed to set the other widgets as transparent, but when I add the Sidebar every widget gets a solid black background - do you have any idea on what's going on?

sc0tt13 commented 7 years ago

Same problem here. The background seems to apply to all the widgets, is there some kind of "absolute" trick to get around it (like for the positioning)?

Pe8er commented 7 years ago

Hey guys,

You are on the right track. index.coffee in main widget folder has some CSS which applies to all widgets:

    .widget {
      position: relative;
      background-color: rgba(0,0,0,.2);
      -webkit-backdrop-filter: blur(30px) brightness(80%) contrast(100%) saturate(140%);
      margin-top: 1px;
    }