keepassxc/src/gui/styles/base/basestyle.qss
Kuznetsov Oleg dce34de875
Add New/Preview Entry Attachments dialog and functionality (#11637)
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
2025-01-11 23:08:19 -05:00

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;
}