/* * Copyright 2009 The Closure Library Authors. All Rights Reserved. * * Use of this source code is governed by the Apache License, Version 2.0. * See the COPYING file for details. */ /* * Cross-browser implementation of the "display: inline-block" CSS property. * See http://www.w3.org/TR/CSS21/visuren.html#propdef-display for details. * Tested on IE 6 & 7, FF 1.5 & 2.0, Safari 2 & 3, Webkit, and Opera 9. * * @author attila@google.com (Attila Bodis) */ /* * Default rule; only Safari, Webkit, and Opera handle it without hacks. */ /* .goog-inline-block { */ /* position: relative; */ /* display: -moz-inline-box; /\* Ignored by FF3 and later. *\/ */ /* display: inline-block; */ /* } */ /* * Pre-IE7 IE hack. On IE, "display: inline-block" only gives the element * layout, but doesn't give it inline behavior. Subsequently setting display * to inline does the trick. */ /* * html .goog-inline-block { */ /* display: inline; */ /* } */ /* * IE7-only hack. On IE, "display: inline-block" only gives the element * layout, but doesn't give it inline behavior. Subsequently setting display * to inline does the trick. */ /* *:first-child+html .goog-inline-block { */ /* display: inline; */ /* } */ /* * Copyright 2007 The Closure Library Authors. All Rights Reserved. * * Use of this source code is governed by the Apache License, Version 2.0. * See the COPYING file for details. */ /* Author: attila@google.com (Attila Bodis) */ /* @import url(../../css/common.css); */ body { background-color: #ffe; font: normal 10pt Arial, sans-serif; } /* Misc. styles used for logging and debugging. */ /* fieldset { */ /* padding: 4px 8px; */ /* margin-bottom: 1em; */ /* } */ /* fieldset legend { */ /* font-weight: bold; */ /* color: #036; */ /* } */ /* label, input { */ /* vertical-align: middle; */ /* } */ /* .hint { */ /* font-size: 90%; */ /* color: #369; */ /* } */ /* .goog-debug-panel { */ /* border: 1px solid #369; */ /* } */ /* .goog-debug-panel .logdiv { */ /* position: relative; */ /* width: 100%; */ /* height: 8em; */ /* overflow: scroll; */ /* overflow-x: hidden; */ /* overflow-y: scroll; */ /* } */ /* .goog-debug-panel .logdiv .logmsg { */ /* font: normal 10px "Lucida Sans Typewriter", "Courier New", Courier, fixed; */ /* } */ /* .perf { */ /* margin: 0; */ /* border: 0; */ /* padding: 4px; */ /* font: italic 95% Arial, sans-serif; */ /* color: #999; */ /* } */ /* #perf { */ /* position: absolute; */ /* right: 0; */ /* bottom: 0; */ /* text-align: right; */ /* margin: 0; */ /* border: 0; */ /* padding: 4px; */ /* font: italic 95% Arial, sans-serif; */ /* color: #999; */ /* } */ .goog-menu { background: #fff; border-color: #ccc #666 #666 #ccc; border-style: solid; border-width: 1px; cursor: default; font: normal 13px Arial, sans-serif; /*font: normal 10px Arial, sans-serif;*/ margin: 0; outline: none; padding: 4px 0; position: absolute; z-index: 20000; /* Arbitrary, but some apps depend on it... */ } /* * Copyright 2009 The Closure Library Authors. All Rights Reserved. * * Use of this source code is governed by the Apache License, Version 2.0. * See the COPYING file for details. */ /* * Standard styling for menus created by goog.ui.MenuItemRenderer. * * @author attila@google.com (Attila Bodis) */ /* State: resting. */ .goog-menuitem { color: #000; /*font: normal 13px Arial, sans-serif;*/ list-style: none; margin: 0; /* 28px on the left for icon or checkbox; 7em on the right for shortcut. */ padding: 4px 7em 4px 28px; white-space: nowrap; } /* If a menu doesn't have checkable items or items with icons, remove padding. */ .goog-menu-nocheckbox .goog-menuitem, .goog-menu-noicon .goog-menuitem { padding-left: 12px; } /* * If a menu doesn't have items with shortcuts, leave just enough room for * submenu arrows, if they are rendered. */ .goog-menu-noaccel .goog-menuitem { padding-right: 20px; } .goog-menuitem-content { color: #000; /*font: normal 13px Arial, sans-serif;*/ font: normal 11px Arial, sans-serif; } /* State: disabled. */ .goog-menuitem-disabled .goog-menuitem-accel, .goog-menuitem-disabled .goog-menuitem-content { color: #ccc !important; } .goog-menuitem-disabled .goog-menuitem-icon { opacity: 0.3; -moz-opacity: 0.3; filter: alpha(opacity=30); } /* State: hover. */ .goog-menuitem-highlight, .goog-menuitem-hover { background-color: #d6e9f8; /* Use an explicit top and bottom border so that the selection is visible * in high contrast mode. */ border-color: #d6e9f8; border-style: dotted; border-width: 1px 0; padding-bottom: 3px; padding-top: 3px; } /* State: selected/checked. */ .goog-menuitem-checkbox, .goog-menuitem-icon { background-repeat: no-repeat; height: 16px; left: 6px; position: absolute; right: auto; vertical-align: middle; width: 16px; } .goog-option-selected .goog-menuitem-checkbox, .goog-option-selected .goog-menuitem-icon { /* Client apps may override the URL at which they serve the sprite. */ background: url(https://ssl.gstatic.com/editor/editortoolbar.png) no-repeat -512px 0; } /* Keyboard shortcut ("accelerator") style. */ .goog-menuitem-accel { color: #999; /* Keyboard shortcuts are untranslated; always left-to-right. */ /* @noflip */ direction: ltr; left: auto; padding: 0 6px; position: absolute; right: 0; text-align: right; } .goog-menuseparator { border-top: 1px solid #ccc; margin: 4px 0; padding: 0; }