All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wicketstuff.whiteboard.resource.goog.css Maven / Gradle / Ivy

There is a newer version: 8.0.0-M7
Show newest version
/* ************************* goog dialog.css *********************** */
.modal-dialog {
    background: #c1d9ff;
    border: 1px solid #3a5774;
    color: #000;
    padding: 4px;
    position: absolute;
    border-radius: 8px;
}

.modal-dialog-bg {
    background: #666;
    left: 0;
    position: absolute;
    top: 0;
}

.modal-dialog-title {
    background: #e0edfe;
    color: #000;
    cursor: pointer;
    font-size: 120%;
    font-weight: bold;

    /* Add padding on the right to ensure the close button has room. */
    padding: 8px 31px 8px 8px;

    position: relative;
    _zoom: 1; /* Ensures proper width in IE6 RTL. */
}

.modal-dialog-buttons,
.modal-dialog-content {
    background-color: #fff;
    padding: 8px;
}

.goog-buttonset-default {
    font-weight: bold;
}

/* **************************** Goog menu.css ************************* */
.goog-menu {
    background: #fff;
    border-color: #ccc #666 #666 #ccc;
    border-style: solid;
    border-width: 1px;
    cursor: default;
    font: normal 13px Arial, sans-serif;
    margin: 0;
    outline: none;
    padding: 4px 0;
    position: absolute;
    z-index: 20000; /* Arbitrary, but some apps depend on it... */
}

/* *************************** Goog menuitem.css *************************** */
.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;
}

/* BiDi override for the resting state. */
/* @noflip */
.goog-menuitem.goog-menuitem-rtl {
    /* Flip left/right padding for BiDi. */
    padding-left: 7em;
    padding-right: 28px;
}

/* 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;
}

/* 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;
}

/* BiDi override for the selected/checked state. */
/* @noflip */
.goog-menuitem-rtl .goog-menuitem-checkbox,
.goog-menuitem-rtl .goog-menuitem-icon {
    /* Flip left/right positioning. */
    left: auto;
    right: 6px;
}

.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(image/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;
}

/* BiDi override for shortcut style. */
/* @noflip */
.goog-menuitem-rtl .goog-menuitem-accel {
    /* Flip left/right positioning and text alignment. */
    left: 0;
    right: auto;
    text-align: left;
}

/* Mnemonic styles. */
.goog-menuitem-mnemonic-hint {
    text-decoration: underline;
}

.goog-menuitem-mnemonic-separator {
    color: #999;
    font-size: 12px;
    padding-left: 4px;
}

/* ************************* goog menubutton.css *********************** */
/* State: resting. */
.goog-menu-button {
    /* Client apps may override the URL at which they serve the image. */
    background: #ddd url(image/button-bg.gif) repeat-x top left;
    border: 0;
    color: #000;
    cursor: pointer;
    list-style: none;
    margin: 2px;
    outline: none;
    padding: 0;
    text-decoration: none;
    vertical-align: middle;
}

/* Pseudo-rounded corners. */
.goog-menu-button-outer-box,
.goog-menu-button-inner-box {
    border-style: solid;
    border-color: #aaa;
    vertical-align: top;
}

.goog-menu-button-outer-box {
    margin: 0;
    border-width: 1px 0;
    padding: 0;
}

.goog-menu-button-inner-box {
    margin: 0 -1px;
    border-width: 0 1px;
    padding: 3px 4px;
}

/* Pre-IE7 IE hack; ignored by IE7 and all non-IE browsers. */
* html .goog-menu-button-inner-box {
    /* IE6 needs to have the box shifted to make the borders line up. */
    left: -1px;
}

/* Pre-IE7 BiDi fixes. */
* html .goog-menu-button-rtl .goog-menu-button-outer-box {
    /* @noflip */
    left: -1px;
    /* @noflip */
    right: auto;
}

* html .goog-menu-button-rtl .goog-menu-button-inner-box {
    /* @noflip */
    right: auto;
}

/* IE7-only hack; ignored by all other browsers. */
*:first-child+html .goog-menu-button-inner-box {
    /* IE7 needs to have the box shifted to make the borders line up. */
    left: -1px;
}

/* IE7 BiDi fix. */
*:first-child+html .goog-menu-button-rtl .goog-menu-button-inner-box {
    /* @noflip */
    left: 1px;
    /* @noflip */
    right: auto;
}

/* Safari-only hacks. */
::root .goog-menu-button,
::root .goog-menu-button-outer-box,
::root .goog-menu-button-inner-box {
    /* Required to make pseudo-rounded corners work on Safari. */
    line-height: 0;
}

::root .goog-menu-button-caption,
::root .goog-menu-button-dropdown {
    /* Required to make pseudo-rounded corners work on Safari. */
    line-height: normal;
}

/* State: disabled. */
.goog-menu-button-disabled {
    background-image: none !important;
    opacity: 0.3;
    -moz-opacity: 0.3;
    filter: alpha(opacity = 30);
}

