| 1 |
/** |
| 2 |
* 12. Responsive |
| 3 |
*/ |
| 4 |
@media only screen and (max-width:1200px){ |
| 5 |
|
| 6 |
.csf-metabox{ |
| 7 |
|
| 8 |
.csf-field{ |
| 9 |
|
| 10 |
.csf-title{ |
| 11 |
float: none; |
| 12 |
width: 100%; |
| 13 |
margin-bottom: 10px; |
| 14 |
} |
| 15 |
|
| 16 |
.csf-fieldset{ |
| 17 |
float: none; |
| 18 |
width: 100%; |
| 19 |
} |
| 20 |
} |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
@media only screen and (max-width:782px){ |
| 25 |
|
| 26 |
.csf-header-inner{ |
| 27 |
text-align: center; |
| 28 |
|
| 29 |
h1{ |
| 30 |
width: 100%; |
| 31 |
margin-bottom: 10px; |
| 32 |
} |
| 33 |
} |
| 34 |
|
| 35 |
.csf-form-result{ |
| 36 |
float: none; |
| 37 |
margin-right: 0; |
| 38 |
margin-bottom: 10px; |
| 39 |
} |
| 40 |
|
| 41 |
.csf-search, |
| 42 |
.csf-header-right, |
| 43 |
.csf-header-left{ |
| 44 |
width: 100%; |
| 45 |
} |
| 46 |
|
| 47 |
.csf-search{ |
| 48 |
text-align: center; |
| 49 |
margin-bottom: 15px; |
| 50 |
} |
| 51 |
|
| 52 |
.csf-footer{ |
| 53 |
text-align: center; |
| 54 |
} |
| 55 |
|
| 56 |
.csf-buttons{ |
| 57 |
float: none; |
| 58 |
} |
| 59 |
|
| 60 |
.csf-copyright{ |
| 61 |
float: none; |
| 62 |
margin-top: 10px; |
| 63 |
} |
| 64 |
|
| 65 |
.csf-nav, |
| 66 |
.csf-expand-all, |
| 67 |
.csf-reset-section, |
| 68 |
.csf-nav-background{ |
| 69 |
display: none !important; |
| 70 |
} |
| 71 |
|
| 72 |
.csf-nav-normal + .csf-content{ |
| 73 |
margin-left: 0; |
| 74 |
} |
| 75 |
|
| 76 |
.csf-section-title, |
| 77 |
.csf-section{ |
| 78 |
display: block !important; |
| 79 |
} |
| 80 |
|
| 81 |
.csf-field{ |
| 82 |
|
| 83 |
.csf-title{ |
| 84 |
float: none; |
| 85 |
width: 100%; |
| 86 |
margin-bottom: 10px; |
| 87 |
} |
| 88 |
|
| 89 |
.csf-fieldset{ |
| 90 |
float: none; |
| 91 |
width: 100%; |
| 92 |
} |
| 93 |
} |
| 94 |
|
| 95 |
.csf-field-color{ |
| 96 |
|
| 97 |
.button.wp-picker-clear{ |
| 98 |
padding: 0 8px; |
| 99 |
line-height: 2.14285714; |
| 100 |
min-height: 32px; |
| 101 |
} |
| 102 |
} |
| 103 |
|
| 104 |
.csf-profile-options, |
| 105 |
.csf-taxonomy-edit-fields{ |
| 106 |
|
| 107 |
> .csf-field{ |
| 108 |
|
| 109 |
> .csf-title{ |
| 110 |
float: none; |
| 111 |
width: 100%; |
| 112 |
margin-bottom: 10px; |
| 113 |
} |
| 114 |
|
| 115 |
> .csf-fieldset{ |
| 116 |
float: none; |
| 117 |
width: 100%; |
| 118 |
} |
| 119 |
} |
| 120 |
} |
| 121 |
|
| 122 |
.csf-nav-menu-options{ |
| 123 |
|
| 124 |
> .csf-fields{ |
| 125 |
margin-left: -10px; |
| 126 |
margin-right: -10px; |
| 127 |
|
| 128 |
> .csf-field{ |
| 129 |
padding: 10px; |
| 130 |
} |
| 131 |
} |
| 132 |
} |
| 133 |
} |
| 134 |
|
| 135 |
@media only screen and (max-width: 782px) { |
| 136 |
|
| 137 |
.csf-modal{ |
| 138 |
|
| 139 |
.csf-modal-inner{ |
| 140 |
width: 90%; |
| 141 |
} |
| 142 |
} |
| 143 |
} |
| 144 |
|
| 145 |
@media only screen and (max-height: 750px) { |
| 146 |
|
| 147 |
.csf-modal{ |
| 148 |
|
| 149 |
.csf-modal-inner{ |
| 150 |
height: auto; |
| 151 |
} |
| 152 |
|
| 153 |
.csf-modal-content{ |
| 154 |
height: calc(100vh - 200px); |
| 155 |
} |
| 156 |
} |
| 157 |
} |
| 158 |
|