File "badges.scss"

Full path: /home/satkhirabarta/public_html/wp-content/plugins/really-simple-ssl/assets/css/admin/modules/badges.scss
File size: 2.1 B (2.1 KB bytes)
MIME-type: text/plain
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

.rsssl {
  .rsssl-badge {
    --badge-height: 20px;
    height: var(--badge-height);
    line-height: var(--badge-height);
    padding-inline: 8px;

    min-width: 100px;
    text-align: center;
    border-radius: var(--rsp-border-radius-xs);
    color: var(--rsp-white);
    display: table;
    margin: auto auto;
    font-size: var(--rsp-fs-100);

    &.rsp-dark {
      background-color: var(--rsp-black);
      color: var(--rsp-white);
    }

    &.rsp-low {
      background-color: var(--rsp-yellow-faded);
      color: var(--rsp-black);
    }

    &.rsp-medium {
      background-color: var(--rsp-yellow);
      color: var(--rsp-black);
    }

    &.rsp-high {
      background-color: var(--rsp-red-faded);
      color: var(--rsp-black);
    }

    &.rsp-critical {
      background-color: var(--rsp-red);
      color: var(--rsp-white);
    }

    &.rsp-success {
      background-color: var(--rsp-color-success);
      color: var(--rsp-white);
    }

    &.rsp-default {
      background-color: var(--rsp-grey-200);
      color:black;
    }
  }

  .rsssl-badge-large {
    --badge-height: 28px;
    height: var(--badge-height);
    line-height: var(--badge-height);
    padding: 0 10px;
    min-width: 80px;
    text-align: center;
    border-radius: var(--rsp-border-radius-xs);
    color: var(--rsp-white);
    display: table;
    margin: auto auto;
    font-size: var(--rsp-fs-300);
    font-weight: 400;

    &.rsp-dark {
      background-color: var(--rsp-black);
      color: var(--rsp-white);
    }

    &.rsp-risk-level-l {
      background-color: var(--rsp-yellow-faded);
      color: var(--rsp-black);
    }

    &.rsp-risk-level-m {
      background-color: var(--rsp-yellow);
      color: var(--rsp-black);
    }

    &.rsp-risk-level-h {
      background-color: var(--rsp-red-faded);
      color: var(--rsp-black);
    }

    &.rsp-risk-level-c {
      background-color: var(--rsp-red);
      color: var(--rsp-white);
    }

    &.rsp-success {
      background-color: var(--rsp-color-success);
      color: var(--rsp-white);
    }

    &.rsp-default {
      background-color: var(--rsp-grey-200);
      color:black;
    }
  }
}