general.css 4.89 KB
/*
Copyright (c) 2012, Bartłomiej Nitoń
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/* główne menu */

ul#main_menu {
    width: 100%;
    height: 43px;
    background: #FFF url("images/menu-bg.gif") top left repeat-x;
    font-size: 0.8em;
    font-family: "Lucida Grande", Verdana, sans-serif;
    font-weight: bold;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul#main_menu li {
    display: block;
    float: left;
    margin: 0 0 0 5px;
}

ul#main_menu li a {
    height: 43px;
    color: #777;
    text-decoration: none;
    display: block; float:
    left; line-height: 200%;
    padding: 8px 15px 0;
}

ul#main_menu li a:hover {
    color: #333;
}


ul#main_menu li a.current {
    color: #FFF;
    background: #FFF url("images/current-bg.gif") top left repeat-x;
    padding: 5px 15px 0;
}

#main_menu li:hover ul { display:block;}
#main_menu > li {cursor:pointer;
                 float:left; 
                 position:relative;
                 padding:0px 0px;}


/*#main_menu > li a:hover {color:#D9E5ED;}*/

#main_menu li ul { position:absolute; left:0px; top:0px;
                   margin-top:35px; 
                   width:175px; 
                   line-height:16px;
                   background-color:#d8d8d8; 
                   color:#777; /* for IE */
                   display:none;
                   border-width: 3px;
	               border-style: solid;
	               border-color: gray;     
                   z-index: 1000;}


#main_menu li ul li{ display:block;
                     margin:0px 0px;
                     padding: 5px 0px; 
                     width: 100%;
                     border-top: solid 1px #606060;
                     list-style-type:none;}
                     
#main_menu li ul li:hover a{ color: #333;}

#main_menu li ul li:hover{ background-color:#d9e5ed;}

#main_menu li ul li:first-child { border-top: none; }
#main_menu li ul li a { display:block;
                        align: center;}

/* menu */
/* sub-menus*/

/* main submenu */
/*#menu #main { left:0px; top:-20px; padding-top:20px;
               background-color:#7cb7e3; color:#fff;
    z-index:999;}*/


/* powitanie */

div#user-tools {
    float: right;
    height: 43px;
    padding: 8px 8px 0 0;
    font-family: "Lucida Grande", Verdana, sans-serif;
    line-height: 200%;
    font-size: 0.8em;
}

/* layout */

body {
    margin: 0;
}

ul {
  padding-left: 0;
}

li {
  display: block;
}

.ui-jqgrid-titlebar {
    display: none;
}

#right {
    overflow: auto;
    font-size: 12px;
}

.ui-widget {
    font-size: 12px;
}

.ui-button-text-only .ui-button-text {
    padding: 0.4em;
}

.ui-icon-sort {
    background-position: -128px -80px;
}

.ui-icon-filter {
    background-position: -144px -80px;
}

.ui-icon-columns {
    background-position: -160px -80px;
}

.helptext {
    display: block;
    color: #aaa;
    font-style: italic;
}

/* debug */

#debug {
    position: absolute;
    display: none;
    border: none;
    width: 100%;
    z-index: 1000;
}

#show-debug {
    display: none;
    color: red;
}


/* splittbar */
.hsplitbar {
  height: 7px;
  background: #bbc;
}

#framesSplit div {
	overflow: auto;
}

#prevFramesSplit div {
	overflow: auto;
}

#progress
{
    width: 100%;
    height: 100%;
    background-color: #0c0b0b;
    text-align:center;
    position:absolute;
    left: 0%;
    top: 0%;
}

.ui-autocomplete { height: 150px; overflow-y: scroll; overflow-x: hidden;}

/* Oznaczenia dla opisów haseł np. tymczsowe hasła są oznaczene kolorem czerwonym */
#lemma_desc span.temporary {color: red;}