small medium large xlarge

28555da_pragsmall
12 Oct 2017, 16:13
David Wilbur (49 posts)

the main reason I found this is related to issues I found when looking at depot_pb. I only found two references to cart.scss in the pdf… was this change tucked away in one of the exercises?

  input[type="submit"] {
    background-color: #881;
    border-radius: 0.354em;
    border: solid thin #441;
    color: white;
    font-size: 1em;
    padding: 0.354em 1em;
  }
  input[type="submit"]:hover {
    background-color: #992;
  }

became


  .actions {
    text-align: right;
    form {
      display: inline;
      input[type="submit"] {
        background-color: #881;
        border-radius: 0.354em;
        border: solid thin #441;
        color: white;
        font-size: 1em;
        padding: 0.354em 1em;
      }
      input[type="submit"]:hover {
        background-color: #992;
      }
      input[type="submit"].checkout {
        background-color: #bfb;
        color: black;
        font-weight: bold;
      }
      input[type="submit"].checkout:hover {
        background-color: #efe;
      }
    }
  }
Dmfcb_pragsmall
12 Oct 2017, 20:09
David Copeland (467 posts)

Damn, it looks like that was omitted. That was intended to be referenced in chapter 12. The code is marked up for inclusion and everything, but I must’ve missed it. And…the book is out to production :(

You must be logged in to comment