/*
  This file is part of anastasis-gtk.
  Copyright (C) 2025 Anastasis SARL

  anastasis-gtk is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  anastasis-gtk is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with anastasis-gtk.  If not, see <http://www.gnu.org/licenses/>.
*/

/* The frames that group the per-state pages carry no visible border.  GTK3
   expressed that with shadow-type=none, which GTK4 dropped in favour of CSS,
   so the UI files tag those frames with the "flat" class instead. */
frame.flat {
  border-style: none;
}

/* The theme gives the cells of a GtkColumnView far more vertical padding than
   a GtkCellRenderer had, which would make every one of our lists a third
   taller than it used to be.  The progress lists ask for their padding through
   the margins of their labels instead. */
columnview > listview > row > cell {
  padding-top: 2px;
  padding-bottom: 2px;
}

/* AG_mark_invalid_input() adds this class to the identity attribute widget
   whose contents the reducer rejected. */
.anastasis-invalid,
.anastasis-invalid * {
  background-color: #FF4500;
}
