Bug 9680 - cart aligned right in CCSR
The CCSR theme sets a min-width of 1000px for windows which are more than 700px wide. This caused the cart popup window to be given a min-width of 1000px, resulting in a broken layout with unnecessary horizontal scrolling. This patch adds a class to the cart template and to other pop-up window templates to ensure that a large min-width is not enforced and to give consistent padding to those pages. To test, set your theme to 'CCSR' and view the following pop-up pages: - The Cart. From the cart, trigger: - The "send" window - The "download" window - From a view of a List's contents trigger: - The "send" window" - The "download" window Each of these pages should look correct with no horizontal scrolling. Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> All tests pass Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Template and CSS changes only, but no string changes. Save for inclusion in 3.12. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
6587b92434
commit
db0fa0eacd
|
|
@ -13,6 +13,11 @@ body {
|
|||
background-color : #eaeae6;
|
||||
}
|
||||
|
||||
body.popup {
|
||||
min-width: 100px;
|
||||
padding : 1em;
|
||||
}
|
||||
|
||||
#container {
|
||||
background: #fff;
|
||||
border:1px solid #d2d2cf;
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ function enableCheckboxActions(){
|
|||
</script>
|
||||
[% END %]
|
||||
</head>
|
||||
<body id="basket">
|
||||
<body id="basket" class="popup">
|
||||
|
||||
<div id="doc" class="yui-t7">
|
||||
<div id="userbasket" class="container">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Download cart[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
<body id="opac-downloadcart" style="padding:1em;">
|
||||
<body id="opac-downloadcart" class="popup">
|
||||
<div id="userdownloadcart" class="container">[% IF ( format ) %]
|
||||
<p>Your download should begin automatically.</p>
|
||||
[% ELSE %]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
<body id="opac-downloadlist" style="padding:1em;">
|
||||
<body id="opac-downloadlist" class="popup">
|
||||
<div id="userdownloadshelf" class="container">
|
||||
[% UNLESS ( invalidlist ) %]
|
||||
[% IF ( format ) %]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Sending your cart
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
<body style="padding: 1em;" id="sendbasket">
|
||||
<body id="sendbasket" class="popup">
|
||||
<div id="usersendbasket" class="container">[% IF ( email_add ) %]
|
||||
|
||||
[% IF ( SENT ) %]
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
<body style="padding: 1em;" id="sendshelf">
|
||||
<body id="sendshelf" class="popup">
|
||||
<div id="usersendshelfform" class="container">[% IF ( email ) %]
|
||||
|
||||
[% IF ( SENT ) %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue