Bug 10406 - Remove obsolete CSS related to YUI autocomplete
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / css / staff-global.css
index 349a65d..cda7494 100644 (file)
@@ -1,4 +1,4 @@
-@import url("../lib/yui/reset-fonts-grids.css");
+@import url("../lib/yui/reset-fonts-grids.css") screen;
 @import url("../lib/yui/skin.css");
 
 input:focus, textarea:focus {
@@ -48,7 +48,7 @@ a.popup {
 
 body {
        text-align : left;
-       padding:0 0 2.5em 0;
+    padding:0 0 4em 0;
   font-family: arial, verdana, helvetica, sans-serif;
 }
 
@@ -143,6 +143,7 @@ em strong {
 #login_controls         {
        position : absolute;
        right : .5em;
+    padding: .4em .5em;
 }
 
 ul {
@@ -165,15 +166,6 @@ ol li {
        list-style : decimal;
 }
 
-#header {
-    background-color : #e6f0f2;
-    line-height : 2em;
-}
-
-#header a.toplinks {
-    font-weight: bold;
-}
-
 .gradient {
     background-image: linear-gradient(top, rgb(230,240,242) 1%, rgb(255,255,255) 99%);
     background-image: -o-linear-gradient(top, rgb(230,240,242) 1%, rgb(255,255,255) 99%);
@@ -262,16 +254,20 @@ table+table {
        border : 0;
 }
 
+.highlighted-row { background-color: orange !important }
 
-tr.highlight td, tr.highlight th, tr.odd td {
+tr.highlight td,
+tr.highlight th,
+tr.odd td,
+tr.odd.highlight td {
        background-color : #F3F3F3;
-       border : 1px solid #DDDDDD;
-       border-right : 1px solid #DDDDDD;
+    border : 1px solid #BCBCBC;
+    border-right : 1px solid #BCBCBC;
 }
 
 tr.even td, tr.even.highlight td {
        background-color: #FFF;
-       border-right : 1px solid #DDDDDD;
+    border-right : 1px solid #BCBCBC;
 }
 
 td.od {
@@ -327,7 +323,6 @@ legend {
     border:2px solid #b9d8d9;
     background-color:#ffffff;
     border-radius:3px;
-    text-align:right;
     padding: 0.2em 0.5em;
 }
 
@@ -425,6 +420,9 @@ ul.toolbar button {
 a.yuimenuitemlabel-disabled, #disabled a {
        color: #999;
 }
+a.yuimenuitemlabel-disabled, #disabled2 a {
+ color: #999;
+}
 a.yuimenuitemlabel-disabled:hover, #disabled a:hover {
        color : #999;
 }
@@ -661,6 +659,12 @@ fieldset.rows label.yesno {
        width : auto;
 }
 
+fieldset.rows label.error {
+       float: none;
+       margin-left: 1em;
+       width: auto;
+}
+
 fieldset.action, div.action {
     background-color: transparent;
        clear : both;
@@ -750,7 +754,7 @@ fieldset.rows .inputnote {
     visibility:visible; /* you propably don't need to change this one */
     display:block;
 }
-#newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newlabelbatch a, #newpatroncardbatch a, #newprofile a, #newsubscription a, #newdictionary a, #newbasket a, #newrootbudget-button, #budgets_menuc .first-child {
+#new_course a, #newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newlabelbatch a, #newpatroncardbatch a, #newprofile a, #newsubscription a, #newdictionary a, #newbasket a, #newrootbudget-button, #budgets_menuc .first-child {
        padding-left : 34px;
        background-image: url("../../img/toolbar-new.gif");
        background-position : center left;
@@ -1112,6 +1116,8 @@ div.alert {
        background: linear-gradient(top, #fef8d3 0%,#ffec91 9%,#ffed87 89%,#f9dc00 100%); /* W3C */
          text-align : center;
        border: 1px solid #E0C726;
+    color : inherit;
+    text-shadow : none;
 }
 
 div.alert strong {
@@ -1199,7 +1205,8 @@ div.note {
        text-decoration : underline;
  }
  
-.required {
+label.required,
+span.required {
     color : #C00;
 }
 
@@ -1431,9 +1438,8 @@ li.email {
    border : 1px solid #B9D8D9;
 }
 
-/* Hack just for Firefox */
-html>/**/body #searchheader button, x:-moz-any-link, x:default {
-       padding-bottom : 3px;
+#searchheader .btn-group > .btn:first-child {
+    margin-left : .7em;
 }
 
 #searchheader form {
@@ -1615,16 +1621,16 @@ a.yuimenuitemlabel:hover {
        vertical-align : top;
 }
 
-#toplevelnav {
+ul#toplevelmenu {
+    padding : 0;
+}
+
+/*#toplevelnav {
        float : left;
        margin-left : .5em;
      width: 40%;
 }
 
-ul#toplevelmenu {
-       padding : 0;
-}
-
 ul#toplevelmenu li {
        display: inline;
        padding : 0 .6em;
@@ -1733,7 +1739,7 @@ div.lang {
  * html div#doc3{
   height:100%;
   overflow:auto;
- }
+ }*/
 
 #CheckAll, #CheckNone, #CheckPending {
        font-weight : normal;
@@ -1793,22 +1799,6 @@ span.permissiondesc {
        padding : .5em;
 }
 
-/* borrower autocomplete */
-#borrowerautocomplete { width: 500px; text-align:left;} /* z-index needed on top instances for ie & sf absolute inside relative issue */
-.autocomplete .yui-ac-highlight ,
-.autocomplete .yui-ac-highlight .sample-result,
-.autocomplete .yui-ac-highlight .sample-query { color:#FFF; }
-.autocomplete .sample-result { color: black; }
-.autocomplete .sample-query { color:#000; }
-#findborrower { position:static; width:auto; }
-#yborrowercontainer { text-align:left;width:335px; }
-
-/* patron attribues autocomplete for overdues report (pattrodue) */
-.pattrodue-autocomplete .pattrodue-result { color: black; }
-.pattrodue-autocomplete .yui-ac-highlight .pattrodue-result { color: white; }
-.pattrodue-input { position:static; width:auto; }
-.pattrodue-container { text-align:left; width:400px; }
-
 .labeledmarc-table {
        border: 0;
 }
@@ -1843,7 +1833,7 @@ span.permissiondesc {
        z-index : 50;
 }
 #cartmenulink {
-        background: transparent url("../../img/cart-small.gif") 0 3px no-repeat;
+        background: transparent url("../../img/cart-small.gif") left center no-repeat;
         padding-left : 15px;
 }
 #cartmenulink span#basketcount span {
@@ -1920,15 +1910,13 @@ fieldset.rows+h3 {clear:both;padding-top:.5em;}
     z-index: 1;
     width: 300px;
 }
-.import_export_options li{
-    display: block;
-    list-style: none;
-    padding-top: 10px;
+.import_export_options fieldset.rows li label {
+    width : 16em;
 }
-.import_export_options .import_export_close {
-    cursor: pointer;
-    text-decoration: underline;
+.form_import fieldset.rows li label {
+    width : auto;
 }
+
 .import_export_options .export_ok {
     padding: 10;
     background: #E3E3E3 none;
@@ -1936,7 +1924,7 @@ fieldset.rows+h3 {clear:both;padding-top:.5em;}
     margin-left: 20px;
     border: none;
 }
-.import_export_options .import_ok {
+.import_export_options {
     padding: 10;
     background: #E3E3E3 none;
     cursor: pointer;
@@ -1950,9 +1938,6 @@ fieldset.rows+h3 {clear:both;padding-top:.5em;}
     padding: inherit;
     background: none;
 }
-.li_close_import_export {
-    text-align: right;
-}
 
 .importing {
     position: relative;
@@ -2404,3 +2389,176 @@ div.authorizedheading {
 video {
     width: 480px;
 }
+
+/* Bootstrap overrides */
+.btn {
+    border-color : #ADADAD #ADADAD #949494;
+
+}
+
+.btn-small .caret {
+    margin-top : .6em;
+}
+
+.icon-hold {
+    background-position:-24px -166px;
+}
+
+.icon-copy {
+    background-position:-3px -166px;
+}
+
+#toolbar .btn,
+#toolbar .dropdown-menu {
+    font-size: 13px;
+}
+a.btn:link,
+a.btn:visited{
+    color: #333333;
+}
+.dropdown-menu li {
+    list-style: none outside none;
+}
+[class^="icon-"],[class*=" icon-"]{background-image:url("../../img/glyphicons-halflings-koha.png");}
+.icon-white,.nav-tabs>.active>a>[class^="icon-"],.nav-tabs>.active>a>[class*=" icon-"],.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"]{background-image:url("../../img/glyphicons-halflings-white.png");}
+a.disabled {
+    color : #999999;
+}
+
+.navbar {
+    color: #333;
+}
+
+.navbar .nav > li > a {
+    color: #004D99;
+    font-weight: bold;
+    padding : .4em .2em;
+}
+
+.navbar .nav > li {
+    list-style: none outside none;
+    padding : 0 .6em;
+}
+
+.navbar .nav > li > a:focus,
+.navbar .nav > li > a:hover {
+    color: #538200;
+}
+
+.navbar .nav li.dropdown.open > .dropdown-toggle,
+.navbar .nav li.dropdown.active > .dropdown-toggle,
+.navbar .nav li.dropdown.open.active > .dropdown-toggle {
+    background: transparent none;
+}
+
+.navbar-static-top .navbar-inner {
+    background: #E6F0F2 none;
+    border: 0;
+    box-shadow: none;
+    min-height: 0;
+    padding-left: 0;
+}
+.navbar-fixed-bottom .navbar-inner {
+    min-height: 0;
+    padding : .4em 0;
+}
+
+.navbar-fixed-bottom .nav > li > a {
+    font-weight: normal;
+    padding : .05em .3em;
+}
+
+.navbar-fixed-bottom .nav > li {
+    border-right : 1px solid #CCC;
+}
+
+.navbar-fixed-bottom .nav > li:last-child {
+    border-right : 0;
+}
+
+.navbar-fixed-bottom .nav > li.navbar-text {
+    line-height: normal;
+    padding : 0.4em 0.7em;
+}
+.navbar .nav > li {
+    list-style: none outside none;
+    padding : 0 .6em;
+}
+.navbar .nav > li > a {
+    color: #004D99;
+    font-weight: bold;
+    padding : .4em .3em;
+}
+.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
+    background: transparent none;
+}
+
+.navbar .nav > li > a:focus,
+.navbar .nav > li > a:hover {
+    color: #538200;
+}
+
+.navbar .nav li.dropdown.open > .dropdown-toggle,
+.navbar .nav li.dropdown.active > .dropdown-toggle,
+.navbar .nav li.dropdown.open.active > .dropdown-toggle {
+    background: transparent none;
+}
+
+.tooltip.bottom .tooltip-arrow {
+    border-bottom-color: #EEE;
+}
+.tooltip.bottom .tooltip-inner {
+    background-color : #FFF;
+    border: 1px solid rgba(0, 0, 0, 0.2);
+    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+    color: #000;
+    padding : 1em;
+    font-size : 120%;
+}
+.separator { color : #666; padding : 0 .2em; }
+
+.close {
+    position: inherit;
+    top: auto;
+    right : auto;
+    filter : none;
+    float : none;
+    font-size: inherit;
+    font-weight: normal;
+    opacity: inherit;
+    text-shadow: none;
+}
+
+.close:hover {
+    color: #538200;
+    filter: inherit;
+    font-size: inherit;
+    opacity: inherit;
+}
+
+/* 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;}
+.modal-header .closebtn{margin-top:2px;}
+.closebtn{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20);}.closebtn:hover{color:#000000;text-decoration:none;cursor:pointer;opacity:0.4;filter:alpha(opacity=40);}
+button.closebtn{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;}
+.btn-group label,
+.btn-group select {
+    font-size: 13px;
+}
+
+.waiting {
+    cursor: wait;
+}
+
+fieldset.rows table.mceListBox {
+    margin: 0;
+}
+
+#jobpanel,#jobstatus,#jobfailed { display : none; }
+#jobstatus { margin:.4em; }
+#jobprogress{ width:200px;height:10px;border:1px solid #666;background:url('/intranet-tmpl/prog/img/progress.png') -300px 0px no-repeat; }
+#selections { width : 100%; white-space : normal; }
+#selections span { margin:3px;padding:3px;background-color:#EBF3FF;-moz-border-radius:5px;border-radius:5px;white-space:nowrap;line-height:240%;font-size:75%; }
+#selections span.selected { background-color : #CCE0FC; }
+#selections input { vertical-align:middle;margin:0 2px; }