From e58e9a6f2e75b3802cf12e7f177dcd7e4b8a50bb Mon Sep 17 00:00:00 2001 From: Vendula Poncova Date: Feb 16 2021 17:59:36 +0000 Subject: Add a custom installer stylesheet for Fedora Provide the fedora.css file with the Fedora-specific definitions. --- diff --git a/anaconda/Makefile b/anaconda/Makefile index 12a896c..b3468fb 100644 --- a/anaconda/Makefile +++ b/anaconda/Makefile @@ -25,6 +25,7 @@ install: # install -m 755 splashtolss.sh $(DESTDIR)/$(ANACONDADATADIR) install -m 644 syslinux-vesa-splash.png $(DESTDIR)/$(ANACONDABOOTDIR)/splash.png + install -m 644 fedora.css $(DESTDIR)/$(ANACONDADATADIR)/pixmaps install -m 644 sidebar-logo.png $(DESTDIR)/$(ANACONDADATADIR)/pixmaps install -m 644 sidebar-bg.png $(DESTDIR)/$(ANACONDADATADIR)/pixmaps install -m 644 topbar-bg.png $(DESTDIR)/$(ANACONDADATADIR)/pixmaps diff --git a/anaconda/fedora.css b/anaconda/fedora.css new file mode 100644 index 0000000..a9c716c --- /dev/null +++ b/anaconda/fedora.css @@ -0,0 +1,37 @@ +/* Anaconda gtk style overrides for Fedora */ + +/* vendor-specific colors */ +@define-color fedora #2f4265; + +/* logo and sidebar classes */ + +/* The sidebar consists of three parts: a background, a logo, and a product logo, + * rendered in that order. The product logo is empty by default and is intended + * to be overridden by a stylesheet in product.img. + */ +.logo-sidebar { + background-image: url('/usr/share/anaconda/pixmaps/sidebar-bg.png'); + background-color: @fedora; + background-repeat: no-repeat; +} + +/* Add a logo to the sidebar */ +.logo { + background-image: url('/usr/share/anaconda/pixmaps/sidebar-logo.png'); + background-position: 50% 20px; + background-repeat: no-repeat; + background-color: transparent; +} + +/* This is a placeholder to be filled by a product-specific logo. */ +.product-logo { + background-image: none; + background-color: transparent; +} + +AnacondaSpokeWindow #nav-box { + background-color: @fedora; + background-image: url('/usr/share/anaconda/pixmaps/topbar-bg.png'); + background-repeat: repeat; + color: white; +}