style.css 2.51 KB
#user .gamification-plugin.user-info-template {
  margin-left: 2px;
  text-decoration: none;
  padding: 2px;
}
#user .gamification-plugin.user-info-template:hover {
  background-color: rgb(228, 228, 228);
}
.gamification-plugin.user-info-template .icon {
  background-size: 14px;
  background-repeat: no-repeat;
  width: 17px;
  display: inline-block;
  border: 0;
  height: 14px;
}
.gamification-plugin.user-info-template .icon:hover {
  background-color: transparent;
}
.gamification-plugin.user-info-template .level .icon {
  background-image: url(/plugins/gamification/images/level-icon.png);
}
.gamification-plugin.user-info-template .badges .icon  {
  background-image: url(/plugins/gamification/images/badge-icon.png);
}
.gamification-plugin.user-info-template .points .icon  {
  background-image: url(/plugins/gamification/images/points-icon.png);
}

.gamification-notification .badge .image,
.gamification .badge .image {
  width: 110px;
  height: 80px;
  background-image: url(/plugins/gamification/images/badge-icon.png);
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(128, 128, 128, 0.25);
  margin-left: auto;
  margin-right: auto;
}

.gamification .badge {
  text-align: center;
}

.gamification .badge.not-earned {
  opacity: 0.3;
}

.gamification-notification .badge {
  margin-bottom: 7px;
}

.gamification-notification .badge .description {
  font-size: 14px;
  font-weight: bold;
}

.gamification-notification .badge .level {
  font-size: 10px;
}

.gamification-notification .all-badges {
  font-size: 10px;
}

.gamification-dashboard .pie-chart {
  position: relative;
  text-align: center;
}
.gamification-dashboard .pie-chart canvas {
  position: absolute;
  left: 0;
}
.gamification-dashboard .pie-chart .level-value {
  font-size: 20px;
  font-weight: bold;
  color: rgb(64, 64, 65);
}
.gamification-dashboard .points, .gamification-dashboard .badges {
  margin: 10px 10px 25px 10px;
}
.gamification-dashboard .points .level {
  display: inline-block;
  vertical-align: top;
}
.gamification-dashboard .points .scores {
  display: inline-block;
  margin-left: 40px;
}
.gamification-dashboard .points .level .total {
  text-align: center;
  color: rgb(139, 139, 139);
}
.gamification-dashboard .scores .negative .value {
  color: red;
}
.gamification-dashboard .scores .positive .value {
  color: green;
}
.gamification-dashboard .scores .value {
  font-weight: bold;
  width: 30px;
  display: inline-block;
  text-align: right;
  margin-right: 4px;
}

.gamification-dashboard .scores .date {
  color: gray;
}