styles.css 3.75 KB
/*body {
    font-family: Georgia, sans-serif;
    padding: 40px;
}*/

div#container {
    margin: auto;
    width: 780px;
}
a {
    color: #000000;
}

em {
    busy .gif font-style: italic;
}

h1 {
    font-size: 1.8em;
    margin-bottom: 40px;
}

h2 {
    color: #C0C0C0;
    font-size: 1.2em;
    margin: 20px 0;
}

ol#examples {
    list-style-type: square;
    margin-left: 20px;
}

    ol#examples li {
        line-height: 1.4em;
        margin-bottom: 20px;
    }

form img {
    display: none;
    margin: 5px 0 0 10px;
    vertical-align: top;
}

form.mf_busy img {
    display: inline;
}

pre {
    line-height: 1.4em;
}

/*** Manifest ***/

/* Manifest container that wraps the elements and now acts as, and should be
   styled as, the input. */
div.mf_container {
    border: 1px solid #ddd;
    cursor: text;
    display: inline-block;
    width: 70%;
    background: #fff;
    border-radius: 3px;
}
div.mf_container ol{
    margin:0 !important;
}
    /* Ordered list for displaying selected items. */
    div.mf_container ol.mf_list {
        display: inline;
    }

        /* Selected item, regardless of state (highlighted, selected). */
        div.mf_container ol.mf_list li.mf_item {
            cursor: pointer;
            display: inline-block;
            /*margin: 2px;*/
            /*padding: 2px 4px 3px;*/
            padding:0 4px;
            font-size: 12px;
            /*vertical-align: top;*/
            /*margin-top: 6px;*/
            line-height:30px;
        }

.mf_itemError {
    color: red;
}

/* Selected item that's highlighted by mouseover. */
div.mf_container ol.mf_list li.mf_item.mf_highlighted {
    background-color: #E0E0E0;
}

/* Selected item that's selected by click or keyboard. */
div.mf_container ol.mf_list li.mf_item.mf_selected {
    background-color: #C0C0C0;
}

/* Remove link. */
div.mf_container ol.mf_list li.mf_item a.mf_remove {
    color: #E0E0E0;
    margin-left: 3px;
    text-decoration: none;
}

/* Remove link that's highlighted. */
div.mf_container ol.mf_list li.mf_item.mf_highlighted a.mf_remove {
    color: #FFFFFF;
}

/* Remove link that's selected. */
div.mf_container ol.mf_list li.mf_item.mf_selected a.mf_remove {
    color: #FFFFFF;
}

/* Actual input, styled to be invisible within the container. */
div.mf_container input.mf_input {
    border: 0;
    font: inherit;
    /* font-size: 100%; */
    margin: 2px;
    outline: none;
    padding: 4px;
    height:20px;
    line-height:20px;
    font-size: 12px;
    color: #333;
}

/*** Marco Polo ***/

/* Ordered list for display results. */
ol.mp_list {
    background-color: #FFFFFF;
    border-left: 1px solid #C0C0C0;
    border-right: 1px solid #C0C0C0;
    overflow: hidden;
    position: absolute;
    width: 498px;
    z-index: 99999;
}

    /* Each list item, regardless of success, error, etc. */
    ol.mp_list li {
        border-bottom: 1px solid #C0C0C0;
        padding: 4px 4px 5px 9px;
    }

        /* Each list item from a successful request. */
        ol.mp_list li.mp_item {
        }

        /* Each list item that's selectable. */
        ol.mp_list li.mp_selectable {
            cursor: pointer;
        }

        /* Currently highlighted list item. */
        ol.mp_list li.mp_highlighted {
            background-color: #E0E0E0;
        }

        /* When a request is made that returns zero results. */
        ol.mp_list li.mp_no_results {
        }

        /* When a request is made that doesn't meet the 'minChars' length option. */
        ol.mp_list li.mp_min_chars {
        }

        /* When a request is made that fails during the ajax request. */
        ol.mp_list li.mp_error {
        }