| 1 |
|
| 2 |
.CodeMirror-sizer { |
| 3 |
min-height: 300px !important; |
| 4 |
box-sizing: border-box; |
| 5 |
padding-bottom: 1.5em !important; |
| 6 |
|
| 7 |
&::after { |
| 8 |
position: absolute; |
| 9 |
bottom: 0; |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
.snippet-scope { |
| 14 |
display: none; |
| 15 |
|
| 16 |
.description { |
| 17 |
display: block; |
| 18 |
} |
| 19 |
} |
| 20 |
|
| 21 |
[data-snippet-type=php]=php] { |
| 22 |
|
| 23 |
.php-scopes-list { |
| 24 |
display: block; |
| 25 |
} |
| 26 |
|
| 27 |
.CodeMirror-sizer { |
| 28 |
padding-bottom: 0 !important; |
| 29 |
} |
| 30 |
|
| 31 |
.CodeMirror-sizer::before { |
| 32 |
content: '<?php'; |
| 33 |
} |
| 34 |
} |
| 35 |
|
| 36 |
[data-snippet-type=css]=css] { |
| 37 |
|
| 38 |
.css-scopes-list { |
| 39 |
display: block; |
| 40 |
} |
| 41 |
|
| 42 |
.CodeMirror-sizer::before { |
| 43 |
content: '<style>'; |
| 44 |
} |
| 45 |
|
| 46 |
.CodeMirror-sizer::after { |
| 47 |
content: '</style>'; |
| 48 |
} |
| 49 |
} |
| 50 |
|
| 51 |
[data-snippet-type=js]=js] { |
| 52 |
|
| 53 |
.js-scopes-list { |
| 54 |
display: block; |
| 55 |
} |
| 56 |
|
| 57 |
.CodeMirror-sizer::before { |
| 58 |
content: '<script>'; |
| 59 |
} |
| 60 |
|
| 61 |
.CodeMirror-sizer::after { |
| 62 |
content: '</script>'; |
| 63 |
} |
| 64 |
} |
| 65 |
|
| 66 |
[data-snippet-type=html]=html] { |
| 67 |
|
| 68 |
.html-scopes-list { |
| 69 |
display: block; |
| 70 |
} |
| 71 |
|
| 72 |
.CodeMirror-sizer::before { |
| 73 |
content: '<!-- begin content -->'; |
| 74 |
} |
| 75 |
|
| 76 |
.CodeMirror-sizer::after { |
| 77 |
content: '<!-- end content -->'; |
| 78 |
} |
| 79 |
} |
| 80 |
|