import { css } from '//resources/lit/v3_0/lit.rollup.js';
import { getCss as getCrHiddenStyleLit } from 'chrome://resources/cr_elements/cr_hidden_style_lit.css.js';
let instance = null;
export function getCss() {
    return instance || (instance = [...[getCrHiddenStyleLit()], css `
:host {
  align-items: center;
  cursor: pointer;
  display: block;
  height: 120px;
  margin: auto 0;
  text-align: center;
}

#iconContainer {
  height: 64px;
  margin-inline-end: auto;
  margin-inline-start: auto;
  margin-top: 14px;
  position: relative;
  transition: all 250ms;
  width: 64px;
}

#deprecatedIcon {
  bottom: 0;
  height: 18px;
  position: absolute;
  right: 0;
  width: 18px;
}

#iconContainer:active {
  transform: scale(0.94);
}

#textContainer {
  font-size: 13px;
  height: 20px;
  /* Scale the total text margin with the size of "extra space" available in
  the grid column, but limit max margin at 32px to give text some space. */
  margin-inline: min(32px, calc(8px + (100% - 96px) / 2));
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#iconImage {
  height: 100%;
  width: 100%;
}

hr {
  border-top: var(--cr-separator-line);
  height: 0;
}

cr-checkbox::part(label-container) {
  flex: 1;
}`]);
}
