protected override void GenerateBreadcrumbStyles(StringBuilder sb, Theme theme, ThemeBreadcrumbOptions options)
        {
            sb.Append(".breadcrumb").Append("{")
            .Append($"border-radius: {GetBorderRadius( theme, options?.BorderRadius, Var( ThemeVariables.BorderRadius ) )};")
            .AppendLine("}");


            if (!string.IsNullOrEmpty(Var(ThemeVariables.BreadcrumbColor)))
            {
                sb.Append(".breadcrumb-item>a").Append("{")
                .Append($"color: {Var( ThemeVariables.BreadcrumbColor )};")
                .AppendLine("}");
            }
        }
 protected override void GenerateBreadcrumbStyles(StringBuilder sb, Theme theme, ThemeBreadcrumbOptions options)
 {
     if (!string.IsNullOrEmpty(theme.ColorOptions?.Primary))
     {
         sb.Append($".breadcrumb a").Append("{")
         .Append($"color: {Var( ThemeVariables.Color( "primary" ) )};")
         .AppendLine("}");
     }
 }
Exemplo n.º 3
0
        protected override void GenerateBreadcrumbStyles(StringBuilder sb, Theme theme, ThemeBreadcrumbOptions options)
        {
            sb.Append($".e-breadcrumb").Append("{")
            .Append($"border-radius: {GetBorderRadius( theme, options?.BorderRadius )};")
            .AppendLine("}");

            //sb.Append( $".breadcrumb a" ).Append( "{" )
            //    .Append( $"color: {Var( "--b-theme-primary" )};" )
            //    .AppendLine( "}" );
        }
Exemplo n.º 4
0
        protected override void GenerateBreadcrumbStyles(StringBuilder sb, Theme theme, ThemeBreadcrumbOptions options)
        {
            sb.Append($".breadcrumb").Append("{")
            .Append($"border-radius: {GetBorderRadius( theme, options?.BorderRadius )};")
            .AppendLine("}");


            if (!string.IsNullOrEmpty(theme.ColorOptions?.Primary))
            {
                sb.Append($".breadcrumb-item>a").Append("{")
                .Append($"color: {theme.ColorOptions.Primary};")
                .AppendLine("}");
            }
        }
Exemplo n.º 5
0
 protected override void GenerateBreadcrumbStyles(StringBuilder sb, Theme theme, ThemeBreadcrumbOptions options)
 {
     throw new System.NotImplementedException();
 }