diff --git a/action.php b/action.php index 28e488f..bb47536 100644 --- a/action.php +++ b/action.php @@ -117,6 +117,13 @@ function handle_toolbar(Doku_Event $event, $param) { 'open' => '<'.$syntaxSpan.' lo>', 'close' => '', ), + array( + 'type' => 'format', + 'title' => $this->getLang('co'), + 'icon' => '../../plugins/wrap/images/toolbar/conf.png', + 'open' => '<'.strtoupper($syntaxSpan).' conf>', + 'close' => '', + ), ) ); } diff --git a/images/toolbar/conf.png b/images/toolbar/conf.png new file mode 100644 index 0000000..d038a93 Binary files /dev/null and b/images/toolbar/conf.png differ diff --git a/style.less b/style.less index 4f701a7..cbd1270 100644 --- a/style.less +++ b/style.less @@ -128,7 +128,25 @@ span.wrap_todo { background-image: url(images/note/16/todo.png); } div.wrap_download { background-image: url(images/note/48/download.png); } span.wrap_download { background-image: url(images/note/16/download.png); } - +/*____________ configuration ____________*/ +.wrap_conf +{ + font-family:Consolas,"Andale Mono WT","Andale Mono","Bitstream Vera Sans Mono","Nimbus Mono L",Monaco,"Courier New",monospace; + font-size:1em; + direction:ltr; + text-align:left; + background-color:#fbfaf9; + color:#333; + box-shadow:inset 0 0 .3em #ccc; + border-radius:2px; + overflow:auto; + word-wrap:normal; + border:1px solid #ccc; + border-radius:2px; + box-shadow:inset 0 0 .5em #ccc;padding:.7em 1em; + margin-bottom: 2em; + margin-top:0em; +} /*____________ safety notes ____________*/ .wrap_danger {