浏览代码

better battery readability

Christian Herzog 5 年之前
父节点
当前提交
2a6e39b590
共有 2 个文件被更改,包括 7 次插入3 次删除
  1. 2 2
      components/wifi-manager/index.html
  2. 5 1
      components/wifi-manager/style.css

+ 2 - 2
components/wifi-manager/index.html

@@ -24,8 +24,8 @@
     </head>
 
     <body>
-        <div id="battery">
-            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
+        <div id="info">
+            <svg xmlns="http://www.w3.org/2000/svg" id="battery" width="24" height="24" viewBox="0 0 24 24">
                 <g id="bat0" display="none">
                     <path d="M19 8v8h-17v-8h17zm2-2h-21v12h21v-12zm1 9h.75c.69 0 1.25-.56 1.25-1.25v-3.5c0-.69-.56-1.25-1.25-1.25h-.75v6z"/>
                 </g>

+ 5 - 1
components/wifi-manager/style.css

@@ -308,11 +308,15 @@ span#flash-status {
     font-size: 120%;
 }
 
-#battery {
+#info {
     padding-top: 7px;
     float: right;
 }
 
+svg#battery {
+    fill: #ddd;
+}
+
 ul#navbar {
     border-bottom: 0px;
 }