Node.js based forum software built for the modern web
added outgoing.less, fixed modern.less theme, fixed #316
psychobunny607ee8bbc1ec
diff --git a/public/templates/outgoing.tpl b/public/templates/outgoing.tplindex 963da58155..80407d570c 100644--- a/public/templates/outgoing.tpl+++ b/public/templates/outgoing.tpl@@ -1,20 +1,22 @@-<ol class="breadcrumb">- <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">- <a href="/" itemprop="url"><span itemprop="title">Home</span></a>- </li>- <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">- <span itemprop="title">Outgoing Link</span>- </li>-</ol>+<div class="outgoing">+ <ol class="breadcrumb">+ <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">+ <a href="/" itemprop="url"><span itemprop="title">Home</span></a>+ </li>+ <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">+ <span itemprop="title">Outgoing Link</span>+ </li>+ </ol>-<div class="well">- <h3>- You are now leaving NodeBB.- </h3>- <p>- <a href="{url}" rel="nofollow" class="btn btn-primary btn-lg">Continue to {url}</a>- <a id="return-btn" href="#" class="btn btn-lg btn-warning">Return to NodeBB</a>- </p>+ <div class="well">+ <h3>+ You are now leaving NodeBB.+ </h3>+ <p>+ <a href="{url}" rel="nofollow" class="btn btn-primary btn-lg">Continue to {url}</a>+ <a id="return-btn" href="#" class="btn btn-lg btn-warning">Return to NodeBB</a>+ </p>+ </div></div><script>diff --git a/public/themes/cerulean/cerulean.less b/public/themes/cerulean/cerulean.lessindex 5b8a66451d..12ba97be4c 100644--- a/public/themes/cerulean/cerulean.less+++ b/public/themes/cerulean/cerulean.less@@ -12,6 +12,7 @@@import "unread";@import "admin";@import "users";+@import "outgoing";@import "footer";@import "../vanilla/modules.less";\ No newline at end of filediff --git a/public/themes/cerulean/outgoing.less b/public/themes/cerulean/outgoing.lessnew file mode 100644index 0000000000..aea1941af1--- /dev/null+++ b/public/themes/cerulean/outgoing.less@@ -0,0 +1 @@+@import "../vanilla/outgoing";\ No newline at end of filediff --git a/public/themes/modern/cerulean.less b/public/themes/modern/modern.lesssimilarity index 83%rename from public/themes/modern/cerulean.lessrename to public/themes/modern/modern.lessindex 5b8a66451d..1e57c54b09 100644--- a/public/themes/modern/cerulean.less+++ b/public/themes/modern/modern.less@@ -11,6 +11,7 @@@import "search";@import "unread";@import "admin";+@import "outgoing";@import "users";@import "footer";diff --git a/public/themes/modern/outgoing.less b/public/themes/modern/outgoing.lessnew file mode 100644index 0000000000..aea1941af1--- /dev/null+++ b/public/themes/modern/outgoing.less@@ -0,0 +1 @@+@import "../vanilla/outgoing";\ No newline at end of filediff --git a/public/themes/vanilla/outgoing.less b/public/themes/vanilla/outgoing.lessnew file mode 100644index 0000000000..03823e1873--- /dev/null+++ b/public/themes/vanilla/outgoing.less@@ -0,0 +1,7 @@+.outgoing {+ .btn-primary {+ max-width: 100%;+ overflow: hidden;+ text-overflow: ellipse;+ }+}\ No newline at end of filediff --git a/public/themes/vanilla/vanilla.less b/public/themes/vanilla/vanilla.lessindex e02349fc82..b03bd76773 100644--- a/public/themes/vanilla/vanilla.less+++ b/public/themes/vanilla/vanilla.less@@ -10,6 +10,7 @@@import "unread";@import "admin";@import "users";+@import "outgoing";@import "footer";@import "modules";\ No newline at end of file