Skip to content

Commit

Permalink
popup cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
matt8707 committed Sep 3, 2023
1 parent 5cb43e3 commit 1dd8a3b
Show file tree
Hide file tree
Showing 17 changed files with 7 additions and 70 deletions.
4 changes: 0 additions & 4 deletions popup/footer_history.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ browser_mod:
data:
title: Historik
size: fullscreen
card_mod:
style:
#popup header
.:
content:
type: grid
columns: 2
Expand Down
5 changes: 0 additions & 5 deletions popup/footer_nas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ browser_mod:
style:
layout-card:
$grid-layout$:
# card divider border
.: |
#root {
margin: -24px 0 !important;
}
hui-entities-card:
$: |
.card-content {
Expand Down
4 changes: 0 additions & 4 deletions popup/footer_router.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ browser_mod:
service: browser_mod.popup
data:
title: UniFi Dream Machine
card_mod:
style:
#popup header
.:
content:
type: vertical-stack
cards:
Expand Down
4 changes: 0 additions & 4 deletions popup/footer_tablet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Platta
card_mod:
style:
#popup header
.:
content:
type: vertical-stack
cards:
Expand Down
4 changes: 0 additions & 4 deletions popup/footer_updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Uppdateringar
card_mod:
style:
#popup header
.:
content:
type: custom:mod-card
card_mod:
Expand Down
3 changes: 0 additions & 3 deletions popup/footer_vacuum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ browser_mod:
style:
# card divider border
layout-card$grid-layout$: |
#root {
margin: -24px 0 !important;
}
hui-vertical-stack-card {
border-right: 1.5px solid rgba(0, 0, 0, 0.2);
border-radius: 0;
Expand Down
5 changes: 0 additions & 5 deletions popup/hemma_mattias.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Matte
card_mod:
style:
#popup header
.:
style: >
--popup-max-width: 400px;
content:
Expand Down Expand Up @@ -108,7 +104,6 @@ browser_mod:
border-top: 2px solid #1a1a1a;
border-radius: 0;
transition: none;
margin-bottom: -4px !important;
height: 25em !important;
}
ha-map$: |
Expand Down
4 changes: 0 additions & 4 deletions popup/hemma_sanja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Sanja
card_mod:
style:
#popup header
.:
style: |
--popup-max-width: 400px;
content:
Expand Down
7 changes: 0 additions & 7 deletions popup/sovrum_klimat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Klimat
card_mod:
style:
#popup header
.: |
div.content {
margin-top: -24px !important;
}
content:
type: custom:tabbed-card
styles:
Expand Down
4 changes: 0 additions & 4 deletions popup/sovrum_playstation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Playstation
card_mod:
style:
#popup header
.:
content:
type: entities
state_color: true
Expand Down
4 changes: 0 additions & 4 deletions popup/sovrum_tv2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Sovrum Tv
card_mod:
style:
#popup header
.:
content:
type: vertical-stack
cards:
Expand Down
4 changes: 0 additions & 4 deletions popup/studio_dator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Dator
card_mod:
style:
#popup header
.:
content:
type: vertical-stack
cards:
Expand Down
4 changes: 0 additions & 4 deletions popup/studio_flakt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: "Fläkt\u00B2"
card_mod:
style:
#popup header
.:
content:
type: vertical-stack
cards:
Expand Down
4 changes: 0 additions & 4 deletions popup/studio_monitorer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Monitorer
card_mod:
style:
#popup header
.:
content:

type: vertical-stack
Expand Down
4 changes: 0 additions & 4 deletions popup/vardagsrum_balkong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Balkong
card_mod:
style:
#popup header
.:
content:
type: vertical-stack
cards:
Expand Down
4 changes: 0 additions & 4 deletions popup/vardagsrum_tv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ browser_mod:
service: browser_mod.popup
data:
title: Vardagsrum Tv
card_mod:
style:
#popup header
.:
content:
type: vertical-stack
cards:
Expand Down
9 changes: 7 additions & 2 deletions themes/tablet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ tablet:
popup-padding-y: 0px
popup-min-width: 440px
tablet-popup-header-color: rgba(200, 218, 222, 0.05)
tablet-popup-content-padding: 1.4em 2.2em 1.6em 1.5em
tablet-popup-content-padding: 1.1em 2.2em 1.6em 1.5em
tablet-popup-button-padding: 0.1em 2em 1.8em 2em
tablet-popup-border-style: 1.5px solid rgba(0,0,0,0.2)
tablet-popup-align-dialog: center
Expand Down Expand Up @@ -297,7 +297,7 @@ tablet:
letter-spacing: 0.005em;
font-size: 1.6em;
font-weight: 500;
padding: 1em 0 0 1.38em;
padding: 0.8em 0 0 1.3em;
line-height: initial;
cursor: default;
}
Expand Down Expand Up @@ -366,6 +366,11 @@ tablet:
border-bottom: var(--tablet-popup-border-style);
}
ha-dialog-header$header: |
div.header-bar {
padding: 10px 17px 8px 17px;
}
ha-dialog$: |
div.mdc-dialog__surface {
background-color: var(--popup-background-color) !important;
Expand Down

0 comments on commit 1dd8a3b

Please sign in to comment.