Make section pages light

... and adapt width and height of progress bar.
This commit is contained in:
Matthias Vogelgesang 2014-11-03 19:32:13 +01:00
parent 4daab34c6e
commit 514f95f8f6
2 changed files with 7 additions and 6 deletions

View File

@ -28,6 +28,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 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

@ -83,8 +83,8 @@
\newdimen\progressbar@pbwd % progressbar width \newdimen\progressbar@pbwd % progressbar width
\newdimen\progressbar@tmpdim % auxiliary dimension \newdimen\progressbar@tmpdim % auxiliary dimension
\progressbar@pbwd=20em \progressbar@pbwd=22em
\progressbar@pbht=0.5pt \progressbar@pbht=0.4pt
% the progress bar % the progress bar
\def\progressbar@sectionprogressbar{% \def\progressbar@sectionprogressbar{%
@ -97,12 +97,12 @@
\makebox[\textwidth][c]{ \makebox[\textwidth][c]{
\begin{tikzpicture}[tight background] \begin{tikzpicture}[tight background]
\node[anchor=west, white, inner sep=0pt] at (0pt, 0pt) {\insertsectionHEAD}; \node[anchor=west, mDarkTeal, inner sep=0pt] at (0pt, 0pt) {\insertsectionHEAD};
\draw[anchor=west, mDarkBrown, fill=mDarkBrown, inner sep=0pt] \draw[anchor=west, mDarkTeal!20, fill=mDarkTeal!20, inner sep=0pt]
(2pt, -16pt) rectangle ++ (\progressbar@pbwd, \progressbar@pbht); (2pt, -16pt) rectangle ++ (\progressbar@pbwd, \progressbar@pbht);
\draw[anchor=west, mMediumBrown, fill=mMediumBrown, inner sep=0pt] \draw[anchor=west, mDarkTeal, fill=mDarkTeal, inner sep=0pt]
(2pt, -16pt) rectangle ++ (\progressbar@tmpdim, \progressbar@pbht); (2pt, -16pt) rectangle ++ (\progressbar@tmpdim, \progressbar@pbht);
\end{tikzpicture}% \end{tikzpicture}%
} }
@ -163,7 +163,7 @@
\AtBeginSection[] \AtBeginSection[]
{ {
\begingroup \begingroup
\setbeamercolor{background canvas}{bg=mDarkTeal} \setbeamercolor{background canvas}{bg=black!2}
\begin{frame}[plain] \begin{frame}[plain]
\vspace{2em}\usebeamerfont{section title} \vspace{2em}\usebeamerfont{section title}
\progressbar@sectionprogressbar% \progressbar@sectionprogressbar%