| 1 |
/* CodeMirror Styling for TablePress page/customizations compared to original CSS in this file */ |
| 2 |
#tablepress-page .CodeMirror { |
| 3 |
height: 100px; |
| 4 |
} |
| 5 |
#tablepress-page .CodeMirror.large { |
| 6 |
height: 500px; |
| 7 |
} |
| 8 |
#tablepress-page .CodeMirror-scroll { |
| 9 |
border: 1px solid #ddd; |
| 10 |
height: 100%; /* Fallback for browsers that don't support calc() */ |
| 11 |
height: calc( 100% - 2px ); |
| 12 |
padding-bottom: 0; |
| 13 |
margin-right: 0; |
| 14 |
} |
| 15 |
#tablepress-page .CodeMirror-scroll .CodeMirror-sizer { |
| 16 |
border-right-width: 0 !important; |
| 17 |
} |
| 18 |
#tablepress-page .CodeMirror.disabled .CodeMirror-scroll { |
| 19 |
background-color: #eeeeee; |
| 20 |
} |
| 21 |
|
| 22 |
/* jQuery UI resizable styles, for the resizable CodeMirror instance */ |
| 23 |
.ui-resizable { |
| 24 |
position: relative; |
| 25 |
} |
| 26 |
.ui-resizable-handle { |
| 27 |
position: absolute; |
| 28 |
font-size: 0.1px; |
| 29 |
display: block; |
| 30 |
touch-action: none; |
| 31 |
} |
| 32 |
.ui-resizable-s { |
| 33 |
cursor: row-resize; |
| 34 |
height: 10px; |
| 35 |
width: 100%; |
| 36 |
bottom: -5px; |
| 37 |
left: 0; |
| 38 |
} |
| 39 |
|