| 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: 750px;} |
| 7 |
|
| 8 |
#cjtoolbox-admin div.postbox { |
| 9 |
display:none |
| 10 |
-moz-border-radius: 6px; |
| 11 |
-webkit-border-radius: 6px; |
| 12 |
border-radius: 6px; |
| 13 |
border-color: #cccccc; |
| 14 |
} |
| 15 |
/* Use 6px radius instead of 3px */ |
| 16 |
#cjtoolbox-admin .postbox .hndle { |
| 17 |
-moz-border-top-left-radius: 6px; |
| 18 |
-moz-border-top-right-radius: 6px; |
| 19 |
-webkit-border-top-left-radius: 6px; |
| 20 |
-webkit-border-top-right-radius: 6px; |
| 21 |
border-top-left-radius: 6px; |
| 22 |
border-top-right-radius: 6px; |
| 23 |
border-bottom-color: #cccccc; |
| 24 |
} |
| 25 |
#cjtoolbox-admin #poststuff h3, .metabox-holder h3 {padding: 8px 10px;} |
| 26 |
/* Editor langauges list */ |
| 27 |
.editor-langs { |
| 28 |
position: absolute; |
| 29 |
z-index: 2; |
| 30 |
width: 200px; |
| 31 |
overflow: hidden; |
| 32 |
margin-top: -2px; |
| 33 |
/* Border */ |
| 34 |
border-top-right-radius: 3px; |
| 35 |
border-bottom-right-radius: 3px; |
| 36 |
border-right-style: solid; |
| 37 |
border-right-width: 1px; |
| 38 |
border-color: inactiveborder; |
| 39 |
margin-left: 33px; |
| 40 |
} |
| 41 |
.editor-langs select { |
| 42 |
height: 70px; |
| 43 |
width: 114px; |
| 44 |
} |
| 45 |
/** Toolbox **/ |
| 46 |
.block-toolbox { |
| 47 |
height: 30px; |
| 48 |
position: absolute; |
| 49 |
right: 30px; |
| 50 |
top: 0px; |
| 51 |
} |
| 52 |
.block-toolbox .icons-group { |
| 53 |
display: inline-block; |
| 54 |
} |
| 55 |
/* Push all icons by 1 pixel down Put not the info icon */ |
| 56 |
.block-toolbox .icons-group.big-bar .cjt-tb-link{position: relative; top:1px} |
| 57 |
.block-toolbox .icons-group.big-bar .cjttbl-info{position: static;} |
| 58 |
.block-toolbox .icons-group a.cjt-tb-link { |
| 59 |
width: 24px; |
| 60 |
height: 24px; |
| 61 |
display: inline-block; |
| 62 |
/* margin-top: 3px; */ |
| 63 |
cursor: pointer; |
| 64 |
} |
| 65 |
.block-toolbox .icons-group a.il-60x23 { |
| 66 |
width: 60px; |
| 67 |
height: 23px; |
| 68 |
} |
| 69 |
.cjt-toolbox .icons-group .popup-menu.templates-lookup { /* Override default for Templates Lookup*/ |
| 70 |
background-color: #EFEFEF; |
| 71 |
border: 1px solid #bbb; |
| 72 |
width: 346px; |
| 73 |
height: 357px; |
| 74 |
left: 80px; |
| 75 |
top: 31px; |
| 76 |
margin-top: 2px; |
| 77 |
margin-left: 1px; |
| 78 |
} |
| 79 |
/** Toolbox buttons **/ |
| 80 |
|
| 81 |
/* Editor languages classes */ |
| 82 |
.block-toolbox a.cjttbl-switch-editor-language{} |
| 83 |
.block-toolbox a.cjttbl-editor-language-css { background: url(../images/toolbox/editor-languages/css.png); } |
| 84 |
.block-toolbox a.cjttbl-editor-language-html { background: url(../images/toolbox/editor-languages/html.png); } |
| 85 |
.block-toolbox a.cjttbl-editor-language-javascript { background: url(../images/toolbox/editor-languages/javascript.png); } |
| 86 |
.block-toolbox a.cjttbl-editor-language-php { background: url(../images/toolbox/editor-languages/php.png); } |
| 87 |
/* Other buttons */ |
| 88 |
.block-toolbox a.state-active { background: url(../images/toolbox/active.png); } |
| 89 |
.block-toolbox a.state-inactive { background-image: url(../images/toolbox/inactive.png); } |
| 90 |
.block-toolbox a.cjttbl-save { |
| 91 |
background: url(../images/toolbox/save.png); |
| 92 |
background-position: left top !important; |
| 93 |
text-decoration: none; |
| 94 |
padding-left: 23px; |
| 95 |
padding-top: 5px; |
| 96 |
position: relative; |
| 97 |
top: -9px; |
| 98 |
width: 37px !important; |
| 99 |
height: 18px !important; |
| 100 |
} |
| 101 |
.block-toolbox a.cjttbl-save.cjttbs-loading { |
| 102 |
top: -2px; |
| 103 |
background-position: center center; |
| 104 |
} |
| 105 |
.block-toolbox a.cjttbl-save.cjttbs-disabled {background: url(../images/toolbox/save-inactive.png); } |
| 106 |
.block-toolbox a.cjttbl-revisions { background-image: url(../images/toolbox/revisions.png); } |
| 107 |
.block-toolbox a.cjttbl-delete { background-image: url(../images/toolbox/delete.png); } |
| 108 |
.block-toolbox a.location-header { background-image: url(../images/toolbox/header-hook.png); } |
| 109 |
.block-toolbox a.location-footer { background-image: url(../images/toolbox/footer-hook.png); } |
| 110 |
.block-toolbox a.cjttbl-get-shortcode { background-image: url(../images/toolbox/shortcode.png); } |
| 111 |
.block-toolbox a.cjttbl-edit-name { background-image: url(../images/toolbox/edit-name.png); } |
| 112 |
.block-toolbox a.cjttbl-info { background-image: url(../images/toolbox/info.png); } |
| 113 |
|
| 114 |
/* Edit block name */ |
| 115 |
.edit-block-name { |
| 116 |
position: absolute; |
| 117 |
height: 30px; |
| 118 |
top: 0px; |
| 119 |
display: none; |
| 120 |
} |
| 121 |
.edit-block-name .icons-group { |
| 122 |
display: inline-block; |
| 123 |
margin-left: 0px; |
| 124 |
position: relative; |
| 125 |
top: 3px; |
| 126 |
} |
| 127 |
.edit-block-name input.block-name { |
| 128 |
width: 200px; |
| 129 |
margin-right: 10px; |
| 130 |
height: 24px; |
| 131 |
background-color: #F1F1F1; |
| 132 |
position: relative; |
| 133 |
top: -6px; |
| 134 |
margin-left: -3px; |
| 135 |
} |
| 136 |
span.block-name { |
| 137 |
cursor: pointer; |
| 138 |
} |
| 139 |
.edit-block-name .cancel { background-image: url(../images/edit-block-name/cancel.png); } |
| 140 |
.edit-block-name .save { background-image: url(../images/edit-block-name/save.png); } |
| 141 |
|
| 142 |
.cjcodeblock { margin-right:30px; } |
| 143 |
.cjcontainer {min-width:700px;} |
| 144 |
.datablock {padding-top: 14px;} |
| 145 |
.datablock .code-editor { position: relative; width:auto; height:352px; } |
| 146 |
a.button-secondary { float:left; } |
| 147 |
.linklist textarea { width:245px; font-size:11px; height:190px; } |
| 148 |
.cjtitle { float:left; width:245px; } |
| 149 |
.cssblock select { width:150px; } |
| 150 |
.jsblock select { width:155px; } |
| 151 |
.cjbutton { width:116px; height:24px; float:left; } |
| 152 |
.cjbutton a { height:24px; width:24px; text-indent:-999em; display:block; float:left; } |
| 153 |
.cjexample { clear:left; float:left; padding:5px 0 0; } |