The GTK3 sheets targeted GTK 3.18 and broke at 3.20, when the CSS class model was replaced by element nodes. On 3.24 they parsed but matched almost nothing: buttons, entries, tabs, scales and scrollbars rendered as bare rectangles. Rewritten against the node model. gtk-3.0/ gtk.css colour definitions only - recolour the theme here widgets.css all widget rules, node-selector based mate.css MATE panel, applets, window list, Caja, terminal gtk-dark.css alias of gtk.css (the theme is already dark) legacy/ the original 3.18 sheets, moved aside for reference Palette retargeted to the WAR10CK window in Live Free or Die Hard: bg #23425E, accent #BA6A07. Supporting shades derived with the original theme's own ratios (raised x1.42, recessed x0.72). Text had to be lifted - the old #868A8E scores 3.0:1 on #23425E, so normal text is #B4C4D2 (5.85:1) and bright text #E8F0F7 (9.06:1). metacity-1/ pixmaps remapped by projecting each pixel onto the segment between its two nearest source anchors and re-blending against the new ones, so antialiased edges stay clean. Titlebar is ~7px taller, its text is centred and no longer a hardcoded #6d7379 for both focus states, and the idle window-button glyphs are white instead of a dim orange that turned to mud on the lighter bar. Scrollbars are deliberately not accent-coloured; @scrollbar_slider (#454F5A) keeps them quiet at rest and findable on hover. Fixes a transparent-body bug: GtkDialog and GtkAssistant do not use the `window` CSS node in 3.20+, so every dialog, About box and file chooser rendered as a hole through to the desktop. Attribution and the GPL-3.0 modification notice added to README.md, index.theme and metacity-theme-1.xml. Licence unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
170 lines
3.6 KiB
CSS
170 lines
3.6 KiB
CSS
/* Diehard4 — MATE desktop specifics (panel, applets, Caja, terminal). */
|
|
|
|
/*********
|
|
* panel *
|
|
*********/
|
|
.mate-panel-menu-bar,
|
|
PanelToplevel,
|
|
PanelWidget,
|
|
panel-toplevel,
|
|
#PanelPlug {
|
|
background-color: @dark_color;
|
|
background-image: none;
|
|
color: @menu_color;
|
|
border: none;
|
|
}
|
|
|
|
.mate-panel-menu-bar menubar,
|
|
.mate-panel-menu-bar > menubar {
|
|
background-color: transparent;
|
|
color: @menu_color;
|
|
}
|
|
|
|
.mate-panel-menu-bar menubar > menuitem {
|
|
padding: 2px 8px;
|
|
color: @menu_color;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.mate-panel-menu-bar menubar > menuitem:hover {
|
|
background-color: @selected_bg_color;
|
|
color: @selected_fg_color;
|
|
}
|
|
|
|
.mate-panel-menu-bar button,
|
|
#PanelApplet button,
|
|
MatePanelAppletFrameDBus button {
|
|
min-height: 16px;
|
|
min-width: 16px;
|
|
padding: 1px 4px;
|
|
border: none;
|
|
border-radius: 2px;
|
|
background-color: transparent;
|
|
background-image: none;
|
|
color: @menu_color;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.mate-panel-menu-bar button:hover,
|
|
#PanelApplet button:hover {
|
|
background-color: @selected_bg_color;
|
|
color: @selected_fg_color;
|
|
}
|
|
|
|
.mate-panel-menu-bar button:checked,
|
|
.mate-panel-menu-bar button:active,
|
|
#PanelApplet button:checked {
|
|
background-color: @light_color;
|
|
color: @bright_fg_color;
|
|
}
|
|
|
|
#PanelApplet,
|
|
#PanelApplet label,
|
|
#PanelApplet image { color: @menu_color; }
|
|
|
|
.mate-panel-menu-bar .toolbar { background-color: transparent; }
|
|
|
|
/* clock / notification area separators */
|
|
.mate-panel-menu-bar separator,
|
|
#PanelApplet separator { background-color: @light_color; }
|
|
|
|
/*****************
|
|
* window list *
|
|
*****************/
|
|
#tasklist-button,
|
|
.wnck-tasklist button {
|
|
min-height: 16px;
|
|
padding: 1px 6px;
|
|
border: none;
|
|
border-radius: 2px;
|
|
background-color: transparent;
|
|
color: @menu_color;
|
|
font-weight: normal;
|
|
}
|
|
|
|
#tasklist-button:hover,
|
|
.wnck-tasklist button:hover {
|
|
background-color: @light_color;
|
|
color: @bright_fg_color;
|
|
}
|
|
|
|
#tasklist-button:checked,
|
|
#tasklist-button:active,
|
|
.wnck-tasklist button:checked {
|
|
background-color: @selected_bg_color;
|
|
color: @selected_fg_color;
|
|
}
|
|
|
|
/****************
|
|
* workspaces *
|
|
****************/
|
|
.wnck-pager {
|
|
background-color: @dark_color;
|
|
color: @light_color;
|
|
}
|
|
|
|
.wnck-pager:hover { background-color: @light_color; }
|
|
|
|
.wnck-pager:selected,
|
|
.wnck-pager:active {
|
|
background-color: @selected_bg_color;
|
|
color: @selected_fg_color;
|
|
}
|
|
|
|
/***************
|
|
* run dialog *
|
|
***************/
|
|
#mate-panel-run-dialog { background-color: @bg_color; }
|
|
|
|
/*********
|
|
* Caja *
|
|
*********/
|
|
.caja-notebook,
|
|
.caja-side-pane,
|
|
.caja-side-pane notebook { background-color: @bg_color; }
|
|
|
|
.caja-desktop-window,
|
|
.caja-desktop-window .view {
|
|
background-color: transparent;
|
|
color: @bright_fg_color;
|
|
text-shadow: 1px 1px 2px alpha(black, 0.9);
|
|
}
|
|
|
|
.caja-canvas-item:selected,
|
|
.caja-desktop-window .view:selected {
|
|
background-color: @selected_bg_color;
|
|
color: @selected_fg_color;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.caja-pathbar button,
|
|
.caja-location-entry { border-radius: 2px; }
|
|
|
|
.caja-inactive-pane .view { background-color: shade(@bg_color, 0.9); }
|
|
|
|
/*******************
|
|
* mate-terminal *
|
|
*******************/
|
|
TerminalWindow notebook > header > tabs > tab,
|
|
terminal-window notebook > header > tabs > tab { padding: 4px 8px; }
|
|
|
|
TerminalScreen,
|
|
vte-terminal { background-color: @dark_color; color: @fg_color; }
|
|
|
|
/*******************
|
|
* mate-menu / brisk *
|
|
*******************/
|
|
#MintMenu,
|
|
.mintmenu { background-color: @dark_color; }
|
|
|
|
/******************
|
|
* screensaver / *
|
|
* lock dialog *
|
|
******************/
|
|
#lock-dialog {
|
|
background-color: @bg_color;
|
|
border: 1px solid @light_color;
|
|
border-radius: 3px;
|
|
color: @fg_color;
|
|
}
|