Re-structuring shelf browser markup for improved robustness; Including GoogleJackets...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / css / opac.css
index 5977d48..2ace4ec 100644 (file)
@@ -1,4 +1,5 @@
 @import url("../../en/lib/yui/reset-fonts-grids.css");
+@import url("../../en/lib/yui/skin.css");
 
 a {
        font-weight : bold;
@@ -8,7 +9,7 @@ a, a:visited {
        color : #006699;
 }
 
-a:hover {
+a:hover,input.editshelf:hover,a.editshelf:hover,input.deleteshelf:hover {
        color : #990033;
 }
 
@@ -113,6 +114,28 @@ fieldset.rows td label {
        width : auto;
 }
 
+fieldset.holds {
+       background-color : #F3F3F3;
+       border: 0;
+       font-size : 110%;
+       padding : 1px;
+}
+
+fieldset.holds ol {
+       margin : 0;
+       padding : 0;
+}
+
+fieldset.holds li {
+       background-color : #FFF;
+       border-bottom : 1px solid #F3F3F3;
+       padding : .3em;
+}
+
+fieldset.holds label, fieldset.holds span.label {
+
+}
+
 fieldset.action {
        clear : both;
        float : none;
@@ -122,6 +145,10 @@ fieldset.action {
        width : auto;
 }
 
+fieldset.action p {
+       margin-bottom : 1em;
+}
+
 form {
        display : inline;
        margin : 0;
@@ -133,7 +160,7 @@ h1 {
 }
 
 h1#library {
-       font-size : 100%
+       font-size : 100%;
        font-weight : normal;
        margin : .2em 0 .2em .5em;
 } 
@@ -190,14 +217,7 @@ h6 {
 }
 
 input[type=submit], input[type=button], input[type=reset] {
-/*     background-color : #6BA037;
-       border:1px outset #666666;
-       color : #FFFFFF;
-       font-size : 93%;
-       font-weight : bold;
-       padding : 2px;*/
-       
-               background : #b8d0e6 url(../../images/submit-bg.gif) repeat-x 0 0;
+       background : #b8d0e6 url(../../images/submit-bg.gif) repeat-x 0 0;
        background-color : #b8d0e6;
        border-top: 1px solid #cccccc;
        border-left: 1px solid #cccccc;
@@ -214,7 +234,7 @@ input[type=submit]:active, input[type=button], input[type=reset] {
 }
 
 td.resultscontrol {
-       background-color : #EFF1DC;
+       background-color : #EEE;
        vertical-align : middle;
        padding : 3px 3px 5px 5px;
 }
@@ -235,9 +255,10 @@ td,th {
 }
 
 th {
-       background-color:#EFF1DC;
+       background-color:#EEE;
        font-weight : bold;
-       padding : 2px 4px;
+       padding : 2px 23px;
+       text-align : center;
 }
 
 th.sum {
@@ -253,12 +274,16 @@ th[scope=row] {
        text-align : right;
 }
 
-tr.highlight td, tr.highlight th {
+tr.highlight td, tr.highlight th, tr.odd td {
        background-color : #F3F3F3;
        border : 1px solid #DDDDDD;
        border-right : 1px solid #DDDDDD;
 }
 
+tr.even td, tr.even.highlight td {
+       background-color: #FFF;
+}
+
 tr.grouplabel td {
        background-color : #E8E8E8;
        border : 1px solid #DDDDDD;
@@ -268,6 +293,30 @@ tr.grouplabel td {
     padding: 10px;
 }
 
+tr.reserved td {
+       background-color : #eeffd4;
+}
+tr.transfered td {
+       background-color : #e8f0f6;
+}
+
+#editions table, #editions td {
+       border : 0;
+}
+
+.header {
+       background-image:url("../../images/ascdesc.gif");
+       background-position:right center;
+       background-repeat:no-repeat;
+       cursor:pointer;
+}
+.headerSortUp {
+       background-image:url("../../images/asc.gif");
+}
+.headerSortDown {
+       background-image:url("../../images/desc.gif");
+}
+
 ul {
        list-style : disc;
        padding-left : 1em;
@@ -310,8 +359,7 @@ p.availability {
 
 /* style for search terms in catalogsearch */
 .term {
-       background-color : #ffffe0;
-       color : #990033;
+       color : blue;
 }
 
 a .term {
@@ -336,13 +384,28 @@ a .term {
        padding : .3em 0;
 }
 
-#action a {
-       background-position : left;
+#action a, #toolbar a {
+       background-position : 5px center;
        background-repeat : no-repeat;
        text-decoration : none;
        padding-left : 26px;
 }
 
+
+
+#toolbar ul li {
+       display : inline;
+       list-style : none;
+}
+
+#toolbar ul li a {
+       border-left : 1px solid #e8e8e8;
+}
+
+#toolbar ul li:first-child {
+       border-left : 0;
+}
+
 #action a.reserve, #toolbar a.reserve, .searchresults a.reserve {
        background-image:url(../../images/placereserve.gif);
 }
@@ -359,6 +422,29 @@ a .term {
        background-image:url(../../images/print.gif);
 }
 
+#toolbar a.brief {
+       background-image: url(../../images/brief.gif);
+}
+
+#toolbar  a.detail {
+       background-image: url(../../images/detail.gif);
+}
+
+#toolbar a.print {
+       background-image: url(../../images/print.gif);
+}
+
+#toolbar a.hide {
+       background-image: url(../../images/close.gif);
+}
+
+#toolbar a.send {
+       background-image: url(../../images/send.gif);
+}
+#toolbar a.empty {
+       background-image: url(../../images/trash.gif);
+}
+
 /* the itemtype list in advanced search */
 #advsearch-itemtype table {
        border-collapse : separate;
