plugin.tx_prgooglecse {
    view {
      templateRootPaths {
            10 = EXT:pr_googlecse/Resources/Private/Templates
            20 = {$plugin.tx_prgooglecse.view.templateRootPath}
        }

        partialRootPaths {
            10 = EXT:pr_googlecse/Resources/Private/Partials
            20 = {$plugin.tx_prgooglecse.view.partialRootPath}
        }

        layoutRootPaths {
            10 = EXT:pr_googlecse/Resources/Private/Layouts
            20 = {$plugin.tx_prgooglecse.view.layoutRootPath}
        }
    }

    _CSS_DEFAULT_STYLE (
    .search-results {
      max-width: 750px;
    }

    .search-result {
      margin-bottom: 2em;
    }

    .search-result h3 {
      margin-bottom: .3em;
    }

    .tx_prgooglecse-pagination {
      display: inline-table;
      padding: 0;
      margin: 10px 0;
    }

    .tx_prgooglecse-pagination li {
      display: inline-block;
    }

    .tx_prgooglecse-pagination li a {
      padding: 6px 12px;
      border:1px solid #333;
    }

    .tx_prgooglecse-pagination li a:hover,
    .tx_prgooglecse-pagination li a:focus {
      background: rgb(19, 40, 42);
      color: #fff;
    }

    .tx_prgooglecse-pagination li .active {
      background: #828282;
      color: #fff;
    }

    .tx_prgooglecse-pagination li:first-of-type a {
      border-top-left-radius: 5px;
      border-bottom-left-radius: 5px;
    }

    .tx_prgooglecse-pagination li:last-of-type a {
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
      border-right-width: 1px;
    }
    .tx_prgooglecse-copyright {
        font-size: 80%;
        opacity: 0.8;
    }

    /* transitions */
    .tx_prgooglecse-pagination li a {
      -webkit-transition: all 200ms ease-in-out; /* Firefox */
      -moz-transition: all 200ms ease-in-out; /* WebKit */
      -o-transition: all 200ms ease-in-out; /* Opera */
      transition: all 200ms ease-in-out; /* Standard */
    }
    )
}

# Register USER_INT
tt_content.list.20.pr_googlecse = USER_INT
tt_content.list.20.pr_googlecse {
    userFunc = KronovaNet\PrGooglecse\SearchPlugin->render
    showPagesInPagination = {$tt_content.list.20.pr_googlecse.showPagesInPagination}
    resultsPerPage = {$tt_content.list.20.pr_googlecse.resultsPerPage}
}
