button.css 1.07 KB
.button-bar {
  margin-top: 1em;
}

a.button,
a.button:visited,
input.button {
  margin-left: 5px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  padding: 1px 0px 1px 20px;
  height: 24px;
  line-height: 22px;
  font-size: 12px;
  color: black;
  text-decoration: none;
  border: 1px solid #DDD;
}
input.button {
  float: none;
  background-position: 2px 50%;
}

.button-bar .button {
  display: block;
  float: left;
}

#content a.button, #content a.button:visited,
#login-box a.button, #login-box a.button:visited {
  height: 22px;
  color: #000;
}

.button span {
  display: none;
}
.button.with-text span {
  display: inline;
  padding-right: 4px;
}

a.button.with-text,
a.button.with-text:visited,
input.button.with-text {
  background-color: #EEE;
  padding: 1px 2px 1px 25px;
  background-position: 2px 50%;
  border: 1px solid #AAA;
}

a.button:hover,
input.button:hover,
a.button.with-text:hover,
input.button.with-text:hover {
  border: 1px solid #777;
  background-color: #DDD;
  color: #000;
}

.icon-button {
  border: none;
}
.icon-button:hover {
  border: none;
}