MediaWiki:Common.less/gecharts.less

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
// <pre>
/* =================
       GE Charts
   ================= */

// @todo overhaul this with the script

#overlay {
    // @todo why are we setting image props, but no image?
    background-attachment: scroll;
    background-color: #000;
    background-image: none;
    background-position: 0 0;
    background-repeat: repeat;
    border-width: 0;
    display: none;
    height: 2500px;
    left: 0;
    margin: 0;
    opacity: 0.70;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;

    // @todo what is this for?
    -moz-background-clip: -moz-initial;
    -moz-background-origin: -moz-initial;
    -moz-background-inline-policy: -moz-initial;    
}

#modal,
#GEchartpopup {
    background: #fff;
    border: 3px solid #000;
    color: #000;
    font-size: 10pt;
    left: 0;
    padding: 10px;
    position: fixed;
    top: 150px;
    width: 975px;
    z-index: 52;
}

#GEchartpopup {
    min-width: 700px;
    min-height: 525px;
    width: 85%;
    height: 80%;
    left: 7%;
    top: 10%;
    overflow: auto;
}

#GEchartpopup,
.highcharts-container,
.highcharts-range-selector,
form[id^="chartProperties"],
form[id^="chartProperties"] *,
[id^="addedItems"] {
    // this is way too many
    // @todo remove some of these
    font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif;
    font-size: 12px;
}

#GEchartpopup {
    #closepopup {
        float: right;
        margin-bottom: 5px;
        z-index: 100;
    }

    #itemstats {
        bottom: 50px;
        font-size: 11px;
        position: absolute;
        right: 45px;
        width: 200px;
        z-index: 10;
    }
}

#GEchartpopup #itemstats caption {
    cursor: pointer;
    text-align: right;
}

#GEpopupchart {
    height: 500px;
    margin-right: 100px;
}

.highcharts-container .highcharts-range-selector {
    font-size: 11px;
}

.GEPermLink {
    float: right;
    font-size: 14px;
}

.GEPermLink ~ .GEdatachart {
    clear: right;
}

form[id^="chartProperties"] button {
    margin: 3px;
}

.smallChart {
    .highcharts-range-selector {
        display: none;
    }

    // this is supposed to select ONLY the 'reset zoom' button
    // if it selects anything else, please remove this
    .highcharts-button title + rect {
        display: none;
    }

    // don't allow line-break on small chart titles
    .highcharts-title {
        white-space: nowrap !important;
    }

    .zoomButton,
    // the 'Zoom' label
    svg > text:first-of-type,
    .highcharts-input-group {
        display: none;
    }
}