Hi,
Not sure why I can’t get white border for tab called ‘Graphs’. Help much appreciated.
type: vertical-stack
cards:
- type: markdown
content: "{{ states('sensor.lexmark_mc3224i_modelno') }}"
card_mod:
style: |
ha-card {
border: none;
border-bottom: none;
box-shadow: none;
border-radius: 10px 10px 0px 0px;
background: transparent;
font-size: 15px;
text-align: center;
padding: 5px;
margin-bottom: 0px;
}
- type: custom:tabbed-card
tabs:
- attributes:
label: Stats
card:
type: vertical-stack
cards:
- type: entities
entities:
- entity: sensor.lexmark_mc3224i
name: Status
- entity: sensor.lexmark_mc3224i_uptime
name: Uptime
- entity: sensor.lexmark_mc3224i_serialno
name: Serial Number
- entity: sensor.lexmark_mc3224i_bwpagesprinted
name: Total B/W Pages Printed
- entity: sensor.lexmark_mc3224i_firmwarever
name: Firmware Version
card_mod:
style: |
ha-card {
border: 2px solid white;
box-shadow: none;
border-radius: 10px;
background: transparent;
}
- attributes:
label: Graphs
card:
type: vertical-stack
card_mod:
style: |
ha-card {
border: 2px solid white;
box-shadow: none;
border-radius: 10px;
background: transparent;
}
cards:
- type: custom:bar-card
entity: sensor.lexmark_mc3224i_magenta
name: Magenta
color: magenta
card_mod:
style: |
ha-card {
border: none;
box-shadow: none;
border-radius: 10px;
background: transparent;
}
- type: custom:bar-card
entity: sensor.lexmark_mc3224i_yellow
name: Yellow
color: yellow
card_mod:
style: |
ha-card {
border: none;
box-shadow: none;
border-radius: 10px;
background: transparent;
}
- type: custom:bar-card
entity: sensor.lexmark_mc3224i_cyan
name: Cyan
color: cyan
card_mod:
style: |
ha-card {
border: none;
box-shadow: none;
border-radius: 10px;
background: transparent;
}
- type: custom:bar-card
entity: sensor.lexmark_mc3224i_black
name: Black
color: black
card_mod:
style: |
ha-card {
border: none;
box-shadow: none;
border-radius: 10px;
background: transparent;
}