Bug 16575: Irregular behaviour using window.print() followed by window.location.href
[koha.git] / koha-tmpl / intranet-tmpl / prog / css / staff-global.css
index e281e3e..2116945 100644 (file)
@@ -152,6 +152,10 @@ label input[type="radio"],
     font-weight : bold;
 }
 
+.members-update-table {
+    padding-top: 10px;
+}
+
 #navmenulist li {
        padding : .2em 0;
     list-style-image : url("../img/arrow-bullet.gif");
@@ -159,13 +163,21 @@ label input[type="radio"],
 }
 
 #navmenulist li a {
-       text-decoration : none;
+    text-decoration : none;
+}
+
+#navmenulist li a.current {
+    font-weight: bold;
 }
 
 #doc, #doc1, #doc2, #doc3 {
        padding-top : 1em;
 }
 
+.main {
+    margin-top: 1em;
+}
+
 #login_controls         {
        position : absolute;
        right : .5em;
@@ -227,6 +239,10 @@ ol li {
 .clearfix {display: block;}
 /* End hide from IE-mac */
 
+#cataloguing_additem_newitem fieldset.rows label, #cataloguing_additem_newitem fieldset.rows span.label {
+        text-align: right;
+}
+
 table {
        border-collapse : collapse;
        border-top : 1px solid #BCBCBC;
@@ -373,6 +389,21 @@ legend {
     width: auto;
 }
 
+details > summary {
+    cursor: pointer;
+}
+
+details > summary::before {
+    content: "\f0da";
+    display: inline-block;
+    font-family: FontAwesome;
+    width: 1em;
+}
+
+details[open] > summary::before {
+    content: "\f0d7";
+}
+
 #floating-save {
     background-color: rgba(185, 216, 217, 0.6);
     bottom: 3%;
@@ -442,7 +473,8 @@ div#reserves,div#checkouts {
 }
 
 
