button.css 1.62 KB

body.noosfero a.button,
body.noosfero a.button:visited,
input.button {
  margin: 0px 2px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  padding: 3px 0px 3px 20px;
  font-size: 12px;
  height: 14px;
  text-decoration: none;
  border: 1px solid #DDD;
  color: black;
}
input.button {
  background-position: 2px 50%;
}

.button span {
  display: none;
}

.button.with-text span,
.msie .button.with-text span {
  display: inline;
  width: auto;
  padding-right: 4px;
}

body.noosfero a.button.with-text,
body.noosfero a.button.with-text:visited,
input.button.with-text {
  background-color: #EEE;
  padding: 3px 2px 3px 22px;
  background-position: 3px 50%;
  border: 1px solid #AAA;
  line-height: 20px;
  height: 20px;
}
input.button.with-text {
  font-size: 14px;
  height: 22px;
  padding: 0px 2px 2px 20px;
  background-position: 3px 50%;
}
body.noosfero.msie a.button.with-text,
body.noosfero.msie a.button.with-text:visited,
body.noosfero.msie input.button.with-text {
  padding: 0px 2px 0px 22px;
  background-position: 3px 50%;
  line-height: 20px;
  margin: 2px;
}
body.noosfero.msie input.button.with-text {
  line-height: 16px;
  padding: 0px 0px 1px 15px;
  background-position: 2px 50%;
}

body.noosfero a.button:hover,
input.button:hover,
body.noosfero a.button.with-text:hover,
input.button.with-text:hover {
  border: 1px solid #678;
  background-color: #CDE;
  color: #000;
}


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

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

.button-bar a.button.with-text {
  padding: 0px 2px 0px 22px;
  background-position: 3px 50%;
}

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