import { css } from 'chrome://resources/lit/v3_0/lit.rollup.js';
import { getCss as getCrSharedStyleLit } from 'chrome://resources/cr_elements/cr_shared_style_lit.css.js';
import 'chrome://resources/cr_elements/cr_shared_vars.css.js';
import { getCss as getMdSelectLit } from 'chrome://resources/cr_elements/md_select_lit.css.js';
let instance = null;
export function getCss() {
    return instance || (instance = [...[getCrSharedStyleLit(), getMdSelectLit()], css `
:host {
  height: 100%;
}

.shortcut-card {
  background-color: var(--cr-card-background-color);
  border-radius: var(--cr-card-border-radius);
  box-shadow: var(--cr-card-shadow);
  color: var(--cr-primary-text-color);
  margin: 0 auto 16px auto;
  padding-bottom: 8px;
  width: var(--cr-toolbar-field-width);
}

.shortcut-card:last-of-type {
  margin-bottom: 64px;
}

#container {
  box-sizing: border-box;
  height: 100%;
  padding-top: 24px;
}

.command-entry {
  align-items: start;
  display: flex;
  min-height: var(--cr-section-min-height);
  padding-top: var(--cr-section-vertical-padding);
}

.command-name {
  /* Align with cr-input by matching the field's top padding. */
  flex: 1;
  margin-top: 6px;
}

.command-entry .md-select {
  /* TODO(johntlee): line-height needs adjustment to fix large fonts. */
  line-height: 22px;
  margin-inline-start: var(--cr-section-padding);
}

.card-title {
  align-items: center;
  border-bottom: var(--cr-separator-line);
  display: flex;
  margin-bottom: 9px;
  padding: 16px var(--cr-section-padding);
}

.icon {
  height: 20px;
  margin-inline-end: 20px;
  width: 20px;
}

.card-controls {
  /* We line up the controls with the name, which is after the
     20px left padding + 20px icon + 20px margin on the icon. */
  margin-inline-end: 20px;
  margin-inline-start: 60px;
}`]);
}
