mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00

The user is supposed to only be able to select the safe PDF extension. In a multi-file scenario, the extension will be the same for all files. We follow here the design document [1]. To achieve this, we needed a QLabel right next to a QLineEdit, to give the user the illusion that it is the same graphical object. [1]: https://github.com/firstlookmedia/dangerzone/files/6657536/DangerZone_NA02a.pdf
20 lines
No EOL
440 B
CSS
20 lines
No EOL
440 B
CSS
QLineEdit {
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
border-color: #c8c8c8;
|
|
padding: 3px;
|
|
}
|
|
|
|
/*
|
|
* QLabel left-adjacent to a QLineEdit to give the illusion
|
|
* that it is part of it, but just not editable
|
|
*/
|
|
QLabel[style="safe_extension_filename"] {
|
|
border-width: 1px;
|
|
border-right-width: 0px;
|
|
border-style: solid;
|
|
border-color: #c8c8c8;
|
|
padding: 4px 0px 4px 4px;
|
|
background: white;
|
|
color: grey;
|
|
} |