Revert section page color, fix frametitle border

This commit is contained in:
Ross Churchley 2015-05-21 02:03:56 -07:00
parent 44a705195c
commit 9916dc5b29
3 changed files with 7 additions and 7 deletions

View File

@ -36,8 +36,8 @@
\setbeamercolor{palette primary}{fg=mDarkTeal, bg=black!2} \setbeamercolor{palette primary}{fg=mDarkTeal, bg=black!2}
\setbeamercolor{palette secondary}{fg=white, bg=mDarkTeal} \setbeamercolor{palette secondary}{fg=white, bg=mDarkTeal}
\setbeamercolor{palette quaternary}{fg=mDarkBrown}
\setbeamercolor{palette tertiary}{fg=white, bg=mMediumBrown} \setbeamercolor{palette tertiary}{fg=white, bg=mMediumBrown}
\setbeamercolor{palette quaternary}{fg=mDarkBrown}
\setbeamercolor{title}{parent=palette primary} \setbeamercolor{title}{parent=palette primary}
\setbeamercolor{subtitle}{parent=palette primary} \setbeamercolor{subtitle}{parent=palette primary}
@ -45,7 +45,7 @@
\setbeamercolor{date}{parent=palette primary} \setbeamercolor{date}{parent=palette primary}
\setbeamercolor{institute}{parent=palette primary} \setbeamercolor{institute}{parent=palette primary}
\setbeamercolor{section title}{parent=palette secondary} \setbeamercolor{section title}{parent=palette primary}
\setbeamercolor{frametitle}{parent=palette secondary} \setbeamercolor{frametitle}{parent=palette secondary}
\setbeamercolor{background canvas}{parent=palette primary} \setbeamercolor{background canvas}{parent=palette primary}
\setbeamercolor{structure}{fg=mDarkTeal} \setbeamercolor{structure}{fg=mDarkTeal}

View File

@ -158,8 +158,9 @@
\setlength{\progressbar@percent}{% \setlength{\progressbar@percent}{%
#1 * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}% #1 * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
}% }%
\begin{tikzpicture} \usebeamercolor{palette primary}
\draw[fg, fill=fg] (0,0) rectangle (#1, 0.4pt); \begin{tikzpicture}[tight background]
\draw[fg!50, fill=fg!50] (0,0) rectangle (#1, 0.4pt);
\draw[alerted text.fg, fill=alerted text.fg] (0,0) rectangle (\progressbar@percent, 0.4pt); \draw[alerted text.fg, fill=alerted text.fg] (0,0) rectangle (\progressbar@percent, 0.4pt);
\end{tikzpicture}% \end{tikzpicture}%
} }
@ -228,7 +229,7 @@
\sectionpage \sectionpage
\else \else
\begingroup \begingroup
\setbeamercolor{background canvas}{parent=palette secondary} \setbeamercolor{background canvas}{parent=palette primary}
\frame[plain]{\sectionpage} \frame[plain]{\sectionpage}
\endgroup \endgroup
\fi \fi
@ -288,8 +289,7 @@
\end{beamercolorbox}% \end{beamercolorbox}%
\if@useTitleProgressBar \if@useTitleProgressBar
\nointerlineskip \nointerlineskip
\begin{beamercolorbox}[wd=\paperwidth,ht=1pt,dp=0pt]{frametitle} \begin{beamercolorbox}[wd=\paperwidth,ht=0.4pt,dp=0pt]{frametitle}
\usebeamercolor{palette quaternary}
\progressbar{\paperwidth} \progressbar{\paperwidth}
\end{beamercolorbox} \end{beamercolorbox}
\fi \fi

BIN
demo.pdf

Binary file not shown.