2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

CSS: center SVG text

git-svn-id: https://svn.fhem.de/fhem/trunk@5325 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-03-26 07:09:08 +00:00
parent 5d1088aa0d
commit bab5b7425a
13 changed files with 14 additions and 14 deletions

View File

@ -67,7 +67,7 @@ select { border:0px none; margin-left:5px; margin-right:5px; }
border:2px solid; color:#309bbd; text-align:center; } border:2px solid; color:#309bbd; text-align:center; }
.downText { margin-top:8px; font-weight:bold; } .downText { margin-top:8px; font-weight:bold; }
svg { height:32px; width:32px; fill:#309bbd; } svg { height:32px; width:32px; fill:#309bbd; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }
div[id*="Kalender-"] { width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } div[id*="Kalender-"] { width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
div[id*="disp"] { width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } div[id*="disp"] { width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

View File

@ -64,7 +64,7 @@ select { margin-left:5px; margin-right:5px; }
.downText { margin-top:2px; } .downText { margin-top:2px; }
/* next lines are for openautomation-svg */ /* next lines are for openautomation-svg */
svg { height:32px; width:32px; fill:#fff; } svg { height:32px; width:32px; fill:#fff; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }
/* next lines are for remotecontrol */ /* next lines are for remotecontrol */

View File

@ -78,7 +78,7 @@ select { margin-left:5px; margin-right:5px; }
.downText,.makeSelect select { margin:0.7em; } .downText,.makeSelect select { margin:0.7em; }
svg { height:32px; width:32px; fill:#fff; } svg { height:32px; width:32px; fill:#fff; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }
/* next lines are for remotecontrol */ /* next lines are for remotecontrol */

View File

@ -81,7 +81,7 @@ select { margin-left:5px; margin-right:5px; }
.downText,.makeSelect select { margin:0.7em; } .downText,.makeSelect select { margin:0.7em; }
svg { height:32px; width:32px; fill:#fff; } svg { height:32px; width:32px; fill:#fff; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }
/* next lines are for remotecontrol */ /* next lines are for remotecontrol */

View File

@ -64,7 +64,7 @@ select { margin-left:5px; margin-right:5px; }
.downText { margin-top:2px; } .downText { margin-top:2px; }
/* next lines are for openautomation-svg */ /* next lines are for openautomation-svg */
svg { height:32px; width:32px; fill:#fff; } svg { height:32px; width:32px; fill:#fff; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }
/* next lines are for remotecontrol */ /* next lines are for remotecontrol */

View File

@ -64,7 +64,7 @@ select { margin-left:5px; margin-right:5px; }
.downText { margin-top:2px; } .downText { margin-top:2px; }
/* next lines are for openautomation-svg */ /* next lines are for openautomation-svg */
svg { height:32px; width:32px; fill:#fff; } svg { height:32px; width:32px; fill:#fff; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }
/* next lines are for remotecontrol */ /* next lines are for remotecontrol */

View File

@ -64,7 +64,7 @@ select { margin-left:5px; margin-right:5px; }
.downText { margin-top:2px; } .downText { margin-top:2px; }
/* next lines are for openautomation-svg */ /* next lines are for openautomation-svg */
svg { height:32px; width:32px; fill:#fff; } svg { height:32px; width:32px; fill:#fff; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }
/* next lines are for remotecontrol */ /* next lines are for remotecontrol */

View File

@ -75,5 +75,5 @@ button.dist { margin:5px; background:transparent; border:0px; cursor:pointer; }
-webkit-user-select:none; -moz-user-select:none; -user-select:none; -webkit-user-select:none; -moz-user-select:none; -user-select:none;
border:3px solid; color:#278727; text-align:center; } border:3px solid; color:#278727; text-align:center; }
svg { height:32px; width:32px; fill:#1c7efb; } svg { height:32px; width:32px; fill:#1c7efb; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }

View File

@ -155,7 +155,7 @@ pre { white-space: pre-wrap; }
/* ============== SVG ============== */ /* ============== SVG ============== */
svg { height:32px; width:32px; fill:#1c7efb; } svg { height:32px; width:32px; fill:#1c7efb; vertical-align:middle; margin:2px 0; }
table.room svg.icon { margin-left: -43px; margin-right:20px; } table.room svg.icon { margin-left: -43px; margin-right:20px; }
svg.icon { margin-left: 7px; margin-right:20px; } svg.icon { margin-left: 7px; margin-right:20px; }
@ -174,4 +174,4 @@ table#TYPE_remotecontrol td { padding: 5px 7px; }
background: #e5e5e5; font-size:6px;} background: #e5e5e5; font-size:6px;}
.rc_button { padding: 5px 7px;} .rc_button { padding: 5px 7px;}
.rc_button img { border-style: solid; border-width: 1px; border-color: transparent; } .rc_button img { border-style: solid; border-width: 1px; border-color: transparent; }
.rc_button img:active { border-color: gray; } .rc_button img:active { border-color: gray; }

View File

@ -64,7 +64,7 @@ select { margin-left:5px; margin-right:5px; }
.downText { margin-top:2px; } .downText { margin-top:2px; }
/* next lines are for openautomation-svg */ /* next lines are for openautomation-svg */
svg { height:32px; width:32px; fill:#fff; } svg { height:32px; width:32px; fill:#fff; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }
/* next lines are for remotecontrol */ /* next lines are for remotecontrol */

View File

@ -75,7 +75,7 @@ button.dist { margin:5px; background:transparent; border:0px; cursor:pointer; }
-webkit-user-select:none; -moz-user-select:none; -user-select:none; -webkit-user-select:none; -moz-user-select:none; -user-select:none;
border:3px solid; color:#278727; text-align:center; } border:3px solid; color:#278727; text-align:center; }
svg { height:32px; width:32px; fill:#278727; } svg { height:32px; width:32px; fill:#278727; vertical-align:middle; margin:2px 0; }
svg.on,svg.FS20_on { fill:orange; } svg.on,svg.FS20_on { fill:orange; }
.changed { color:red; } .changed { color:red; }

View File

@ -65,7 +65,7 @@ select { margin-left:5px; margin-right:5px; }
pre { white-space: pre-wrap; } pre { white-space: pre-wrap; }
svg { height:32px; width:32px; fill:#278727; } svg { height:32px; width:32px; fill:#278727; vertical-align:middle; margin:2px 0; }
svg.on,svg.FS20_on { fill:orange; } svg.on,svg.FS20_on { fill:orange; }
/* next lines are for remotecontrol */ /* next lines are for remotecontrol */

View File

@ -56,7 +56,7 @@ select { margin-left:5px; margin-right:5px; }
border:3px solid; color:#278727; text-align:center; } border:3px solid; color:#278727; text-align:center; }
.downText { margin-top:2px; } .downText { margin-top:2px; }
svg { height:32px; width:32px; fill:#278727; } svg { height:32px; width:32px; fill:#278727; vertical-align:middle; margin:2px 0; }
g.on { fill:red; } g.on { fill:red; }
/* next lines are for remotecontrol */ /* next lines are for remotecontrol */