]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
Paragraph ndentation doesn't work well after quotations and the like.
[lyx.git] / lib / layouts / stdinsets.inc
index 445d5b3e85c93adb30640c6d7da381ae4625a539..08fefbbb6a59181d2e9ed7991418e94d175c457e 100644 (file)
@@ -53,7 +53,7 @@
 #                         be comma-separated.
 #End
 
-Format 18
+Format 19
 
 Provides stdinsets 1
 
@@ -62,14 +62,7 @@ InsetLayout Marginal
        LatexType             command
        LatexName             marginpar
        Font
-         Color               foreground
          Size                Small
-         Family              Roman
-         Shape               Up
-         Series              Medium
-         Misc                No_Emph
-         Misc                No_Noun
-         Misc                No_Bar
        EndFont
        LabelFont
          Color               marginlabel
@@ -84,6 +77,11 @@ InsetLayout Marginal
                        margin: 1ex; 
                        background-color: #F0F0F0; 
                        float:right;
+                       font-size: small;
+                       font-weight: medium;
+                       font-family: serif;
+                       font-variant: normal;
+                       font-style: normal;
                }
        EndHTMLStyle
 End
@@ -92,14 +90,7 @@ InsetLayout Foot
        LabelString           foot
        Counter               footnote
        Font
-         Color               foreground
          Size                Small
-         Family              Roman
-         Shape               Up
-         Series              Medium
-         Misc                No_Emph
-         Misc                No_Noun
-         Misc                No_Bar
        EndFont
        LabelFont
          Color               footlabel
@@ -115,7 +106,14 @@ InsetLayout Foot
                        font-weight: bold;
                        text-decoration: underline;
                }
-    div.foot { display: inline; }
+               div.foot { 
+                       display: inline; 
+                       font-size: small;
+                       font-weight: medium;
+                       font-family: serif;
+                       font-variant: normal;
+                       font-style: normal;
+               }
                div.foot_inner { display: none; }
                div.foot:hover div.foot_inner { 
                        display: block; 
@@ -167,7 +165,8 @@ InsetLayout Note:Greyedout
        EndFont
        MultiPar              true
        HTMLStyle
-               span.note_greyedout { 
+               div.note_greyedout { 
+                       display: inline;
                        background-color: #A0A0A0; 
                        padding-left: 1ex;
                        padding-right: 1ex;
@@ -241,14 +240,7 @@ InsetLayout Index
        LabelString           Idx
        Decoration            classic
        Font
-         Color               foreground
          Size                Small
-         Family              Roman
-         Shape               Up
-         Series              Medium
-         Misc                No_Emph
-         Misc                No_Noun
-         Misc                No_Bar
        EndFont
        LabelFont
          Color               indexlabel
@@ -257,6 +249,7 @@ InsetLayout Index
        MultiPar              false
        CustomPars            false
        ForcePlain            true
+       ContentAsLabel        true
 End
 
 InsetLayout Box
@@ -265,6 +258,9 @@ InsetLayout Box
          Size                Small
        EndFont
        MultiPar              true
+       HTMLStyle
+               div.Frameless { font-family: sans-serif; }
+       EndHTMLStyle
 End
 
 InsetLayout Box:Shaded
@@ -282,6 +278,12 @@ InsetLayout Float
          Size                Small
        EndFont
        MultiPar              true
+       HTMLStyle
+               div.float {
+                       border: 2px solid black;
+                       text-align: center;
+               }
+       EndHTMLStyle
 End
 
 InsetLayout Wrap
@@ -293,7 +295,6 @@ InsetLayout Wrap
        HTMLStyle
                div.wrap { 
                        float: right;
-                       width: 40%;
                        border: 2px solid black;
                        padding: 1ex;
                        margin: 1ex;
@@ -305,6 +306,7 @@ InsetLayout URL
        LyXType               standard
        Decoration            classic
        LabelString           URL
+       ContentAsLabel        true
        LatexName             url
        LatexType             command
        Requires              url
@@ -340,6 +342,7 @@ InsetLayout Info
        HTMLStyle
                span.info { font-family: sans-serif; }
        EndHTMLStyle
+       HTMLTag            span
        MultiPar           false
 End
 
@@ -354,7 +357,6 @@ InsetLayout Info:menu
        Font
          Family              sans
        EndFont
-       HTMLTag           span
        HTMLAttr          "class='info menu'"
        HTMLStyle
                span.menu { font-family: sans-serif; }
@@ -372,7 +374,6 @@ InsetLayout Info:shortcut
        Font
          Family              sans
        EndFont
-       HTMLTag           span
        HTMLAttr          "class='info shortcut'"
        HTMLStyle
                span.shortcut { font-family: sans-serif; }
@@ -390,15 +391,20 @@ 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
+InsetLayout Caption
        HTMLStyle
-               span.Frameless { font-family: sans-serif; }
+               div.float-caption {
+                       text-align: center;
+                       border: 2px solid black;
+                       padding: 1ex;
+                       margin: 1ex;
+               }
        EndHTMLStyle
 End
+