Comments (3)
from light-popup-card.
Hi @tomerbs ,
Add the moment this is my default css for the homekit popups:
style:
$: |
.mdc-dialog .mdc-dialog__container {
width: 100%;
}
.mdc-dialog .mdc-dialog__container .mdc-dialog__surface {
width:100%;
}
.: |
:host {
--mdc-theme-surface: rgba(0,0,0,0);
--secondary-background-color: rgba(0,0,0,0);
--ha-card-background: rgba(0,0,0,0);
--mdc-dialog-scrim-color: rgba(0,0,0,0.8);
--mdc-dialog-min-height: 100%;
--mdc-dialog-min-width: 100%;
--mdc-dialog-max-width: 100%;
}
mwc-icon-button {
color: #FFF;
}
If you add .mdc-dialog .mdc-dialog__scrim
with a background image that should work
style:
$: |
.mdc-dialog .mdc-dialog__container {
width: 100%;
}
.mdc-dialog .mdc-dialog__container .mdc-dialog__surface {
width:100%;
}
.mdc-dialog .mdc-dialog__scrim {
background: center / cover repeat-x url("/local/images/night.jpg") fixed;
}
.: |
:host {
--mdc-theme-surface: rgba(0,0,0,0);
--secondary-background-color: rgba(0,0,0,0);
--ha-card-background: rgba(0,0,0,0);
--mdc-dialog-scrim-color: rgba(0,0,0,0.8);
--mdc-dialog-min-height: 100%;
--mdc-dialog-min-width: 100%;
--mdc-dialog-max-width: 100%;
}
mwc-icon-button {
color: #FFF;
}
from light-popup-card.
from light-popup-card.
Related Issues (20)
- Light Popup Card failing to work on Android app HOT 5
- Future: Add transition time HOT 1
- how can i set the css value to exit the popup card when i tap the blank place jusk like light-popup-card?
- Can't get to more-info HOT 1
- Home Assistant 2021.12 brightness broken HOT 2
- Repository structure for 0.5 is not compliant
- Slider sits at the halfway height regardless of actual brightness
- Popup is too small HOT 3
- Bug: Brightness slider isn't fluid / slow to respond to lights actual brightness state HOT 1
- actions: option bad indentation issue HOT 2
- Popup 2 lights side by side? HOT 3
- How do I configure this with the homekit panel card mod?
- Remove !important from CSS style
- Light's that support colours will display as a switch and not a slider HOT 2
- Support Browser Mod 2.0 HOT 1
- Empty More-info dialog showing when clicking empty space HOT 1
- Switch Won't Toggle on Desktop
- Instead of the dimming function, the on/off button
- Popup doesn't close when clicking on backdrop
- Popup cards broken by HA 2023.4 changes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from light-popup-card.