% Copyright 2010 by Malte Schmitz
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.

\DeclareOptionBeamer{hideothersubsections}{\PassOptionsToPackage{hideothersubsections}{beamerouterthemesidebar}}
\DeclareOptionBeamer{hideallsubsections}{\PassOptionsToPackage{hideallsubsections}{beamerouterthemesidebar}}

\PassOptionsToPackage{right}{beamerouterthemesidebar}
\PassOptionsToPackage{width=2cm}{beamerouterthemesidebar}

\DeclareOptionBeamer{width}{\PassOptionsToPackage{width=#1}{beamerouterthemesidebar}}
\DeclareOptionBeamer{left}{\PassOptionsToPackage{left}{beamerouterthemesidebar}}
\DeclareOptionBeamer{right}{\PassOptionsToPackage{right}{beamerouterthemesidebar}}

\ProcessOptionsBeamer

\mode<presentation>

\useinnertheme{default} % circles, rounded, rectangles

\usefonttheme{structurebold}

\setbeamertemplate{navigation symbols}{} % hide navigation symbols
\setbeamertemplate{footline}{
  \hfill%
  \usebeamercolor[fg]{page number in head/foot}%
  \usebeamerfont{page number in head/foot}%
  \insertframenumber\kern3em\vskip1em%
}

\setbeamertemplate{sections/subsections in toc}[sections numbered]

\useoutertheme[height=0pt]{sidebar}

{\usebeamercolor{structure}}

\setbeamertemplate{sidebar canvas \beamer@sidebarside}[horizontal shading][left=black!12,right=black!6]

\usecolortheme{malte}

\mode
<all>
