| 1 |
/* |
| 2 |
cjt-block is just a new added class so don't confuse about it |
| 3 |
sometimes we need to use it instead of postbox class |
| 4 |
like affecting only block box while running as Metabox inside edit post page! |
| 5 |
*/ |
| 6 |
|
| 7 |
b, strong { |
| 8 |
color: #8c8c8c; |
| 9 |
} |
| 10 |
|
| 11 |
.cjt-block {min-width: 730px;} |
| 12 |
|
| 13 |
.waitingToLoad{display: none !important;} |
| 14 |
|
| 15 |
/* colors */ |
| 16 |
.postbox.cjt-block a, |
| 17 |
.postbox.cjt-block a:hover, |
| 18 |
.postbox.cjt-block a:visited {text-decoration: none;} |
| 19 |
|
| 20 |
.postbox.cjt-block a, |
| 21 |
.postbox.cjt-block a:visited {color: #a0a0a0 !important;} |
| 22 |
|
| 23 |
.postbox.cjt-block a.active {color: #005DA4 !important;} |
| 24 |
|
| 25 |
.postbox.cjt-block a:hover {color: #628ead !important;} |
| 26 |
|
| 27 |
.hooks-dropdown .hooks-dropdown-list {background-color: white;} |
| 28 |
|
| 29 |
.inside { |
| 30 |
color: #7c7c7c; |
| 31 |
} |
| 32 |
|
| 33 |
.cjt-info-bar>span>span, |
| 34 |
.cjt-info-bar>span>strong, |
| 35 |
.cjt-info-bar>span>input, |
| 36 |
.cjt-info-bar { |
| 37 |
color: #9c9c9c !important; |
| 38 |
} |
| 39 |
|
| 40 |
input[type="text"].block-name { |
| 41 |
border-color: #cccccc; |
| 42 |
} |
| 43 |
|
| 44 |
.postbox.cjt-block .cjt-info-bar a, .postbox.cjt-block .cjt-toolbox.cjt-info-bar .icons-group a:hover{color: #005DA4 !important;} |
| 45 |
|
| 46 |
.postbox.cjt-block .cjt-toolbox .icons-group .popup-menu a {color: #7c7c7c !important;} |
| 47 |
|
| 48 |
/* colors */ |
| 49 |
|
| 50 |
.cjpageblock {height: 100%; position: absolute; right: 3px; margin-top: 10px;} |
| 51 |
|
| 52 |
#cjtoolbox-admin {font-size: 12px !important;} |
| 53 |
#cjtoolbox-admin div.postbox { |
| 54 |
display:none; |
| 55 |
-moz-border-radius: 6px; |
| 56 |
-webkit-border-radius: 6px; |
| 57 |
border-radius: 6px; |
| 58 |
border-color: #cccccc; |
| 59 |
} |
| 60 |
/* Use 6px radius instead of 3px */ |
| 61 |
#cjtoolbox-admin .postbox .hndle { |
| 62 |
-moz-border-top-left-radius: 6px; |
| 63 |
-moz-border-top-right-radius: 6px; |
| 64 |
-webkit-border-top-left-radius: 6px; |
| 65 |
-webkit-border-top-right-radius: 6px; |
| 66 |
border-top-left-radius: 6px; |
| 67 |
border-top-right-radius: 6px; |
| 68 |
border-bottom-color: #bbb; |
| 69 |
font-size: 12px; |
| 70 |
display: block; |
| 71 |
} |
| 72 |
#cjtoolbox-admin #poststuff h3, .metabox-holder h3 {padding: 8px 10px;} |
| 73 |
/* Editor langauges list */ |
| 74 |
.editor-langs { |
| 75 |
position: absolute; |
| 76 |
/*z-index: 2;*/ |
| 77 |
width: 150px; |
| 78 |
overflow: hidden; |
| 79 |
margin-top: -2px; |
| 80 |
/* Border */ |
| 81 |
border-top-right-radius: 3px; |
| 82 |
border-bottom-right-radius: 3px; |
| 83 |
border-right-style: solid; |
| 84 |
border-right-width: 1px; |
| 85 |
border-color: inactiveborder; |
| 86 |
} |
| 87 |
.editor-langs select { |
| 88 |
height: 70px; |
| 89 |
width: 114px; |
| 90 |
} |
| 91 |
/** Toolbox **/ |
| 92 |
.block-toolbox { |
| 93 |
height: 30px; |
| 94 |
position: absolute; |
| 95 |
right: 39px; |
| 96 |
top: 5px; |
| 97 |
} |
| 98 |
.cjt-info-bar.cjt-info-bar-top.cjt-toolbox.block-toolbox .icons-group>div, |
| 99 |
.cjt-info-bar.cjt-info-bar-top.cjt-toolbox.block-toolbox .icons-group>span { |
| 100 |
display: inline-block; |
| 101 |
margin-right: 17px; |
| 102 |
} |
| 103 |
.cjt-toolbox.edit-block-toolbox { |
| 104 |
display: inline-block; |
| 105 |
margin-left: 17px; |
| 106 |
margin-top: -9px; |
| 107 |
position: relative; |
| 108 |
top: 9px; |
| 109 |
} |
| 110 |
.block-toolbox .icons-group { |
| 111 |
display: inline-block; |
| 112 |
} |
| 113 |
/* Push all icons by 1 pixel down Put not the info icon */ |
| 114 |
.block-toolbox .icons-group.big-bar .cjt-tb-link{margin-right: 15px;} |
| 115 |
.block-toolbox .icons-group.big-bar .cjttbl-info{position: static;} |
| 116 |
.block-info .cjt-block-shortcode-text input { |
| 117 |
background: transparent; |
| 118 |
border: 0; |
| 119 |
box-shadow: none; |
| 120 |
width: 200px; |
| 121 |
} |
| 122 |
.block-info h4{ |
| 123 |
margin: 0 !important; |
| 124 |
} |
| 125 |
.block-info ul { |
| 126 |
margin: 0; |
| 127 |
} |
| 128 |
.block-info ul.assignment-list { |
| 129 |
margin: 6px 0 14px 8px; |
| 130 |
} |
| 131 |
|
| 132 |
.block-toolbox .icons-group a.cjt-tb-link { |
| 133 |
width: 24px; |
| 134 |
height: 24px; |
| 135 |
display: inline-block; |
| 136 |
margin-top: 3px; |
| 137 |
cursor: pointer; |
| 138 |
} |
| 139 |
.block-toolbox .icons-group a.il-60x23 { |
| 140 |
width: 60px; |
| 141 |
height: 23px; |
| 142 |
} |
| 143 |
.cjt-toolbox .icons-group .popup-menu.templates-lookup { /* Override default for Templates Lookup*/ |
| 144 |
border: 1px solid #ccc; |
| 145 |
width: auto; |
| 146 |
height: 357px; |
| 147 |
left: 140px; |
| 148 |
top: 31px; |
| 149 |
margin-top: 2px; |
| 150 |
margin-left: 1px; |
| 151 |
} |
| 152 |
/** Toolbox buttons **/ |
| 153 |
|
| 154 |
/* Editor languages classes */ |
| 155 |
.cjt-toolbox.editor-langs-toolbox { |
| 156 |
display: inline-block; |
| 157 |
} |
| 158 |
.cjt-toolbox.block-toolbox .cjt-tb-link.cjt-tb-text-link { |
| 159 |
display: inline-block; |
| 160 |
width: auto; |
| 161 |
height: auto; |
| 162 |
margin-top: 11px; |
| 163 |
padding: 4px 4px 4px 0; |
| 164 |
margin: 2px 0 0 0px; |
| 165 |
} |
| 166 |
|
| 167 |
.cjt-toolbox.block-toolbox .popup-menu.templates { |
| 168 |
width: 185px; |
| 169 |
margin-left: -70px; |
| 170 |
} |
| 171 |
|
| 172 |
.cjt-toolbox.block-toolbox .templates .cjt-tb-link.cjt-tb-text-link{ |
| 173 |
width: auto !important; |
| 174 |
padding: 10px !important; |
| 175 |
margin: 0; |
| 176 |
} |
| 177 |
|
| 178 |
.editor-langs-toolbox a.cjttbl-switch-editor-language{padding-left: 0 !important;} |
| 179 |
|
| 180 |
.cjt-info-bar .block-editor-lang {display: inline-block;} |
| 181 |
.cjt-info-bar .block-editor-lang>span {} |
| 182 |
.cjt-info-bar .block-editor-lang .cjt-toolbox.editor-langs-toolbox {} |
| 183 |
|
| 184 |
.editor-langs-toolbox a.cjttbl-editor-language-css { background: url(../images/toolbox/editor-languages/css.png); } |
| 185 |
.editor-langs-toolbox a.cjttbl-editor-language-html { background: url(../images/toolbox/editor-languages/html.png); } |
| 186 |
.editor-langs-toolbox a.cjttbl-editor-language-javascript { background: url(../images/toolbox/editor-languages/javascript.png); } |
| 187 |
.editor-langs-toolbox a.cjttbl-editor-language-php { background: url(../images/toolbox/editor-languages/php.png); } |
| 188 |
|
| 189 |
/* Other buttons */ |
| 190 |
.flagged-actions-toolbox a.state-active { background: url(../images/toolbox/active.png); } |
| 191 |
.flagged-actions-toolbox a.state-inactive { background-image: url(../images/toolbox/inactive.png); } |
| 192 |
.edit-block-toolbox a.cjttbl-save { |
| 193 |
background: url(../images/toolbox/save.gif); |
| 194 |
background-position: left top !important; |
| 195 |
text-decoration: none; |
| 196 |
padding-left: 23px; |
| 197 |
padding-top: 5px; |
| 198 |
position: relative; |
| 199 |
top: -7px; |
| 200 |
width: 37px !important; |
| 201 |
height: 18px !important; |
| 202 |
} |
| 203 |
/* Restore revision toolbox buttons. */ |
| 204 |
.edit-block-toolbox a.cjttblSW-restore { |
| 205 |
background: url(../images/toolbox/restore.png); |
| 206 |
width: 50px !important; |
| 207 |
animation: blink-animation 1s steps(5, start) infinite; |
| 208 |
} |
| 209 |
@keyframes blink-animation { |
| 210 |
to { |
| 211 |
visibility: hidden; |
| 212 |
} |
| 213 |
} |
| 214 |
@-webkit-keyframes blink-animation { |
| 215 |
to { |
| 216 |
visibility: hidden; |
| 217 |
} |
| 218 |
} |
| 219 |
.edit-block-toolbox a.cjttbl-cancel-restore { |
| 220 |
background: url(../images/toolbox/cancel-restore.png); |
| 221 |
background-position: left top !important; |
| 222 |
text-decoration: none; |
| 223 |
padding-left: 23px; |
| 224 |
padding-top: 5px; |
| 225 |
position: relative; |
| 226 |
top: -7px; |
| 227 |
width: 45px !important; |
| 228 |
height: 18px !important; |
| 229 |
margin-right: 10px !important; |
| 230 |
} |
| 231 |
|
| 232 |
.edit-block-toolbox a.cjttblSW-restore, |
| 233 |
.edit-block-toolbox a.cjttbl-cancel-restore |
| 234 |
{ |
| 235 |
width: 100px !important; |
| 236 |
text-align: center; |
| 237 |
padding-left: 0; |
| 238 |
padding-top: 4px; |
| 239 |
height: 20px !important; |
| 240 |
} |
| 241 |
|
| 242 |
.edit-block-toolbox a.cjttbl-save.cjttbs-loading { |
| 243 |
top: 0px; |
| 244 |
background-position: center center; |
| 245 |
} |
| 246 |
|
| 247 |
.block-toolbox span.bad-location-specified { |
| 248 |
padding: 6px; |
| 249 |
border: 1px solid red; |
| 250 |
} |
| 251 |
.block-toolbox a.bad-location-specified { |
| 252 |
background-color: red; |
| 253 |
} |
| 254 |
|
| 255 |
.edit-block-toolbox a.cjttbl-save.cjttbs-disabled {background: url(../images/toolbox/save-inactive.png); } |
| 256 |
|
| 257 |
.edit-block-toolbox a.cjttbl-delete { |
| 258 |
background-image: url(../images/toolbox/delete.png); |
| 259 |
position: relative; |
| 260 |
left: 10px; |
| 261 |
top: -1px; |
| 262 |
} |
| 263 |
.flagged-actions-toolbox a.cjttbl-location-switch { background-image: url(../images/toolbox/hook.png); width: 48px !important;} |
| 264 |
.block-toolbox a.cjttbl-get-shortcode { background-image: url(../images/toolbox/shortcode.png); } |
| 265 |
.block-toolbox a.cjttbl-edit-name { background-image: url(../images/toolbox/edit-name.png); } |
| 266 |
.block-toolbox a.cjttbl-info { background-image: url(../images/toolbox/info.png); } |
| 267 |
|
| 268 |
/** Editor Toolbox */ |
| 269 |
.cjt-toolbox.editor-toolbox { |
| 270 |
position: relative; |
| 271 |
float: right; |
| 272 |
width: 40px; |
| 273 |
height: 350px; |
| 274 |
top: 5px; |
| 275 |
margin-left: 10px; |
| 276 |
display: none; |
| 277 |
} |
| 278 |
.cjt-toolbox.editor-toolbox.cjt-promo-disabled { |
| 279 |
display: block; |
| 280 |
} |
| 281 |
|
| 282 |
.cjt-toolbox.flagged-actions-toolbox { |
| 283 |
display: inline-block; |
| 284 |
float: left; |
| 285 |
margin-top: -5px; |
| 286 |
position: relative; |
| 287 |
top: 5px; |
| 288 |
} |
| 289 |
|
| 290 |
.loading-block{ |
| 291 |
font-weight: bold; |
| 292 |
font-size: 13px; |
| 293 |
color: #005da4; |
| 294 |
border-style: solid; |
| 295 |
border-width: 1px; |
| 296 |
} |
| 297 |
/* Edit Block Name */ |
| 298 |
|
| 299 |
input[type="text"].block-name { |
| 300 |
margin-left: 18px; |
| 301 |
} |
| 302 |
/* Edit Block name */ |
| 303 |
|
| 304 |
.cjcontainer {/*min-width:700px;*/} |
| 305 |
.datablock {padding-top: 14px;} |
| 306 |
.datablock .code-editor { position: relative; width:auto; height:352px; } |
| 307 |
.cjt-info-bar { |
| 308 |
font-size: 11px; |
| 309 |
margin-top: 6px; |
| 310 |
} |
| 311 |
.cjt-info-bar>*:not(:last-child) { |
| 312 |
margin-right: 20px; |
| 313 |
} |
| 314 |
.cjt-info-bar>span>span { |
| 315 |
line-height: 19px; |
| 316 |
} |
| 317 |
.cjt-info-bar .block-shortcode input[type="text"] { |
| 318 |
border: none; |
| 319 |
background-color: transparent; |
| 320 |
width: 156px; |
| 321 |
font: inherit; |
| 322 |
margin-top: -4px; |
| 323 |
padding: 0; |
| 324 |
} |
| 325 |
|
| 326 |
a.button-secondary { float:left; } |
| 327 |
.linklist textarea { width:245px; font-size:11px; height:190px; } |
| 328 |
.cjtitle { float:left; width:245px; } |
| 329 |
.cssblock select { width:150px; } |
| 330 |
.jsblock select { width:155px; } |
| 331 |
.cjbutton { width:116px; height:24px; float:left; } |
| 332 |
.cjbutton a { height:24px; width:24px; text-indent:-999em; display:block; float:left; } |
| 333 |
.cjexample { clear:left; float:left; padding:5px 0 0; } |
| 334 |
|
| 335 |
/** Editor Full Screen mode */ |
| 336 |
body.fullscreen {overflow: hidden;} /** No scroll-bars */ |
| 337 |
body.fullscreen #wpadminbar {display: none;} /** No admin menu */ |
| 338 |
.postbox.fullscreen { |
| 339 |
position: fixed; |
| 340 |
z-index: 9990; |
| 341 |
top: 0px; |
| 342 |
left: 0px; |
| 343 |
width: 100%; |
| 344 |
height: 100%; |
| 345 |
} |
| 346 |
.postbox.fullscreen .inside {padding: 0 !important;margin: 0 !important;} |
| 347 |
.postbox.fullscreen .inside, |
| 348 |
.postbox.fullscreen .cjcontainer, |
| 349 |
.postbox.fullscreen .cjcontainer .cjcodeblock, |
| 350 |
.postbox.fullscreen .cjcontainer .datablock, |
| 351 |
.postbox.fullscreen .cjcontainer .code-editor {height: 100%;} |
| 352 |
.postbox.fullscreen .cjcontainer .datablock {padding-top: 0;} |
| 353 |
.postbox.fullscreen .cjcontainer .cjcodeblock {margin-right:328px;} |
| 354 |
/* Lookup form */ |
| 355 |
.postbox.fullscreen .cjt-toolbox .icons-group .popup-menu.templates-lookup , |
| 356 |
.popup-menu {z-index: 32 !important;} |
| 357 |
|
| 358 |
.ace_status-indicator { |
| 359 |
position: relative; |
| 360 |
left: 2px; |
| 361 |
top: 5px; |
| 362 |
/* z-index: 168; */ |
| 363 |
} |
| 364 |
|
| 365 |
#cjt-inline-popup {display: none;} |
| 366 |
|
| 367 |
#cjtoolbox > div.inside > div.cjcontainer > div > div.ace-statusbar { |
| 368 |
float: right; |
| 369 |
position: absolute; |
| 370 |
top: -10px; |
| 371 |
margin-left: 7px; |
| 372 |
font-weight: bold; |
| 373 |
font-size: 14px; |
| 374 |
} |
| 375 |
|
| 376 |
.ace_closeButton { |
| 377 |
top: 35px; |
| 378 |
left: 6px; |
| 379 |
width: 62px; |
| 380 |
height: 62px; |
| 381 |
} |
| 382 |
|
| 383 |
div[contains=setMode], |
| 384 |
div[contains=setOptions], |
| 385 |
div[contains=setMode], |
| 386 |
div[contains=setTheme] |
| 387 |
{display: none} |
| 388 |
|
| 389 |
.cjt-block button[class^=handle-order] { |
| 390 |
display: none; |
| 391 |
} |
| 392 |
|
| 393 |
/* Hooks Dropdown */ |
| 394 |
.hooks-dropdown { |
| 395 |
width: 140px; |
| 396 |
} |
| 397 |
|
| 398 |
.hooks-dropdown .hooks-dropdown-list { |
| 399 |
width: 100%; |
| 400 |
z-index: 5; |
| 401 |
margin: 0; |
| 402 |
} |
| 403 |
|
| 404 |
.hooks-dropdown .hooks-dropdown-list li { |
| 405 |
margin: 0 !important; |
| 406 |
padding: 0 !important; |
| 407 |
} |
| 408 |
|
| 409 |
.hooks-dropdown .hooks-dropdown-list li.selected a{ |
| 410 |
font-weight: bold; |
| 411 |
} |
| 412 |
|
| 413 |
.hooks-dropdown .hooks-dropdown-list li a, |
| 414 |
.hooks-dropdown .hooks-dropdown-list li a:visited |
| 415 |
{ |
| 416 |
display: inline-block; |
| 417 |
width: 84%; |
| 418 |
padding: 10px; |
| 419 |
} |
| 420 |
|
| 421 |
.hooks-dropdown .hooks-dropdown-list li a:hover { |
| 422 |
|
| 423 |
} |
| 424 |
/* Hooks Dropdown - end */ |
| 425 |
|
| 426 |
.cjt-panel-item.cjt-panel-window-templates-lookup { |
| 427 |
height: 380px; |
| 428 |
position: relative; |
| 429 |
top: 24px; |
| 430 |
} |
| 431 |
|
| 432 |
.cjt-panel-item .panel-actions { |
| 433 |
text-align: right; |
| 434 |
padding-right: 18px; |
| 435 |
margin-bottom: 6px; |
| 436 |
} |
| 437 |
|
| 438 |
.cjpageblock .close-panel-window { |
| 439 |
display: none; |
| 440 |
position: absolute; |
| 441 |
right: 0px; |
| 442 |
padding: 6px; |
| 443 |
text-decoration: underline !important; |
| 444 |
} |
| 445 |
|
| 446 |
.cjpageblock .cjt-panel-item>div { |
| 447 |
height: 93%; |
| 448 |
overflow: auto; |
| 449 |
width: 100%; |
| 450 |
} |
| 451 |
|
| 452 |
.postbox.cjt-block .cjt-info-bar a { |
| 453 |
font-weight: bold; |
| 454 |
} |
| 455 |
|
| 456 |
.cjpageblock .cjt-panel-item.cjt-panel-genericwnd { |
| 457 |
height: 357px; |
| 458 |
margin-top: 26px; |
| 459 |
padding: 2px 10px 10px 11px; |
| 460 |
} |
| 461 |
|
| 462 |
.cjt-info-bar>span>span, |
| 463 |
.cjt-info-bar>span>strong, |
| 464 |
.cjt-info-bar>span>input { |
| 465 |
font-family: Helvetica !important; |
| 466 |
} |
| 467 |
|
| 468 |
.cjt-info-bar .cjt-toolbox .icons-group>*>a, |
| 469 |
.cjt-info-bar .cjt-toolbox .icons-group>*>a:visited, |
| 470 |
|
| 471 |
.cjt-info-bar .cjt-toolbox .icons-group>*>span>a, |
| 472 |
.cjt-info-bar .cjt-toolbox .icons-group>*>span>a:visited, |
| 473 |
|
| 474 |
.cjt-info-bar .cjt-toolbox .icons-group>*>strong>a, |
| 475 |
.cjt-info-bar .cjt-toolbox .icons-group>*>strong>a:visited, |
| 476 |
.cjt-info-bar.cjt-info-bar-bottom a, |
| 477 |
.cjt-info-bar.cjt-info-bar-bottom a:visited { |
| 478 |
color: #005DA4 !important; |
| 479 |
text-decoration: underline; |
| 480 |
} |
| 481 |
|
| 482 |
.postbox.cjt-block .cjt-toolbox .icons-group .popup-menu.editor-langs a.cjt-tb-link.cjt-tb-text-link { |
| 483 |
padding: 14px 14px 10px 35px; |
| 484 |
background-position-y: 9px; |
| 485 |
} |
| 486 |
|
| 487 |
#block-revisions-form ul{ |
| 488 |
margin-top: 0px; |
| 489 |
} |
| 490 |
|
| 491 |
.postbox.cjt-block form#block-revisions-form a, |
| 492 |
.postbox.cjt-block form#block-revisions-form a:visited { |
| 493 |
font-size: 12px; |
| 494 |
color: #005Da4 !important; |
| 495 |
} |
| 496 |
|
| 497 |
.postbox.cjt-block form#block-revisions-form a:hover { |
| 498 |
color: #628ead !important; |
| 499 |
} |
| 500 |
|
| 501 |
.postbox.cjt-block .cjt-toolbox .icons-group li.cjt-promo-disabled a { |
| 502 |
color: #cccccc !important; |
| 503 |
cursor: help; |
| 504 |
} |
| 505 |
.postbox.cjt-block .cjt-toolbox .icons-group li.cjt-promo-disabled a:hover { |
| 506 |
color: #cccccc !important; |
| 507 |
} |
| 508 |
|
| 509 |
.cjt-toolbox.block-toolbox .cjt-promo-disabled .cjt-tb-link.cjt-tb-text-link { |
| 510 |
color: #cccccc !important; |
| 511 |
cursor: help; |
| 512 |
} |
| 513 |
.postbox.cjt-block .cjt-toolbox.cjt-info-bar .icons-group .cjt-promo-disabled a:hover { |
| 514 |
color: #cccccc !important; |
| 515 |
} |