# grommunio GRUB2 theme (theme id "gr1")
#
# Targets grub2 2.12 (openSUSE Leap 15.6 / 16.0, SLE 15 SP6) and 2.14 (Tumbleweed).
# Uses only long-stable gfxmenu features. Every PNG in THIS grub theme is RGBA8888 (grub2
# ignores PNG tRNS and rejects greyscale, so transparency must come from a real alpha channel).
# Menu text uses the bundled VGA bitmap font (vga.pf2) loaded by grub.cfg.

desktop-image: "bootback.png"
desktop-image-scale-method: "crop"
desktop-image-h-align: "center"
desktop-image-v-align: "center"
desktop-color: "#121315"

title-text: ""
title-color: "#000000"
title-font: "VGA Regular 16"

terminal-font: "VGA Regular 16"

# grommunio logo, centred near the top (605x140 source scaled to 300x69)
+ image {
	id = "__logo__"
	left = 50%-150
	top = 8%
	width = 300
	height = 69
	file = "grommunio_a7opt.png"
}

+ boot_menu {
	left = 18%
	width = 64%
	top = 34%
	height = 42%

	item_font = "VGA Regular 16"
	item_color = "#c9d2da"
	item_height = 36
	item_padding = 12
	item_spacing = 8

	selected_item_font = "VGA Regular 16"
	selected_item_color = "#ffffff"
	selected_item_pixmap_style = "highlight_*.png"

	icon_height = 0
	icon_width = 0

	scrollbar = true
	scrollbar_width = 12
	scrollbar_thumb = "slider_*.png"
}

# Slim cyan countdown bar (depletes as the auto-boot timeout runs out)
+ progress_bar {
	id = "__timeout__"

	left = 30%
	width = 40%
	top = 80%
	height = 8

	fg_color = "#2dcaff"
	bg_color = "#202329"
	border_color = "#2d323b"
	text_color = "#9aa6b0"
	text = ""
}

+ hbox {
	top = 100%-35
	left = 20
	+ label {
		text = "C: Command line     E: Edit entry"
		font = "VGA Regular 16"
		color = "#9aa6b0"
		align = "left"
	}
}
