Newer
Older
cas-server / cas / WEB-INF / classes / static / sass / ssosessions.scss
zhout on 17 Jun 2021 1 KB first commit
/* --------------- CUSTOM STYLES */
@import "components/variables";

/**
 * SSO Sessions Styles
 */

#cas-sessions, #no-cas-sessions {
  display: none;
}

#no-cas-sessions div {
  margin-top: 2em;
}

.ssoSessions {
  #content {
    border-radius: 4px;
    padding: 20px;
  }

  .sorting_desc, .sorting_asc {
    background-color: rgba(239, 239, 239, 0.8);
  }

  #removeAllSessionsButton.btn .badge {
    color: #000;
    padding-right: 9px;
  }

  .adminPanels {
    border-bottom: 1px solid #efefef;
    margin-bottom: 2em;
    margin-top: 1em;
    padding-bottom: 1em;

    .adminPanels .panel-default > .panel-heading {
      background-color: #fff;
      border-bottom: none;

      h3 {
        font-family: 'Lato', sans-serif;
        font-weight: 300;
        font-size: 20pt;
      }

      &::after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: -5px;
        right: 30px;
        font-size: 70pt;
        color: #153e50;
        opacity: 0.1;
      }
    }
  }

  td.details-control {
    cursor: pointer;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10pt;
    color: #337ab7;

    &::after {
      content: "\f067";
    }

  }

  tr.shown td.details-control::after {
    content: "\f068";
  }

}

// End .ssoSessions

.row-detail-wrapper {
  background-color: #d9edf7;
}

.ssoSessions .row-detail {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  thead {
    display: none;
  }
}

table.principal_attributes {
  td:first-child {
    width: 30%;
  }

  > tbody > tr > td {
    border-top-color: #E6E6E6;
  }
}

/* Session container --*/

#cas-sessions,
#container-stable,
.ui-widget {
  font-family: 'Lato', sans-serif !important;
  font-size: 14px;
}

#container-stable {
  margin: 20px 0 20px;
}

#container-stable {
  margin: 40px 0 20px;

  table th {
    text-align: left;
  }
}