X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/14f651c500c554436376dd5d10450703478669b6..2be0969e153ace507ec07b27d156b50e54e00f94:/code/static/style.css diff --git a/code/static/style.css b/code/static/style.css index 29216cc..9bea2e9 100644 --- a/code/static/style.css +++ b/code/static/style.css @@ -75,18 +75,43 @@ td.error { } /* Machine list power buttons */ -.power.on:hover { - background: url(/static/power_button_on_to_off_bg.png); -} -.power.off:hover { - background: url(/static/power_button_off_to_on_bg.png); +.power { + width: 32px; + height: 32px; + background-color: transparent; + background-position: 0 0; + margin: 0; + border: 0; + text-indent: 64px; + line-height: 128px; + cursor: pointer; +} +.power:hover { + background-position: 0 32px; +} +.power.on { + background-image: url(power_button_on.png); +} +.power.off { + background-image: url(power_button_off.png); } /* Striping applied (by JavaScript) to every other row in /list. */ tr.stripedrow { - background-color: #DDF; + background-color: #e8e8ff; +} + +#machinelist td, #machinelist th { + padding: 0.1em 0.5em; +} + +form { + display: inline; } -#machinelist tr > td:first-child { - padding-right: 1em; +/* styling for the results box */ +.result { + background-color: #e8e8ff; + border: 1px black solid; + padding: 1ex; }