| 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 |
clear: left; |
| 27 |
float: left; |
| 28 |
margin-right: -2000px; |
| 29 |
width: 100%; |
| 30 |
} |
| 31 |
|
| 32 |
.metabox-holder .column-1 { |
| 33 |
margin-right:300px; |
| 34 |
} |
| 35 |
.metabox-holder .column-2 { |
| 36 |
float: right; |
| 37 |
width: 280px; |
| 38 |
clear:right; |
| 39 |
position:relative; |
| 40 |
} |
| 41 |
.metabox-holder .column-3 { |
| 42 |
clear: both; |
| 43 |
margin-right:300px; |
| 44 |
} |
| 45 |
/*-------------------------------------------------------------- |
| 46 |
2.0 Textarea Codemirror styling |
| 47 |
--------------------------------------------------------------*/ |
| 48 |
.textarea .stp-extra{ |
| 49 |
border:1px solid #ccc; |
| 50 |
border-left:0; |
| 51 |
float: left; |
| 52 |
overflow: auto; |
| 53 |
width: 39%; |
| 54 |
height:400px; |
| 55 |
} |
| 56 |
.textarea .stp-extra h4 { |
| 57 |
height: 20px; |
| 58 |
margin: 1px 0; |
| 59 |
padding:10px 20px; |
| 60 |
overflow: hidden; |
| 61 |
cursor:pointer; |
| 62 |
background:#F1F1F1; |
| 63 |
} |
| 64 |
.textarea .stp-extra h4:hover{ |
| 65 |
background:#FCFCFC; |
| 66 |
} |
| 67 |
.textarea .stp-extra pre { |
| 68 |
display: block; |
| 69 |
height: 253px; |
| 70 |
margin: 12px 0; |
| 71 |
max-height: 253px; |
| 72 |
overflow: auto; |
| 73 |
padding-left: 20px; |
| 74 |
vertical-align: top; |
| 75 |
width: auto; |
| 76 |
} |
| 77 |
.textarea label.wppb_mustache_label { |
| 78 |
display: none; |
| 79 |
} |
| 80 |
.cm-s-default.CodeMirror { |
| 81 |
border: 1px solid #CCCCCC; |
| 82 |
float: left; |
| 83 |
font-family: Monaco,Menlo,"Andale Mono","lucida console","Courier New",monospace !important; |
| 84 |
line-height: 1.4em !important; |
| 85 |
width: 60%; |
| 86 |
} |
| 87 |
.cm-s-default { |
| 88 |
min-height: 400px; |
| 89 |
} |
| 90 |
.mustache-box{ |
| 91 |
table-layout:fixed; |
| 92 |
} |
| 93 |
/*-------------------------------------------------------------- |
| 94 |
3.0 Other Form Elements |
| 95 |
--------------------------------------------------------------*/ |
| 96 |
.text label.wppb_mustache_label { |
| 97 |
display: inline-block; |
| 98 |
min-width: 150px; |
| 99 |
font-weight: bold; |
| 100 |
} |
| 101 |
|
| 102 |
.checkbox label.wppb_mustache_label { |
| 103 |
font-weight: bold; |
| 104 |
margin-right: 8px; |
| 105 |
} |
| 106 |
|
| 107 |
.mustache-box input[type="text"]{ |
| 108 |
width:400px; |
| 109 |
min-width: auto; |
| 110 |
} |
| 111 |
|
| 112 |
.mustache-box .description{ |
| 113 |
display: block; |
| 114 |
} |
| 115 |
|
| 116 |
.mustache-box.form-table td.header{ |
| 117 |
padding-top: 0; |
| 118 |
padding-bottom: 0; |
| 119 |
} |
| 120 |
|
| 121 |
/*-------------------------------------------------------------- |
| 122 |
4.0 Save Button |
| 123 |
--------------------------------------------------------------*/ |
| 124 |
.mustache-save{ |
| 125 |
width: 100%; |
| 126 |
text-align: center; |
| 127 |
} |
| 128 |
|
| 129 |
#page-save-metabox .hndle{ |
| 130 |
background: #333333; |
| 131 |
color: #fff; |
| 132 |
} |
| 133 |
#page-save-metabox .inside{ |
| 134 |
padding: 30px; |
| 135 |
} |
| 136 |
|
| 137 |
/*-------------------------------------------------------------- |
| 138 |
5.0 Media Queries |
| 139 |
--------------------------------------------------------------*/ |
| 140 |
@media screen and ( max-width: 878px ) { |
| 141 |
.wck-post-body{ |
| 142 |
float:none; |
| 143 |
margin-right: 0; |
| 144 |
} |
| 145 |
|
| 146 |
.metabox-holder .column-2{ |
| 147 |
float:none; |
| 148 |
width:100%; |
| 149 |
} |
| 150 |
|
| 151 |
.metabox-holder .column-1{ |
| 152 |
margin-right:0; |
| 153 |
} |
| 154 |
|
| 155 |
.textarea .stp-extra{ |
| 156 |
float:none; |
| 157 |
width:auto; |
| 158 |
border:1px solid #ccc; |
| 159 |
border-top:0; |
| 160 |
} |
| 161 |
.cm-s-default.CodeMirror{ |
| 162 |
float:none; |
| 163 |
width: auto; |
| 164 |
} |
| 165 |
#page-save-metabox .inside{ |
| 166 |
text-align: right; |
| 167 |
} |
| 168 |
.mustache-save{ |
| 169 |
width: auto; |
| 170 |
text-align: center; |
| 171 |
} |
| 172 |
|
| 173 |
} |
| 174 |
|
| 175 |
/*-------------------------------------------------------------- |
| 176 |
6.0 Other |
| 177 |
--------------------------------------------------------------*/ |
| 178 |
/* show email toggle checkbox inline for User/Admin Email Customizers */ |
| 179 |
.profile-builder_page_user-email-customizer .wck-post-body .postbox:not(:first-child) tr:nth-child(1), .profile-builder_page_admin-email-customizer .wck-post-body .postbox:not(:first-child) tr:nth-child(1) { |
| 180 |
width: 50%; |
| 181 |
display: inline-block; |
| 182 |
} |
| 183 |
|
| 184 |
.profile-builder_page_user-email-customizer .wck-post-body .postbox:not(:first-child) tr:nth-child(2), .profile-builder_page_admin-email-customizer .wck-post-body .postbox:not(:first-child) tr:nth-child(2) { |
| 185 |
text-align: left; |
| 186 |
width: 50%; |
| 187 |
display: inline-block; |
| 188 |
} |
| 189 |
|
| 190 |
.profile-builder_page_user-email-customizer .wck-post-body .postbox:not(:first-child) tr:nth-child(2) td, .profile-builder_page_admin-email-customizer .wck-post-body .postbox:not(:first-child) tr:nth-child(2) td { |
| 191 |
float: right; |
| 192 |
padding-right: 20px; |
| 193 |
} |
| 194 |
|