@import "../../../style/mixin";

@include export-module('co-tile-theme') {
  .co-tile {
    .co-tile-wrapper {
      background-color: $tp-tile-background-color;
      border-color: $tp-tile-border-color;
    }
    .co-tile-select-wrapper {
      .co-radio-button {
        label:before {
          border-color: $tp-tile-border-color;
        }
      }
    }
    &.selected {
      .co-tile-wrapper {
        background-color: $tp-tile-selected-background-color;
        border-color: $tp-tile-selected-border-color;
        .co-tile-select-wrapper {
          .co-radio-button {
            label:before {
              border-color: $tp-tile-selected-border-color;
              background-color: $tp-tile-selected-border-color;
            }

            label:after {
              color: $tp-tile-selected-border-color;
              background-color: white;
            }
          }
        }
      }
    }
  }
}
