| 1 |
/** |
| 2 |
* General styles for snippets post types |
| 3 |
* @author Webcraftic <wordpress.webraftic@gmail.com> |
| 4 |
* @copyright Webcraftic 28.05.2018 |
| 5 |
*/ |
| 6 |
.wbcr-inp-snippet-type-php .CodeMirror-sizer:before { |
| 7 |
content: "<?php"; |
| 8 |
color: #bbb; |
| 9 |
padding: 4px 5px 0; |
| 10 |
} |
| 11 |
.wbcr-inp-snippet-type-css .CodeMirror-sizer:before { |
| 12 |
content: '<style type="text/css">'; |
| 13 |
color: #bbb; |
| 14 |
padding: 4px 5px 0; |
| 15 |
} |
| 16 |
.wbcr-inp-snippet-type-css .CodeMirror:after { |
| 17 |
content: '</style>'; |
| 18 |
position: absolute; |
| 19 |
display: block; |
| 20 |
left: 55px; |
| 21 |
bottom: 3px; |
| 22 |
color: #bbb; |
| 23 |
} |
| 24 |
.wbcr-inp-snippet-type-js .CodeMirror-sizer:before { |
| 25 |
content: '<script type="text/javascript">'; |
| 26 |
color: #bbb; |
| 27 |
padding: 4px 5px 0; |
| 28 |
} |
| 29 |
.wbcr-inp-snippet-type-js .CodeMirror:after { |
| 30 |
content: '</script>'; |
| 31 |
position: absolute; |
| 32 |
display: block; |
| 33 |
left: 55px; |
| 34 |
bottom: 3px; |
| 35 |
color: #bbb; |
| 36 |
} |
| 37 |
.CodeMirror { |
| 38 |
height: auto !important; |
| 39 |
border: 0 !important; |
| 40 |
} |
| 41 |
.CodeMirror .cm-winp-matchhighlight { |
| 42 |
background-color: rgba(255, 143, 26, 0.21); |
| 43 |
border: 0 !important; |
| 44 |
} |
| 45 |
.CodeMirror .CodeMirror-selection-highlight-scrollbar { |
| 46 |
background-color: rgba(255, 143, 26, 0.61); |
| 47 |
} |
| 48 |
.CodeMirror-scroll { |
| 49 |
min-height: 250px; |
| 50 |
} |
| 51 |
.misc-pub-post-status, |
| 52 |
.misc-pub-visibility { |
| 53 |
display: none; |
| 54 |
} |
| 55 |
.postbox { |
| 56 |
display: none; |
| 57 |
} |
| 58 |
#WINP_BaseOptionsMetaBox, |
| 59 |
#WINP_InfoMetaBox, |
| 60 |
#tagsdiv-wbcr-snippet-tags, |
| 61 |
#submitdiv { |
| 62 |
display: block; |
| 63 |
} |
| 64 |
#WINP_BaseOptionsMetaBox.hide-if-js, |
| 65 |
#WINP_InfoMetaBox.hide-if-js, |
| 66 |
#tagsdiv-wbcr-snippet-tags.hide-if-js, |
| 67 |
#submitdiv.hide-if-js { |
| 68 |
display: none; |
| 69 |
} |
| 70 |
#WINP_InfoMetaBox { |
| 71 |
color: #222; |
| 72 |
} |
| 73 |
#WINP_InfoMetaBox h2 { |
| 74 |
display: none; |
| 75 |
font-size: 12px; |
| 76 |
color: #353535; |
| 77 |
text-transform: uppercase; |
| 78 |
} |
| 79 |
#WINP_InfoMetaBox h4 { |
| 80 |
margin: 0; |
| 81 |
text-align: center; |
| 82 |
} |
| 83 |
#WINP_InfoMetaBox .inside { |
| 84 |
padding: 0; |
| 85 |
margin: 0; |
| 86 |
} |
| 87 |
#WINP_InfoMetaBox .wbcr-inp-metabox-banner .wbcr-inp-big-text { |
| 88 |
display: block; |
| 89 |
color: #9ca096; |
| 90 |
font-size: 15px; |
| 91 |
padding: 15px; |
| 92 |
text-align: center; |
| 93 |
} |
| 94 |
#WINP_InfoMetaBox .wbcr-inp-metabox-banner .wbcr-inp-image img { |
| 95 |
width: 100%; |
| 96 |
} |
| 97 |
#WINP_InfoMetaBox .wbcr-inp-metabox-banner .wbcr-inp-title { |
| 98 |
padding: 15px; |
| 99 |
margin: 0; |
| 100 |
font-size: 15px; |
| 101 |
text-align: center; |
| 102 |
color: #ca4a1f; |
| 103 |
background: #fff5f4; |
| 104 |
} |
| 105 |
#WINP_InfoMetaBox .wbcr-inp-metabox-banner .wbcr-inp-title span { |
| 106 |
font-size: 12px; |
| 107 |
} |
| 108 |
#WINP_InfoMetaBox .wbcr-inp-metabox-banner .wbcr-inp-button { |
| 109 |
display: block; |
| 110 |
font-size: 16px; |
| 111 |
text-align: center; |
| 112 |
letter-spacing: 0; |
| 113 |
text-decoration: none; |
| 114 |
color: #828282; |
| 115 |
font-weight: 600; |
| 116 |
background-color: #f7f7f7; |
| 117 |
padding: 15px 30px 15px 30px; |
| 118 |
box-shadow: 0 1px 3px #b9b9b9; |
| 119 |
border-bottom: 1px solid #e8e8e8; |
| 120 |
margin: 10px; |
| 121 |
} |
| 122 |
.winp-enable-php-wrapper { |
| 123 |
margin: 15px 0 auto; |
| 124 |
} |
| 125 |
.winp-enable-php-wrapper .winp-enable-php-btn i { |
| 126 |
font-size: 1.2em; |
| 127 |
line-height: inherit; |
| 128 |
height: auto; |
| 129 |
} |
| 130 |
.winp-editor-container { |
| 131 |
visibility: hidden; |
| 132 |
height: 0; |
| 133 |
} |
| 134 |
.winp-snippet-enabled .winp-editor-container { |
| 135 |
margin-top: 20px; |
| 136 |
visibility: visible; |
| 137 |
height: auto; |
| 138 |
} |
| 139 |
.winp-snippet-enabled .composer-switch, |
| 140 |
.winp-snippet-enabled .fl-builder-admin, |
| 141 |
.winp-snippet-enabled #postdivrich, |
| 142 |
.winp-snippet-enabled #elementor-switch-mode, |
| 143 |
.winp-snippet-enabled.elementor-editor-active #elementor-editor, |
| 144 |
.winp-snippet-enabled #elementor-editor { |
| 145 |
display: none; |
| 146 |
} |
| 147 |
.winp-snippet-enabled #wpb_visual_composer { |
| 148 |
display: none !important; |
| 149 |
} |
| 150 |
.winp-php-content { |
| 151 |
height: 300px; |
| 152 |
width: 100%; |
| 153 |
box-sizing: border-box; |
| 154 |
z-index: auto; |
| 155 |
position: relative; |
| 156 |
-webkit-transition: none; |
| 157 |
transition: none; |
| 158 |
background: transparent !important; |
| 159 |
} |
| 160 |
#winp-export-action { |
| 161 |
float: left; |
| 162 |
line-height: 28px; |
| 163 |
padding-right: 10px; |
| 164 |
} |
| 165 |
.winp-import-radio-container label { |
| 166 |
font-weight: normal; |
| 167 |
} |
| 168 |
.wrap .winp-page-title-action { |
| 169 |
margin-left: 4px; |
| 170 |
padding: 4px 8px; |
| 171 |
position: relative; |
| 172 |
top: -3px; |
| 173 |
text-decoration: none; |
| 174 |
border: 1px solid #ccc; |
| 175 |
border-radius: 2px; |
| 176 |
background: #f7f7f7; |
| 177 |
text-shadow: none; |
| 178 |
font-weight: 600; |
| 179 |
font-size: 13px; |
| 180 |
line-height: normal; |
| 181 |
color: #0073aa; |
| 182 |
cursor: pointer; |
| 183 |
} |
| 184 |
.wrap .winp-field-premium-icon::after { |
| 185 |
display: inline-block; |
| 186 |
position: relative; |
| 187 |
content: 'PRO'; |
| 188 |
background: #ff5722; |
| 189 |
border-radius: 4px; |
| 190 |
color: #fff; |
| 191 |
font-size: 10px; |
| 192 |
line-height: 1; |
| 193 |
font-style: normal; |
| 194 |
padding: 4px 6px; |
| 195 |
margin-left: 4px; |
| 196 |
vertical-align: top; |
| 197 |
top: -40px; |
| 198 |
left: 230px; |
| 199 |
z-index: 11; |
| 200 |
} |
| 201 |
.wrap .winp-field-w250 { |
| 202 |
width: 250px; |
| 203 |
} |
| 204 |
/*# sourceMappingURL=general.css.map */ |