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>
343 lines
5.5 KiB
CSS
343 lines
5.5 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 : #333333;
|
|
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 : 1px solid #CCCCCC;
|
|
border-right : 1px solid #CCCCCC;
|
|
border-top : 1px solid #CCCCCC;
|
|
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;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-left : 1px solid #CCCCCC;
|
|
border-right : 1px solid #CCCCCC;
|
|
border-top : 1px solid #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 {
|
|
font-family : "Courier New", Courier, monospace;
|
|
text-align : right;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-left : 1px solid #CCCCCC;
|
|
border-right : 1px solid #CCCCCC;
|
|
border-top : 1px solid #CCCCCC;
|
|
}
|
|
|
|
td.debit {
|
|
color : #990000;
|
|
border-bottom : 1px solid #CCCCCC;
|
|
border-left : 1px solid #CCCCCC;
|
|
border-right : 1px solid #CCCCCC;
|
|
border-top : 1px solid #CCCCCC;
|
|
}
|
|
|
|
#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 h2 {
|
|
background-color : transparent;
|
|
color : #000000;
|
|
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;
|
|
border-bottom : 1px solid #000000;
|
|
border-left : 1px solid #000000;
|
|
border-right : 1px solid #000000;
|
|
border-top : 1px solid #000000;
|
|
}
|
|
|
|
#receipt th {
|
|
font-weight : bold;
|
|
text-align : left;
|
|
}
|
|
|
|
#receipt th.centerednames {
|
|
font-weight : bold;
|
|
text-align: center;
|
|
color: red;
|
|
border-top : 1px solid #000000;
|
|
border-bottom : 0px;
|
|
}
|
|
|
|
div#breadcrumbs,
|
|
div#toplevelnav,
|
|
div#login,
|
|
div#header_search,
|
|
div#toolbar,
|
|
div#changelanguage,
|
|
div#menu,
|
|
.noprint,
|
|
form#sortbyform,
|
|
#cartDetails,
|
|
fieldset.action,
|
|
.list-actions,
|
|
.print {
|
|
display: none;
|
|
}
|
|
|
|
fieldset {
|
|
border : 0;
|
|
}
|
|
#cataloguing_additem_itemlist {
|
|
overflow : visible !important;
|
|
}
|