OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
//-- copyright
// OpenProject is an open source project management software.
// Copyright (C) the OpenProject GmbH
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License version 3.
//
// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
// Copyright (C) 2006-2013 Jean-Philippe Lang
// Copyright (C) 2010-2013 the ChiliProject Team
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// See COPYRIGHT and LICENSE files for more details.
//++
$pagination--font-size: 0.8125rem
.op-pagination
display: flex
justify-content: space-between
width: 100%
min-height: 45px
&--pages
flex-grow: 2
flex-shrink: 2
margin: 10px 5px 10px 0
&--options
flex-grow: 1
flex-shrink: 1
margin: 10px 0 0 5px
&--items
list-style-type: none
display: flex
align-items: center
margin: 0
padding: 0
font-size: $pagination--font-size
&_start
justify-content: flex-start
&_end
justify-content: flex-end
&--item
min-width: 25px
margin: 0 5px 0 0
white-space: nowrap
&_current
background: var(--body-background)
border: 1px solid var(--body-background)
color: var(--body-font-color)
padding: 3px 3px
font-style: italic
text-align: center
&-link
margin: 0
display: inline-flex
align-items: baseline
min-width: 25px
justify-content: center
padding: 3px var(--base-size-4)
background: var(--button--background-color)
border-radius: 2px
border: 1px solid var(--button-default-borderColor-rest)
color: var(--body-font-color)
font-weight: normal
cursor: pointer
text-decoration: none
&:hover
color: var(--body-font-color)
text-decoration: none
background: var(--button--background-hover-color)
&_prev
padding-left: var(--base-size-6)
padding-right: var(--base-size-8)
&_next
padding-left: var(--base-size-8)
padding-right: var(--base-size-6)
&-link-icon
align-self: center
&_prev
margin-right: var(--base-size-4)
&_next
margin-left: var(--base-size-4)
&--space
background: var(--body-background)
border: 1px solid var(--body-background)
font-style: italic
padding: 3px 0
margin: 0 5px 0 0
&--label
flex: 1
padding: 3px 0
margin-right: 5px
text-align: right
@include text-shortener
&--range,
&--info
flex: 1
margin: 0 0 0 5px
padding: 3px 0
display: block
@include text-shortener
&--info
flex-basis: auto