X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/432dd1060e6d3d1208e35889767e6b40a4421e6c..1581471a70984619922f7d0f1d3c5d218cff1faa:/code/static/style.css diff --git a/code/static/style.css b/code/static/style.css index 35bc5df..a764e17 100644 --- a/code/static/style.css +++ b/code/static/style.css @@ -73,3 +73,38 @@ td.error { .loggedin .name { font-weight: bold; } + +/* Machine list power buttons */ +.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: #e8e8ff; +} + +#machinelist td, #machinelist th { + padding: 0.1em 0.5em; +} + +form { + display: inline; +}