diff options
| author | Phil Crosby | 2010-03-07 19:06:03 -0800 | 
|---|---|---|
| committer | Phil Crosby | 2010-03-07 22:50:33 -0800 | 
| commit | 6ac9de48ac9182979978a172e8b74b79be93c424 (patch) | |
| tree | 4f4c35290a68969da1ff31824c22492d0edfa73c /helpDialog.html | |
| parent | 9209037537a58effa538fcc552357db1cf0e5e36 (diff) | |
| download | vimium-6ac9de48ac9182979978a172e8b74b79be93c424.tar.bz2 | |
Make the help dialog a little more robust against the page's styles.
Diffstat (limited to 'helpDialog.html')
| -rw-r--r-- | helpDialog.html | 26 | 
1 files changed, 14 insertions, 12 deletions
diff --git a/helpDialog.html b/helpDialog.html index c1fb4669..210f95ad 100644 --- a/helpDialog.html +++ b/helpDialog.html @@ -4,6 +4,7 @@  -->  <div id="vimiumHelpDialog">    <style> +    #vimiumHelpDialog * { font-size:12px; line-height:130%; color:black; }      #vimiumHelpDialog {        text-align:left;        border:3px solid red; @@ -11,10 +12,8 @@        background-color:#eee;        position:fixed;        width:600px; -      font-size:12px; -      color:black;        font-family:helvetica, arial, sans; -      border: 2px solid #b3b3b3; +      border:2px solid #b3b3b3;        border-radius:6px;        padding:8px 12px;        width:640px; @@ -25,28 +24,31 @@        -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 6px;      }      #vimiumHelpDialog a { color:blue; } -    #vimiumTitle { font-size:20px; } +    #vimiumTitle, #vimiumTitle * { font-size:20px; }      .vimiumColumn {        width:50%;        float:left;      } +    .vimiumColumn table, .vimiumColumn td, .vimiumColumn tr { padding:0; margin:0; }      .vimiumColumn table { width:100%; } -    .vimiumColumn td { vertical-align:top; } -    .vimiumColumn tr > td:first-of-type { +    .vimiumColumn td { vertical-align:top; padding:1px; } +    #vimiumHelpDialog .vimiumColumn tr > td:first-of-type {        text-align:right;        font-weight:bold;        color:#2f508e;        white-space:nowrap;      } -    .vimiumDivider { +    /* Make the description column as wide as it can be. */ +    #vimiumHelpDialog .vimiumColumn tr > td:nth-of-type(3) { width:100%; } +    #vimiumHelpDialog .vimiumDivider {        height:1px;        width:92%;        margin:10px auto;        background-color:#9a9a9a;      } -    .vimiumHelpSectionTitle { +    #vimiumHelpDialog .vimiumHelpSectionTitle {        font-weight:bold; -      padding-top:5px; +      padding-top:3px;      }      #vimiumHelpDialog .closeButton {        position:absolute; @@ -64,7 +66,7 @@        cursor:default;        -webkit-user-select:none;      } -    #vimiumHelpDialogFooter { font-size:10px; } +    #vimiumHelpDialogFooter * { font-size:10px; }    </style>    <!-- Note that the template placeholders (e.g. "pageNavigation") will be filled in by the background @@ -88,7 +90,7 @@    <br clear="both"/>    <div class="vimiumDivider"></div> -   +    <div id="vimiumHelpDialogFooter">      <div class="vimiumColumn">        Enjoying Vimium? @@ -100,4 +102,4 @@        <!-- <a href="#">Homepage</a> -->      </div>    </div> -</div>
\ No newline at end of file +</div>  | 
