transmission/gtk/transmission-ui.css

85 lines
1.6 KiB
CSS
Raw Normal View History

@define-color tr_transfer_down_color #5379a9;
@define-color tr_transfer_up_color #26a955;
@define-color tr_transfer_idle_color #636363;
@define-color tr_error_color #ff453a;
.tr-workarea.frame {
border-left-width: 0;
border-right-width: 0;
border-radius: 0;
}
Add support for GTK 4 (#3916) * Make compact mode switch work for both GTK 3 and 4 * Implement GTK 4-specific view gesture handling * Fix torrents view context menu on GTK 4 * Explicitly show/hide menubar on startup/teardown * Switch from `Gtk::Pixbuf` to `Gio::Icon` for views * Support GTK 4 exceptions based on `std::exception` * Fix options menu setup with GTK 4 * Use `delete-event` (GTK 3) and `close-request` (GTK 4) signals to handle window clousure * Add custom file chooser button implementation GTK 4 drops FileChooserButton widget and suggests implementing it using Button. * Add helpers to set X11 hints with GTK 4 * Remove `HigWorkarea` class that's no longer used * Make main menu shortcuts work with GTK 4 * Make drops work in main window and make dialog with GTK 4 * Remove unused `gtr_action_get_widget()` helper * Fix text direction mark setup with GTK 4 (due to switch to enum class) * Fix file tree font size calculation with GTK 4 * Fix crash during shutdown with GTK 4 * Switch from `RadioButton` to `CheckButton` for compatibility with GTK 4 * Fix opening files with GTK 4 * Rework torrent cell renderer to support both GTK 3 and 4 * Disable system tray icon support with GTK 4 * Fix windows positioning with GTK 4 * Fix focus event handling with GTK 4 * Adapt to tree model row/iterator changes in GTK 4 * Adapt to toplevel/root window changes in GTK 4 * Adapt to clipboard changes in GTK 4 * Adapt to icon/theme changes in GTK 4 * Adapt to file/path changes in GTK 4 * Random leftover fixes for GTK 4 compatibility * Clean up unused code * Move GTK 3 *.ui files into a subdirectory * Add GTK 4 *.ui files * Search for both GTK 3 and 4 during configuration
2022-10-08 22:50:03 +00:00
.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;
}