Code snippets: Digital label

  1. Straight corners for digital label

    1 2 3 4 .OcuLight .page.page--dl .dl__grid__item, .OcuLight .page.page--dl .dl__grid__item__face { border-radius: 0px; }

     

  2. Remove shadow around corners of a digital label

    1 2 3 4 5 .dl__grid__item__face__image, .OcuLight .page.page--dl .dl__grid__item__face, .OcuLight .button.dl__grid__item__open { border-radius: 0px; }

     

  3. Change the ‘visited’ state of items. A value between 0 and 1

    1 2 3 4 5 .dl__grid__item--visited .dl__grid__item__face--front, .dl__grid__item--visited .dl__grid__item__face__image, .dl__grid__item--visited .dl__grid__item__face__image img { opacity: .75; }

     

  4. Add a border to items in a digital label

    1 2 3 .dl__grid__item { border: 5px solid red; }