1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-03 05:25:52 +00:00
transmission/gtk/transmission-ui.css
Mike Gelfand 586cff9506
Switch to list view for torrents list (GTK 4) (#5858)
* Add compat operator* for RefPtr

* Rename `*_tree_view_*` button handling helpers to `*_item_view_*`

* Move torrent item colors to CSS

* Switch to list view for torrents list (GTK 4)

* Bump Fedora image to 39 (current rawhide) for GTK 4.11

Enable deprecations as there're lots of them in 4.11 and I'm not keen on
fixing them all right now. Disable warnings as errors due to
-Warray-bounds issue somewhere in libfmt.
2023-08-06 04:26:29 +01:00

84 lines
1.6 KiB
CSS

@define-color tr_transfer_down_color steelblue;
@define-color tr_transfer_up_color forestgreen;
@define-color tr_transfer_idle_color silver;
@define-color tr_error_color red;
.tr-workarea.frame {
border-left-width: 0;
border-right-width: 0;
border-radius: 0;
}
.tr-message-log.frame {
border-left-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-radius: 0;
}
.tr-pad-small {
padding: 3px;
}
.tr-pad-normal {
padding: 6px;
}
.tr-pad-large {
padding: 12px;
}
.tr-button-box,
.tr-dialog-content {
margin: 6px;
}
.tr-small {
font-size: small;
}
.tr-workarea row {
margin: 0;
padding: 3px;
}
row .tr-list-item label {
margin: 0;
padding: 0;
}
row .tr-list-item.tr-compact progressbar trough {
min-width: 50px;
}
row .tr-list-item.tr-compact progressbar trough,
row .tr-list-item.tr-compact progressbar progress {
min-height: 3px;
}
row .tr-list-item.tr-compact .tr-status {
margin-left: 3px;
margin-right: 3px;
}
row .tr-list-item.tr-transfer-down progressbar progress {
background-image: none;
background-color: @tr_transfer_down_color;
border-color: @tr_transfer_down_color;
}
row .tr-list-item.tr-transfer-up progressbar progress {
background-image: none;
background-color: @tr_transfer_up_color;
border-color: @tr_transfer_up_color;
}
row .tr-list-item.tr-transfer-idle progressbar progress {
background-image: none;
background-color: @tr_transfer_idle_color;
border-color: @tr_transfer_idle_color;
}
row:not(:selected) .tr-list-item.tr-error label {
color: @tr_error_color;
}