Skip to content

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.

2.4 KB
Raw Blame
.tableFieldWrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  width: 100%;
  min-width: 0;
}

.tableFieldWrapper > label {
  text-align: start;
}

.tableFieldWrapper__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs-fixed);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tableFieldWrapper__row {
  display: flex;
  align-items: center;
  gap: var(--space-xs-fixed);
  min-width: 0;
  padding: var(--space-2xs-fixed) var(--space-xs-fixed);
  border-radius: 8px;
  background: var(--input-background);
}

.tableFieldWrapper__key {
  flex: 0 0 150px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: start;
}

.tableFieldWrapper__value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: start;
  color: var(--on-panel-muted, var(--text-secondary));
}

.tableFieldWrapper__connector {
  flex: 0 0 auto;
  color: var(--on-panel-muted, var(--text-secondary));
}

.tableFieldWrapper__rowActions {
  display: flex;
  align-items: center;
  gap: var(--space-2xs-fixed);
  margin-inline-start: auto;
}

.tableFieldWrapper__rowActions button,
.tableFieldWrapper__rowActions button svg {
  display: block;
}

.tableFieldWrapper__editButton {
  color: var(--icon-brand);
}

.tableFieldWrapper__deleteButton {
  color: var(--icon-destructive);
}

.tableFieldWrapper__add {
  display: flex;
  align-items: flex-end;
  gap: var(--space-xs-fixed);
  min-width: 0;
}

.tableFieldWrapper__add .Field.Field {
  margin: 0;
  padding-block: 0;
  min-width: 0;
}

.tableFieldWrapper__add .Field > label {
  display: none;
}

.tableFieldWrapper__add > .Field:first-of-type {
  flex: 0 0 150px;
}

.tableFieldWrapper__add > .Field:last-of-type {
  flex: 1 1 auto;
}

.tableFieldWrapper__add > .Button {
  flex: 0 0 auto;
  align-self: flex-end;
  width: var(--field-height);
  height: var(--field-height);
  padding: 0;
  border-radius: var(--field-radius);
}

.tableFieldWrapper__error {
  margin: 0;
  text-align: start;
  font-size: var(--body-sm);
  color: var(--on-panel-danger, var(--danger));
}

.tableFieldWrapper__hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-xs-fixed);
  margin: 0;
  text-align: end;
  font-size: var(--body-sm);
  color: var(--on-panel-muted, var(--text-secondary));
}

.tableFieldWrapper .Field.error input {
  border: 1px solid var(--danger);
  outline: none;
}