File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ export default class ZnPanel extends ZincElement {
3535
3636 @property ( { type : Boolean } ) flush : boolean ;
3737
38+ @property ( { type : Boolean } ) transparent : boolean ;
39+
3840
3941 protected firstUpdated ( _changedProperties : PropertyValues ) {
4042 super . firstUpdated ( _changedProperties ) ;
@@ -66,6 +68,7 @@ export default class ZnPanel extends ZincElement {
6668 panel : true ,
6769 'panel--flush' : this . flush || this . tabbed ,
6870 'panel--tabbed' : this . tabbed ,
71+ 'panel--transparent' : this . transparent ,
6972 'panel--has-actions' : hasActionSlot ,
7073 'panel--has-footer' : hasFooterSlot ,
7174 'panel--has-header' : hasHeader ,
Original file line number Diff line number Diff line change 9999 padding : 0 ;
100100 }
101101
102+ & --transparent {
103+ background-color : transparent ;
104+ border : none ;
105+ }
106+
102107 & :not (.panel--flush ) {
103108 ::slotted (zn-sp ) {
104109 --zn-sp-padding : 0 !important
You can’t perform that action at this time.
0 commit comments