Changeset 2073


Ignore:
Timestamp:
Oct 27, 2011, 4:30:19 PM (12 years ago)
Author:
tjeerd@…
Message:

Some minor improvements

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/visualize/index.gsp

    r2072 r2073  
    5151                    <div class="topmenu_item_info">no study selected</div>
    5252                    <img src="${fam.icon( name: 'bullet_arrow_down' )}" style="vertical-align: text-bottom; display: inline-block;"/>
    53                     <div class="formulier" style="display: block">
     53                    <div class="formulier">
    5454                        <div class="menu_item_label_count">1</div><div class="menu_item_label">Study</div>
    5555                        <p class="info">Select a study from the list below.</p>
  • trunk/web-app/css/visualization.css

    r2072 r2073  
    9595    margin-bottom: 5px;
    9696    padding: 2%;
    97     border: #006dba solid 1px;
     97    border: 1px solid #006dba;
    9898    background-color: white;
    9999    min-height: 60px;
     
    177177    width: 100%;
    178178    background-color: #D0DEF0;
    179     border-bottom: #006dba solid 1px;
     179    border-bottom: 1px solid #006dba;
    180180    margin-top: 5px;
    181181    padding-top: 5px;
     
    195195    background-color: white;
    196196    cursor: pointer;
     197}
     198
     199.topmenu_item_selected {
     200    background-color: white;
     201    border: 1px solid #006dba;
    197202}
    198203
     
    217222    font-size: 11px;
    218223    position: absolute;
    219     top: 21px;
    220     left: 0px;
     224    top: 20px;
     225    left: -1px;
    221226    display: none;
    222227    padding: 10px;
    223228    margin: 0px;
    224229    background-color: white;
    225     border: #006dba double 1px;
     230    border: 1px solid #006dba;
    226231    z-index: 10;
    227232}
  • trunk/web-app/js/visualization.js

    r2072 r2073  
    1212$(document).ready(function() {
    1313
    14     openForm = $("#menu_study");
     14    toggleForm($("#menu_study"), "open");
    1515
    1616    $(".topmenu_item").click(
     
    6262        $( "#menu_row, #menu_column" ).find("img.spinner").show();
    6363        $( "#menu_study" ).find(".topmenu_item_info").html($( '#study').find( 'option:selected' ).text());
     64        clearSearch("menu_column, #menu_row");
    6465
    6566        executeAjaxCall( "getFields", {
     
    483484        $(openForm).children('.formulier').hide();
    484485        $(openForm).removeClass("topmenu_item_selected");
     486        if($(openForm).attr('id')=='menu_study') {
     487            clearSearch('menu_study');
     488        }
    485489        openForm = null;
    486490    }
Note: See TracChangeset for help on using the changeset viewer.