.goog-menu-button-disabled .goog-menu-button-outer-box,
.goog-menu-button-disabled .goog-menu-button-inner-box,
.goog-menu-button-disabled .goog-menu-button-caption,
.goog-menu-button-disabled .goog-menu-button-dropdown {
    color: #333 !important;
    border-color: #999 !important;
}

/* Pre-IE7 IE hack; ignored by IE7 and all non-IE browsers. */
* html .goog-menu-button-disabled {
    margin: 2px 1px !important;
    padding: 0 1px !important;
}

/* IE7-only hack; ignored by all other browsers. */
*:first-child+html .goog-menu-button-disabled {
    margin: 2px 1px !important;
    padding: 0 1px !important;
}

/* State: hover. */
.goog-menu-button-hover .goog-menu-button-outer-box,
.goog-menu-button-hover .goog-menu-button-inner-box {
    border-color: #9cf #69e #69e #7af !important; /* Hover border wins. */
}

/* State: active, open. */
.goog-menu-button-active,
.goog-menu-button-open {
    background-color: #bbb;
    background-position: bottom left;
}

/* State: focused. */
.goog-menu-button-focused .goog-menu-button-outer-box,
.goog-menu-button-focused .goog-menu-button-inner-box {
    border-color: orange;
}

/* Caption style. */
.goog-menu-button-caption {
    padding: 0 4px 0 0;
    vertical-align: top;
}

/* Dropdown arrow style. */
.goog-menu-button-dropdown {
    height: 15px;
    width: 7px;
    /* Client apps may override the URL at which they serve the sprite. */
    background: url(image/editortoolbar.png) no-repeat -388px 0;
    vertical-align: top;
}

/* Pill (collapsed border) styles. */
/* TODO(gboyer): Remove specific menu button styles and have any button support being a menu button. */
.goog-menu-button-collapse-right,
.goog-menu-button-collapse-right .goog-menu-button-outer-box,
.goog-menu-button-collapse-right .goog-menu-button-inner-box {
    margin-right: 0;
}

.goog-menu-button-collapse-left,
.goog-menu-button-collapse-left .goog-menu-button-outer-box,
.goog-menu-button-collapse-left .goog-menu-button-inner-box {
    margin-left: 0;
}

.goog-menu-button-collapse-left .goog-menu-button-inner-box {
    border-left: 1px solid #fff;
}

.goog-menu-button-collapse-left.goog-menu-button-checked
.goog-menu-button-inner-box {
    border-left: 1px solid #ddd;
}

/* ************************* goog palette.css *********************** */
.goog-palette {
    cursor: default;
    outline: none;
}

.goog-palette-table {
    border: 1px solid #666;
    border-collapse: collapse;
    margin: 5px;
}

.goog-palette-cell {
    border: 0;
    border-right: 1px solid #666;
    cursor: pointer;
    height: 18px;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    width: 18px;
}

/* ******************* goog.colorpallete ************************ */
.goog-palette-cell .goog-palette-colorswatch {
    border: none;
    font-size: x-small;
    height: 18px;
    position: relative;
    width: 18px;
}

.goog-palette-cell-hover .goog-palette-colorswatch {
    border: 1px solid #fff;
    height: 16px;
    width: 16px;
}

.goog-palette-cell-selected .goog-palette-colorswatch {
    /* Client apps may override the URL at which they serve the sprite. */
    background: url(image/editortoolbar.png) no-repeat -368px 0;
    border: 1px solid #333;
    color: #fff;
    font-weight: bold;
    height: 16px;
    width: 16px;
}

.goog-palette-customcolor {
    background-color: #fafafa;
    border: 1px solid #eee;
    color: #666;
    font-size: x-small;
    height: 15px;
    position: relative;
    width: 15px;
}

.goog-palette-cell-hover .goog-palette-customcolor {
    background-color: #fee;
    border: 1px solid #f66;
    color: #f66;
}

/* *************************** goog colormenubutton.css ********************* */
/* Color indicator. */
.goog-color-menu-button-indicator {
    border-bottom: 4px solid #f0f0f0;
}

/* Thinner padding for color picker buttons, to leave room for the indicator. */
.goog-color-menu-button .goog-menu-button-inner-box,
.goog-toolbar-color-menu-button .goog-toolbar-menu-button-inner-box {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* ***************************** goog checkbox.css **************************** */
.goog-checkbox {
    border: 1px solid #1C5180;
    display: -moz-inline-box;
    display: inline-block;
    font-size: 1px; /* Fixes the height in IE6 */
    height: 11px;
    margin: 0 4px 0 1px;
    vertical-align: text-bottom;
    width: 11px;
}

.goog-checkbox-checked {
    background: #ccc url(image/check-sprite.gif) no-repeat 2px center;
}

.goog-checkbox-undetermined {
    background: #bbb url(image/check-sprite.gif) no-repeat 2px center;
}

.goog-checkbox-unchecked {
    background: #fff;
}

.goog-checkbox-disabled {
    border: 1px solid lightgray;
    background-position: -7px;
}

/* ***************************** goog tooltip.css **************************** */
.goog-tooltip {
    background: #ffe;
    border: 1px solid #999;
    border-width: 1px 2px 2px 1px;
    padding: 6px;
    z-index: 30000;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy