function getRemoteStyle_firestick4kremote(config) { const template = config.remote_template; const base_url = `/hacsfiles/generic-remote-control-card/remotes/${template}`; return ` ha-card{ background-color:transparent; box-shadow:var(--paper-material-elevation-0_-_box-shadow); } body { margin: 0; padding: 20px; font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif } .container { width: 360px; margin: 0 auto } #remote-control-firestick4kremote { position: relative; background: url(${base_url}/firestick4kremote.png) no-repeat; width: 332px; height: 768px } #remote-control-firestick4kremote h2, #remote-control-firestick4kremote span { position: absolute; left: 5000px } #remote-control-firestick4kremote ul { margin: 0; padding: 0; list-style-type: none } #pwr a, #mic a, #volup a, #voldown a, #mute a, #up a, #left a, #select a, #right a, #down a, #back a, #home a, #menu a, #rwd a, #play a, #fwd a { position: absolute; disrwd: block } #remote-control-firestick4kremote li#pwr a { left: 86px; top: 27px; width: 36px; height: 36px; background: url(${base_url}/pwr.png) no-repeat } #remote-control-firestick4kremote li#mic a { left: 140px; top: 68px; width: 49px; height: 49px; background: url(${base_url}/mic.png) no-repeat } #remote-control-firestick4kremote li#volup a { left: 140px; top: 428px; width: 49px; height: 49px; background: url(${base_url}/volup.png) no-repeat } #remote-control-firestick4kremote li#voldown a { left: 140px; top: 485px; width: 49px; height: 49px; background: url(${base_url}/voldown.png) no-repeat } #remote-control-firestick4kremote li#mute a { left: 140px; top: 548px; width: 49px; height: 49px; background: url(${base_url}/mute.png) no-repeat } #remote-control-firestick4kremote li#up a { left: 120px; top: 129px; width: 89px; height: 42px; background: url(${base_url}/up.png) no-repeat } #remote-control-firestick4kremote li#left a { left: 78px; top: 169px; width: 42px; height: 89px; background: url(${base_url}/left.png) no-repeat } #remote-control-firestick4kremote li#select a { left: 134px; top: 183px; width: 63px; height: 63px; background: url(${base_url}/select.png) no-repeat } #remote-control-firestick4kremote li#right a { left: 210px; top: 169px; width: 42px; height: 89px; background: url(${base_url}/right.png) no-repeat } #remote-control-firestick4kremote li#down a { left: 120px; top: 256px; width: 89px; height: 42px; background: url(${base_url}/down.png) no-repeat } #remote-control-firestick4kremote li#back a { left: 80px; top: 308px; width: 49px; height: 49px; background: url(${base_url}/back.png) no-repeat } #remote-control-firestick4kremote li#home a { left: 140px; top: 308px; width: 49px; height: 49px; background: url(${base_url}/home.png) no-repeat } #remote-control-firestick4kremote li#menu a { left: 200px; top: 308px; width: 49px; height: 49px; background: url(${base_url}/menu.png) no-repeat } #remote-control-firestick4kremote li#rwd a { left: 80px; top: 367px; width: 49px; height: 49px; background: url(${base_url}/rwd.png) no-repeat } #remote-control-firestick4kremote li#play a { left: 140px; top: 367px; width: 49px; height: 49px; background: url(${base_url}/play.png) no-repeat } #remote-control-firestick4kremote li#fwd a { left: 200px; top: 367px; width: 49px; height: 49px; background: url(${base_url}/fwd.png) no-repeat } #remote-control-firestick4kremote li#pwr a:hover { background: url(${base_url}/pwr_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#mic a:hover { background: url(${base_url}/mic_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#volup a:hover { background: url(${base_url}/volup_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#voldown a:hover { background: url(${base_url}/voldown_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#mute a:hover { background: url(${base_url}/mute_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#up a:hover { background: url(${base_url}/up_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#left a:hover { background: url(${base_url}/left_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#select a:hover { background: url(${base_url}/select_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#right a:hover { background: url(${base_url}/right_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#down a:hover { background: url(${base_url}/down_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#back a:hover { background: url(${base_url}/back_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#home a:hover { background: url(${base_url}/home_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#menu a:hover { background: url(${base_url}/menu_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#rwd a:hover { background: url(${base_url}/rwd_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#play a:hover { background: url(${base_url}/play_over.png) no-repeat 0px 0px } #remote-control-firestick4kremote li#fwd a:hover { background: url(${base_url}/fwd_over.png) no-repeat 0px 0px } `; } function getRemoteHtml_firestick4kremote(config){ const template = config.remote_template; return `

${config.name}

Main navigation

`; }