| 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 |
.cjt-block {min-width: 1000px;} |
| 7 |
|
| 8 |
.waitingToLoad{display: none !important;} |
| 9 |
|
| 10 |
.postbox.cjt-block a, |
| 11 |
.postbox.cjt-block a:hover, |
| 12 |
.postbox.cjt-block a:visited {text-decoration: none;} |
| 13 |
|
| 14 |
.postbox.cjt-block a, |
| 15 |
.postbox.cjt-block a:visited {color: #a0a0a0 !important;} |
| 16 |
|
| 17 |
.postbox.cjt-block a.active {color: #a5581b !important;} |
| 18 |
|
| 19 |
.postbox.cjt-block a:hover {color: #c8671b !important;} |
| 20 |
|
| 21 |
.inside {color: #7c7c7c;} |
| 22 |
|
| 23 |
#cjtoolbox-admin {font-size: 12px !important;} |
| 24 |
#cjtoolbox-admin div.postbox { |
| 25 |
display:none; |
| 26 |
-moz-border-radius: 6px; |
| 27 |
-webkit-border-radius: 6px; |
| 28 |
border-radius: 6px; |
| 29 |
border-color: #cccccc; |
| 30 |
} |
| 31 |
/* Use 6px radius instead of 3px */ |
| 32 |
#cjtoolbox-admin .postbox .hndle { |
| 33 |
-moz-border-top-left-radius: 6px; |
| 34 |
-moz-border-top-right-radius: 6px; |
| 35 |
-webkit-border-top-left-radius: 6px; |
| 36 |
-webkit-border-top-right-radius: 6px; |
| 37 |
border-top-left-radius: 6px; |
| 38 |
border-top-right-radius: 6px; |
| 39 |
border-bottom-color: #bbb; |
| 40 |
font-size: 12px; |
| 41 |
} |
| 42 |
#cjtoolbox-admin #poststuff h3, .metabox-holder h3 {padding: 8px 10px;} |
| 43 |
/* Editor langauges list */ |
| 44 |
.editor-langs { |
| 45 |
position: absolute; |
| 46 |
z-index: 2; |
| 47 |
width: 200px; |
| 48 |
overflow: hidden; |
| 49 |
margin-top: -2px; |
| 50 |
/* Border */ |
| 51 |
border-top-right-radius: 3px; |
| 52 |
border-bottom-right-radius: 3px; |
| 53 |
border-right-style: solid; |
| 54 |
border-right-width: 1px; |
| 55 |
border-color: inactiveborder; |
| 56 |
margin-left: 33px; |
| 57 |
} |
| 58 |
.editor-langs select { |
| 59 |
height: 70px; |
| 60 |
width: 114px; |
| 61 |
} |
| 62 |
/** Toolbox **/ |
| 63 |
.block-toolbox { |
| 64 |
height: 30px; |
| 65 |
position: absolute; |
| 66 |
right: 30px; |
| 67 |
top: 0px; |
| 68 |
} |
| 69 |
.block-toolbox .icons-group { |
| 70 |
display: inline-block; |
| 71 |
} |
| 72 |
/* Push all icons by 1 pixel down Put not the info icon */ |
| 73 |
.block-toolbox .icons-group.big-bar .cjt-tb-link{position: relative; top:1px} |
| 74 |
.block-toolbox .icons-group.big-bar .cjttbl-info{position: static;} |
| 75 |
.block-toolbox .icons-group a.cjt-tb-link { |
| 76 |
width: 24px; |
| 77 |
height: 24px; |
| 78 |
display: inline-block; |
| 79 |
margin-top: 3px; |
| 80 |
cursor: pointer; |
| 81 |
} |
| 82 |
.block-toolbox .icons-group a.il-60x23 { |
| 83 |
width: 60px; |
| 84 |
height: 23px; |
| 85 |
} |
| 86 |
.cjt-toolbox .icons-group .popup-menu.templates-lookup { /* Override default for Templates Lookup*/ |
| 87 |
border: 1px solid #ccc; |
| 88 |
width: 346px; |
| 89 |
height: 357px; |
| 90 |
left: 154px; |
| 91 |
top: 31px; |
| 92 |
margin-top: 2px; |
| 93 |
margin-left: 1px; |
| 94 |
} |
| 95 |
/** Toolbox buttons **/ |
| 96 |
|
| 97 |
/* Editor languages classes */ |
| 98 |
.block-toolbox a.cjttbl-switch-editor-language{} |
| 99 |
.block-toolbox a.cjttbl-editor-language-css { background: url(../images/toolbox/editor-languages/css.png); } |
| 100 |
.block-toolbox a.cjttbl-editor-language-html { background: url(../images/toolbox/editor-languages/html.png); } |
| 101 |
.block-toolbox a.cjttbl-editor-language-javascript { background: url(../images/toolbox/editor-languages/javascript.png); } |
| 102 |
.block-toolbox a.cjttbl-editor-language-php { background: url(../images/toolbox/editor-languages/php.png); } |
| 103 |
/* Other buttons */ |
| 104 |
.block-toolbox a.state-active { background: url(../images/toolbox/active.png); } |
| 105 |
.block-toolbox a.state-inactive { background-image: url(../images/toolbox/inactive.png); } |
| 106 |
.block-toolbox a.cjttbl-save { |
| 107 |
background: url(../images/toolbox/save.gif); |
| 108 |
background-position: left top !important; |
| 109 |
text-decoration: none; |
| 110 |
padding-left: 23px; |
| 111 |
padding-top: 5px; |
| 112 |
position: relative; |
| 113 |
top: -7px; |
| 114 |
width: 37px !important; |
| 115 |
height: 18px !important; |
| 116 |
} |
| 117 |
/* Restore revision toolbox buttons. */ |
| 118 |
.block-toolbox a.cjttblSW-restore { |
| 119 |
background: url(../images/toolbox/restore.png); |
| 120 |
width: 50px !important; |
| 121 |
} |
| 122 |
.block-toolbox a.cjttbl-cancel-restore { |
| 123 |
background: url(../images/toolbox/cancel-restore.png); |
| 124 |
background-position: left top !important; |
| 125 |
text-decoration: none; |
| 126 |
padding-left: 23px; |
| 127 |
padding-top: 5px; |
| 128 |
position: relative; |
| 129 |
top: -7px; |
| 130 |
width: 45px !important; |
| 131 |
height: 18px !important; |
| 132 |
margin-right: 10px !important; |
| 133 |
} |
| 134 |
|
| 135 |
.block-toolbox a.cjttbl-save.cjttbs-loading { |
| 136 |
top: -2px; |
| 137 |
background-position: center center; |
| 138 |
} |
| 139 |
|
| 140 |
.block-toolbox a.cjttbl-save.cjttbs-disabled {background: url(../images/toolbox/save-inactive.png); } |
| 141 |
.block-toolbox a.cjttbl-revisions { background-image: url(../images/toolbox/revisions.png); } |
| 142 |
.block-toolbox a.cjttbl-delete { background-image: url(../images/toolbox/delete.png); } |
| 143 |
.block-toolbox a.location-header { background-image: url(../images/toolbox/header-hook.png); } |
| 144 |
.block-toolbox a.location-footer { background-image: url(../images/toolbox/footer-hook.png); } |
| 145 |
.block-toolbox a.cjttbl-get-shortcode { background-image: url(../images/toolbox/shortcode.png); } |
| 146 |
.block-toolbox a.cjttbl-edit-name { background-image: url(../images/toolbox/edit-name.png); } |
| 147 |
.block-toolbox a.cjttbl-info { background-image: url(../images/toolbox/info.png); } |
| 148 |
.block-toolbox a.cjttbl-templates-lookup { background-image: url(../images/toolbox/templates-lookup.png); } |
| 149 |
.block-toolbox a.cjttbl-link-external { background-image: url(../images/toolbox/link-external.png); } |
| 150 |
|
| 151 |
/** Editor Toolbox */ |
| 152 |
.cjt-toolbox.editor-toolbox { |
| 153 |
position: relative; |
| 154 |
float: right; |
| 155 |
width: 40px; |
| 156 |
height: 350px; |
| 157 |
top: 5px; |
| 158 |
margin-left: 10px; |
| 159 |
display: none; |
| 160 |
} |
| 161 |
|
| 162 |
.loading-block{ |
| 163 |
font-weight: bold; |
| 164 |
font-size: 13px; |
| 165 |
color: brown; |
| 166 |
} |
| 167 |
|
| 168 |
/* Edit block name */ |
| 169 |
.edit-block-name { |
| 170 |
position: absolute; |
| 171 |
height: 30px; |
| 172 |
top: 0px; |
| 173 |
display: none; |
| 174 |
font-size: 15px; |
| 175 |
} |
| 176 |
.hndle .file { |
| 177 |
font-size: 15px; |
| 178 |
margin-left: 7px; |
| 179 |
cursor: pointer; |
| 180 |
} |
| 181 |
.hndle .name-file-separator { |
| 182 |
font-size: 14px; |
| 183 |
position: relative; |
| 184 |
top: -1px; |
| 185 |
margin-left: 5px; |
| 186 |
cursor: pointer; |
| 187 |
} |
| 188 |
.edit-block-name .icons-group { |
| 189 |
display: inline-block; |
| 190 |
margin-left: 0px; |
| 191 |
position: relative; |
| 192 |
top: 3px; |
| 193 |
} |
| 194 |
.edit-block-name input.block-name { |
| 195 |
width: 200px; |
| 196 |
margin-right: 10px; |
| 197 |
height: 24px; |
| 198 |
position: relative; |
| 199 |
top: -3px; |
| 200 |
margin-left: -4px; |
| 201 |
} |
| 202 |
span.block-name {cursor: pointer; font-size: 15px;font-weight: normal;} |
| 203 |
.edit-block-name .cancel { background-image: url(../images/edit-block-name/cancel.png); } |
| 204 |
.edit-block-name .save { background-image: url(../images/edit-block-name/save.png); } |
| 205 |
|
| 206 |
.cjcodeblock { margin-right:30px; } |
| 207 |
.cjcontainer {min-width:700px;} |
| 208 |
.datablock {padding-top: 14px;} |
| 209 |
.datablock .code-editor { position: relative; width:auto; height:352px; } |
| 210 |
a.button-secondary { float:left; } |
| 211 |
.linklist textarea { width:245px; font-size:11px; height:190px; } |
| 212 |
.cjtitle { float:left; width:245px; } |
| 213 |
.cssblock select { width:150px; } |
| 214 |
.jsblock select { width:155px; } |
| 215 |
.cjbutton { width:116px; height:24px; float:left; } |
| 216 |
.cjbutton a { height:24px; width:24px; text-indent:-999em; display:block; float:left; } |
| 217 |
.cjexample { clear:left; float:left; padding:5px 0 0; } |
| 218 |
|
| 219 |
/** Editor Full Screen mode */ |
| 220 |
body.fullscreen {overflow: hidden;} /** No scroll-bars */ |
| 221 |
body.fullscreen #wpadminbar {display: none;} /** No admin menu */ |
| 222 |
.postbox.fullscreen { |
| 223 |
position: fixed; |
| 224 |
z-index: 10000; |
| 225 |
top: 0px; |
| 226 |
left: 0px; |
| 227 |
width: 100%; |
| 228 |
height: 100%; |
| 229 |
} |
| 230 |
.postbox.fullscreen .inside {padding: 0 !important;margin: 0 !important;} |
| 231 |
.postbox.fullscreen .inside, |
| 232 |
.postbox.fullscreen .cjcontainer, |
| 233 |
.postbox.fullscreen .cjcontainer .cjcodeblock, |
| 234 |
.postbox.fullscreen .cjcontainer .datablock, |
| 235 |
.postbox.fullscreen .cjcontainer .code-editor {height: 100%;} |
| 236 |
.postbox.fullscreen .cjcontainer .datablock {padding-top: 0;} |
| 237 |
.postbox.fullscreen .cjcontainer .cjcodeblock {margin-right:328px;} |
| 238 |
/* Lookup form */ |
| 239 |
.postbox.fullscreen .cjt-toolbox .icons-group .popup-menu.templates-lookup , |
| 240 |
.popup-menu {z-index: 32 !important;} |
| 241 |
|
| 242 |
.ace_status-indicator { |
| 243 |
position: relative; |
| 244 |
left: 2px; |
| 245 |
top: 5px; |
| 246 |
/* z-index: 168; */ |
| 247 |
} |
| 248 |
|
| 249 |
#cjt-inline-popup {display: none;} |
| 250 |
|
| 251 |
#cjtoolbox > div.inside > div.cjcontainer > div > div.ace-statusbar { |
| 252 |
float: right; |
| 253 |
position: absolute; |
| 254 |
top: -10px; |
| 255 |
margin-left: 7px; |
| 256 |
font-weight: bold; |
| 257 |
font-size: 14px; |
| 258 |
} |
| 259 |
|
| 260 |
.ace_closeButton { |
| 261 |
top: 35px; |
| 262 |
left: 6px; |
| 263 |
width: 62px; |
| 264 |
height: 62px; |
| 265 |
} |
| 266 |
|
| 267 |
div[contains=setMode], |
| 268 |
div[contains=setOptions], |
| 269 |
div[contains=setMode], |
| 270 |
div[contains=setTheme] |
| 271 |
{display: none} |