diff options
author | Simon Rettberg | 2023-01-20 16:20:29 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-01-20 16:20:29 +0100 |
commit | 0580af0b959e8e3dfc6644e0d5b0411f1138c148 (patch) | |
tree | 9482b90f86d6e9b7628537c13dcd15750848da93 /modules-available/roomplanner/templates/svg-plan.html | |
parent | [eventlog] Rename Server-Log to Events (diff) | |
download | slx-admin-0580af0b959e8e3dfc6644e0d5b0411f1138c148.tar.gz slx-admin-0580af0b959e8e3dfc6644e0d5b0411f1138c148.tar.xz slx-admin-0580af0b959e8e3dfc6644e0d5b0411f1138c148.zip |
[roomplanner] svg: Make muted machines more faded
Diffstat (limited to 'modules-available/roomplanner/templates/svg-plan.html')
-rw-r--r-- | modules-available/roomplanner/templates/svg-plan.html | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/modules-available/roomplanner/templates/svg-plan.html b/modules-available/roomplanner/templates/svg-plan.html index 4b0339f3..c75e01f8 100644 --- a/modules-available/roomplanner/templates/svg-plan.html +++ b/modules-available/roomplanner/templates/svg-plan.html @@ -17,11 +17,16 @@ stroke-width: .2; fill: url(#screen); } - rect.hl { + g.hl rect.scrn { fill: url(#screenhl); } - rect.muted { + g.muted rect.scrn { fill: url(#muted); + stroke: #777; + } + g.muted rect.kb { + fill: #eee; + stroke: #777; } ]]> </style> @@ -35,8 +40,8 @@ <stop offset="100%" stop-color="#074" /> </radialGradient> <radialGradient id="muted" cx=".4" cy=".3" r="1"> - <stop offset="0%" stop-color="#bbb" /> - <stop offset="100%" stop-color="#888" /> + <stop offset="0%" stop-color="#fff" /> + <stop offset="100%" stop-color="#999" /> </radialGradient> </defs> <g transform="scale({{scale}}) rotate({{rotate}} {{centerX}} {{centerY}})"> @@ -47,7 +52,7 @@ {{#links}} <a xlink:href="./?do=statistics&uuid={{machineuuid}}"> {{/links}} - <g transform="translate({{gridCol}} {{gridRow}})"> + <g transform="translate({{gridCol}} {{gridRow}})" class="{{class}}"> <rect transform="rotate({{rotation}} 1.9 1.9)" x=".1" y="2.6" @@ -61,8 +66,7 @@ ry=".4" height="2.2" width="3.4" - class="scrn {{class}}" - /> + class="scrn" /> </g> {{#links}} </a> |