| 1 |
/** |
| 2 |
* TablePress Default CSS - DataTables-Pagination-related code. |
| 3 |
* |
| 4 |
* Attention: Do not modify this file directly, but use the "Custom CSS" textarea |
| 5 |
* on the "Plugin Options" screen of TablePress. |
| 6 |
* |
| 7 |
* @package TablePress |
| 8 |
* @subpackage Frontend CSS |
| 9 |
* @author Tobias Bäthge, Allan Jardine |
| 10 |
* @since 3.0.0 |
| 11 |
*/ |
| 12 |
|
| 13 |
/* Default toggle variable for LTR and RTL CSS. */ |
| 14 |
$direction: "ltr" !default; |
| 15 |
|
| 16 |
/* Default variables for the LTR CSS. */ |
| 17 |
$align-side: left; |
| 18 |
|
| 19 |
/* Variables for the RTL CSS. */ |
| 20 |
@if "rtl" == $direction { |
| 21 |
$align-side: right; |
| 22 |
} |
| 23 |
|
| 24 |
/* Pagination. */ |
| 25 |
@mixin dt-paging { |
| 26 |
.dt-paging { |
| 27 |
.dt-paging-button { |
| 28 |
box-sizing: border-box; |
| 29 |
display: inline-block; |
| 30 |
min-width: 32px; |
| 31 |
height: 32px; |
| 32 |
padding: 0 5px; |
| 33 |
margin-#{$align-side}: 2px; |
| 34 |
text-align: center; |
| 35 |
vertical-align: middle; |
| 36 |
text-decoration: none !important; |
| 37 |
cursor: pointer; |
| 38 |
|
| 39 |
font-size: 1em; |
| 40 |
|
| 41 |
color: inherit !important; |
| 42 |
border: 1px solid transparent; |
| 43 |
border-radius: 2px; |
| 44 |
background: transparent; |
| 45 |
|
| 46 |
&.current, |
| 47 |
&:hover { |
| 48 |
border: 1px solid #111111; |
| 49 |
} |
| 50 |
|
| 51 |
&.disabled, |
| 52 |
&.disabled:hover, |
| 53 |
&.disabled:active { |
| 54 |
cursor: default; |
| 55 |
color: rgba(0, 0, 0, 0.3) !important; |
| 56 |
border: 1px solid transparent; |
| 57 |
outline: none; |
| 58 |
} |
| 59 |
} |
| 60 |
|
| 61 |
> .dt-paging-button:first-child { |
| 62 |
margin-#{$align-side}: 0; |
| 63 |
} |
| 64 |
|
| 65 |
.ellipsis { |
| 66 |
padding: 0 1em; |
| 67 |
} |
| 68 |
} |
| 69 |
} |
| 70 |
|