Noosfero/noosfero

View on GitHub
plugins/theme_manager/public/style.scss

Summary

Maintainability
Test Coverage
.block {
  .theme-enabled  {
    color: #44F;
  }
  .theme-disabled {
    color: #D22;
  }
  .theme-enabled, .theme-disabled {
    a {
      font-size: 12px;
      color: #63D;
      &:visited {
        color: #63D;
      }
    }
  }
  #enabled-themes, #disabled-themes {
    font-size: 14px;
    width: 47%;
    display: inline-block;
    padding: 0 0 0 2%;
    vertical-align: top;
    list-style: none;
    li {
      margin-bottom: 15px;
      .bt-show {
        background-image: url('data:image/svg+xml,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16px" height="16px">
        <path d="M 15.8 7.4 c -0.8 -1.4 -2 -2.5 -3.4 -3.3 c -1.4 -0.8 -2.9 -1.2 -4.5 -1.2 c -1.6 0 -3 0.4 -4.5 1.2 C 2.1 4.9 1 6 0.2 7.4 C 0.1 7.6 0 7.8 0 8 c 0 0.2 0.1 0.4 0.2 0.6 c 0.8 1.4 2 2.5 3.4 3.3 c 1.4 0.8 2.9 1.2 4.5 1.2 c 1.6 0 3 -0.4 4.5 -1.2 c 1.4 -0.8 2.5 -1.9 3.4 -3.3 c 0.1 -0.2 0.2 -0.4 0.2 -0.6 C 16 7.8 15.9 7.6 15.8 7.4 z M 6.1 4.9 c 0.5 -0.5 1.2 -0.8 1.9 -0.8 c 0.1 0 0.2 0 0.3 0.1 c 0.1 0.1 0.1 0.2 0.1 0.3 c 0 0.1 0 0.2 -0.1 0.3 c -0.1 0.1 -0.2 0.1 -0.3 0.1 c -0.5 0 -0.9 0.2 -1.3 0.5 c -0.4 0.4 -0.5 0.8 -0.5 1.3 c 0 0.1 0 0.2 -0.1 0.3 c -0.1 0.1 -0.2 0.1 -0.3 0.1 c -0.1 0 -0.2 0 -0.3 -0.1 c -0.1 -0.1 -0.1 -0.2 -0.1 -0.3 C 5.3 6.1 5.5 5.5 6.1 4.9 z M 11.9 10.9 c -1.2 0.7 -2.5 1.1 -3.9 1.1 c -1.4 0 -2.7 -0.4 -3.9 -1.1 s -2.2 -1.7 -3 -2.9 c 0.9 -1.4 2 -2.5 3.4 -3.1 c -0.4 0.6 -0.5 1.3 -0.5 2 c 0 1.1 0.4 2 1.2 2.8 s 1.7 1.2 2.8 1.2 c 1.1 0 2 -0.4 2.8 -1.2 s 1.2 -1.7 1.2 -2.8 c 0 -0.7 -0.2 -1.4 -0.5 -2 c 1.4 0.7 2.5 1.7 3.4 3.1 C 14.1 9.2 13.1 10.2 11.9 10.9 z"/>
        </svg>');
        background-repeat: no-repeat;
        background-position: 3px 50%;
      }
      .bt-hide {
        background-image: url('data:image/svg+xml,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16px" height="16px">
        <path d="M 11.29 9.11 c 0.47 -0.68 0.70 -1.44 0.70 -2.26 c 0.00 -0.23 -0.02 -0.48 -0.07 -0.75 l -2.50 4.48 C 10.19 10.28 10.82 9.79 11.29 9.11 z"/>
            <path d="M 11.65 2.94 c 0.01 -0.01 0.01 -0.04 0.01 -0.08 c 0.00 -0.10 -0.05 -0.18 -0.14 -0.24 c -0.02 -0.01 -0.08 -0.05 -0.17 -0.10 c -0.10 -0.06 -0.19 -0.11 -0.28 -0.17 c -0.09 -0.05 -0.19 -0.11 -0.29 -0.17 c -0.11 -0.06 -0.20 -0.10 -0.28 -0.14 c -0.08 -0.04 -0.13 -0.05 -0.16 -0.05 c -0.11 0.00 -0.19 0.05 -0.25 0.14 l -0.48 0.87 c -0.54 -0.10 -1.08 -0.15 -1.61 -0.15 c -1.60 0.00 -3.08 0.40 -4.43 1.21 C 2.22 4.88 1.09 5.98 0.18 7.38 C 0.06 7.56 0.00 7.77 0.00 7.99 c 0.00 0.23 0.06 0.43 0.18 0.62 c 0.52 0.81 1.14 1.54 1.86 2.19 c 0.72 0.64 1.50 1.16 2.35 1.54 c -0.26 0.45 -0.39 0.70 -0.39 0.78 c 0.00 0.11 0.05 0.19 0.14 0.25 c 0.73 0.42 1.12 0.62 1.20 0.62 c 0.11 0.00 0.19 -0.05 0.25 -0.14 l 0.44 -0.79 c 0.63 -1.12 1.57 -2.81 2.82 -5.06 C 10.09 5.75 11.03 4.06 11.65 2.94 z M 4.95 11.34 C 3.41 10.64 2.14 9.53 1.14 7.99 c 0.90 -1.40 2.04 -2.45 3.40 -3.15 c -0.36 0.62 -0.54 1.29 -0.54 2.01 c 0.00 0.64 0.15 1.24 0.44 1.81 c 0.29 0.57 0.70 1.04 1.21 1.42 L 4.95 11.34 z M 8.30 4.87 c -0.08 0.08 -0.18 0.12 -0.30 0.12 c -0.51 0.00 -0.95 0.18 -1.31 0.54 c -0.36 0.36 -0.54 0.80 -0.54 1.31 c 0.00 0.12 -0.04 0.22 -0.12 0.30 c -0.08 0.08 -0.18 0.12 -0.30 0.12 c -0.12 0.00 -0.22 -0.04 -0.30 -0.12 c -0.08 -0.08 -0.12 -0.18 -0.12 -0.30 c 0.00 -0.74 0.27 -1.38 0.80 -1.91 c 0.53 -0.53 1.17 -0.80 1.91 -0.80 c 0.12 0.00 0.22 0.04 0.30 0.12 c 0.08 0.08 0.12 0.18 0.12 0.30 C 8.42 4.69 8.38 4.79 8.30 4.87 z"/>
            <path d="M 15.81 7.38 c -0.34 -0.56 -0.77 -1.11 -1.29 -1.64 c -0.52 -0.53 -1.06 -0.98 -1.63 -1.36 l -0.56 1.00 c 0.99 0.68 1.83 1.56 2.52 2.62 c -0.72 1.12 -1.62 2.03 -2.69 2.74 c -1.07 0.71 -2.24 1.12 -3.50 1.22 l -0.66 1.18 c 1.32 0.00 2.57 -0.28 3.74 -0.85 c 1.17 -0.56 2.21 -1.36 3.10 -2.38 c 0.42 -0.48 0.74 -0.91 0.97 -1.29 c 0.12 -0.20 0.18 -0.41 0.18 -0.62 C 15.99 7.79 15.93 7.58 15.81 7.38 z"/>
        </svg>');
        background-repeat: no-repeat;
        background-position: 3px 50%;
      }
      .bt-disable {
        background-image: url('data:image/svg+xml,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="16px" height="16px">
        <path stroke="black" stroke-width="3" d="M 3 3 L 13 13 M 13 3 L 3 13 z"/>
        </svg>');
        background-repeat: no-repeat;
        background-position: 3px 50%;
      }
    }
  }
}