Author: pranayp
Date: Sat Jun 18 06:12:21 2016
New Revision: 1748922
URL: http://svn.apache.org/viewvc?rev=1748922&view=rev
Log:
[OFBIZ-7311] No functional change, corrected formatting of the CSS files for
Tomahawk theme as per best practice.
Thanks Swapnil M Mane for the contribution.
Modified:
ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/docbook.css
ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css
ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/stylertl.css
Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/docbook.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/docbook.css?rev=1748922&r1=1748921&r2=1748922&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/docbook.css (original)
+++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/docbook.css Sat Jun 18
06:12:21 2016
@@ -17,166 +17,161 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
***********************************************/
-body {background:transparent url(/images/ofbiz_logo.gif) no-repeat scroll left
top;
+body {
+ background: transparent url(/images/ofbiz_logo.gif) no-repeat scroll left
top;
color: #000;
font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size:.75em;
- line-height:1.5em;padding:50px 0 0;
+ font-size: .75em;
+ line-height: 1.5em;
+ padding: 50px 0 0;
bgcolor: #ffffcc;
}
a:hover {
- color:#111111;
- text-decoration:underline;
+ color: #111111;
+ text-decoration: underline;
}
+
a:visited {
- color:#000;
- text-decoration:underline;
+ color: #000;
+ text-decoration: underline;
}
+
a {
- color:#555;
- text-decoration:underline;
+ color: #555;
+ text-decoration: underline;
}
-
-
-div.abstract
-{
- border: solid 2px;
- padding-left: 10pt;
- padding-right: 10pt;
- background-color: #ffffcc;
-}
-pre.screen
-{
- font-family:monospace;
- white-space: pre;
- width: 100%;
- background-color: #ffffcc;
- border:solid;
- color: #000000;
- border-color: #009999;
- border-left: solid #009999 2px;
- border-right: solid #009999 2px;
- border-top: solid #009999 2px;
- border-bottom: solid #009999 2px;
-
- padding-left: 15pt;
-}
-pre.programlisting
-{
- font-family:monospace;
- white-space: pre;
- width: 100%;
- background-color: #ffffcc;
- border:solid;
- color: #000000;
- border-color: #009999;
- border-left: solid #009999 2px;
- border-right: solid #009999 2px;
- border-top: solid #009999 2px;
- border-bottom: solid #009999 2px;
-
- padding-left: 15pt;
-}
-
-h1
-{
- color: #ffffff;
- border: solid 3px #a0a0d0;
- background-color: #606090;
- font-variant: small-caps;
- width: 100%;
-}
-
-h1.title
-{
- color: #ffffff;
- border: solid 3px #a0a0d0;
- background-color: #606090;
- font-variant: small-caps;
- width: 100%;
+div.abstract {
+ border: solid 2px;
+ padding-left: 10pt;
+ padding-right: 10pt;
+ background-color: #ffffcc;
+}
+
+pre.screen {
+ font-family: monospace;
+ white-space: pre;
+ width: 100%;
+ background-color: #ffffcc;
+ border: solid;
+ color: #000000;
+ border-color: #009999;
+ border-left: solid #009999 2px;
+ border-right: solid #009999 2px;
+ border-top: solid #009999 2px;
+ border-bottom: solid #009999 2px;
+
+ padding-left: 15pt;
+}
+
+pre.programlisting {
+ font-family: monospace;
+ white-space: pre;
+ width: 100%;
+ background-color: #ffffcc;
+ border: solid;
+ color: #000000;
+ border-color: #009999;
+ border-left: solid #009999 2px;
+ border-right: solid #009999 2px;
+ border-top: solid #009999 2px;
+ border-bottom: solid #009999 2px;
+
+ padding-left: 15pt;
+}
+
+h1 {
+ color: #ffffff;
+ border: solid 3px #a0a0d0;
+ background-color: #606090;
+ font-variant: small-caps;
+ width: 100%;
+}
+
+h1.title {
+ color: #ffffff;
+ border: solid 3px #a0a0d0;
+ background-color: #606090;
+ font-variant: small-caps;
+ width: 100%;
}
.title a {
- color: #fffffc;
- text-decoration: none;
+ color: #fffffc;
+ text-decoration: none;
}
.title a:active {
- color: #ffffff;
- text-decoration: none;
+ color: #ffffff;
+ text-decoration: none;
}
.title a:visited {
- color: #ffffff;
- text-decoration: none;
+ color: #ffffff;
+ text-decoration: none;
+}
+
+h2 {
+ color: #ffffff;
+ font-style: italic;
+ background-color: #a0a0d0;
+ border: solid 3px #606090;
+ padding: 1px
+}
+
+table.important {
+ font-style: italic;
+ border: solid 2px #ff0000;
+ width: 70%;
+ margin-left: 15%;
}
-h2
-{
- color: #ffffff ;
- font-style: italic;
- background-color: #a0a0d0;
- border: solid 3px #606090;
- padding: 1px
-}
-
-table.important
-{
- font-style:italic;
- border: solid 2px #ff0000;
- width: 70%;
- margin-left: 15%;
-}
-table.caution
-{
- font-style:italic;
- border: ridge 2px #ffff00;
- width: 70%;
- margin-left: 15%;
-}
-
-table.note
-{
- font-style:italic;
- border: solid 1px #000000;
- width: 70%;
- margin-left: 15%;
-}
-table.tip
-{
- font-style:italic;
- border: solid 1px #000000;
- width: 70%;
- margin-left: 15%;
-}
-
-table.warning
-{
- font-style:italic;
- font-weight: bold;
- border: ridge 4px #ff0000;
-
- width: 70%;
- margin-left: 15%;
+table.caution {
+ font-style: italic;
+ border: ridge 2px #ffff00;
+ width: 70%;
+ margin-left: 15%;
+}
+
+table.note {
+ font-style: italic;
+ border: solid 1px #000000;
+ width: 70%;
+ margin-left: 15%;
+}
+
+table.tip {
+ font-style: italic;
+ border: solid 1px #000000;
+ width: 70%;
+ margin-left: 15%;
+}
+
+table.warning {
+ font-style: italic;
+ font-weight: bold;
+ border: ridge 4px #ff0000;
+
+ width: 70%;
+ margin-left: 15%;
}
div.variablelist {
- font-family: sans-serif;
- font-style: normal;
- font-weight: normal;
- padding-left: 20px;
+ font-family: sans-serif;
+ font-style: normal;
+ font-weight: normal;
+ padding-left: 20px;
}
.varlistentry {
- font-weight: bold;
- margin-top: 10px;
- color: #ffffff ;
- background-color: #a0a0d0;
- border: solid 1px #606090;
- padding: 1px
+ font-weight: bold;
+ margin-top: 10px;
+ color: #ffffff;
+ background-color: #a0a0d0;
+ border: solid 1px #606090;
+ padding: 1px
}
/*
@@ -186,7 +181,7 @@ div.variablelist {
*/
p {
- font-size: 12px;
+ font-size: 12px;
}
/*a{}
@@ -204,156 +199,153 @@ html>body p {
/* add an external-link icon to absolute links */
a[href^="http:"] {
- background: url(images/remote.gif) right center no-repeat;
- padding-right: 12px;
+ background: url(images/remote.gif) right center no-repeat;
+ padding-right: 12px;
}
a[href^="http:"]:hover {
- background: url(images/remote_a.gif) right center no-repeat;
+ background: url(images/remote_a.gif) right center no-repeat;
}
/* add a note icon to footnote links */
a[href^="#ftn"] {
- background: url(images/qbullet-note.gif) right center no-repeat;
- padding-right: 12px;
+ background: url(images/qbullet-note.gif) right center no-repeat;
+ padding-right: 12px;
}
a[href^="#ftn"]:hover {
- background: url(images/qbullet-note_a.gif) right center no-repeat;
+ background: url(images/qbullet-note_a.gif) right center no-repeat;
}
/* ...and a back icon to the backlinks in the footnotes themselves */
a[name^="ftn"] {
- background: url(images/scrollup.gif) right center no-repeat;
- padding-right: 12px;
+ background: url(images/scrollup.gif) right center no-repeat;
+ padding-right: 12px;
}
a[name^="ftn"]:hover {
- background: url(images/scrollup_a.gif) right center no-repeat;
+ background: url(images/scrollup_a.gif) right center no-repeat;
}
/* add a download icon to .gz links */
-a[href$=".gz"],a[href$=".tar"],a[href$=".zip"] {
- background: url(images/disk.gif) right center no-repeat;
- padding-right: 12px;
+a[href$=".gz"], a[href$=".tar"], a[href$=".zip"] {
+ background: url(images/disk.gif) right center no-repeat;
+ padding-right: 12px;
}
-
/* add an acrobat reader icon to pdf links */
a[href$=".pdf"] {
- background: url(images/acrobat.gif) right center no-repeat;
- padding-right: 12px;
+ background: url(images/acrobat.gif) right center no-repeat;
+ padding-right: 12px;
}
a[href$=".pdf"]:hover {
- background: url(images/acrobat_a.gif) right center no-repeat;
+ background: url(images/acrobat_a.gif) right center no-repeat;
}
/* add a word icon to rtf links */
a[href$=".rtf"] {
- background: url(images/word.gif) right center no-repeat;
- padding-right: 12px;
+ background: url(images/word.gif) right center no-repeat;
+ padding-right: 12px;
}
-
/* ...but not to absolute links in this domain... */
a[href^="http://www.karakas-online.de"] {
- background: transparent;
- padding-right: 0px;
+ background: transparent;
+ padding-right: 0px;
}
a[href^="http://www.karakas-online.de"]:hover {
- background: transparent;
+ background: transparent;
}
/* ...or to the translation links on each page */
div.translatelink > a[href^="http:"] {
- background: transparent;
- padding-right: 0px;
+ background: transparent;
+ padding-right: 0px;
}
div.translatelink > a[href^="http:"]:hover {
- background: transparent;
+ background: transparent;
}
/* ...or to any images */
-div.imagelink a[href^="http:"] {
- background: transparent;
- padding-right: 0px;
+div.imagelink a[href^="http:"] {
+ background: transparent;
+ padding-right: 0px;
}
-div.imagelink a[href^="http:"]:hover {
- background: transparent;
+div.imagelink a[href^="http:"]:hover {
+ background: transparent;
}
-
p.c2 {
- color: #ffffff ;
- background-color: #a0a0d0;
- border: solid 1px #606090;
- padding: 1px
+ color: #ffffff;
+ background-color: #a0a0d0;
+ border: solid 1px #606090;
+ padding: 1px
}
-
div.navfooter {
- color: #000000;
- background-color: #efeff8;
- padding: 5px;
- margin-top: 10px;
- width: 100%;
- border: thin solid #a0a0d0;
+ color: #000000;
+ background-color: #efeff8;
+ padding: 5px;
+ margin-top: 10px;
+ width: 100%;
+ border: thin solid #a0a0d0;
}
div.nukefooter {
- color: #000000;
- background-color: #b0e0e6;
- padding: 5px;
- margin-top: 10px;
- width: 100%;
- border: thin solid #a0a0d0;
+ color: #000000;
+ background-color: #b0e0e6;
+ padding: 5px;
+ margin-top: 10px;
+ width: 100%;
+ border: thin solid #a0a0d0;
}
div.navheader {
- color: #000000;
- background-color: #efeff8;
- padding: 5px;
- margin-bottom: 10px;
- width: 100%;
- border: thin solid #a0a0d0;
-}
-
-div.sect1,div.sect2,div.sect3 {
- margin-left: 20px;
-}
-
-div.example,div.toc {
- border: thin dotted #70aae5;
- padding-left: 10px;
- padding-right: 10px;
- color: #000000;
- background-color: #eff8f8;
+ color: #000000;
+ background-color: #efeff8;
+ padding: 5px;
+ margin-bottom: 10px;
+ width: 100%;
+ border: thin solid #a0a0d0;
+}
+
+div.sect1, div.sect2, div.sect3 {
+ margin-left: 20px;
+}
+
+div.example, div.toc {
+ border: thin dotted #70aae5;
+ padding-left: 10px;
+ padding-right: 10px;
+ color: #000000;
+ background-color: #eff8f8;
}
div.toc {
- margin-left: 20px;
- margin-right: 20px;
- width: 95%;
+ margin-left: 20px;
+ margin-right: 20px;
+ width: 95%;
}
-ul {
- list-style: url("images/tux-bullet.png") disc;
- }
-
-div.example,div.toc {
- border: thin dotted #70aae5;
- padding-left: 10px;
- padding-right: 10px;
- color: #000000;
- background-color: #eff8f8;
+ul {
+ list-style: url("images/tux-bullet.png") disc;
}
+
+div.example, div.toc {
+ border: thin dotted #70aae5;
+ padding-left: 10px;
+ padding-right: 10px;
+ color: #000000;
+ background-color: #eff8f8;
+}
+
div.toc {
- margin-left: 20px;
- margin-right: 20px;
- width: 95%;
+ margin-left: 20px;
+ margin-right: 20px;
+ width: 95%;
}
Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css?rev=1748922&r1=1748921&r2=1748922&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css (original)
+++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/help.css Sat Jun 18
06:12:21 2016
@@ -18,63 +18,63 @@ specific language governing permissions
under the License.
***********************************************/
body {
-background:none;
-font-size:105%;
+ background: none;
+ font-size: 105%;
}
p {
-margin-top:10px;
+ margin-top: 10px;
}
.left-border {
-float:left;
-width:35%;
+ float: left;
+ width: 35%;
}
.leftonly {
-float:none;
-min-height:25em;
+ float: none;
+ min-height: 25em;
}
#column-container .leftonly {
-width:auto;
+ width: auto;
}
div.screenlet-body {
-border: none;
-overflow: hidden;
+ border: none;
+ overflow: hidden;
}
#Document .contentarea {
-background:none;
+ background: none;
}
#Document #column-container {
-background:none;
+ background: none;
}
#content-main-section h1 {
-display: block;
-font-weight:bold;
+ display: block;
+ font-weight: bold;
}
#content-main-section h2 {
-background:none;
-font-weight:bold;
+ background: none;
+ font-weight: bold;
}
ol.numbers {
-list-style: decimal;
-padding-left: 20px;
+ list-style: decimal;
+ padding-left: 20px;
}
ul.dots {
-list-style: circle;
-padding-left: 20px;
+ list-style: circle;
+ padding-left: 20px;
}
-span.caution{
- color:yellow;
+span.caution {
+ color: yellow;
}
span.important {
@@ -82,13 +82,13 @@ span.important {
}
span.note {
- color:#adff2f;
+ color: #adff2f;
}
span.tip {
- color:blue;
+ color: blue;
}
span.warning {
- color:red;
+ color: red;
}
\ No newline at end of file