Bug 11430 [Follow-up] Search history: Delete selected lines
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / less / opac.less
index 106fb3a..7c79c7d 100644 (file)
@@ -10,6 +10,25 @@ body {
     /* The html and body elements cannot have any padding or margin. */
 }
 
+.no-js {
+    .dateformat {
+        display: inline;
+        white-space: nowrap;
+    }
+    .modal-body {
+        padding: 0;
+    }
+    .selections-toolbar {
+        display: none;
+    }
+}
+
+.js {
+    .dateformat {
+        display: none;
+    }
+}
+
 /* Wrapper for page content to push down footer */
 #wrap {
     min-height: 100%;
@@ -41,6 +60,11 @@ a {
         font-weight: bold;
         font-size : 108%;
     }
+    &.btn {
+        &:visited {
+            color : #333;
+        }
+    }
     &.btn-primary {
         &:visited {
             color : #FFF;
@@ -121,6 +145,15 @@ table, td {
     background-color: #FFF;
 }
 
+td {
+    .btn {
+        white-space: nowrap;
+    }
+    .btn-link {
+        padding: 0;
+    }
+}
+
 #advsearches,
 #booleansearch {
     label {
@@ -189,11 +222,36 @@ table, td {
     margin : .5em 0;
 }
 
+.newscontainer {
+    border: 1px solid #ddd;
+    border-bottom-width: 0;
+    border-top-left-radius: 5px;
+    border-top-right-radius: 5px;
+}
+
+.newsheader {
+    background-color: #ecede6;
+    border-bottom: 1px solid #ddd;
+    margin: 0;
+    padding: 8px;
+}
+
+.newsbody {
+    padding: 8px;
+}
+
+.newsfooter {
+    border-bottom: 1px solid #ddd;
+    font-style: italic;
+    padding: 4px 8px;
+}
+
 #opacheader {
     background-color: #DDD;
 }
 
-#selections {
+#selections,
+.selections {
     font-weight : bold;
 }
 
@@ -335,7 +393,7 @@ table, td {
     background: linear-gradient(to bottom, #c7c7c1 38%,#a7a7a2 100%);
     /* W3C */
     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7c7c1', endColorstr='#a7a7a2',GradientType=0 );
-    /* IE6-9 */;
+    /* IE6-9 */
     label {
         font-size: 115%;
         font-weight: bold;
@@ -352,6 +410,10 @@ table, td {
     position: static;
 }
 
+#changelanguage .nav > .active > p {
+    padding : 0 15px;
+}
+
 .table-striped tbody > tr:nth-child(odd) > td,
 .table-striped tbody > tr:nth-child(odd) > th {
   background-color: #F4F4F4;
@@ -665,6 +727,31 @@ th[scope=row] {
     text-shadow: none;
 }
 
+.blabel {
+    background-color: #999999;
+    border-radius: 3px;
+    color: #ffffff;
+    display: inline-block;
+    font-weight: bold;
+    padding: 2px 4px;
+    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+}
+
+.label-important {
+  background-color: #b94a48;
+}
+.label-warning {
+  background-color: #f89406;
+}
+.label-success {
+  background-color: #468847;
+}
+.label-info {
+  background-color: #3a87ad;
+}
+.label-inverse {
+  background-color: #333333;
+}
 
 fieldset {
     &.rows {
@@ -729,6 +816,10 @@ fieldset {
                 }
             }
         }
+        .hint {
+            display: block;
+            margin-left : 11em;
+        }
     }
     &.action {
         clear : both;
@@ -741,6 +832,9 @@ fieldset {
             margin-bottom : 1em;
         }
     }
+    table {
+        font-size: 100%;
+    }
 }
 
 div.rows+div.rows {
@@ -884,7 +978,8 @@ div.rows {
     padding: 7px 5px 9px 9px;
 }
 
-#selections-toolbar {
+#selections-toolbar,
+.selections-toolbar {
     background: -moz-linear-gradient(top, #b2b2b2 0%, #e0e0e0 14%, #e8e8e8 100%); /* FF3.6+ */
     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b2b2b2), color-stop(14%,#e0e0e0), color-stop(100%,#e8e8e8)); /* Chrome,Safari4+ */
     background: -webkit-linear-gradient(top, #b2b2b2 0%,#e0e0e0 14%,#e8e8e8 100%); /* Chrome10+,Safari5.1+ */
@@ -933,7 +1028,9 @@ div.rows {
 #selections-toolbar input.hold.disabled,
 #selections-toolbar input.hold.disabled:hover,
 #selections-toolbar a.disabled,
-#selections-toolbar a.disabled:hover {
+#selections-toolbar a.disabled:hover,
+.selections-toolbar a.disabled,
+.selections-toolbar a.disabled:hover {
     color: #888888;
     text-decoration: none;
     padding-left : 23px;
@@ -1487,6 +1584,10 @@ input.editshelf {
     display: none;
 }
 
+.ui-tooltip-content p {
+        margin: 0.3em 0;
+}
+
 #social_networks {
     a {
         background: transparent url("../images/social-sprite.png") no-repeat;
@@ -1741,6 +1842,10 @@ a.listmenulink:active {
         font-weight : normal;
         text-decoration: underline;
     }
+    .facet-count {
+        display: inline-block;
+    }
+
 }
 
 #menu {
@@ -1844,7 +1949,9 @@ a.listmenulink:active {
     font-style : italic;
 }
 #CheckAll,
-#CheckNone {
+#CheckNone,
+.CheckAll,
+.CheckNone {
     font-weight : normal;
     margin : 0 .5em;
     text-decoration: underline;
@@ -1956,6 +2063,12 @@ button.closebtn{padding:0;cursor:pointer;background:transparent;border:0;-webkit
     margin-bottom : .5em;
 }
 
+.item-status {
+    display: block;
+    font-size: 95%;
+    margin-bottom: .5em;
+}
+
 .available {
     color : #006600;
 }
@@ -2097,6 +2210,10 @@ td img {
         padding-right: 19px;
         background: #ECEDE6 none;
     }
+    th,
+    td {
+        line-height: 135%;
+    }
 }
 .tags {
     ul {
@@ -2222,4 +2339,138 @@ td img {
     }
 }
 
+#holds {
+    margin : 0 auto;
+    max-width: 800px;
+}
+.holdrow {
+    clear : both;
+    padding: 0 1em 1em 1em;
+    border-bottom:1px solid #CCC;
+    margin-bottom:.5em;
+    fieldset {
+        border : 0;
+        margin : 0;
+        float: none;
+        .label {
+            font-size: 14px;
+        }
+    }
+    label {
+        display: inline;
+    }
+}
+.hold-options {
+    clear : both;
+}
+.toggle-hold-options {
+    background-color: #eee;
+    clear : both;
+    display : block;
+    font-weight : bold;
+    margin: 1em 0;
+    padding: .5em;
+}
+.copiesrow {
+    clear : both;
+}
+
+#idreambooksreadometer {
+    float: right;
+}
+
+a.idreambooksrating {
+    font-size: 30px;
+    color: #29ADE4;
+    padding-left: 85px;
+    line-height: 30px;
+    text-decoration: none;
+}
+
+.idreambookslegend {
+    font-size: small;
+}
+
+a.reviewlink,
+a.reviewlink:visited {
+    text-decoration: none;
+    color: black;
+    font-weight: normal;
+}
+
+.idreambookssummary a {
+    color: #707070;
+    text-decoration: none;
+}
+
+.idreambookssummary img,
+.idbresult img {
+    vertical-align: middle;
+}
+
+.idbresult {
+    color: #29ADE4;
+    text-align: center;
+    margin: 0.5em;
+    padding: 0.5em;
+}
+
+.idbresult a,
+.idbresult a:visited {
+    text-decoration: none;
+    color: #29ADE4;
+}
+
+.idbresult img {
+    padding-right: 6px;
+}
+
+.js-show {
+    display: none;
+}
+
+.modal-nojs {
+    .modal-header,
+    .modal-footer {
+        display: none;
+    }
+}
+
+.contents {
+    width: 75%;
+}
+
+
+.contentblock {
+    font-size : 95%;
+    line-height: 135%;
+    position: relative;
+    margin-left: 2em;
+}
+
+.contents {
+    .t:first-child:before {
+        content: "→ ";
+    }
+    .t:before {
+        content: "\A → ";
+        white-space: pre;
+    }
+    .t {
+        font-weight: bold;
+        display: inline;
+    }
+    .r {
+        display: inline;
+    }
+}
+
+.m880 {
+    display:block;
+    text-align:right;
+    float:right;
+    width:50%;
+    padding-left:20px;
+}
+
 @import "responsive.less";