/**
 * This file provides styles for "edittable plugin"
 */

/* + + + + +  global  + + + + + */
#dokuwiki__content.main-content {
    div.editbutton_table {
        position: relative; // for IE
        float: left;
        margin-top: -1.4em !important; // overwrite inline styles

        form div.no {
            button,
            input.button {
                min-height: 1rem;
                background-color: @ini_background;
                border-top: solid 1px @ini_button_background;
                border-color: @ini_border;
                border-radius: 0 0 @fix_border-radius @fix_border-radius;
                color: @ini_existing;
                font-size: @font-size-small;
                margin-top: -1px; // for best position of edit-tab beneath table
                padding-right: .3em;
                transition: @transition background-color, @transition border-color, @transition color;

                &:hover,
                &:focus,
                &:active {
                    background-color: @ini_existing;
                    border-color: @ini_existing;
                    color: @ini_background;
                }
            }
        }

        + * {
            clear: left;
        }

        + div.editbutton_table {
            clear: none;
        }
    }
}
