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:
|
||||
app_url = "frontend-{}.html".format(frontend.VERSION)
|
||||
|
||||
write(("<html>"
|
||||
write(("<!doctype html>"
|
||||
"<html>"
|
||||
"<head><title>Home Assistant</title>"
|
||||
"<meta name='mobile-web-app-capable' content='yes'>"
|
||||
"<link rel='shortcut icon' href='/static/favicon.ico' />"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
""" 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">
|
||||
<template>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
|
||||
core-header-panel {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
background-color: #E5E5E5;
|
||||
}
|
||||
|
||||
core-toolbar {
|
||||
background: #03a9f4;
|
||||
font-size: 1.3rem;
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
@ -42,15 +39,18 @@
|
|||
}
|
||||
|
||||
paper-item {
|
||||
height: 45px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
paper-item a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<core-header-panel fullbleed>
|
||||
<core-header-panel fit>
|
||||
|
||||
<core-toolbar class='medium-tall'>
|
||||
<div flex>Home Assistant</div>
|
||||
|
|
|
@ -9,12 +9,10 @@
|
|||
|
||||
<polymer-element name="splash-login" attributes="auth">
|
||||
<template>
|
||||
<style type="text/css">
|
||||
<style>
|
||||
|
||||
:host {
|
||||
font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
paper-input {
|
||||
|
|
Loading…
Add table
Reference in a new issue