Skip to content

Commit

Permalink
Merge pull request #62 from zanix/browser-mod
Browse files Browse the repository at this point in the history
Add Browser Mod Popup Support
  • Loading branch information
Madelena authored Apr 2, 2023
2 parents ce09987 + fca9e84 commit 3e85876
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions themes/metro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ ________________________________________Common Base (Do Not Use): &common-colors
# Borders
ha-card-border-width: 0px
ha-card-border-color: transparent
popup-border-radius: var(--ha-dialog-border-radius)

# Typography
font-stack: &font-stack "Segoe UI Variable Static Text, Segoe UI, SegoeUI, -apple-system,BlinkMacSystemFont, system-ui, sans-serif"
Expand Down Expand Up @@ -523,6 +524,17 @@ ________________________________________Common Base 3 (Do Not Use): &common-card
.mdc-dialog__surface {
box-shadow: 0 0px 16px 4px rgba(var(--dialog-box-shadow), .15), 0 16px 64px 32px rgba(var(--dialog-box-shadow), .5) !important;
}
ha-dialog$: |
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
.mdc-dialog__surface {
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
background-color: rgba(var(--rgb-mdc-theme-surface), .5) !important;
}
}
.mdc-dialog__surface {
box-shadow: 0 0px 16px 4px rgba(var(--dialog-box-shadow), .15), 0 16px 64px 32px rgba(var(--dialog-box-shadow), .5) !important;
}
ha-header-bar$: |
.mdc-top-app-bar {
background: none !important;
Expand All @@ -540,6 +552,9 @@ ________________________________________Common Base 3 (Do Not Use): &common-card
.content {
xmargin-top: -8px;
}
ha-dialog {
--dialog-box-shadow: inherit !important;
}
ha-more-info-info$state-card-display$: |
.state {
margin-left: 46px !important;
Expand Down

0 comments on commit 3e85876

Please sign in to comment.