@use '~/styles/bootstrap/init' as bs;

.shortcuts-modal :global {
  h3 {
    margin-bottom: 1em;
  }

  table {
    th {
      vertical-align: middle;
    }
    td {
      min-width: 170px;
    }
  }

  @include bs.media-breakpoint-up(sm) {
    table {
      table-layout: fixed;
      th {
        width: 170px;
      }
    }
  }

  // see http://coliss.com/articles/build-websites/operation/css/css-apple-keyboard-style-by-nrjmadan.html
  .key {
    /*Box Properties*/
    display: inline-block;
    width: 36px;
    height: 36px;
    margin: 0px 4px;
    /*Text Properties*/
    font: 18px/36px Helvetica, serif;
    color: bs.$secondary;
    text-align: center;
    text-transform: uppercase;
    background: white;
    border-radius: 4px;
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.5);
    /* SVG Properties*/
    polygon {
      fill: bs.$secondary;
    }

    &.key-longer {
      width: 64px;
    }
    &.key-long {
      width: 72px;
    }
    &.key-small {
      width: 24px;
      height: 24px;
      margin: 4px 2px;
      font-size: 18px;
      line-height: 22px;
    }
  }

  .dl-horizontal {
    dt {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      // width: 180px;
      height: 41px;
    }
    // dd {
    //   margin-left: 190px;
    // }
  }
}
