diff --git a/source/Ox.UI/css/Ox.UI.css b/source/Ox.UI/css/Ox.UI.css
index bb090f32..3cab5cb8 100644
--- a/source/Ox.UI/css/Ox.UI.css
+++ b/source/Ox.UI/css/Ox.UI.css
@@ -1487,6 +1487,8 @@ Text
-webkit-user-select: text;
}
.OxText div {
+ border-style: solid;
+ border-width: 0;
font-size: 12px;
line-height: 16px;
-moz-user-select: text;
@@ -1494,7 +1496,6 @@ Text
}
.OxText code {
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
- color: rgb(0, 0, 128);
}
.OxText h1 {
font-weight: bold;
diff --git a/source/Ox.UI/js/Core/Ox.DocPage.js b/source/Ox.UI/js/Core/Ox.DocPage.js
index 8730aa02..6167fea0 100644
--- a/source/Ox.UI/js/Core/Ox.DocPage.js
+++ b/source/Ox.UI/js/Core/Ox.DocPage.js
@@ -44,7 +44,7 @@ Ox.DocPage = function(options, self) {
$elements.push($('
')
.css({
paddingTop: (level ? 0 : 8) + 'px',
- borderTop: level ? '': '1px solid rgb(192, 192, 192)',
+ borderTopWidth: level ? 0 : '1px',
marginTop: (level ? 0 : 8) + 'px',
marginLeft: (level * 32) + 'px',
})
@@ -54,7 +54,7 @@ Ox.DocPage = function(options, self) {
$elements.push($('
')
.css({
paddingTop: (level ? 0 : 8) + 'px',
- borderTop: level ? '': '1px solid rgb(192, 192, 192)',
+ borderTopWidth: level ? 0 : '1px',
marginTop: (level ? 0 : 8) + 'px',
marginLeft: (level * 32) + 'px',
})
@@ -138,7 +138,7 @@ Ox.DocPage = function(options, self) {
})
.addClass(className)
.css({
- border: '1px solid rgb(192, 192, 192)',
+ borderWidth: '1px',
marginTop: '8px',
})
);
diff --git a/source/Ox.UI/themes/classic/css/classic.css b/source/Ox.UI/themes/classic/css/classic.css
index 61c0664e..c734d584 100644
--- a/source/Ox.UI/themes/classic/css/classic.css
+++ b/source/Ox.UI/themes/classic/css/classic.css
@@ -429,6 +429,19 @@ SyntaxHighlighter
background: rgb(255, 128, 128);
}
+/*
+================================================================================
+Text
+================================================================================
+*/
+
+.OxThemeClassic .OxText code {
+ color: rgb(0, 0, 128);
+}
+.OxThemeClassic .OxText div {
+ border-color: rgb(192, 192, 192);
+}
+
/*
================================================================================
Video
diff --git a/source/Ox.UI/themes/modern/css/modern.css b/source/Ox.UI/themes/modern/css/modern.css
index e4c98e51..7911ec32 100644
--- a/source/Ox.UI/themes/modern/css/modern.css
+++ b/source/Ox.UI/themes/modern/css/modern.css
@@ -377,7 +377,7 @@ SyntaxHighlighter
================================================================================
*/
-.OxThemeModern .OxSyntaxHighlighter .OxSourceCode {
+.OxThemeModern .OxSyntaxHighlighter {
background-color: rgb(0, 0, 0);
}
.OxThemeModern .OxSyntaxHighlighter .OxLineNumbers {
@@ -433,6 +433,19 @@ SyntaxHighlighter
background: rgb(255, 255, 255);
}
+/*
+================================================================================
+Text
+================================================================================
+*/
+
+.OxThemeModern .OxText code {
+ color: rgb(128, 128, 255);
+}
+.OxThemeModern .OxText div {
+ border-color: rgb(64, 64, 64);
+}
+
/*
================================================================================