mirror of
https://github.com/encounter/numix-blue-gtk-theme.git
synced 2026-07-10 12:18:49 -07:00
Add style for destructive buttons
This commit is contained in:
@@ -2790,6 +2790,35 @@ GtkProgressBar.osd.progressbar {
|
||||
background-color: @osd_bg;
|
||||
}
|
||||
|
||||
/******************************
|
||||
* destructive action buttons *
|
||||
******************************/
|
||||
.destructive-action.button {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: shade(@error_color, 0.8);
|
||||
border-radius: 2px;
|
||||
background-color: @error_color;
|
||||
background-image: none;
|
||||
color: mix(@theme_selected_fg_color, @error_color, 0.1);
|
||||
}
|
||||
|
||||
.destructive-action.button:hover {
|
||||
border-color: shade(@error_color, 0.7);
|
||||
background-color: shade(@error_color, 1.12);
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.destructive-action.button:active {
|
||||
border-color: shade(@error_color, 0.8);
|
||||
background-color: shade(@error_color, 0.87);
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.destructive-action.button:hover:active {
|
||||
border-color: shade(@error_color, 0.7);
|
||||
}
|
||||
|
||||
/******************
|
||||
* selection mode *
|
||||
******************/
|
||||
|
||||
Reference in New Issue
Block a user