Bug 20268: CSS regression: white gap on the top of the staff pages

This patch makes template and CSS changes so that the staff client main
page doesn't get an unwanted top margin from the Bootstrap-grid
conversion.

- The unused "main" class is removed from the login page
- The "main" class on the staff client home page is changed to
  "intranet-main."
- The CSS for the staff client home page has been modified accordingly.

To test, apply the patch and clear your browser cache if necessary.

- Open the staff client login page. It should look as it always does.
- Log in and check the style of the main page. There should be no white
  margin at the top of the page.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2018-03-01 15:00:18 +00:00 committed by Jonathan Druart
parent ceaf74a287
commit c53f83afc6
3 changed files with 3 additions and 3 deletions

View File

@ -180,7 +180,7 @@ ul.biglinks-list li a:hover.icon_course_reserves {background-position:5px -1146p
}
/* ==== USERBLOCK - End ==== */
.main .row {
.intranet-main .row {
margin-left: 0;
margin-right: 0;
}

View File

@ -12,7 +12,7 @@
</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="main_auth" class="main">
<body id="main_auth">
<div id="doc" class="yui-t7">
<div id="bd">

View File

@ -5,7 +5,7 @@
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/mainpage_[% KOHA_VERSION %].css" />
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="main_intranet-main" class="main">
<body id="main_intranet-main" class="intranet-main">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'home-search.inc' %]