/*******************************************************************************

EFatMarker:
    Allows to dynamically highlight specific portion(s) of a document,
    and to permalink these highlights using HTML anchor.

License (http://opensource.org/licenses/MIT#):

Copyright (C) 2013 Raymond Hill

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

Made into SCSS and modified by Brennan Novak
**/

.efm-parent {
    padding-top: 40px;

    .efm-hi {
        background-color: $brand-warning;
        font-weight: inherit;
    }
}

#efm-button {
    margin: 0 0 0 0;
    padding: ($marker-button-font-size / 2) 0 0 ($marker-button-font-size / 2);
    position: fixed;
    height: $marker-button-size;
    width: $marker-button-size;
    bottom: 0;
    right: 0;
    background-color: $marker-button-background-color;
    font: 14px sans-serif;
    cursor: pointer;
    cursor: pointer;
    z-index: 999999999;

    &:hover {
      #efm-menu {
        margin: 10px;
        display: block;
        color: $gray;
      }
    }

    > i.icon-modified {
        font-size: $marker-button-font-size;
        color: $marker-button-color;
        margin: 0 auto;
    }

    #efm-menu {
        margin: 0 0 $marker-button-size 0;
        padding: $marker-menu-padding;
        border: $marker-menu-border !important;
        display: none;
        background: $marker-menu-background !important;
        position: fixed;
        bottom: 0;
        right: 0;
        width: 20em;
        opacity: 1;
        cursor: auto;

        h3 {
            margin: 0 0 $marker-menu-padding 0;
            color: $marker-menu-title-color;
            font: $marker-menu-title-font;

            > i.icon-modified {
                font-size: .75em;
                margin-right: 5px;
            }
        }

        p {
            margin: 10px 0px;
            padding: 10px 0px;
            }

        a {
            margin: 10px 0px 0px 0px;
            padding: 0px;
            display: block;
            font: $marker-menu-link-font;
            color: $marker-menu-link-color;
            white-space: nowrap;
            opacity: inherit;
            cursor: pointer;

            &:hover {
                color: $marker-menu-link-hover-color;
                opacity: 1;
            }

            > span {
                color: gray;
                position: absolute;
                right: $marker-menu-padding;
            }
        }

        #efm-permalink {
            margin: $marker-menu-padding 0px;
            padding: 10px 0px;

            span {
                display: block;
                margin-bottom: 10px;
                padding: 0;
                color: $marker-menu-permalink-color;
            }

            input[type=text] {
                width: 100%;
                font-weight: 500 !important;
            }
        }

        .btn.btn-primary {
            margin-right: 5px;
        }
    }
}
