keepassxc/src/gui/styles/base/basestyle.qss
techninja1008 dbf9587775
Add database name, color, and icon options for unlock view (#10819)
Closes #10783

Adds three database configuration options (stored as public custom data) that allow a database to have a public name/summary, color, and/or icon to be displayed on the unlock screen. This information is configured in the Database Settings and stored in the database public custom data (ie, unencrypted).

The name/summary is stored in KPXC_PUBLIC_NAME, the color is stored in KPXC_PUBLIC_COLOR, and the icon is stored in KPXC_PUBLIC_ICON.

---------

Co-authored-by: Jonathan White <support@dmapps.us>
2024-10-07 23:42:22 -04:00

80 lines
1.5 KiB
Text

QPushButton:default {
background: palette(highlight);
color: palette(highlighted-text);
}
/* Note: default button hover is defined in the respective theme style */
QPushButton:!default:hover {
background: palette(mid);
}
QPushButton:checked {
background: palette(highlight);
color: palette(highlighted-text);
}
QSpinBox {
min-width: 90px;
}
QCheckBox, QRadioButton {
spacing: 10px;
}
ReportsDialog QTableView::item {
padding: 4px;
}
DatabaseWidget, DatabaseWidget #groupView, DatabaseWidget #tagView {
background-color: palette(window);
border: none;
}
EntryPreviewWidget QLineEdit, EntryPreviewWidget QTextEdit,
EntryPreviewWidget TagsEdit
{
background-color: palette(window);
border: none;
padding-left: 0px;
}
DatabaseOpenWidget #centralStack, DatabaseOpenWidget #publicSummaryLabel {
border: 1px solid palette(mid);
background: palette(light);
}
QGroupBox {
font-weight: bold;
}
QGroupBox::title {
margin-top: -.4em;
margin-left: -.4em;
subcontrol-origin: padding;
}
QToolTip {
border: none;
padding: 3px;
}
DatabaseWidget #SearchBanner, DatabaseWidget #KeeShareBanner {
font-weight: bold;
background-color: palette(highlight);
color: palette(highlighted-text);
border: 1px solid palette(dark);
padding: 2px;
}
QPlainTextEdit, QTextEdit {
background-color: palette(base);
padding-left: 4px;
}
QStatusBar {
background-color: palette(window);
}
*[title="true"] {
font-weight: bold;
}