| 1 |
/* Mustache Library for Creating */ |
| 2 |
|
| 3 |
/*-------------------------------------------------------------- |
| 4 |
>>> TABLE OF CONTENTS: |
| 5 |
---------------------------------------------------------------- |
| 6 |
1.0 - Basic Structure |
| 7 |
2.0 - Textarea Codemirror Styling |
| 8 |
3.0 - Other Form Elements |
| 9 |
4.0 - Save Button |
| 10 |
5.0 - Media Queries |
| 11 |
6.0 - Other |
| 12 |
--------------------------------------------------------------*/ |
| 13 |
|
| 14 |
/*-------------------------------------------------------------- |
| 15 |
1.0 Basic Structure |
| 16 |
--------------------------------------------------------------*/ |
| 17 |
|
| 18 |
.side .form-table th { |
| 19 |
width: 20%; |
| 20 |
font-weight: bold; |
| 21 |
text-align: left; |
| 22 |
padding-left: 0; |
| 23 |
} |
| 24 |
|
| 25 |
.wck-post-body { |
| 26 |
float: left; |
| 27 |
} |
| 28 |
|
| 29 |
.metabox-holder .column-2 { |
| 30 |
width: 280px; |
| 31 |
position: absolute; |
| 32 |
/*right: 80px;*/ |
| 33 |
right: -300px; |
| 34 |
top: 10px; |
| 35 |
} |
| 36 |
|
| 37 |
.cozmoslabs-wrap #poststuff { |
| 38 |
position: relative; |
| 39 |
padding-top: 0; |
| 40 |
} |
| 41 |
|
| 42 |
.cozmoslabs-email-customizer-section .cozmoslabs-form-field-wrapper { |
| 43 |
padding: 0; |
| 44 |
} |
| 45 |
|
| 46 |
.cozmoslabs-email-customizer-section .cozmoslabs-form-field-wrapper.checkbox { |
| 47 |
position: absolute; |
| 48 |
top: -30px; |
| 49 |
right: 40px; |
| 50 |
margin: 0 !important; |
| 51 |
padding: 0; |
| 52 |
} |
| 53 |
|
| 54 |
#page-save-metabox .hndle, |
| 55 |
.cozmoslabs-email-customizer-section .postbox-header { |
| 56 |
padding: 0 12px; |
| 57 |
} |
| 58 |
|
| 59 |
#page-save-metabox .hndle, |
| 60 |
.cozmoslabs-email-customizer-section .postbox-header .hndle { |
| 61 |
font-weight: 600; |
| 62 |
font-size: 11px !important; |
| 63 |
line-height: 40px !important; |
| 64 |
text-transform: uppercase; |
| 65 |
color: #1E1E1E; |
| 66 |
height: 40px; |
| 67 |
pointer-events: none; |
| 68 |
} |
| 69 |
|
| 70 |
.cozmoslabs-email-customizer-section .postbox-header .hndle { |
| 71 |
padding: 0 !important; |
| 72 |
} |
| 73 |
|
| 74 |
#page-save-metabox .handle-actions, |
| 75 |
.cozmoslabs-email-customizer-section .postbox-header .handle-actions .handlediv { |
| 76 |
display: none; |
| 77 |
} |
| 78 |
|
| 79 |
.cozmoslabs-email-customizer-section .inside { |
| 80 |
padding: 0 15px; |
| 81 |
margin: 0 !important; |
| 82 |
} |
| 83 |
|
| 84 |
.cozmoslabs-email-customizer-section table.mustache-box { |
| 85 |
margin: 0; |
| 86 |
} |
| 87 |
|
| 88 |
.cozmoslabs-email-customizer-section table.mustache-box tbody { |
| 89 |
display: flex; |
| 90 |
flex-direction: column; |
| 91 |
} |
| 92 |
|
| 93 |
|
| 94 |
/*-------------------------------------------------------------- |
| 95 |
2.0 Textarea Codemirror styling |
| 96 |
--------------------------------------------------------------*/ |
| 97 |
.cozmoslabs-form-field-wrapper.textarea { |
| 98 |
gap: 0; |
| 99 |
} |
| 100 |
|
| 101 |
.textarea .stp-extra { |
| 102 |
border: 1px solid #ccc; |
| 103 |
width: 100%; |
| 104 |
margin-bottom: 25px; |
| 105 |
} |
| 106 |
|
| 107 |
.textarea .stp-extra h4 { |
| 108 |
height: 20px; |
| 109 |
margin: 1px 0; |
| 110 |
padding:10px 20px; |
| 111 |
overflow: hidden; |
| 112 |
cursor: pointer; |
| 113 |
background: #F1F1F1; |
| 114 |
} |
| 115 |
|
| 116 |
.textarea .stp-extra h4:hover { |
| 117 |
background: #FCFCFC; |
| 118 |
} |
| 119 |
|
| 120 |
.textarea .stp-extra pre { |
| 121 |
display: block; |
| 122 |
height: 250px; |
| 123 |
margin: 0; |
| 124 |
max-height: 250px; |
| 125 |
overflow: auto; |
| 126 |
padding: 15px 20px; |
| 127 |
width: auto; |
| 128 |
background: #FAFAFA; |
| 129 |
font-style: normal; |
| 130 |
font-weight: 400; |
| 131 |
font-size: 13px; |
| 132 |
line-height: 20px; |
| 133 |
color: #1E1E1E; |
| 134 |
} |
| 135 |
|
| 136 |
.textarea label.wppb_mustache_label { |
| 137 |
display: none; |
| 138 |
} |
| 139 |
|
| 140 |
.cm-s-default.CodeMirror { |
| 141 |
border: 1px solid #CCCCCC; |
| 142 |
float: left; |
| 143 |
font-family: Monaco,Menlo,"Andale Mono","lucida console","Courier New",monospace !important; |
| 144 |
line-height: 1.4em !important; |
| 145 |
width: 100%; |
| 146 |
cursor: text; |
| 147 |
} |
| 148 |
|
| 149 |
.cm-s-default.CodeMirror:hover { |
| 150 |
border-color: #3858E9; |
| 151 |
} |
| 152 |
|
| 153 |
.cm-s-default.CodeMirror-focused { |
| 154 |
border-color: #3858E9; |
| 155 |
box-shadow: 0 0 0 1px #3858e9; |
| 156 |
} |
| 157 |
|
| 158 |
.cm-s-default.CodeMirror .CodeMirror-scroll { |
| 159 |
width: 100%; |
| 160 |
} |
| 161 |
|
| 162 |
.cm-s-default.CodeMirror .CodeMirror-scroll .CodeMirror-sizer { |
| 163 |
min-width: unset !important; |
| 164 |
} |
| 165 |
|
| 166 |
.cm-s-default { |
| 167 |
min-height: 400px; |
| 168 |
} |
| 169 |
|
| 170 |
.mustache-box { |
| 171 |
table-layout: fixed; |
| 172 |
} |
| 173 |
|
| 174 |
|
| 175 |
/*-------------------------------------------------------------- |
| 176 |
3.0 Other Form Elements |
| 177 |
--------------------------------------------------------------*/ |
| 178 |
.text label.wppb_mustache_label { |
| 179 |
display: inline-block; |
| 180 |
min-width: 150px; |
| 181 |
font-weight: bold; |
| 182 |
} |
| 183 |
|
| 184 |
.checkbox label.wppb_mustache_label { |
| 185 |
font-weight: bold; |
| 186 |
margin-right: 8px; |
| 187 |
} |
| 188 |
|
| 189 |
.mustache-box input[type="text"] { |
| 190 |
width: 400px; |
| 191 |
min-width: auto; |
| 192 |
} |
| 193 |
|
| 194 |
.mustache-box .description { |
| 195 |
display: block; |
| 196 |
} |
| 197 |
|
| 198 |
.mustache-box.form-table td.header { |
| 199 |
padding-top: 0; |
| 200 |
padding-bottom: 0; |
| 201 |
} |
| 202 |
|
| 203 |
.cozmoslabs-form-field-wrapper.textarea .stp-extra h4 { |
| 204 |
font-style: normal; |
| 205 |
font-weight: 500; |
| 206 |
font-size: 13px; |
| 207 |
line-height: 20px; |
| 208 |
color: #1E1E1E; |
| 209 |
cursor: pointer; |
| 210 |
margin: 0; |
| 211 |
padding: 10px 15px; |
| 212 |
background: #FAFAFA url("data:image/svg+xml;charset=UTF-8,<svg width='20' height='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 6l5 5 5-5 2 1-7 7-7-7 2-1z' fill='rgba(30, 30, 30, 0.5)'/></svg>") no-repeat right 15px top 55%; |
| 213 |
} |
| 214 |
|
| 215 |
.cozmoslabs-form-field-wrapper.textarea .stp-extra h4.ui-accordion-header-active { |
| 216 |
background: #FAFAFA url("data:image/svg+xml;charset=UTF-8,<svg width='20' height='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 14l5-5 5 5 2-1-7-7-7 7 2 1z' fill='rgba(30, 30, 30, 0.5)'/></svg>") no-repeat right 15px top 55%; |
| 217 |
} |
| 218 |
|
| 219 |
.cozmoslabs-form-field-wrapper.textarea .stp-extra h4:not(:first-of-type) { |
| 220 |
border-top: 1px solid #CCCCCC; |
| 221 |
} |
| 222 |
|
| 223 |
.cozmoslabs-email-customizer-section #uec_common_settings .mustache-box, |
| 224 |
.cozmoslabs-email-customizer-section #aec_common_settings .mustache-box { |
| 225 |
margin-bottom: 25px; |
| 226 |
} |
| 227 |
|
| 228 |
|
| 229 |
/*-------------------------------------------------------------- |
| 230 |
4.0 Save Button |
| 231 |
--------------------------------------------------------------*/ |
| 232 |
.mustache-save { |
| 233 |
width: 100%; |
| 234 |
text-align: center; |
| 235 |
} |
| 236 |
|
| 237 |
#page-save-metabox .inside{ |
| 238 |
padding: 30px; |
| 239 |
} |
| 240 |
|
| 241 |
|
| 242 |
/*-------------------------------------------------------------- |
| 243 |
5.0 Media Queries |
| 244 |
--------------------------------------------------------------*/ |
| 245 |
@media screen and ( max-width: 878px ) { |
| 246 |
.wck-post-body{ |
| 247 |
float: none; |
| 248 |
margin-right: 0; |
| 249 |
} |
| 250 |
|
| 251 |
.metabox-holder .column-2{ |
| 252 |
float: none; |
| 253 |
width: 100%; |
| 254 |
} |
| 255 |
|
| 256 |
.metabox-holder .column-1{ |
| 257 |
margin-right: 0; |
| 258 |
} |
| 259 |
|
| 260 |
.textarea .stp-extra{ |
| 261 |
float: none; |
| 262 |
border: 1px solid #ccc; |
| 263 |
border-top: 0; |
| 264 |
box-sizing: border-box; |
| 265 |
} |
| 266 |
.cm-s-default.CodeMirror{ |
| 267 |
float: none; |
| 268 |
width: auto; |
| 269 |
} |
| 270 |
#page-save-metabox .inside{ |
| 271 |
text-align: right; |
| 272 |
} |
| 273 |
.mustache-save{ |
| 274 |
width: auto; |
| 275 |
text-align: center; |
| 276 |
} |
| 277 |
|
| 278 |
} |
| 279 |
|
| 280 |
|
| 281 |
/*-------------------------------------------------------------- |
| 282 |
6.0 Other |
| 283 |
--------------------------------------------------------------*/ |
| 284 |
/* show email toggle checkbox inline for User/Admin Email Customizers */ |
| 285 |
.profile-builder_page_user-email-customizer .wck-post-body .postbox:not(#uec_common_settings) tr:nth-child(2), |
| 286 |
.profile-builder_page_admin-email-customizer .wck-post-body .postbox:not(#aec_common_settings) tr:nth-child(2) { |
| 287 |
text-align: left; |
| 288 |
width: 50%; |
| 289 |
display: inline-block; |
| 290 |
} |
| 291 |
|
| 292 |
.profile-builder_page_user-email-customizer .wck-post-body .postbox:not(#uec_common_settings) tr:nth-child(2) td, |
| 293 |
.profile-builder_page_admin-email-customizer .wck-post-body .postbox:not(#aec_common_settings) tr:nth-child(2) td { |
| 294 |
float: right; |
| 295 |
padding-right: 20px; |
| 296 |
} |
| 297 |
|