]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
* linguistics.module:
[lyx.git] / lib / layouts / stdinsets.inc
index 417f0f93558053dd8ccb14777388b92298e5caef..d277bdcc1fcdc94f56ede208f3ee994bf420b384 100644 (file)
@@ -77,9 +77,8 @@ InsetLayout Marginal
        EndFont
        MultiPar              true
        NeedProtect           true
-       HTMLTag               span
        HTMLStyle
-               span.marginal {
+               div.marginal {
                        border: 2px solid black; 
                        padding: 1ex; 
                        margin: 1ex; 
@@ -107,9 +106,8 @@ InsetLayout Foot
          Size                Small
        EndFont
        MultiPar              true
-       HTMLTag               span
        HTMLLabel             \arabic{footnote}
-       HTMLInnerTag          span
+       HTMLInnerTag          div
        HTMLStyle
                span.foot_label {
                        vertical-align: super;
@@ -117,10 +115,9 @@ InsetLayout Foot
                        font-weight: bold;
                        text-decoration: underline;
                }
-               span.foot_inner {
-                       display: none;
-               }
-               span.foot:hover span.foot_inner { 
+    div.foot { display: inline; }
+               div.foot_inner { display: none; }
+               div.foot:hover div.foot_inner { 
                        display: block; 
                        border: 1px double black; 
                        margin: 0em 1em;
@@ -169,9 +166,8 @@ InsetLayout Note:Greyedout
          Size                Small
        EndFont
        MultiPar              true
-       HTMLTag               span
        HTMLStyle
-               span.note_greyedout { 
+               div.note_greyedout { 
                        background-color: #A0A0A0; 
                        padding-left: 1ex;
                        padding-right: 1ex;
@@ -295,7 +291,7 @@ InsetLayout Wrap
        EndFont
        MultiPar              true
        HTMLStyle
-               span.wrap { 
+               div.wrap { 
                        float: right;
                        width: 40%;
                        border: 2px solid black;
@@ -327,6 +323,7 @@ InsetLayout URL
          Color               urllabel
          Size                Small
        EndFont
+       HTMLIsBlock           false
 End
 
 InsetLayout OptArg
@@ -340,14 +337,15 @@ End
 
 InsetLayout Info
        Decoration            conglomerate
-       HTMLTag           span
-       HTMLAttr          class='info'
        HTMLStyle
                span.info { font-family: sans-serif; }
        EndHTMLStyle
+       HTMLTag            span
+       MultiPar           false
 End
 
 InsetLayout Info:menu
+       CopyStyle             Info
        LatexType             command
        LatexName             menuitem
        Preamble
@@ -357,7 +355,6 @@ InsetLayout Info:menu
        Font
          Family              sans
        EndFont
-       HTMLTag           span
        HTMLAttr          "class='info menu'"
        HTMLStyle
                span.menu { font-family: sans-serif; }
@@ -365,6 +362,7 @@ InsetLayout Info:menu
 End
 
 InsetLayout Info:shortcut
+       CopyStyle             Info
        LatexType             command
        LatexName             shortcut
        Preamble
@@ -374,7 +372,6 @@ InsetLayout Info:shortcut
        Font
          Family              sans
        EndFont
-       HTMLTag           span
        HTMLAttr          "class='info shortcut'"
        HTMLStyle
                span.shortcut { font-family: sans-serif; }
@@ -382,6 +379,7 @@ InsetLayout Info:shortcut
 End
 
 InsetLayout Info:shortcuts
+       CopyStyle             Info
        LatexType             command
        LatexName             shortcut
        Preamble
@@ -391,15 +389,14 @@ InsetLayout Info:shortcuts
        Font
          Family              sans
        EndFont
-       HTMLTag           span
        HTMLAttr          "class='info shortcut'"
        HTMLStyle
-               span.shortcut { font-family: sans-serif; }
+               span.shortcuts { font-family: sans-serif; }
        EndHTMLStyle
 End
 
 InsetLayout Box
        HTMLStyle
-               span.Frameless { font-family: sans-serif; }
+               div.Frameless { font-family: sans-serif; }
        EndHTMLStyle
 End