Window border styling via css has no effect - no border shows at all - I don't need help, just reporting. Tried it on Edge, Chrome and Firefox
.MyClass { /* targets the entire popup element */
Microsoft Visual Studio Community 2019 Version 16.9.2
border: 5px solid red; }
ProgressĀ® TelerikĀ® UI for Blazor Extension - 2021.1.218.1
.NET Framework 4.8.04084
It has been a few weeks since we have had any new information on this and it looks like it is resolved. Thus, I am marking this one as "Declined" because it does not look to be a bug in the component but an app configuration issue.
Regards,
Marin Bratanov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi Guy,
This seems to work for me and my best guess is that the order of the CSS rules in your app is different - the custom rules come before built-in rules from our Themes. If this is the case you need to simply make the selectors a little heavier.
I am attaching here a short video that shows how the snippet from the docs works as expected for me, and I am adding here an example with heavier selectors for you to try.
If this does not help you move forward, please share with me a simple runnable example that shows the problem so I can investigate.
<TelerikWindow Class="MyClass" Visible="true">
<WindowTitle>
<strong>The Title</strong>
</WindowTitle>
<WindowContent>
This is my window <strong>popup</strong> content.
</WindowContent>
</TelerikWindow>
<style>
div.k-window.MyClass { /* targets the entire popup element */
border: 5px solid red;
}
div.k-window.MyClass .k-window-content { /* targets the content element */
background: yellow;
}
div.k-window.MyClass .k-window-title { /* targets the title container */
color: blue;
}
div.k-window.MyClass .k-window-titlebar { /* targets the entire titlebar */
background: gold;
}
</style>
Regards,
Marin Bratanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.