mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Closes #11506 Closes #3383 * This change adds a new opportunity to add attachments that don’t require a real file in the file system. * Add a new dialog window to add and preview attachments and integrate it into the EntryAttachmentsWidget. * Attachment preview support for images and plain text files. Additional enhancements: * Fix sizing of attachment columns * Add padding to attachment table items * Fix targeting of preview widget styling to not impact unintended children
81 lines
1.5 KiB
Text
81 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,
|
|
EntryAttachmentsWidget QTableView::item
|
|
{
|
|
padding: 4px;
|
|
}
|
|
|
|
DatabaseWidget, DatabaseWidget #groupView, DatabaseWidget #tagView {
|
|
background-color: palette(window);
|
|
border: none;
|
|
}
|
|
|
|
EntryPreviewWidget *[blendIn="true"]
|
|
{
|
|
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;
|
|
}
|