From 9f6b0af83a37d4a8d174d85058982ff8c2aa6d9c Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 17 Jan 2018 11:07:25 +1100 Subject: [PATCH] Add CodeMirror styles to match settings page --- assets/css/admin.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/assets/css/admin.css b/assets/css/admin.css index afcc4171..d844138d 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -538,6 +538,18 @@ table.widefat.sp-sortable-table tbody tr .icon { -webkit-transition: none; } +/* CodeMirror */ + +.sp-settings-section .CodeMirror { + border: 1px solid #ddd; + box-shadow: inset 0 1px 2px rgba(0,0,0,.07); +} + +.sp-settings-section .CodeMirror-gutters { + background: #f9f9f9; + border-color: #e1e1e1; +} + /* Paragraph */ .sp-para { margin: 1em 0;