-div.yui-b h5 {
+div.yui-b h5,
+aside h5 {
        font-size : 100%;
        margin : .5em 0;
 }
@@ -531,6 +563,24 @@ div.patroninfo ul li {
        list-style-type : none;
 }
 
+#patronbasics div {
+    background: transparent url("../img/patron-blank.min.svg") 10px 5px no-repeat;
+    border: 1px solid #CCCCCC;
+    height: 125px;
+    margin: .3em 0 .3em .3em;
+    padding: 0;
+    width: 105px;
+}
+
+#patronimage {
+    border: 1px solid #CCCCCC;
+    max-width : 140px;
+    margin: .3em 0 .3em .3em;
+    padding: .2em;
+    width:auto !important;
+    width:130px;
+}
+
 div.patronviews {
        border-right :  1px solid #000;
        border-top : 1px solid #000;
@@ -563,47 +613,77 @@ fieldset.brief ol, fieldset.brief li {
        font-size : 95%;
 }
 
-fieldset.brief div.hint, fieldset.rows div.hint, div.yui-u div.hint {
-       margin-bottom : .4em;
+fieldset.brief div.hint,
+fieldset.rows div.hint,
+div.yui-u div.hint {
+    margin-bottom : .4em;
 }
 
-div.yui-b fieldset.brief {
-       padding : .4em .7em;
+fieldset.rows div.hint {
+    margin-left : 7.5em;
+}
+
+div.yui-b fieldset.brief,
+aside fieldset.brief {
+    margin: 0;
+    padding : .4em .7em;
 }
 
-div.yui-b fieldset.brief ol {
+div.yui-b fieldset.brief ol,
+aside fieldset.brief ol {
        font-size : 85%;
        margin : 0;
        padding : 0;
 }
 
-div.yui-b fieldset.brief select {
-       width: 12em;
+div.yui-b fieldset.brief select,
+div.yui-b fieldset.brief input[type=text],
+aside fieldset.brief select,
+aside fieldset.brief input[type=text] {
+    width: 100%;
 }
-div.yui-b fieldset.brief li.radio {
+
+div.yui-b fieldset.brief li.radio,
+aside fieldset.brief li.radio {
        padding : .7em 0;
 }
+
 div.yui-b fieldset.brief li.radio label,
 div.yui-b fieldset.brief li.checkbox label,
 div.yui-b fieldset.brief li.dateinsert label,
 div.yui-b fieldset.brief li.dateinsert span.label,
-div.yui-b fieldset.brief li.radio span.label {
+div.yui-b fieldset.brief li.radio span.label,
+aside fieldset.brief li.radio label,
+aside fieldset.brief li.checkbox label,
+aside fieldset.brief li.dateinsert label,
+aside fieldset.brief li.dateinsert span.label,
+aside fieldset.brief li.radio span.label {
        display : inline;
 }
 
-div.yui-b fieldset.brief li.radio input {
+div.yui-b fieldset.brief li.radio input,
+aside fieldset.brief li.radio input {
        padding:0.3em 0;
 }
 
-div.yui-b fieldset.brief fieldset {
-       margin : 0 .3em;
-       padding : .5em;
+div.yui-b fieldset.brief fieldset,
+aside fieldset.brief fieldset {
+    margin : 0;
+    padding : .5em 0;
 }
 
-div.yui-b fieldset.brief fieldset legend {
+div.yui-b fieldset.brief fieldset legend,
+aside fieldset.brief fieldset legend {
        font-size : 85%;
 }
 
+#yui-main div.yui-b fieldset.brief select,
+#yui-main div.yui-b fieldset.brief input[type=text],
+main div.yui-b fieldset.brief select,
+main div.yui-b fieldset.brief input[type=text] {
+    width: auto;
+}
+
 #tools_holidays fieldset.brief li.radio input,
 #tools_holidays fieldset.brief li.checkbox input{
     margin-left: 0;
@@ -640,7 +720,7 @@ fieldset.rows legend {
 fieldset.rows label, fieldset.rows span.label {  
        float: left;  
        font-weight : bold;
-       width: 6em;  
+    width: 9em;
        margin-right: 1em;  
        text-align: right;
 }
@@ -652,13 +732,12 @@ fieldset.rows fieldset {
        padding : .3em;
 }
 
-.yui-b fieldset.rows label, .yui-b fieldset.rows span.label {  
-       width: 9em;  
-}
-
 .yui-b fieldset.rows td label, .yui-b fieldset.rows td span.label {
         width: auto;
 }
+.yui-b fieldset.rows ol.oladditemtype label, .yui-b fieldset.rows ol.oladditemtype span.label {
+    width: 13em;
+}
 
 .yui-b fieldset.rows div.hint {
        margin-left : 10.5em;
@@ -762,6 +841,10 @@ fieldset.rows label.error {
        width: auto;
 }
 
+#multi_receiving fieldset.rows label {
+    width: 50%;
+}
+
 fieldset.action, div.action {
     background-color: transparent;
     clear : both;
@@ -772,6 +855,15 @@ fieldset.action, div.action {
     width: auto;
 }
 
+#fixedlengthbuilderaction {
+    padding: 5px 5px 5px 5px;
+    border: 3px solid #E6F0F2;
+    top: -80px;
+    left: 80%;
+    position: relative;
+    width: 12%;
+}
+
 .btn-toolbar fieldset.action {
     margin-top: 0;
 }
@@ -882,11 +974,6 @@ fieldset.rows .inputnote {
     overflow-y: auto;
 }
 
-#z3950_search_targets_auth {
-    height:     348px;
-    overflow-y: auto;
-}
-
 .z3950checks {
     padding-left: 1em;
 }
@@ -1038,6 +1125,11 @@ span.expired {
        font-style : italic;
 }
 
+details.checkouts-by-itemtype li {
+    display: inline-block;
+    margin-right: 1em;
+}
+
 div.help {
        margin: .9em 0 0 0;  
 }
@@ -1149,24 +1241,32 @@ div.alert strong {
     list-style-position:inside;
 }
 
-.dialog button {
+.dialog button,
+.dialog a.approve {
     background: #fff none;
     border: 1px outset #999999;
     border-top-color: #666;
     border-left-color: #666;
+    color: #000;
     margin : .4em;
     padding : .4em;
     white-space: pre-line;
 }
 
-.dialog button:hover {
+.dialog button:hover,
+.dialog a.approve:hover {
     background-color : #ffc;
 }
 
-.dialog button:active {
+.dialog button:active,
+.dialog a.approve:active {
     border : 1px inset #999999;
 }
 
+.dialog a.approve {
+    display: inline-block;
+}
+
 .approve i.fa,
 .success i.fa {
     color: green;
@@ -1183,6 +1283,8 @@ div.alert strong {
 a.document {
        background-position : left middle;
        background-repeat : no-repeat;
+    display: inline-block;
+    min-height: 20px;
        padding-left : 20px;
 }
 
@@ -1366,7 +1468,7 @@ h1#logo {
        width:180px;
 }
 h1#logo {
-    background: transparent url(../img/koha-logo-medium.gif) no-repeat scroll 0%;
+    background: transparent url(../img/koha-logo-medium.png) no-repeat scroll 0%;
        margin:0.75em .3em 0.75em .7em;
 }
 
@@ -1517,6 +1619,18 @@ li.email {
        padding : 5px 25em 0 0;
 }
 
+#searchheader .dropdown-menu > li > a {
+    padding: 2px 10px;
+}
+
+#searchheader .dropdown-menu > li > a {
+    padding: 2px 10px;
+}
+
+#searchheader .dropdown-header {
+    padding: 4px 5px
+}
+
 #search-facets ul {
        margin : 0;
        padding : .3em;
@@ -1816,7 +1930,8 @@ ul.budget_hierarchy li:first-child:after {
     font-style: italic;
 }
 .number_box { font-size : 105%; line-height : 200%; }
-.number_box a {
+.number_box a,
+.number_box span {
        border : 1px solid #a4bedd;
        background-color : #e4ecf5;
        font-weight : bold;
@@ -2451,6 +2566,12 @@ a.dropdown-toggle {
     filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
 }
 
+.dropdown-header {
+    border-top: 1px solid #EEE;
+    color: #000;
+    font-weight: bold;
+}
+
 a.disabled {
     color : #999999;
 }
@@ -2599,6 +2720,15 @@ a.close:hover {
     margin-left: 0;
 }
 
+.modal-body {
+    background-color: #FFF;
+    overflow-y: auto;
+}
+
+.modal-content {
+    background-color : #EDF4F6;
+}
+
 /* Redefine a new style for Bootstrap's class "close" since we use that already */
 /* Use <a class="closebtn" href="#">&times;</a> */
 .alert .closebtn{position:relative;top:-2px;right:-21px;line-height:20px;}
@@ -2610,6 +2740,10 @@ button.closebtn{padding:0;cursor:pointer;background:transparent;border:0;-webkit
     overflow-y: auto;
 }
 
+.modal-dialog.modal-wide {
+    width: 80%;
+}
+
 .btn-group label,
 .btn-group select {
     font-size: 13px;
@@ -2839,21 +2973,6 @@ span.browse-button {
     font-weight: bold;
 }
 
-#i18nMenu a,
-#i18nMenu a:link,
-#i18nMenu a:visited {
-    color : #004d99;
-    font-weight: normal;
-}
-
-#i18nMenu a:hover,
-#i18nMenu a:active,
-#i18nMenu .dropdown-menu a:hover,
-#i18nMenu .dropdown-menu a:focus {
-    color : #538200;
-    font-weight: normal;
-}
-
 #i18nMenu a .sublanguage-selected {
     color: #000;
     font-weight: bold;
@@ -2973,3 +3092,263 @@ fieldset.rows + fieldset.action {
 .yui-u .rows li p label.widelabel {
     width: auto;
 }
+
+#pat_member #patron_list_dialog,
+#pat_member #searchresults,
+#patron_search #filters {
+    display: none;
+}
+
+#interlibraryloans h1 {
+    margin: 1em 0;
+}
+
+#interlibraryloans h2 {
+    margin-bottom: 20px;
+}
+
+#interlibraryloans h3 {
+    margin-top: 20px;
+}
+
+#interlibraryloans h3#dataPreviewLabel {
+    margin: 0.3em 0;
+}
+
+#interlibraryloans .bg-info {
+    overflow: auto;
+    position: relative;
+}
+
+#interlibraryloans #search-summary {
+    -webkit-transform: translateY(-50%);
+    -ms-transform: translateY(-50%);
+    -o-transform: translateY(-50%);
+    transform: translateY(-50%);
+    position: absolute;
+    top: 50%;
+}
+
+#interlibraryloans .format h5 {
+    margin-top: 20px;
+}
+
+#interlibraryloans .format li {
+    list-style: none;
+}
+
+#interlibraryloans .format h4 {
+    margin-bottom: 20px;
+}
+
+#interlibraryloans .format input {
+    margin: 10px 0;
+}
+
+#interlibraryloans #freeform-fields .custom-name {
+    width: 9em;
+    margin-right: 1em;
+    text-align: right;
+}
+
+#interlibraryloans #freeform-fields .delete-new-field {
+    margin-left: 1em;
+}
+
+#interlibraryloans #add-new-fields {
+    margin: 1em;
+}
+
+#interlibraryloans #column-toggle,
+#interlibraryloans #reset-toggle {
+    margin: 15px 0;
+    line-height: 1.5em;
+    font-weight: 700;
+}
+
+#ill-view-panel {
+    margin-top: 15px;
+}
+
+#ill-view-panel h3 {
+    margin-bottom: 10px;
+}
+
+#ill-view-panel h4 {
+    margin-bottom: 20px;
+}
+
+#ill-view-panel .rows div {
+    height: 1em;
+    margin-bottom: 1em;
+}
+
+#requestattributes {
+    font-family: monospace;
+    line-height: 1.3em;
+}
+
+table#ill-requests {
+    width: 100% !important;
+}
+
+#helper span {
+    display: none;
+}
+
+#logged-in-info-full {
+    display: none;
+}
+
+.loggedin-menu-label {
+    color: #777;
+    font-size: 12px;
+    line-height: 1.42857143;
+    padding: 4px 12px;
+    white-space: nowrap;
+}
+
+.loggedin-menu-label.divider {
+    padding: 0;
+}
+
+.loggedin-menu-label span {
+    color: #000;
+    font-weight: bold;
+}
+
+
+/* ==== MODULE LINKS - Start ==== */
+
+ul.buttons-list {
+    /* List containing the module links */
+    padding: 0px;
+    margin-bottom:30px;
+}
+
+ul.buttons-list li {
+    /* Standard attributes for the list elements */
+    list-style-type:none;
+}
+
+ul.buttons-list li a.circ-button {
+    /* Class used for each module link */
+    display: block;
+    box-sizing: content-box;
+    max-width : 260px;
+    margin: .5em 0;
+    padding:8px;
+
+    border: solid 2px #b9d8d9;
+    border-radius: 6px;
+
+    text-decoration: none;
+    font-weight: bold;
+    font-size: 110%;
+    color: #000000;
+
+    background-color:#f4f8f9;
+    background-position: 5px 3px;
+    background-repeat:no-repeat;
+}
+
+ul.buttons-list li a:hover.circ-button {
+    /* Class used for each module link hover state */
+    color: #538200;
+    border-color: #538200;
+}
+
+/* ==== MODULE LINKS - End ==== */
+
+
+
+@media (min-width: 200px) {
+    .navbar-nav > li {
+        float: left;
+    }
+    .navbar-right {
+        float: right !important;
+        margin-right: -15px;
+    }
+    .navbar-nav {
+        float: left;
+        margin: 0;
+    }
+
+    .navbar-nav .open .dropdown-menu.dropdown-menu-left {
+        position: absolute;
+        float: left;
+        left: auto;
+        right: 0;
+        width: auto;
+        background-color: #fff;
+        border: 1px solid rgba(0,0,0,0.15);
+        box-shadow: 0 6px 12px rgba(0,0,0,0.175);
+    }
+
+    .navbar-nav .open .dropdown-menu.dropdown-menu-right {
+        position: absolute;
+        float: left;
+        left: ;
+        right: auto;
+        width: auto;
+        background-color: #fff;
+        border: 1px solid rgba(0,0,0,0.15);
+        box-shadow: 0 6px 12px rgba(0,0,0,0.175);
+    }
+
+    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
+    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
+        background-color: #0081c2;
+        background-image: linear-gradient(to bottom, #0088cc, #0077b3);
+        background-repeat: repeat-x;
+        color: #ffffff;
+        text-decoration: none;
+    }
+
+}
+
+@media (min-width: 800px) {
+    #helper span {
+        display: inline;
+    }
+
+    #helper i {
+        display: none;
+    }
+
+    #logged-in-info-full {
+        display: inline;
+    }
+
+    #logged-in-info-brief {
+        display: none;
+    }
+    .loggedin-menu-label {
+        display: none;
+    }
+}
+
+span.name {
+    font-weight: bold;
+    font-style: italic;
+}
+
+.result-biblio-itemtype {
+    float: right;
+    padding: .5em;
+    margin: .5em;
+    font-size: 85%;
+    text-align: center;
+}
+
+.result-biblio-itemtype img {
+    display: block;
+    margin: auto;
+    margin-bottom: 2px;
+}
+
+.cart-controls {
+    border-top: 1px solid #E8E8E8;
+    padding: 7px 0;
+}