Home Directions css api-maps.css

api-maps.css

CSS stylesheet icon api-maps.css — CSS stylesheet, 3 kB (3700 bytes)

File contents

/* 
    Created on : 1-Apr-2016, 12:09:57
    Author     : eo16jm
*/

html, body { 
    height: 100%; 
    margin: 0; 
    padding: 0;
    font-family: 'Glypha Web', Helvetica, Arial,sans-serif; 
} 
h1 {
    font-family: 'Glypha Web',Helvetica,Arial,sans-serif;
} 

a.infobox, h4 {  
    text-decoration: none;
    color: purple;
    font-size: 1.25em !important;
    font-weight: bold;
}

a.infobox:hover {
    text-decoration: underline;
}

#mapDiv { 
    max-width: 100%;
    min-height: 600px; 
    height: 100%;
    display: block;
    overflow: scroll;                           
}

#left-panel {
    display: none;  
    float: left;              
    width: 30%;                      
    padding: 0 1%; 
    background-color: #fff;
    overflow: hidden;
}

#pcode {                
    width: 100%;                
}
#pcode input[type=text] {
    width: 100% !important;
    display: block;
    margin-bottom: 10px;    
}
#pcode input[type=button] {
    width: 30%;
    padding: 2%;
    display:inline;
    float:left;
    margin-right: 2%;
}  

#from {
    margin: 10px 0;
    min-width: 70% !important;
}
#from:focus {
    border-color: #B74783;
}
#directions-div {
    height: 100%;                
    width: 100%;
    overflow: auto;
    line-height: 30px;   
    display: none;
    background-color: #fff;
    padding: 5px;
}

#directions-div select, #directions-div input {
    font-size: 15px;
}

#directions-div select {
    width: 100%;
}

#directions-div i {
    font-size: 12px;
}

#backBtn {
    display: none;
}

@media print {
    body * { visibility: hidden; }
    #directions-div * { visibility: visible; }
    #directions-div { 
        position: absolute; 
        top: 40px; 
        left: 30px; 
        display:block; 
        width:100%;                                
    }

    .adp-directions {
        width: 95%;
    }
}

@media screen and (max-width: 1280px) {
    #mapDiv {                    
        width: 94% !important;
        height: 700px;
        display: block;
        float: left; 
        margin: 0;
        overflow: auto;
    }
    #left-panel {
        width: 90% !important;
        margin-top: 3%;
        background-color: #fff;
        overflow: auto;
    }
    #from {
        min-width: 25% !important;
    }
    .adp-directions {
        width: 95%;
    }
    /* hide print button for smaller devices*/
    #printBtn {                     
        display: none;
    }
    #pcode input[type=button] {
        width: 30%;
        padding: 1%;
        display: inline;
        float: left;
        margin-right: 2%;
    }
    #portal-column-content {
        width: 100% !important;
    }
}

@media only screen and (max-width: 768px){
    #portal-column-content {
        width: 100%!important;
    }
}
/* styling for select campus dropdown */
.controls {
    background-color: #fff;
    border-radius: 2px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    height: 29px;
    margin-left: 17px;
    margin-top: 10px;
    outline: none;    
    text-overflow: ellipsis;
    min-width: 27%;
}

.controls:focus {
    border-color: #4d90fe;
}

.controls select {
    border: 0 !important;  /*Removes border*/
    -webkit-appearance: none;  /*Removes default chrome and safari style*/
    -moz-appearance: none;  /*Removes default style Firefox*/
    padding: 5px;
    margin: 0;
    height: 100%;
    appearance: none;    
    display: inline-block;
    background: url('../files/dropdown-arrow.png') no-repeat; /*Adds background-image*/
    background-position: 98% 50%;  /*Position of the background-image*/
    width: 100%;
}