| 1 |
@media only screen and (max-width: 1200px) { |
| 2 |
|
| 3 |
/** |
| 4 |
* Settings UI: Upgrade |
| 5 |
* - Drop to 2 columns |
| 6 |
*/ |
| 7 |
.wpzinc-upgrade { |
| 8 |
|
| 9 |
ul { |
| 10 |
display: grid; |
| 11 |
grid-template-columns: repeat(2, 1fr); |
| 12 |
} |
| 13 |
} |
| 14 |
} |
| 15 |
|
| 16 |
@media only screen and (max-width: 768px) { |
| 17 |
|
| 18 |
/** |
| 19 |
* Settings UI - Horizontal Tabbed Interface |
| 20 |
* - Extends WordPress' .nav-tab-wrapper class |
| 21 |
*/ |
| 22 |
h2.wpzinc-horizontal-tabbed-ui.nav-tab-wrapper { |
| 23 |
|
| 24 |
a.nav-tab { |
| 25 |
margin-right: 10px; |
| 26 |
|
| 27 |
&:last-child { |
| 28 |
margin-right: 0; |
| 29 |
} |
| 30 |
|
| 31 |
span.text { |
| 32 |
display: none; |
| 33 |
} |
| 34 |
|
| 35 |
span.text-mobile { |
| 36 |
display: inline-block; |
| 37 |
} |
| 38 |
|
| 39 |
.dashicons { |
| 40 |
font-size: 24px; |
| 41 |
|
| 42 |
&.dashicons-yes { |
| 43 |
font-size: 20px; |
| 44 |
} |
| 45 |
} |
| 46 |
} |
| 47 |
} |
| 48 |
|
| 49 |
/** |
| 50 |
* Settings UI - Vertical Tabbed Interface |
| 51 |
*/ |
| 52 |
div.wpzinc-vertical-tabbed-ui { |
| 53 |
grid-template-columns: $wpzinc-vertical-tabbed-ui-width-mobile auto; |
| 54 |
|
| 55 |
ul.wpzinc-nav-tabs { |
| 56 |
|
| 57 |
li.wpzinc-nav-tab { |
| 58 |
|
| 59 |
a, |
| 60 |
a.wpzinc-nav-tab-vertical-active, |
| 61 |
a:hover { |
| 62 |
width: $wpzinc-vertical-tabbed-ui-width-mobile; |
| 63 |
height: $wpzinc-vertical-tabbed-ui-width-mobile; |
| 64 |
margin: 0; |
| 65 |
padding: 0; |
| 66 |
text-indent: -9999px; |
| 67 |
background-position: center; |
| 68 |
} |
| 69 |
|
| 70 |
a { |
| 71 |
|
| 72 |
span.dashicons { |
| 73 |
top: 0; |
| 74 |
right: 0; |
| 75 |
text-indent: 0; |
| 76 |
} |
| 77 |
|
| 78 |
&:hover { |
| 79 |
border-top: none; |
| 80 |
|
| 81 |
span.dashicons { |
| 82 |
right: 0; |
| 83 |
} |
| 84 |
} |
| 85 |
} |
| 86 |
} |
| 87 |
} |
| 88 |
} |
| 89 |
|
| 90 |
.wpzinc-option { |
| 91 |
display: block; |
| 92 |
|
| 93 |
div.left { |
| 94 |
width: 100%; |
| 95 |
} |
| 96 |
|
| 97 |
div.right { |
| 98 |
width: 100%; |
| 99 |
} |
| 100 |
|
| 101 |
select.right, |
| 102 |
input.right { |
| 103 |
float: none; |
| 104 |
width: 100%; |
| 105 |
margin: 0 0 10px 0 !important; |
| 106 |
} |
| 107 |
|
| 108 |
select { |
| 109 |
width: 100%; |
| 110 |
} |
| 111 |
} |
| 112 |
|
| 113 |
/** |
| 114 |
* Settings UI: Upgrade |
| 115 |
* - Drop to a single column |
| 116 |
* - Reduce font sizes and spacing |
| 117 |
*/ |
| 118 |
.wpzinc-upgrade { |
| 119 |
|
| 120 |
ul { |
| 121 |
grid-template-columns: repeat(1, 1fr); |
| 122 |
} |
| 123 |
} |
| 124 |
} |
| 125 |
|