Ignore:
Timestamp:
Jun 23, 2008, 4:21:21 AM (16 years ago)
Author:
andersk
Message:

Power button tweaks from the hackathon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/static/style.css

    r639 r644  
    7676
    7777/* Machine list power buttons */
    78 .power.on:hover {
    79   background: url(/static/power_button_on_to_off_bg.png);
     78.power {
     79  width: 32px;
     80  height: 32px;
     81  background-color: transparent;
     82  background-position: 0 0;
     83  margin: 0;
     84  border: 0;
     85  text-indent: 64px;
     86  line-height: 128px;
     87  cursor: pointer;
    8088}
    81 .power.off:hover {
    82   background: url(/static/power_button_off_to_on_bg.png);
     89.power:hover {
     90  background-position: 0 32px;
     91}
     92.power.on {
     93  background-image: url(power_button_on.png);
     94}
     95.power.off {
     96  background-image: url(power_button_off.png);
    8397}
    8498
    8599/* Striping applied (by JavaScript) to every other row in /list. */
    86100tr.stripedrow {
    87   background-color: #DDF;
     101  background-color: #e8e8ff;
    88102}
    89103
    90 #machinelist tr > td:first-child {
    91   padding-right: 1em;
     104#machinelist td, #machinelist th {
     105  padding: 0.1em 0.5em;
    92106}
Note: See TracChangeset for help on using the changeset viewer.