This is a migrated thread and some comments may be shown as answers.

Parent Class for kendo theme scss

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ajit
Top achievements
Rank 1
Ajit asked on 30 May 2020, 12:11 PM

Hi,

 

is there a way to give the kendo-theme-default/scss/all a parent class?

so in Scss you can import the scss files into a class and that becomes the parent class of that entire stylesheet, But when i try to do the same i get error during build of scss file.

for eg.

.parentClass{

@import "bootstrap.scss'

}

will result in all the classes of bootstrap with prefix .parentClass

if i do the same with all.scss i get the following.

SassError: ".parentClass.k-button[disabled]" failed to @extend "%disabled".
       The selector "%disabled" was not found.
       Use "@extend %disabled !optional" if the extend should be able to fail.
        on line 34 of node_modules/@progress/kendo-theme-default/scss/button/_layout.scss
>>                 @extend %disabled;

 

Any Fix for this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 01 Jun 2020, 08:19 AM

Hello Ajit,

I can agree that this is indeed unexpected and we will work to fix it. There is already logged issue in our themes repo:

https://github.com/telerik/kendo-themes/issues/883

You can check the status of the task there.

Best Regards,
Silviya
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Ajit
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or