Direct CSS Support #490
|
Allow adding custom CSS styles to the sidebar, there would be a lot of possibilities, thanks. |
Replies: 18 comments 2 replies
|
Hi @pizzapi2012, |
sorry I missed it. |
but what is the selectors? |
for css |
|
I don't understand, what do you mean? |
|
like |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
It depends on the element that you want to select, you would need to inspect the DOM, check the styles applied to those elements and write a selector with more specificity to override it. Without knowing what you want to select or what you want to style I cannot recommend you any selector 🙂 |
|
ok |
|
how would I put color: #fff;
background-color: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
box-shadow: 0 8px 25px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
border: 1px solid rgba(255,255,255,0.15);
overflow: hidden;styling into the sidebar? @elchininet |
Where do you want to put those styles? in which element? The sidebar has multiple elements, each element with other elements inside. |
|
the whole thing basically |
What do you mean with "the whole thing"? Do you mean the sidebar? |
yes the whole sidebar |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
You need to be aware that :host {
color: #fff;
background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05)) !important;
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
box-shadow: 0 8px 25px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
border: 1px solid rgba(255,255,255,0.15);
overflow: hidden !important;
}And please, do not tag me multiple times nor write different messages, you can edit a message if you want to add more things. |
ok |
.liquid-glass {
width: 280px;
height: 160px;
padding: 20px;
background: rgba(255, 255, 255, 0.01);
backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
box-shadow: 0 12px 48px rgba(31, 38, 135, 0.154);
background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%);
transition: none;
cursor: default;
}to the sidebar (with the sidebar being transparent) |
Hi @pizzapi2012,
Did you consult all the styling options? (specially the
stylesone)