Commit 9ef2565bf570ae9e7fd12e420f81751eb68b497d

Authored by jonathan_byrne
1 parent c8f75491

KTS-3102

"Error dashlets and error message dashlets displaying incorrectly."

Fixed. Changed CSS and added new pictures to fix error dashlets, error message dashlets and info dashlets.

Committed By: Jonathan Byrne
Reviewed By: Megan Watson

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8185 c91229c3-7414-0410-bfa2-8a42b809f60b
resources/css/kt-framing.css
... ... @@ -1450,7 +1450,7 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
1450 1450 .error_dashlet_bottomrepeat_small {
1451 1451 position: absolute;
1452 1452 width: 97%;
1453   - height: 21px;
  1453 + height: 30px;
1454 1454 bottom: 0px;
1455 1455 left: 10x;
1456 1456 background: #ffdd80 url(../graphics/error_bottomrepeat.png) bottom left repeat-x;
... ... @@ -1478,6 +1478,17 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
1478 1478 overflow:hidden;
1479 1479 }
1480 1480  
  1481 +.error_dashlet_rightrepeat_top_small {
  1482 + position: absolute;
  1483 + width: 30px;
  1484 + height: 50%;
  1485 + top: 5px;
  1486 + right: 0px;
  1487 + background: #ffdd80 url(../graphics/error_rightrepeat.png) top right repeat-y;
  1488 + z-index:-1;
  1489 + overflow:hidden;
  1490 +}
  1491 +
1481 1492 .error_dashlet_rightrepeat_bottom {
1482 1493 position: absolute;
1483 1494 width: 30px;
... ... @@ -1493,6 +1504,10 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
1493 1504 min-height: 70px;
1494 1505 }
1495 1506  
  1507 +.error_dashlet_rightrepeat_top_small {
  1508 + min-height: 20px;
  1509 +}
  1510 +
1496 1511 .dashboard_block.rolled-up .error_dashlet_toprepeat
1497 1512 {
1498 1513 height: 38px;
... ... @@ -1523,6 +1538,14 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
1523 1538 display: none;
1524 1539 }
1525 1540  
  1541 +.dashboard_block.rolled-up .error_dashlet_bottomleft {
  1542 + background: url(../graphics/error_bottomleft_rolledup.png) bottom left no-repeat;
  1543 +}
  1544 +
  1545 +.dashboard_block.rolled-up .error_dashlet_bottomright {
  1546 + background: url(../graphics/error_bottomright_rolledup.png) bottom right no-repeat;
  1547 +}
  1548 +
1526 1549 .info_dashlet_topleft {
1527 1550 position: absolute;
1528 1551 width: 35px;
... ... @@ -1627,7 +1650,7 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
1627 1650 .info_dashlet_bottomrepeat_small {
1628 1651 position: absolute;
1629 1652 width: 97%;
1630   - height: 21px;
  1653 + height: 30px;
1631 1654 bottom: 0px;
1632 1655 left: 10x;
1633 1656 background: #DEDEDE url(../graphics/info_bottomrepeat.png) bottom left repeat-x;
... ... @@ -1655,6 +1678,17 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
1655 1678 overflow:hidden;
1656 1679 }
1657 1680  
  1681 +.info_dashlet_rightrepeat_top_small {
  1682 + position: absolute;
  1683 + width: 30px;
  1684 + height: 50%;
  1685 + top: 5px;
  1686 + right: 0px;
  1687 + background: #DEDEDE url(../graphics/info_rightrepeat.png) top right repeat-y;
  1688 + z-index:-1;
  1689 + overflow:hidden;
  1690 +}
  1691 +
1658 1692 .info_dashlet_rightrepeat_bottom {
1659 1693 position: absolute;
1660 1694 width: 30px;
... ... @@ -1670,6 +1704,10 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
1670 1704 min-height: 70px;
1671 1705 }
1672 1706  
  1707 +.info_dashlet_rightrepeat_top_small {
  1708 + min-height: 20px;
  1709 +}
  1710 +
1673 1711 .dashboard_block.rolled-up .info_dashlet_toprepeat
1674 1712 {
1675 1713 height: 38px;
... ...
resources/graphics/error_bottomleft_rolledup.png 0 → 100644

277 Bytes

resources/graphics/error_bottomright_rolledup.png 0 → 100644

346 Bytes

templates/kt3/standard_page.smarty
... ... @@ -252,7 +252,7 @@
252 252 <!-- any status / error messages get added here. -->
253 253 {if (!empty($page->errStack))}
254 254 <div class="ktError">
255   - <div class="error_dashlet_rightrepeat_top"></div>
  255 + <div class="error_dashlet_rightrepeat_top_small"></div>
256 256 <div class="error_dashlet_leftrepeat_top"></div>
257 257 <div class="error_dashlet_rightrepeat_bottom"></div>
258 258 <div class="error_dashlet_leftrepeat_bottom"></div>
... ... @@ -277,7 +277,7 @@
277 277  
278 278 {if (!empty($page->infoStack))}
279 279 <div class="ktInfo">
280   - <div class="info_dashlet_rightrepeat_top"></div>
  280 + <div class="info_dashlet_rightrepeat_top_small"></div>
281 281 <div class="info_dashlet_leftrepeat_top"></div>
282 282 <div class="info_dashlet_rightrepeat_bottom"></div>
283 283 <div class="info_dashlet_leftrepeat_bottom"></div>
... ...