/* browser/style/menus.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.
*/

/* Menus */

/* The menubar */

.menubar {
  margin: 0;
  padding: 0.2ex;
}

.menubar>li {
  display: inline;
  margin: 0.2ex 0.5ex;
  padding: 0.1ex 0.6ex;
  DEFAULT_CS
  CLICKABLE
  position: relative;
  border-width: 2px;
  border-style: none solid none none;
}

.menubar>li:hover {
  HOVER_CS
}

.menubar>li.clicked {
  MENU_CS
}


/* Pop-ups */

.popupmenu {
  display: inline;
  margin: 0.2ex 0.5ex;
  padding: 0.1ex 0.6ex;
  CLICKABLE
  position: relative;
  border-width: 2px;
  border-style: none solid none none;
  border-color: transparent;
}

.popupmenu:hover {
  HOVER_CS
}

.popupmenu.clicked {
  MENU_CS
}


/* Menus themselves */

.menu {
  display: none;
  margin: 0;
  min-width: 12ex;
  border-width: 2px;
  border-style: none solid solid none;
  MENU_CS
  padding: 0.3ex 1px 0;
  font-weight: normal;
}

.clicked>ul.menu {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
}

.menu li {
  display: block;
  margin: 0.4ex 0;
  padding: 0 0.6ex;
  CLICKABLE
  white-space: pre;
}

.menu li:hover {
  HOVER_CS
}


