| 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 |
@at-root #tablepress_edit-table-information { |
| 17 |
width: calc(100% - $feature-box-width); |
| 18 |
} |
| 19 |
|
| 20 |
display: block; |
| 21 |
position: absolute; |
| 22 |
right: -$feature-box-width; |
| 23 |
width: calc($feature-box-width - 24px); |
| 24 |
height: calc(100% + 42px); |
| 25 |
bottom: 0; |
| 26 |
margin: 0; |
| 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: transparent; |
| 47 |
background-image: linear-gradient(135deg, rgba(252, 185, 0, 1) 0%, rgba(255, 105, 0, 1) 75%); |
| 48 |
-webkit-background-clip: text; |
| 49 |
background-clip: text; |
| 50 |
font-weight: 700; |
| 51 |
font-size: 19px; |
| 52 |
width: 100%; |
| 53 |
padding-top: 14px; |
| 54 |
|
| 55 |
.dashicons { |
| 56 |
width: 26px; |
| 57 |
font-size: 26px; |
| 58 |
} |
| 59 |
} |
| 60 |
|
| 61 |
h3 a { |
| 62 |
color: #000000; |
| 63 |
text-decoration: none; |
| 64 |
} |
| 65 |
|
| 66 |
.inside { |
| 67 |
font-size: 14px; |
| 68 |
padding-bottom: 0; |
| 69 |
} |
| 70 |
|
| 71 |
.buttons { |
| 72 |
margin-bottom: 10px; |
| 73 |
} |
| 74 |
} |
| 75 |
} |
| 76 |
|