@@ -475,7 +561,7 @@ a .term {
 }
 
 #search-facets h4 {
-       background-color : #EFF1DC;
+       background-color : #EEE;
        border-bottom : 1px solid #e8e8e8;
        font-size : 90%;
        margin : 0;
@@ -641,36 +727,6 @@ a.cancel {
        padding-left : 1em;
 }
 
-#toolbar ul {
-       border-bottom : 1px solid #AFBCCF;
-}
-
-#toolbar ul {
-       margin : 1em 0 0 0;
-       padding : 0 0 .3em 0;
-}
-
-#toolbar ul li {
-       display : inline;
-       list-style : none;
-}
-
-#toolbar ul li a {
-       border-left : 1px solid #afbccf;
-       border-top : 1px solid #afbccf;
-       border-right : 1px solid #afbccf;
-       padding : .3em;
-       text-decoration : none;
-       margin-left : .3em;
-}
-
-#toolbar ul li a.link {
-       border : 0;
-       background-position : left;
-       background-repeat : no-repeat;
-       padding : .3em .3em .3em 26px;
-}
-
 .resultscontrol, .resultscontrol select {
        font-size: 90%;
 }
@@ -730,7 +786,7 @@ td.resultscontrol img {
 }
 
 .searchresults tr {
-       border-bottom : 1px solid #CCCCCC;
+       border-bottom : 1px solid #f3f3f3;
 }
 
 .searchresults tr:first-child {
@@ -812,7 +868,7 @@ a:active.current {
 }
 
 a:link.nav {
-       background-color: #EFF1DC;
+       background-color: #EEE;
        border: 1px solid #CCCC99;
        color: #3366CC;
        font-weight: bold;
@@ -821,7 +877,7 @@ a:link.nav {
 }
 
 a:visited.nav {
-       background-color: #EFF1DC;
+       background-color: #EEE;
        border: 1px solid #CCCC99;
        color: #3366CC;
        font-weight: bold;
@@ -933,6 +989,7 @@ table#marc, table#marc td, table#marc th {
 
 table#marc th {
        background-color : transparent;
+       text-align : left;
 }
 
 table#marc td:first-child {
@@ -966,10 +1023,36 @@ width: 100%;
 * html .clearfix {height: 1%;}
 /* End hide from IE-mac */
 
-.searchhighlightblob {
+.results_summary {
+       display: block;
        font-size : 85%;
+       color: #707070;
+       padding : 0 0 .5em 0;
+}
+
+.results_summary .label {
+       color: #202020;
+}
+
+.results_summary a {
+       font-weight: normal;
+}
+
+#catalogue_detail_biblio div.results_summary {
+       clear :  left;
+}
+#catalogue_detail_biblio div.results_summary ul {
+       display : inline;
+       float :  none;
+       clear :  none;
+       margin: 0;
+       padding: 0;
+       list-style : none;
 }
 
+#catalogue_detail_biblio div.results_summary ul li {
+       display : inline;
+}
 
 .dialog {
   border: 1px solid #bcbcbc;
@@ -1021,6 +1104,10 @@ div.message {
        font-weight : bold;
        margin : 0 .2em; 
  }
+#opac-main-search #listsmenu .yuimenuitemlabel {
+       cursor : pointer;
+}
 
 #opac-main-search #listsmenu .bd {
        background-color : #f3f3f3;
