Improve title progressbar look
This commit is contained in:
parent
552db0309a
commit
5b9d78019b
|
@ -141,13 +141,12 @@
|
||||||
\multiply\progressbar@tmpdim by \progressbar@tmpcounta
|
\multiply\progressbar@tmpdim by \progressbar@tmpcounta
|
||||||
\divide\progressbar@tmpdim by \progressbar@tmpcountb
|
\divide\progressbar@tmpdim by \progressbar@tmpcountb
|
||||||
\multiply\progressbar@tmpdim by 100
|
\multiply\progressbar@tmpdim by 100
|
||||||
|
|
||||||
{%
|
{%
|
||||||
\usebeamercolor{palette quaternary}%
|
\usebeamercolor{palette quaternary}%
|
||||||
\usebeamercolor{alerted text}%
|
\usebeamercolor{alerted text}%
|
||||||
\begin{tikzpicture}[tight background]
|
\begin{tikzpicture}[tight background]
|
||||||
\draw[palette quaternary.fg, fill=palette quaternary.fg] (0, 0) rectangle ($(\paperwidth, 0.2pt) - (0.4pt, 0)$);
|
\draw[palette quaternary.fg, fill=palette quaternary.fg] (0, 0) rectangle ($(\paperwidth, 0.6pt) - (0.4pt, 0)$);
|
||||||
\draw[alerted text.fg, fill=alerted text.fg] (0, 0) rectangle (\progressbar@tmpdim, 0.2pt);
|
\draw[alerted text.fg, fill=alerted text.fg] (0, 0) rectangle (\progressbar@tmpdim, 0.6pt);
|
||||||
\end{tikzpicture}%
|
\end{tikzpicture}%
|
||||||
}%
|
}%
|
||||||
}
|
}
|
||||||
|
@ -238,7 +237,7 @@
|
||||||
\fi
|
\fi
|
||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
\if@useTitleProgressBar
|
\if@useTitleProgressBar
|
||||||
\vspace{-.6em}
|
\vspace{-.5em}
|
||||||
\begin{beamercolorbox}[wd=\paperwidth,ht=1pt,dp=0pt]{frametitle}
|
\begin{beamercolorbox}[wd=\paperwidth,ht=1pt,dp=0pt]{frametitle}
|
||||||
\progressbar@titleprogressbar
|
\progressbar@titleprogressbar
|
||||||
\end{beamercolorbox}
|
\end{beamercolorbox}
|
||||||
|
|
Loading…
Reference in New Issue