on-demand-actions {
  position: relative;

  .on-demand-state-checkbox, .on-demand-backdrop-checkbox {
    display: none;
  }

  .on-demand-open-label {
    font-size: 2rem;
    font-weight: 900;
    color: cornflowerblue;
  }

  .on-demand-open-label:after {
    display: inline-block;
    content: "";
    vertical-align: -.125em;
    background-image: url("data:image/svg+xml,<svg fill='%23333' viewBox='0 0 100 80' width='40' height='40'  xmlns='http://www.w3.org/2000/svg'><rect width='100' height='20' rx='8'></rect><rect y='30' width='100' height='20' rx='8'></rect><rect y='60' width='100' height='20' rx='8'></rect></svg>");
    background-repeat: no-repeat;
    background-size: 1.2rem 1.2rem;
    width: 1.5rem;
    height: 1.5rem;
  }


  on-demand-additional-actions {
    display: none;
    position: absolute;
    top: 0;
    left: 1.5rem;
    z-index: 100;
    background-color: #fff;
    padding: .5rem;

    // width: max(300px, 50vw);
    transform: translateY(-30%);
    border: 5px solid #ececec;
  }

  .on-demand-backdrop-label {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
  }

  .on-demand-state-checkbox:checked ~ on-demand-additional-actions {
    display: block;
  }

  .on-demand-open-label:hover, .on-demand-state-checkbox:checked ~ .on-demand-open-label {
    &:after {
      background-image: url("data:image/svg+xml,<svg fill='rgb(255, 156, 102)' viewBox='0 0 100 80' width='40' height='40'  xmlns='http://www.w3.org/2000/svg'><rect width='100' height='20' rx='8'></rect><rect y='30' width='100' height='20' rx='8'></rect><rect y='60' width='100' height='20' rx='8'></rect></svg>");
    }
  }

  .on-demand-state-checkbox:checked ~ .on-demand-backdrop-label {
    display: block;
    visibility: visible;
  }

  .on-demand-state-checkbox:checked ~ .on-demand-open-label {
    color: #ff9c66;
  }
}

ul.action-list * {
  width: 100%;
}
