style.css
437 lines
| 1 | .wrap{ |
| 2 | max-width: 900px; |
| 3 | margin: 0 auto; |
| 4 | } |
| 5 | |
| 6 | h1.sc_title { |
| 7 | background: url(../images/shortcoder.png) no-repeat left; |
| 8 | background-size: 32px 32px; |
| 9 | padding-left: 40px; |
| 10 | padding-bottom: 9px; |
| 11 | } |
| 12 | h1.sc_title .title-count { |
| 13 | font-size: 10px; |
| 14 | padding: 2px 8px; |
| 15 | opacity: 0.7; |
| 16 | } |
| 17 | .head_wrap { |
| 18 | padding: 15px 0; |
| 19 | position: relative; |
| 20 | } |
| 21 | |
| 22 | #content{ |
| 23 | background: #fff; |
| 24 | padding: 20px; |
| 25 | border: 1px solid #dfdfdf; |
| 26 | border-radius: 3px; |
| 27 | overflow: hidden; |
| 28 | box-shadow: 0 0 4px -3px; |
| 29 | } |
| 30 | |
| 31 | .page_title { |
| 32 | border-bottom: 1px solid #dfdfdf; |
| 33 | margin: -20px -20px 20px -20px; |
| 34 | padding: 1em; |
| 35 | background: linear-gradient(#fdfdfd, #Fafafa); |
| 36 | position: relative; |
| 37 | } |
| 38 | |
| 39 | .sc_list { |
| 40 | margin: -20px 0; |
| 41 | position: relative; |
| 42 | } |
| 43 | .sc_list li { |
| 44 | margin: 0; |
| 45 | position: relative; |
| 46 | } |
| 47 | .sc_list li a { |
| 48 | text-decoration: none; |
| 49 | } |
| 50 | .sc_list li .sc_link { |
| 51 | display: block; |
| 52 | margin: 0 -20px; |
| 53 | padding: 20px; |
| 54 | border-bottom: 1px solid #dfdfdf; |
| 55 | font-size: 18px; |
| 56 | } |
| 57 | .sc_list li:last-child .sc_link{ |
| 58 | border-bottom: 0; |
| 59 | } |
| 60 | .sc_link:hover{ |
| 61 | background: #fffeea; |
| 62 | } |
| 63 | .sc_link:hover:after { |
| 64 | font-family: dashicons; |
| 65 | content: "\f464"; |
| 66 | font-size: 15px; |
| 67 | position: absolute; |
| 68 | margin-left: 10px; |
| 69 | } |
| 70 | .sc_controls { |
| 71 | position: absolute; |
| 72 | top: 20px; |
| 73 | right: 0; |
| 74 | } |
| 75 | .sc_list .sc_controls a { |
| 76 | padding: 10px; |
| 77 | border-radius: 50%; |
| 78 | margin: 0 0 0 15px; |
| 79 | border: 1px solid transparent; |
| 80 | } |
| 81 | .sc_list .sc_controls a:hover{ |
| 82 | border: 1px solid #dfdfdf; |
| 83 | } |
| 84 | |
| 85 | .sc_list .sc_delete:hover{ |
| 86 | border-color: red; |
| 87 | color: red; |
| 88 | } |
| 89 | |
| 90 | .sc_list:empty:before { |
| 91 | content: attr( data-empty ); |
| 92 | position: absolute; |
| 93 | left: 0; |
| 94 | right: 0; |
| 95 | text-align: center; |
| 96 | font-style: italic; |
| 97 | top: 25px; |
| 98 | } |
| 99 | .sc_list:empty { |
| 100 | height: 70px; |
| 101 | } |
| 102 | .spin{ |
| 103 | animation: spin infinite 1s; |
| 104 | } |
| 105 | .sc_copy_box { |
| 106 | position: absolute; |
| 107 | top: -2px; |
| 108 | font-size: 20px; |
| 109 | width: 86%; |
| 110 | padding: 16px; |
| 111 | left: -22px; |
| 112 | display: none; |
| 113 | cursor: copy; |
| 114 | background: #e6fffe !important; |
| 115 | box-shadow: none !important; |
| 116 | text-align: center; |
| 117 | } |
| 118 | .sc_list .disabled_text{ |
| 119 | font-size: 10px; |
| 120 | background: #ffdfdd; |
| 121 | border-radius: 10px; |
| 122 | padding: 2px 10px; |
| 123 | margin: 0 0 0 10px; |
| 124 | color: #F44336; |
| 125 | } |
| 126 | |
| 127 | .sc_menu{ |
| 128 | position: absolute; |
| 129 | top: 10px; |
| 130 | right: 20px; |
| 131 | } |
| 132 | .sc_menu > *{ |
| 133 | margin-left: 10px !important; |
| 134 | } |
| 135 | |
| 136 | #content .button .dashicons{ |
| 137 | margin: 0.5em 0 0 0; |
| 138 | font-size: 15px; |
| 139 | } |
| 140 | |
| 141 | .sc_section{ |
| 142 | margin: 0 0 20px 0; |
| 143 | } |
| 144 | .sc_section label{ |
| 145 | display: block; |
| 146 | margin: 0 0 10px 0; |
| 147 | } |
| 148 | .sc_section label select{ |
| 149 | font-size: 12px; |
| 150 | margin-left: 10px; |
| 151 | } |
| 152 | |
| 153 | #sc_name{ |
| 154 | padding: 10px; |
| 155 | } |
| 156 | .sc_name_wrap { |
| 157 | position: relative; |
| 158 | } |
| 159 | |
| 160 | .sc_name_wrap > .copy_shortcode { |
| 161 | position: absolute; |
| 162 | top: 1px; |
| 163 | right: 1px; |
| 164 | bottom: 1px; |
| 165 | padding: 10px; |
| 166 | border-left: 1px solid #d0d0d0; |
| 167 | background: rgba(255, 255, 255, 0.5); |
| 168 | } |
| 169 | |
| 170 | .page_footer{ |
| 171 | margin: 30px -20px -20px -20px; |
| 172 | background: #f7f7f7; |
| 173 | padding: 20px; |
| 174 | border-top: 1px solid #dfdfdf; |
| 175 | border-radius: 0 0 5px 5px; |
| 176 | } |
| 177 | .page_footer .sc_delete_ep{ |
| 178 | float: right; |
| 179 | } |
| 180 | .page_footer .sc_delete_ep:hover{ |
| 181 | color: red; |
| 182 | } |
| 183 | |
| 184 | .wrap .notice{ |
| 185 | margin-bottom: 0; |
| 186 | } |
| 187 | |
| 188 | .params_wrap{ |
| 189 | box-shadow: 0 3px 5px rgba(0,0,0,.2); |
| 190 | border: 1px solid #dfdfdf; |
| 191 | margin: 0; |
| 192 | position: absolute; |
| 193 | display: none; |
| 194 | background: #fff; |
| 195 | z-index: 9999; |
| 196 | } |
| 197 | .params_wrap li{ |
| 198 | position: relative; |
| 199 | background: #fff; |
| 200 | margin: 0; |
| 201 | padding: 7px 10px; |
| 202 | width: 200px; |
| 203 | border-bottom: 1px solid #dfdfdf; |
| 204 | cursor: pointer; |
| 205 | } |
| 206 | .params_wrap li:hover{ |
| 207 | background: lightyellow; |
| 208 | } |
| 209 | .params_wrap > li:after{ |
| 210 | position: absolute; |
| 211 | font-family: dashicons; |
| 212 | content: "\f139"; |
| 213 | right: 5px; |
| 214 | top: 7px; |
| 215 | } |
| 216 | .params_wrap li:last-child{ |
| 217 | border: 0; |
| 218 | } |
| 219 | .params_wrap li ul{ |
| 220 | background: #fff; |
| 221 | position: absolute; |
| 222 | display: none; |
| 223 | top: 0; |
| 224 | left: 100%; |
| 225 | box-shadow: 0 3px 5px rgba(0,0,0,.2); |
| 226 | border: 1px solid #dfdfdf; |
| 227 | z-index: 9999; |
| 228 | max-height: 300px; |
| 229 | overflow: auto; |
| 230 | } |
| 231 | .params_wrap li:hover ul{ |
| 232 | display: block; |
| 233 | } |
| 234 | |
| 235 | .params_wrap .cp_form{ |
| 236 | cursor: auto; |
| 237 | width: 300px; |
| 238 | } |
| 239 | .cp_form h4{ |
| 240 | margin: 0 0 15px 0; |
| 241 | } |
| 242 | .cp_info{ |
| 243 | margin: 5px 0; |
| 244 | } |
| 245 | .cp_info.red{ |
| 246 | color: red; |
| 247 | } |
| 248 | |
| 249 | .top_sharebar{ |
| 250 | position: absolute; |
| 251 | right: 0; |
| 252 | top: 24px; |
| 253 | } |
| 254 | .top_sharebar > * { |
| 255 | vertical-align: middle; |
| 256 | margin-left: 5px; |
| 257 | float: right; |
| 258 | } |
| 259 | .share_text { |
| 260 | font-size: 10px; |
| 261 | text-align: right; |
| 262 | line-height: 1.5; |
| 263 | margin-right: 5px; |
| 264 | color: #838383; |
| 265 | } |
| 266 | .share_btn{ |
| 267 | background: #333; |
| 268 | color: #fff; |
| 269 | text-decoration: none; |
| 270 | padding: 4px 10px; |
| 271 | border-radius: 2em; |
| 272 | font-size: 12px; |
| 273 | line-height: 2em; |
| 274 | } |
| 275 | .share_btn:hover{ |
| 276 | opacity: 0.5; |
| 277 | color: #fff; |
| 278 | } |
| 279 | .share_btn:active, .share_btn:focus{ |
| 280 | color: #fff; |
| 281 | } |
| 282 | .share_btn .dashicons { |
| 283 | font-size: 14px; |
| 284 | margin: 5px 2px 0 0; |
| 285 | height: 14px; |
| 286 | } |
| 287 | .share_btn.twitter{ |
| 288 | background-color: #2196F3; |
| 289 | } |
| 290 | .share_btn.googleplus{ |
| 291 | background-color: #dd4b39; |
| 292 | } |
| 293 | .share_btn.rate_btn .dashicons{ |
| 294 | color: #FF9800; |
| 295 | } |
| 296 | |
| 297 | .coffee_box{ |
| 298 | padding: 15px 15px 25px 15px; |
| 299 | border: 1px solid #4CAF50; |
| 300 | padding-left: 18%; |
| 301 | background: url(../images/coffee.svg) no-repeat; |
| 302 | border-radius: 3px; |
| 303 | background-position: 30px center; |
| 304 | margin: 30px 0 15px 0; |
| 305 | background-size: 84px; |
| 306 | } |
| 307 | .coffee_box .coffee_amt { |
| 308 | width: 120px; |
| 309 | padding: 5px; |
| 310 | height: auto; |
| 311 | font-size: 1.5em; |
| 312 | } |
| 313 | .coffee_amt_wrap{ |
| 314 | float: right; |
| 315 | margin: 0 30px; |
| 316 | } |
| 317 | .credits_box{ |
| 318 | font-size: 12px; |
| 319 | font-style: italic; |
| 320 | color: #757575; |
| 321 | } |
| 322 | .credits_box img { |
| 323 | vertical-align: middle; |
| 324 | margin-right: 5px; |
| 325 | } |
| 326 | |
| 327 | #import_form{ |
| 328 | display: none; |
| 329 | } |
| 330 | .search_btn .search_box{ |
| 331 | display: none; |
| 332 | } |
| 333 | .search_btn.active .search_box{ |
| 334 | display: inline; |
| 335 | } |
| 336 | .search_box{ |
| 337 | height: 26px; |
| 338 | border: 0; |
| 339 | margin: 0 -10px 0 10px; |
| 340 | border-left: 1px solid #ccc; |
| 341 | border-radius: 0 3px 3px 0; |
| 342 | } |
| 343 | .search_btn .dashicons-search{ |
| 344 | position: relative; |
| 345 | } |
| 346 | .search_btn.filtered .dashicons-search{ |
| 347 | color: #f44336; |
| 348 | } |
| 349 | .search_empty_msg{ |
| 350 | margin: 40px 0 20px 0; |
| 351 | } |
| 352 | |
| 353 | .sc_note{ |
| 354 | background: #fffbdc; |
| 355 | padding: 10px; |
| 356 | color: #965400; |
| 357 | border-radius: 5px; |
| 358 | position: relative; |
| 359 | padding-left: 50px; |
| 360 | box-shadow: 0 2px 1px -2px; |
| 361 | } |
| 362 | .sc_note:before { |
| 363 | content: "\f348"; |
| 364 | font-family: dashicons; |
| 365 | position: absolute; |
| 366 | left: 15px; |
| 367 | font-size: 25px; |
| 368 | opacity: 0.8; |
| 369 | top: 12px; |
| 370 | } |
| 371 | |
| 372 | .rate_link{ |
| 373 | float: right; |
| 374 | } |
| 375 | .rate_link .dashicons{ |
| 376 | color: #e7711b; |
| 377 | text-decoration: none; |
| 378 | font-size: 13px; |
| 379 | } |
| 380 | .rate_link:hover .dashicons{ |
| 381 | text-decoration: underline; |
| 382 | } |
| 383 | .rate_link .dashicons { |
| 384 | font-size: 12px; |
| 385 | margin: 5px 0 0 0; |
| 386 | } |
| 387 | |
| 388 | .help_link{ |
| 389 | margin-left: 10px; |
| 390 | text-decoration: none; |
| 391 | } |
| 392 | .help_link .dashicons{ |
| 393 | font-size: 32px; |
| 394 | width: 32px; |
| 395 | height: 32px; |
| 396 | color: #607D8B; |
| 397 | } |
| 398 | .help_link:hover .dashicons{ |
| 399 | color: #000; |
| 400 | } |
| 401 | |
| 402 | .button em { |
| 403 | display: none; |
| 404 | } |
| 405 | |
| 406 | .button:hover em { |
| 407 | display: inline-block; |
| 408 | } |
| 409 | |
| 410 | .fright{ |
| 411 | float: right; |
| 412 | } |
| 413 | |
| 414 | @keyframes spin { |
| 415 | from {transform:rotate(0deg);} |
| 416 | to {transform:rotate(360deg);} |
| 417 | } |
| 418 | |
| 419 | .clearfix:after{ |
| 420 | clear: both; |
| 421 | content: "."; |
| 422 | display: block; |
| 423 | height: 0; |
| 424 | visibility: hidden; |
| 425 | font-size: 0; |
| 426 | } |
| 427 | .sc_switch_editor{ |
| 428 | margin: 2px 0 0 5px !important; |
| 429 | } |
| 430 | .sc_switch_editor .dashicons { |
| 431 | margin-top: 4px !important; |
| 432 | } |
| 433 | |
| 434 | .CodeMirror{ |
| 435 | border: 1px solid #ccc; |
| 436 | margin-top: 15px; |
| 437 | } |