Files
Sourcetrail/bin/app/data/gui/window/listbox.css
mlangkabel 3ffe76d161 logic: Directory list box now restricts the user to select files, directories or both if required
* split QtDirectoryListBox and QtStringListBox
* renamed QtDirectoryListBox to QtPathListBox
* extracted QtListItemWidget class to own file
* renamed QtListItemWidget to QtListBoxItem
* added SelectionPolicyType to QtPathListBox to allow for specifying if selecting files, directories or both should be allowed.
2018-03-30 18:25:58 +02:00

67 lines
902 B
CSS

* {
font-size: 12px;
}
QtListBox {
background-color: white;
border: 1px solid lightgray;
border-radius: 12px;
}
QListWidget {
background: transparent;
border: none;
margin: 2px 0 0 0;
}
QListWidget::item {
border-bottom: 1px solid lightgray;
height: 20px;
}
QListWidget::item:selected {
background-color: #EEE;
}
QtListBoxItem #field {
background-color: transparent;
border: none;
color: black;
margin-top: 2px;
margin-left: 5px;
}
QtListBoxItem #field:disabled {
color: grey;
}
#bar {
border-top: 1px solid lightgray;
}
#helpButton, #dotsButton, #plusButton, #minusButton, #editButton {
border: none;
color: white;
height: 1em;
width: 1em;
padding: 1px;
}
#plusButton, #minusButton, #editButton {
margin-right: 3px;
}
#editButton {
margin-left: 6px;
margin-right: 3px;
}
#editButton:hover {
background-color: #EEE;
}
#dropInfo {
color: #999;
margin-top: 2px;
}