| 1 |
/** |
| 2 |
* CSS code for the Premium features display on the "Edit" screen |
| 3 |
* |
| 4 |
* @package TablePress |
| 5 |
* @subpackage Views CSS |
| 6 |
* @author Tobias Bäthge |
| 7 |
* @since 2.1.0 |
| 8 |
*/ |
| 9 |
|
| 10 |
#tablepress-page .premium-features { |
| 11 |
display: none; |
| 12 |
|
| 13 |
$feature-box-width: 400px; |
| 14 |
|
| 15 |
@media screen and (min-width: 783px) { |
| 16 |
display: block; |
| 17 |
position: absolute; |
| 18 |
right: -$feature-box-width + 1px; |
| 19 |
width: calc($feature-box-width - 24px); |
| 20 |
height: calc(100% + 47px); |
| 21 |
bottom: -1px; |
| 22 |
margin: 0; |
| 23 |
|
| 24 |
@at-root #tablepress_edit-table-information { |
| 25 |
width: calc(100% - $feature-box-width); |
| 26 |
} |
| 27 |
|
| 28 |
.rtl & { |
| 29 |
left: -$feature-box-width; |
| 30 |
right: auto; |
| 31 |
} |
| 32 |
|
| 33 |
> div { |
| 34 |
display: flex; |
| 35 |
flex-direction: column; |
| 36 |
height: 100%; |
| 37 |
justify-content: space-between; |
| 38 |
text-align: center; |
| 39 |
} |
| 40 |
|
| 41 |
.postbox-header { |
| 42 |
border-bottom: none; |
| 43 |
} |
| 44 |
|
| 45 |
h2 { |
| 46 |
color: #ff5100; |
| 47 |
font-weight: 700; |
| 48 |
font-size: 19px; |
| 49 |
width: 100%; |
| 50 |
padding-top: 14px; |
| 51 |
|
| 52 |
.dashicons { |
| 53 |
width: 26px; |
| 54 |
font-size: 26px; |
| 55 |
color: #ffd166; |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
h3 a { |
| 60 |
color: #000000; |
| 61 |
text-decoration: none; |
| 62 |
} |
| 63 |
|
| 64 |
.inside { |
| 65 |
font-size: 14px; |
| 66 |
padding-bottom: 0; |
| 67 |
} |
| 68 |
|
| 69 |
.buttons { |
| 70 |
margin-bottom: 10px; |
| 71 |
} |
| 72 |
} |
| 73 |
} |
| 74 |
|