Owen Leonard
8262613b25
This patch updates the basket groups interface so that it doesn't rely on YUI to move baskets in and out of groups. The patch also removes all YUI assets and many long-obsolete references to YUI-related classes and IDs. To test, apply the patch and rebuild the staff interface CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) - Go to Acquisitions. - Locate a vendor with multiple closed baskets. - Click "Basket groups" in the sidebar menu. - Create or edit a basket group. - On the basket group page you should see the basket group form in one column and ungrouped baskets in another. - Both grouped and ungrouped baskets should be in a sortable DataTable. - Test that when you click the "Add to group" button on an ungrouped basket the row is removed from the table of ungrouped baskets and added to the table of grouped baskets. - The button text on the row should now read "Remove." - Test the reverse operation: Clicking "Remove" on a grouped basket should move it to the table of ungrouped baskets. - Test that when all baskets are moved out of either of the tables a row is displayed with a message specific to that table, e.g. "There are no ungrouped baskets." - Test that the basket group saves correctly when zero or more baskets are added to the group. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
362 lines
5.4 KiB
CSS
362 lines
5.4 KiB
CSS
a:link {
|
|
color : #000000;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:visited {
|
|
color : #000000;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color : #993300;
|
|
text-decoration: none;
|
|
}
|
|
|
|
body {
|
|
background-color : #FFF;
|
|
color : #000000;
|
|
font-family : arial, geneva, sans-serif;
|
|
font-size : 14px;
|
|
margin : 0px 0px 0px 0px;
|
|
}
|
|
|
|
caption {
|
|
color : #000000;
|
|
font-size : 18px;
|
|
font-weight : bold;
|
|
margin-top : 5px;
|
|
text-align : left;
|
|
}
|
|
|
|
form {
|
|
margin : 0px;
|
|
padding : 0px;
|
|
}
|
|
|
|
h1
|
|
{
|
|
color : #000000;
|
|
font-size : 22px;
|
|
font-weight : bold;
|
|
margin-bottom : 3px;
|
|
margin-top : 3px;
|
|
}
|
|
|
|
h1#logo {
|
|
display: none;
|
|
}
|
|
|
|
h2 {
|
|
color : #000000;
|
|
font-size : 20px;
|
|
font-weight : bold;
|
|
margin-bottom : 3px;
|
|
margin-top : 3px;
|
|
}
|
|
|
|
h3 {
|
|
color : #000000;
|
|
font-size : 18px;
|
|
font-weight : bold;
|
|
margin-bottom : 3px;
|
|
margin-top : 3px;
|
|
}
|
|
|
|
h4 {
|
|
color : #000000;
|
|
font-size : 16px;
|
|
font-weight : bold;
|
|
margin-bottom : 3px;
|
|
margin-top : 3px;
|
|
}
|
|
|
|
h5 {
|
|
color : #000000;
|
|
font-size : 15px;
|
|
font-weight : bold;
|
|
margin-bottom : 1px;
|
|
margin-top : 1px;
|
|
}
|
|
|
|
h6 {
|
|
color : #000000;
|
|
font-size : 14px;
|
|
font-weight : bold;
|
|
margin-bottom : 1px;
|
|
margin-top : 1px;
|
|
}
|
|
|
|
table {
|
|
background-color : #FFFFFF;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-collapse : collapse;
|
|
border-left : 1px solid #CCCCCC;
|
|
margin : 3px 0px 5px 0px;
|
|
padding : 0px;
|
|
width : 99%;
|
|
}
|
|
|
|
table.list {
|
|
background-color : #FFFFFF;
|
|
border : 0;
|
|
border-collapse : collapse;
|
|
margin : 3px 0px 5px 0px;
|
|
padding : 0px;
|
|
width : 99%;
|
|
}
|
|
|
|
td {
|
|
background-color : #FFF;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-right : 1px solid #CCCCCC;
|
|
border-top : 0;
|
|
border-left : 0;
|
|
font-size : 12px;
|
|
padding : 5px 5px 5px 5px;
|
|
}
|
|
|
|
td:last-child {
|
|
background-color : #FFF;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-right : 0px solid #CCCCCC;
|
|
border-top : 0;
|
|
border-left : 0;
|
|
font-size : 12px;
|
|
padding : 5px 5px 5px 5px;
|
|
}
|
|
|
|
table.list th {
|
|
background-color : #FFFFFF;
|
|
border-top : 0;
|
|
border-left : 0;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
padding: 5px;
|
|
width : 25%;
|
|
}
|
|
|
|
th {
|
|
background-color : #E9E9E9;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-right : 1px solid #CCCCCC;
|
|
border-top : 0;
|
|
border-left : 0;
|
|
font-size : 14px;
|
|
font-weight : bold;
|
|
padding : 5px 5px 5px 5px;
|
|
}
|
|
|
|
th:last-child {
|
|
background-color : #E9E9E9;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-right : 0px solid #CCCCCC;
|
|
border-top : 0;
|
|
border-left : 0;
|
|
font-size : 14px;
|
|
font-weight : bold;
|
|
padding : 5px 5px 5px 5px;
|
|
}
|
|
|
|
td.input, div.form td, div.details td {
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-left : 0px;
|
|
border-right : 0px;
|
|
color : #000000;
|
|
line-height : 1.5em;
|
|
padding : 4px;
|
|
text-align : left;
|
|
}
|
|
|
|
td.label, div.form th, div.details th {
|
|
background-color : #FFF;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-left : 1px solid #CCCCCC;
|
|
border-right : 0px;
|
|
border-top : 0px;
|
|
color : #000088;
|
|
font-weight : bold;
|
|
line-height : 1.5em;
|
|
padding : 4px;
|
|
text-align : right;
|
|
vertical-align : top;
|
|
}
|
|
|
|
tr.highlight {
|
|
background-color: #CCCCCC;
|
|
}
|
|
|
|
.error {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.ex {
|
|
font-family : "Courier New", Courier, monospace;
|
|
}
|
|
.inline {
|
|
display : inline;
|
|
}
|
|
|
|
tr.overdue {
|
|
font-weight : bold;
|
|
}
|
|
|
|
tfoot {
|
|
font-weight : bold;
|
|
}
|
|
|
|
tfoot td, tfoot td:last-child {
|
|
background-color : #EEEEEE;
|
|
border-right : 1px solid #666666;
|
|
border-bottom : 1px solid #666666;
|
|
}
|
|
|
|
td.credit, td.debit, td.sum {
|
|
color: #000;
|
|
font-family : "Courier New", Courier, monospace;
|
|
text-align : right;
|
|
}
|
|
|
|
td.debit {
|
|
color : #990000;
|
|
}
|
|
|
|
#receipt {
|
|
background-color : #FFFFFF;
|
|
font-family : serif;
|
|
font-size : .9em;
|
|
margin : 0 0px 0px 0;
|
|
padding : 0px;
|
|
position : relative;
|
|
}
|
|
|
|
#receipt a:link {
|
|
color : #000000;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#receipt a:visited {
|
|
color : #000000;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#receipt a:hover {
|
|
color : #993300;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#receipt caption {
|
|
color : #000000;
|
|
font-weight : bold;
|
|
margin-top : 5px;
|
|
text-align : left;
|
|
}
|
|
|
|
#receipt div.table {
|
|
background-color : transparent;
|
|
font-weight: normal;
|
|
}
|
|
|
|
#receipt h3, #receipt caption, #receipt h4 {
|
|
background-color : transparent;
|
|
color : #000000;
|
|
font-size : 1em;
|
|
font-weight : bold;
|
|
margin-bottom : 3px;
|
|
margin-top : 3px;
|
|
}
|
|
|
|
#receipt table {
|
|
background-color : transparent;
|
|
border : 0;
|
|
border-collapse : collapse;
|
|
width : auto;
|
|
}
|
|
|
|
#receipt td, #receipt th {
|
|
background-color : transparent;
|
|
border : 0;
|
|
font-size : 1em;
|
|
font-weight : normal;
|
|
padding : 1px;
|
|
}
|
|
|
|
#receipt th {
|
|
font-weight : bold;
|
|
text-align : left;
|
|
}
|
|
|
|
#breadcrumbs,
|
|
#toplevelnav,
|
|
#login,
|
|
#header,
|
|
#header_search,
|
|
#toolbar,
|
|
#changelanguage,
|
|
#menu,
|
|
#limitselect,
|
|
#batchModify,
|
|
#navmenu,
|
|
.gradient,
|
|
.noprint,
|
|
form#sortbyform,
|
|
#cartDetails,
|
|
fieldset.action,
|
|
.list-actions,
|
|
.print,
|
|
.ui-tabs-nav,
|
|
.browse-controls,
|
|
.cart-controls,
|
|
button.dt-button {
|
|
display: none;
|
|
}
|
|
|
|
.ui-tabs .ui-tabs-panel,
|
|
.ui-tabs .ui-tabs-hide {
|
|
display : block !important;
|
|
}
|
|
|
|
fieldset {
|
|
border : 0;
|
|
}
|
|
#cataloguing_additem_itemlist {
|
|
overflow : visible !important;
|
|
}
|
|
|
|
#catalogue_detail_marc_preview,
|
|
p#upload_image
|
|
{
|
|
display: none;
|
|
}
|
|
|
|
th {
|
|
text-align: left;
|
|
}
|
|
|
|
#cart_basket .container,
|
|
#cart_basket table,
|
|
#cart_basket tr,
|
|
#cart_basket th,
|
|
#cart_basket td,
|
|
#cart_basket .sorting_asc,
|
|
#cart_basket .sorting,
|
|
#cart_basket .sorting_desc,
|
|
#cart_basket .sorting_disabled,
|
|
#cart_basket tbody tr:nth-child(2n+1) td {
|
|
background: transparent none;
|
|
border: 0;
|
|
}
|
|
|
|
#cart_basket tr {
|
|
border-collapse: collapse;
|
|
border-bottom: 1px solid #DDD;
|
|
}
|
|
|
|
.container {
|
|
width:100%;
|
|
}
|
|
|
|
#catalog_detail .col-sm-push-2 {
|
|
left: 0;
|
|
}
|