Index: openacs-4/packages/acs-templating/tcl/style-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/style-procs.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-templating/tcl/style-procs.tcl 29 Oct 2024 15:27:13 -0000 1.8 +++ openacs-4/packages/acs-templating/tcl/style-procs.tcl 30 Oct 2024 15:32:05 -0000 1.9 @@ -24,7 +24,7 @@ set toolkit bootstrap5 } elseif {[string match *bootstrap3* $theme]} { set toolkit bootstrap - } elseif {[string match *w3css-theme* $theme]} { + } elseif {[string match *w3css* $theme]} { set toolkit w3css } } @@ -70,6 +70,11 @@ margin-form "" text-warning text-warn } + dict set :cssClasses yui { + card portlet-wrapper + card-body portlet + card-header portlet-header + } dict set :cssClasses default { btn-default "" margin-form margin-form @@ -309,6 +314,7 @@ ns_log warning "template::CSS: no class mapping for" \ "toolkit $toolkit provided (should be in theme definition)" } + if {[dict exists ${:cssClasses} $toolkit $name]} { return [dict get ${:cssClasses} $toolkit $name] } else {