/*
 * Currencyr 1.0 - jQuery currency converter plugin
 * http://adivalabs.com/jquery/currencyr
 * http://firmanw.github.com/jquery-currencyr
 *
 * Copyright 2012, Firman Wandayandi (adivalabs.com)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 */ /* Root */ .currencyr { position: fixed; z-index: 2147483647; } /* Container */ .currencyr .currencyr-container, .currencyr .currencyr-container li { line-height: 1; position: relative; } /* Beak arrow */ .currencyr .currencyr-beak { display: block; position: absolute; width: 11px; height: 7px; z-index: 1; } /* Close button */ .currencyr .currencyr-close { position: absolute; display: block; width: 16px; height: 16px; top: 0; right: 0; margin-top: -8px; margin-right: -8px; cursor: pointer; cursor: hand; z-index: 99999; } .currencyr .currencyr-direction-top .currencyr-close { top: auto; bottom: 0; margin-top: auto; margin-bottom: -8px; } /* Converter container */ .currencyr .currencyr-converter { position: relative; } .currencyr .currencyr-converter-content { overflow: hidden; } /* Amount */ .currencyr .currencyr-amount { text-align: right; height: 1em; margin-right: 5em; } /* Currency code block */ .currencyr .currencyr-code { height: 100%; position: absolute; top: 0; right: 0; } /* Dropdown toggle */ .currencyr .currencyr-toggle { width: 11px; height: 8px; position: absolute; top: 50%; margin-top: -4px; } /* Currency span */ .currencyr .currencyr-currency { cursor: default; display: block; position: relative; z-index: 1; } /* Currency codes dropdown container */ .currencyr .currencyr-codes { display: none; position: absolute; left: -1px; overflow: hidden; } /* Display codes dropdown */ .currencyr .currencyr-code:hover .currencyr-codes { display: block; } /* Dropdown decoration */ .currencyr .currencyr-enclosure-top, .currencyr .currencyr-enclosure-bottom { position: absolute; height: 1px; width: 68px; z-index: 3; } .currencyr .currencyr-enclosure-top { top: 0; } .currencyr .currencyr-enclosure-bottom { bottom: 0; } /* Dropdown */ .currencyr .currencyr-dropdown { position: relative; top: -1px; z-index: 2; } /* Dropdown list */ .currencyr .currencyr-dropdown ul { list-style: none; padding: 0; margin: 0; position: absolute; } .currencyr .currencyr-dropdown li { cursor: default; position: relative; } /* Currency name */ .currencyr .currencyr-dropdown li span { visibility: hidden; position: absolute; left: 100%; top: 0; white-space: nowrap; font-size: 80%; } .currencyr .currencyr-dropdown li:hover span { visibility: visible; } /* Remember the choice */ .currencyr .currencyr-remember input, .currencyr .currencyr-remember label { vertical-align: top; } .currencyr .currencyr-remember input { margin: 0; } .currencyr .currencyr-remember label { font-size: 80%; line-height: 1.3; margin: 0; } 