Added doctype HTML to stop Safari converting selectors in embedded CSS to lower case
This commit is contained in:
parent
bdfb8deb94
commit
20ff5fadee
5 changed files with 12 additions and 13 deletions
|
@ -348,7 +348,8 @@ class RequestHandler(SimpleHTTPRequestHandler):
|
||||||
else:
|
else:
|
||||||
app_url = "frontend-{}.html".format(frontend.VERSION)
|
app_url = "frontend-{}.html".format(frontend.VERSION)
|
||||||
|
|
||||||
write(("<html>"
|
write(("<!doctype html>"
|
||||||
|
"<html>"
|
||||||
"<head><title>Home Assistant</title>"
|
"<head><title>Home Assistant</title>"
|
||||||
"<meta name='mobile-web-app-capable' content='yes'>"
|
"<meta name='mobile-web-app-capable' content='yes'>"
|
||||||
"<link rel='shortcut icon' href='/static/favicon.ico' />"
|
"<link rel='shortcut icon' href='/static/favicon.ico' />"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||||
VERSION = "570111f1ff17703d36768c4f271f7053"
|
VERSION = "95af2c8c749943d2c283090c8619d8fb"
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -12,18 +12,15 @@
|
||||||
|
|
||||||
<polymer-element name="home-assistant-main" attributes="api">
|
<polymer-element name="home-assistant-main" attributes="api">
|
||||||
<template>
|
<template>
|
||||||
<style type="text/css">
|
<style>
|
||||||
|
|
||||||
core-header-panel {
|
core-header-panel {
|
||||||
height: 100%;
|
|
||||||
overflow: auto;
|
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
background-color: #E5E5E5;
|
background-color: #E5E5E5;
|
||||||
}
|
}
|
||||||
|
|
||||||
core-toolbar {
|
core-toolbar {
|
||||||
background: #03a9f4;
|
background: #03a9f4;
|
||||||
font-size: 1.3rem;
|
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,15 +39,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
paper-item {
|
paper-item {
|
||||||
height: 45px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
paper-item a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<core-header-panel fullbleed>
|
<core-header-panel fit>
|
||||||
|
|
||||||
<core-toolbar class='medium-tall'>
|
<core-toolbar class='medium-tall'>
|
||||||
<div flex>Home Assistant</div>
|
<div flex>Home Assistant</div>
|
||||||
|
|
|
@ -9,12 +9,10 @@
|
||||||
|
|
||||||
<polymer-element name="splash-login" attributes="auth">
|
<polymer-element name="splash-login" attributes="auth">
|
||||||
<template>
|
<template>
|
||||||
<style type="text/css">
|
<style>
|
||||||
|
|
||||||
:host {
|
:host {
|
||||||
font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
|
font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
|
||||||
height: 100%;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
paper-input {
|
paper-input {
|
||||||
|
|
Loading…
Add table
Reference in a new issue