@@ -1029,10 +1116,6 @@ div.message {
        background-position : top right;
        background-repeat : repeat-y;
        padding : .3em 1em 0 0;
-       // margin : 3em 0 0 0;
-}
-#opac-main-search #listsmenu .yui-menu-shadow {
-       // margin : 3em 0 0 0;
 }
 
 #opac-main-search #listsmenu .yuimenuitemlabel.selected {
@@ -1041,9 +1124,16 @@ div.message {
 
 #opac-main-search #listsmenu ul {
        border-color : #b8d0e6;
-       m
 }
 
+.selectcol {
+       vertical-align: top;
+       width: 10px;
+}
+.itypecol {
+       vertical-align: top;
+       width: 10px;
+}
 #container {
        color : #000;
 }
@@ -1127,7 +1217,7 @@ div#changelanguage a.yuimenuitemlabel {
        font-weight : normal;
  }
 
-#cartDetails {
+#cartDetails,#cartUpdate {
        background-color : #FFF;
        border: 1px solid #739acf;
        color : black;
@@ -1135,6 +1225,12 @@ div#changelanguage a.yuimenuitemlabel {
        text-align : center;
 }
 
+.yui-panel .hd, .yui-panel .bd, .yui-panel .ft {
+       background-color : transparent;
+       border : 0;
+       padding : inherit;
+}
+
 #login #userid, #login #password {
        width : 98%;    
 }
@@ -1202,10 +1298,13 @@ div#menu li.active a:hover {
 #searchsubmit {
        cursor : default;
        font-size : 87%;
-       margin-top : -.1em;
+       font-weight :  normal;
+       margin-top : 0;
+       margin-left :  .2em;
+       padding: 2px 2px 1px 2px;
 }
 
-#export {
+#export,#further,#similars, .detailtagcell {
        margin-top : .5em;
        background-color : #F3F3F3;
        border : 1px solid #E8E8E8;
@@ -1214,30 +1313,75 @@ div#menu li.active a:hover {
        text-align : center;
 }
 
-#export label {
+#export label, .detailtagcell label {
        display : block;
        font-weight : bold;
        font-size : 110%;
        margin-bottom : 2px;
 }
 
-#export input {
+#export input, .detailtagcell input {
        padding : 2px;
 }
