blob: ddadc3dbd0620bce6050fc2261f13433c4f0205a [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
.paging-icon() {
.icon();
display: block;
line-height: 21px;
vertical-align: middle;
width: 17px; // define width to prevent flicker
}
.bottom-pagers-wrapper {
.clearfix();
@media (min-width: @screen-sm-min) {
position: absolute;
bottom: 0;
right: 0;
}
}
.pagers {
display: flex;
white-space: nowrap;
@media (min-width: @screen-sm-min) {
float: right;
font-size: 14px;
}
&.top {
order: 1;
margin-bottom: 6px;
@media (min-width: @screen-sm-min) {
margin-left: 12px;
margin-bottom: 0;
}
}
}
.paging-arrow {
flex: 1 0 auto;
word-break: normal;
@paging-icon-spacing: 3px;
&::before {
.paging-icon();
}
&.previous {
@media (min-width: @screen-xs-min) {
margin-right: 12px;
}
&::before {
.icon-arrow-circle-o-left();
padding-right: @paging-icon-spacing;
float: left;
}
}
&.next {
text-align: right;
&::before {
.icon-arrow-circle-o-right();
padding-left: @paging-icon-spacing;
float: right;
}
}
}