github.com/hernad/nomad@v1.6.112/ui/app/styles/components/policies.scss (about)

     1  /**
     2   * Copyright (c) HashiCorp, Inc.
     3   * SPDX-License-Identifier: MPL-2.0
     4   */
     5  
     6  table.policies {
     7    tr {
     8      cursor: pointer;
     9  
    10      &:hover td {
    11        background-color: #f5f5f5;
    12      }
    13      a {
    14        color: black;
    15        text-decoration: none;
    16      }
    17      .number-expired {
    18        color: $red;
    19      }
    20    }
    21  }
    22  
    23  .edit-policy {
    24    .policy-editor {
    25      max-height: 600px;
    26      overflow: auto;
    27    }
    28  
    29    .input {
    30      margin-bottom: 1rem;
    31    }
    32  }
    33  
    34  .token-operations {
    35    margin-bottom: 3rem;
    36    display: grid;
    37    grid-auto-flow: column;
    38    grid-template-columns: repeat(auto-fit, 50%);
    39    grid-auto-rows: minmax(100px, auto);
    40    gap: 1rem;
    41  
    42    .boxed-section {
    43      padding: 0;
    44      margin: 0;
    45      display: grid;
    46      grid-template-rows: auto 1fr;
    47  
    48      .external-link svg {
    49        position: relative;
    50        top: 3px;  
    51      }
    52  
    53      button.create-test-token, pre {
    54        margin-top: 1rem;
    55      }
    56  
    57      pre {
    58        display: grid;
    59        grid-template-columns: 1fr auto;
    60        align-content: flex-start;
    61        white-space: normal;
    62        overflow: visible;
    63      }
    64    }
    65  }
    66  
    67  @media #{$mq-hidden-gutter} {
    68    .token-operations {
    69      grid-auto-flow: row;
    70      grid-template-columns: 1fr;
    71    }
    72  }
    73  
    74  
    75  table.tokens {
    76    margin-bottom: 3rem;
    77  }