[Amis-vcs] SF.net SVN: amis: [2166] branches/amis3
Brought to you by:
julienq,
marisademeglio
From: <mar...@us...> - 2007-09-24 15:41:06
|
Revision: 2166 http://amis.svn.sourceforge.net/amis/?rev=2166&view=rev Author: marisademeglio Date: 2007-09-24 08:29:30 -0700 (Mon, 24 Sep 2007) Log Message: ----------- fixed CSS problems with contrast and font size Modified Paths: -------------- branches/amis3/AmisGuiMFC2/src/gui/TextRenderBrain.cpp branches/amis3/bin/settings/amis-contrast.css branches/amis3/bin/settings/font1.css branches/amis3/bin/settings/font2.css branches/amis3/bin/settings/font3.css branches/amis3/bin/settings/font4.css Modified: branches/amis3/AmisGuiMFC2/src/gui/TextRenderBrain.cpp =================================================================== --- branches/amis3/AmisGuiMFC2/src/gui/TextRenderBrain.cpp 2007-09-24 15:04:19 UTC (rev 2165) +++ branches/amis3/AmisGuiMFC2/src/gui/TextRenderBrain.cpp 2007-09-24 15:29:30 UTC (rev 2166) @@ -349,7 +349,7 @@ //remove the old stylesheet MainWndParts::Instance()->mpHtmlView->removeStylesheet(mpFontCss); - if (fontsz) MainWndParts::Instance()->mpHtmlView->applyStylesheet(&mFontSizeCssFiles[fontsz-1]); + if (fontsz) mpFontCss = MainWndParts::Instance()->mpHtmlView->applyStylesheet(&mFontSizeCssFiles[fontsz-1]); if (isElementInView(pLastElm) == false) { Modified: branches/amis3/bin/settings/amis-contrast.css =================================================================== --- branches/amis3/bin/settings/amis-contrast.css 2007-09-24 15:04:19 UTC (rev 2165) +++ branches/amis3/bin/settings/amis-contrast.css 2007-09-24 15:29:30 UTC (rev 2166) @@ -1,6 +1,4 @@ /*contrast CSS sheet*/ -body{ background-color: blue; color: white;} -h1 {color: green;} -a {text-decoration: none;} -a:hover {background-color: red;} - +body{ background-color: navy !important; color: white !important;} +a {color: white !important;} +a:hover {color: white !important; font-weight: bolder !important;} Modified: branches/amis3/bin/settings/font1.css =================================================================== --- branches/amis3/bin/settings/font1.css 2007-09-24 15:04:19 UTC (rev 2165) +++ branches/amis3/bin/settings/font1.css 2007-09-24 15:29:30 UTC (rev 2166) @@ -1,9 +1,9 @@ /*whole document body*/ body { - font-size: 150%; - line-spacing: 125% + font-size: 150% !important; + line-spacing: 125% !important; } h1, h2, h3, h4, h5, h6{ - font-size: 150%; + font-size: 150% !important; } Modified: branches/amis3/bin/settings/font2.css =================================================================== --- branches/amis3/bin/settings/font2.css 2007-09-24 15:04:19 UTC (rev 2165) +++ branches/amis3/bin/settings/font2.css 2007-09-24 15:29:30 UTC (rev 2166) @@ -1,9 +1,9 @@ /*whole document body*/ body { - font-size: 175%; - line-spacing: 150% + font-size: 175% !important; + line-spacing: 150% !important; } h1, h2, h3, h4, h5, h6{ - font-size: 175%; + font-size: 175% !important; } Modified: branches/amis3/bin/settings/font3.css =================================================================== --- branches/amis3/bin/settings/font3.css 2007-09-24 15:04:19 UTC (rev 2165) +++ branches/amis3/bin/settings/font3.css 2007-09-24 15:29:30 UTC (rev 2166) @@ -1,9 +1,9 @@ /*whole document body*/ body { - font-size: 200%; - line-spacing: 175% + font-size: 200% !important; + line-spacing: 175% !important; } h1, h2, h3, h4, h5, h6{ - font-size: 200%; + font-size: 200% !important; } Modified: branches/amis3/bin/settings/font4.css =================================================================== --- branches/amis3/bin/settings/font4.css 2007-09-24 15:04:19 UTC (rev 2165) +++ branches/amis3/bin/settings/font4.css 2007-09-24 15:29:30 UTC (rev 2166) @@ -1,9 +1,9 @@ /*whole document body*/ body { - font-size: 225%; - line-spacing: 175% + font-size: 225% !important; + line-spacing: 175% !important; } h1, h2, h3, h4, h5, h6{ - font-size: 225%; + font-size: 225% !important; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |