Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions action.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ function handle_toolbar(Doku_Event $event, $param) {
'open' => '<'.$syntaxSpan.' lo>',
'close' => '</'.$syntaxSpan.'>',
),
array(
'type' => 'format',
'title' => $this->getLang('co'),
'icon' => '../../plugins/wrap/images/toolbar/conf.png',
'open' => '<'.strtoupper($syntaxSpan).' conf>',
'close' => '</'.strtoupper($syntaxSpan).'>',
),
)
);
}
Expand Down
Binary file added images/toolbar/conf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion style.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down