anastasis-gtk.css (1531B)
1 /* 2 This file is part of anastasis-gtk. 3 Copyright (C) 2025 Anastasis SARL 4 5 anastasis-gtk is free software: you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation, either version 3 of the License, or 8 (at your option) any later version. 9 10 anastasis-gtk is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with anastasis-gtk. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 /* The frames that group the per-state pages carry no visible border. GTK3 20 expressed that with shadow-type=none, which GTK4 dropped in favour of CSS, 21 so the UI files tag those frames with the "flat" class instead. */ 22 frame.flat { 23 border-style: none; 24 } 25 26 /* The theme gives the cells of a GtkColumnView far more vertical padding than 27 a GtkCellRenderer had, which would make every one of our lists a third 28 taller than it used to be. The progress lists ask for their padding through 29 the margins of their labels instead. */ 30 columnview > listview > row > cell { 31 padding-top: 2px; 32 padding-bottom: 2px; 33 } 34 35 /* AG_mark_invalid_input() adds this class to the identity attribute widget 36 whose contents the reducer rejected. */ 37 .anastasis-invalid, 38 .anastasis-invalid * { 39 background-color: #FF4500; 40 }