diff --git a/lh-presentation/beamercolorthemelh.sty b/lh-presentation/beamercolorthemelh.sty index a4f4279..f7ead7c 100644 --- a/lh-presentation/beamercolorthemelh.sty +++ b/lh-presentation/beamercolorthemelh.sty @@ -15,6 +15,8 @@ \mode \setbeamercolor{structure}{fg=lhOrange} + \setbeamercolor{footer}{fg=white, bg=lhDarkGray} + \setbeamercolor{part title}{parent=footer} \setbeamercolor{alerted text}{fg=lhOrange} diff --git a/lh-presentation/beamerouterthemelh.sty b/lh-presentation/beamerouterthemelh.sty index 68c0676..fc4b075 100644 --- a/lh-presentation/beamerouterthemelh.sty +++ b/lh-presentation/beamerouterthemelh.sty @@ -48,12 +48,14 @@ \advance\@tempdima by -6mm \leavevmode% \centerline{% - \colorbox{black}{% + \usebeamercolor{footer}{ + \colorbox{bg}{% \parbox{\@tempdima}{\mbox{}\\[.07cm] - \mbox{}\quad \textcolor{white}{\bfseries \textcopyright~\the\year{} \href{https://logicalhacking.com}{Logicalhacking.com}. All Rights Reserved. \hfill - \textcolor{lhOrange}{\textbf{\footnotesize \lh@classification}}\hfill - Page \insertframenumber{} of \inserttotalframenumber}\quad\mbox{}\\[.07cm] - }}}% + \mbox{}\quad \textcolor{fg}{\bfseries \textcopyright~\the\year{} \href{https://logicalhacking.com}{Logicalhacking.com}. All Rights Reserved. \hfill + \lh@classification\hfill + \insertsectionhead/\insertsubsectionhead + \footnotesize Page \insertframenumber{} of \inserttotalframenumber}\quad\mbox{}\\[.07cm] + }}}}% \vskip0pt% } @@ -85,7 +87,7 @@ \vskip-1em% \vfill% }% - \centerline{\color{black}% lhDarkGray}% + \centerline{\color{lhDarkGray}% black}% lhDarkGray}% \parbox{\@tempdima}{\rule{\textwidth}{.3pt}}} } diff --git a/lh-presentation/beamerthemelh-presentation.sty b/lh-presentation/beamerthemelh-presentation.sty index b2744ef..5c91a81 100644 --- a/lh-presentation/beamerthemelh-presentation.sty +++ b/lh-presentation/beamerthemelh-presentation.sty @@ -76,15 +76,8 @@ } \DeclareDocumentCommand{\PartFrame}{ O{red} O{white} m }{% + \setbeamercolor{footer}{fg=#1, bg=#2} \bgroup - \setbeamertemplate{footline}[default] - \ifbeamer@colour - \setbeamercolor{normal text}{fg=#2, bg=#1} - \setbeamercolor{structure}{fg=#2, bg=#1} - \else - \setbeamercolor{normal text}{fg=#1, bg=#2} - \setbeamercolor{structure}{fg=#1, bg=#2} - \fi \part{#3} \frame{\partpage} \egroup