-#starFull {
-       background: url(../../images/bluestars.png) top left no-repeat;
-       height: 25px;
+
+#further {
+       text-align : left;
+       font-size : 95%;
+       padding : 3px 3px .5em 1em;
+}
+
+#further ul li {
+       list-style-image : url("../../images/further-bullet.gif");
+}
+
+#similars {
+       background-color : #FFF;
+    text-align : center;
+    font-size : 95%;
+    padding : 0 3px 3px 3px;
+}
+
+#similars ul {
+       margin : 0;
+       padding : 0;
+}
+
+#similars li {
+       list-style : none;
+       margin : 0;
+       padding : 0;
+}
+
+#similars li a {
+       display : block;
+}
+
+#amazonreviews h4 {
+       font-size : 90%;
+       margin : 0;
+       padding : 0;
+}
+#amazonreviews h3 {
+       font-size : 100%;
+       margin : 0;
+       padding : 0;
+}
+span.starFull {
+       background: url(../../images/star-ratings.gif) top left no-repeat;
+       display : block;
+       height: 10px;
        margin: 0;
        padding: 0;
 }
 
-#starMT {
-       background: url(../../images/emptystars.png) top left no-repeat;
-       height: 25px;
-       margin: 0 3px 0 30px;
+span.starMT {
+       background: url(../../images/star-ratings-empty.gif) top left no-repeat;
+       display : block;
+       height: 10px;
+       margin: 0 10px 0 10px;
        padding: 0;
        position: relative;
-       width: 100px;
+       width: 50px;
 }
 
 #cartmenulink, #listsmenulink {
@@ -1275,6 +1419,9 @@ div#menu li.active a:hover {
        padding : 0 0 5px 10px;
        margin-bottom : -5px;
 }
+/* For IE7 */
+ *:first-child+html #cartmenulink span { padding-top : 3px; padding-bottom : 7px; }
+ *:first-child+html #listsmenulink span { padding-top : 5px; }
 
  #cartmenulink span i, #listsmenulink span i {
        background-position : bottom right;
@@ -1301,7 +1448,9 @@ div#menu li.active a:hover {
        background-image : none;
        cursor : pointer;
 }
-
+* html #cartmenulink span, * html #listsmenulink span {
+       padding-top : 5px;
+}
 #listsmenulink {
        background : #9FBFFF;
 }
@@ -1312,17 +1461,13 @@ div#menu li.active a:hover {
        font-size : 105%;
 }
 
-#cartmenulink:active,  #listsmenulink:active {
-       background-color : #cc3399;
-}
-
 #cartmenulink[class], #listsmenulink[class] {
        background-image : url(../../images/button-background-gradient.png);
        background-position : left top;
 }
 
 #listsmenulink:hover {
-       background-color : #6699FF;
+       background-color : #b8d0e6;
 }
 
 #cartmenulink:hover {
@@ -1337,11 +1482,12 @@ div#menu li.active a:hover {
 
 #cartmenulink span#basket {
        background-image : none;
+       float : none;
        display : inline;
        height : auto;
        position : relative;
        margin : 0;
-       padding : 0 5px 0 0;
+       padding : 0;
        left : auto;
        right : auto;
        top : auto;
@@ -1352,11 +1498,13 @@ div#menu li.active a:hover {
        background-color : #E6FCB7;
        color : #000;
        display : inline;
+       float : none;
        font-size : 80%;
        font-weight : normal;
        margin : 0 0 0 .9em;
        padding : 0 .3em 0 .3em;
        position : relative;
+       left : auto;
        right : auto;
        top : auto;
 }
@@ -1376,6 +1524,19 @@ a#cartmenulink, a#cartmenulink:hover {
        line-height : 185%;
        margin-left : 1.5em;
 }
+* html a#cartmenulink {
+       padding-top: 0;
+}
+ * html a#cartmenulink:hover {
+       padding-top : 0;
+}
+/* For IE7 */
+*:first-child+html a#listsmenulink { padding-top : 0; }
+*:first-child+html a#listsmenulink:hover { padding-top : 0; }
+*:first-child+html a#cartmenulink { padding-top : 0; }
+*:first-child+html a#cartmenulink:hover { padding-top : 0; }
+*:first-child+html #cartmenulink span i{ top : -4px; }
+*:first-child+html #listsmenulink span i { top : -5px; }
 
 #listsmenulink img {
        background-image : none;
