/* browser/style/common-panes.css
   This file is part of Decimail; see http://decimail.org/
   (C) 2006-2007 Philip Endecott

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   any later version.
  
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
  
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/


define(FRAME_WIDTH,    1)

define(MENUBAR_HEIGHT, 3)
define(TOOLBAR_HEIGHT, 4)
define(FOOTER_HEIGHT,  3)


#menubar-pane,
#toolbar-pane,
#footer-pane {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  border-width: FRAME_WIDTH`ex';
  border-color: FRAMES;
  padding: 0;
}

#menubar-pane {
  top: 0;
  height: MENUBAR_HEIGHT`ex';
  border-style: none;
  border-bottom-width: 2px;
  border-bottom-style: groove;
}

#toolbar-pane {
  top: eval(MENUBAR_HEIGHT+FRAME_WIDTH)`ex';
  height: TOOLBAR_HEIGHT`ex';
  border-style: none none solid;
  padding: 0 1ex;
}

#footer-pane {
  bottom: 0;
  height: eval(2*FOOTER_HEIGHT)`ex';
  font-size: 50%;
  text-align: center;
}


