|
From: <dos...@us...> - 2014-09-02 20:15:02
|
Revision: 4878
http://sourceforge.net/p/mp-plugins/code/4878
Author: doskabouter
Date: 2014-09-02 20:14:58 +0000 (Tue, 02 Sep 2014)
Log Message:
-----------
minor refactoring
Modified Paths:
--------------
trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/DomHelper.cs
Modified: trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/DomHelper.cs
===================================================================
--- trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/DomHelper.cs 2014-08-25 20:47:24 UTC (rev 4877)
+++ trunk/plugins/BrowseTheWeb/Source/BrowseTheWeb/DomHelper.cs 2014-09-02 20:14:58 UTC (rev 4878)
@@ -10,22 +10,26 @@
{
public class DomHelper
{
- private const string _spanstyle = "font-family: arial,sans-serif; " +
+ private const string _baseSpanStyle =
+ "font-family: arial,sans-serif; " +
"font-size: 12px ! important; " +
"line-height: 130% ! important; " +
"border-width: 1px ! important; " +
"border-style: solid ! important; " +
"border-radius: 2px 2px 2px 2px ! important; " +
+ "max-height: 10px ! important; " +
+ "overflow: visible ! important; " +
+ "float: none ! important; " +
+ "display: inline;";
+
+ private const string _spanstyle = _baseSpanStyle +
"padding: 0px 2px ! important; " +
"margin-right: 2px; " +
"max-width: 20px; " +
- "max-height: 10px ! important; " +
- "overflow: visible ! important; " +
- "float: none ! important; " +
- "position: relative !important; " +
+ "position: relative ! important; " +
"top: 0; " +
- "left: 0; " +
- "display: inline;";
+ "left: 0; ";
+
private const string btwebId = "btweb_id";
public static void AddLinksToPage(GeckoDocument document)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|