Skip to content

Commit 2a805f5

Browse files
author
bkraul
committed
Reworked parser structure.
Upgraded Prism, introducing Copy to Clipboard functionality.
1 parent f22c83a commit 2a805f5

File tree

17 files changed

+3356
-1926
lines changed

17 files changed

+3356
-1926
lines changed

BBCodePlus/BBCodePlus.php

Lines changed: 430 additions & 711 deletions
Large diffs are not rendered by default.

BBCodePlus/files/bbcodeplus.css

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,29 @@
1-
div.bbcodeplus-quote {
2-
border: solid #c0c0c0 1px;
3-
padding: 10px;
4-
background-color: #d8d8d8;
5-
}
6-
7-
pre {
1+
.bbcodeplus.pre {
82
border: 1px solid silver;
93
margin: 0 0 1.5em 0;
104
overflow: auto;
115
padding-left: 10px;
126
}
137

14-
code span {
8+
.bbcodeplus.code span {
159
font-family: Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;
1610
font-size: 1em;
1711
}
1812

19-
.bbcodeplus-list {
20-
margin-left: 0px;
21-
padding-left: 1.2em;
13+
.bbcodeplus.table td {
14+
border: 0 !important;
15+
2216
}
2317

24-
.bbcodeplus-bullet-list {
25-
margin-left: 0px;
26-
padding-left: 1.2em;
27-
list-style-type: square;
18+
.bbcodeplus.table-bordered td, .bbcodeplus.table-bordered tr, .bbcodeplus.table-bordered th {
19+
border: 1px solid silver !important;
2820
}
2921

30-
.bbcodeplus-preview {
31-
height:100%;
32-
width:100%;
33-
font-family: 'Open Sans', sans-serif;
34-
font-size: 13px;
35-
}
36-
37-
.bbcodeplus-preview-body {
38-
background-image:none !important;
39-
margin: 10px 10px;
40-
}
22+
.bbcodeplus.blockquote {
23+
border: solid #c0c0c0 1px;
24+
border-left: solid #c0c0c0 5px;
25+
padding: 10px;
26+
font-size: 1.1em;
27+
background-color: #f5f2f0;;
28+
border-radius: 4px;
29+
}

BBCodePlus/files/prism/prism.js

Lines changed: 57 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

BBCodePlus/files/prism/prism_additional_languages.js

Lines changed: 66 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)