Changeset 14713


Ignore:
Timestamp:
7 Jul 2017, 05:51:45 (7 years ago)
Author:
Henrik Bettermann
Message:

Customize colors and pdf logos.

Location:
main/kofacustom.dspou/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspou/trunk/layout/static/custom.css

    r12303 r14713  
    11a {
    2   color: #930303;
     2  color: #0b6200;
    33}
    44
    55a:hover {
    6   color: #5f0500;
     6  color: #0c4505;
    77}
    88
     
    1212
    1313.navbar-inverse {
    14   background-color: #5f0500;
    15   background-image: -webkit-linear-gradient(top, #5f0500 0%, #930303 100%);
    16   background-image: linear-gradient(to bottom, #5f0500 0%, #930303 100%);
     14  background-color: #0c4505;
     15  background-image: -webkit-linear-gradient(top, #0c4505 0%, #0b6200 100%);
     16  background-image: linear-gradient(to bottom, #0c4505 0%, #0b6200 100%);
    1717  background-repeat: repeat-x;
    1818}
     
    2828.navbar-inverse .navbar-nav > .active > a:focus {
    2929  color: #ffffff;
    30   background-color: #930303;
     30  background-color: #0b6200;
    3131  background-image: none;
    3232  background-image: none;
     
    3737
    3838.navbar-inverse .navbar-toggle {
    39   border-color: #930303;
     39  border-color: #0b6200;
    4040}
    4141
    4242.navbar-inverse .navbar-toggle:hover,
    4343.navbar-inverse .navbar-toggle:focus {
    44   background-color: #930303;
     44  background-color: #0b6200;
    4545}
    4646
     
    4848.navbar-inverse .navbar-nav > .open > a:hover,
    4949.navbar-inverse .navbar-nav > .open > a:focus {
    50   background-color: #930303;
     50  background-color: #0b6200;
    5151  color: #fff;
    5252}
  • main/kofacustom.dspou/trunk/src/kofacustom/dspou/browser/pdf.py

    r10765 r14713  
    2727    """
    2828
    29     #header_logo_path = os.path.join(
    30     #    os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
    31     #watermark_path = os.path.join(
    32     #    os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
     29    header_logo_path = os.path.join(
     30        os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
     31    watermark_path = os.path.join(
     32        os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
    3333
    34     watermark_pos = [-25, 100]
    35     logo_pos = [507, 720, 40]
     34    watermark_pos = [95, 150]
     35    logo_pos = [520, 710, 40]
Note: See TracChangeset for help on using the changeset viewer.