@@ -1384,11 +1545,11 @@ a#cartmenulink, a#cartmenulink:hover {
 }
 
 * html #cartmenulink {
-       border : 1px solid #66ff00;
+       border : 1px solid #336600;
 }
 
 * html #listsmenulink {
-       border : 1px solid #99ccff;
+       border : 1px solid #006699;
 }
 
 ul.ui-tabs-nav li {
@@ -1414,4 +1575,125 @@ ul.ui-tabs-nav li.ui-tabs-selected a, ul.ui-tabs-nav li.ui-tabs-selected span.a
        border-bottom : 1px solid #FFF;
        margin-bottom : -5px;
        text-align : center;
+}
+
+#views {
+       border-bottom : 1px solid #E8E8E8;
+}
+
+#views h1 {
+       display : inline;
+       margin-right : .7em;
+       margin-bottom : 1em;
+}
+
+.views {
+       white-space : nowrap;
+}
+
+#bibliodescriptions {
+       margin-top : .5em;
+}
+
+a#MARCview, span#MARCview, a#MARCviewPop, a#ISBDview, span#ISBDview, a#Normalview, span#Normalview {
+       background-position : 5px 3px;
+       background-repeat : no-repeat;
+       font-size : 87%;
+       font-weight : normal;
+       padding : .2em .5em;
+       text-decoration: none;
+}
+
+a#MARCview, span#MARCview {
+       background-image : url(../../images/marc.gif);
+       padding-left : 17px;
+}
+a#MARCviewPop, span#MARCviewPop {
+    background-image : url(../../images/marc.gif);
+    padding-left : 17px;
+}
+a#ISBDview, span#ISBDview {
+       background-image : url(../../images/isbd.gif);
+       padding-left : 20px;
+}
+a#Normalview, span#Normalview {
+       background-image : url(../../images/normal.gif);
+       padding-left : 15px;
+}
+
+a#MARCview, a#ISBDview, a#Normalview {
+       background-color : #F3F3F3;
+       border-left : 1px solid #E8E8E8;
+}
+
+#shelfbrowser table {
+       margin : 0 20px;
+}
+#shelfbrowser table, #shelfbrowser td, #shelfbrowser th {
+       border : 0;
+       font-size : 90%;
+       text-align : center;
+}
+#shelfbrowser a {
+       font-size : 110%;
+}
+#shelfbrowser td, #shelfbrowser th {
+       vertical-align : bottom;
+       width : 20%;
+}
+#shelfbrowser td.top {
+       vertical-align : top;
+}
+#shelfbrowser a {
+       display : block;
+}
+
+
+
+input.editshelf,a.editshelf {
+       background : transparent url("../../images/shelf-edit.gif") center left no-repeat;
+       border : 0;
+       color : #006699;
+       cursor : pointer;
+       margin:0pt 0.5em;
+       padding-left : 15px;
+       text-decoration : none;
+}
+input.newshelf,a.newshelf {
+       background : transparent url("../../images/shelf-new.gif") center left no-repeat;
+       border : 0;
+       color : #006699;
+       cursor : pointer;
+       margin:0pt 0.5em;
+       padding-left : 15px;
+       text-decoration : none;
+}
+input.deleteshelf {
+       background : transparent url("../../images/shelf-delete.gif") center left no-repeat;
+       border : 0;
+       color : #006699;
+       cursor : pointer;
+       font-size : 100%;
+       margin:0pt 0.5em;
+       padding-left : 13px;
+}
+
+input.editshelf:active,input.deleteshelf:active {
+       border : 0;
+}
+
+#comments .commentline {
+       border-bottom : 2px solid #eeeeeb;
+       margin : 0 -.5em 0 -.5em;
+       padding : 0 .5em .5em .5em;
+}
+#comments .yours {
+       background-color : #effed5;
+}
+#comments #addcomment {
+       margin : 0 -1em -1em -1em;
+       padding : .3em 1em;
+}
+input.tagbutton {
+       padding : 1px !important;
 }
\ No newline at end of file