Hello community,
here is the log from the commit of package suse-xsl-stylesheets for
openSUSE:Factory checked in at 2014-05-27 11:51:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old)
and /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-xsl-stylesheets"
Changes:
--------
---
/work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes
2014-04-16 07:44:25.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new/suse-xsl-stylesheets.changes
2014-05-27 11:51:10.000000000 +0200
@@ -1,0 +2,16 @@
+Wed May 21 13:56:42 UTC 2014 - [email protected]
+
+Version 2.0~beta4:
+
+- 2013 Stylesheets:
+ + PDF output: support building from <sect1/> or <section/> root
+ ID
+ + HTML output: simplified CSS
+ + HTML output: support for <inlinemediaobject/>
+ + HTML output: make remarks more visible
+ + HTML output: some tweaks for layout of tables
+ + HTML output: fix Chromium web font issue
+ + HTML output: correct classes used for output of <prompt/>
+ + HTML output: add SUSE Manager 2.1 to products known to JS
+
+-------------------------------------------------------------------
Old:
----
suse-xsl-stylesheets-2.0~beta3.tar.bz2
New:
----
suse-xsl-stylesheets-2.0~beta4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ suse-xsl-stylesheets.spec ++++++
--- /var/tmp/diff_new_pack.d6zNlO/_old 2014-05-27 11:51:12.000000000 +0200
+++ /var/tmp/diff_new_pack.d6zNlO/_new 2014-05-27 11:51:12.000000000 +0200
@@ -17,7 +17,7 @@
Name: suse-xsl-stylesheets
-Version: 2.0~beta3
+Version: 2.0~beta4
Release: 0
###############################################################
++++++ suse-xsl-stylesheets-2.0~beta3.tar.bz2 ->
suse-xsl-stylesheets-2.0~beta4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-stylesheets/xslt2013/fo/docbook.xsl
new/suse-xsl-stylesheets/xslt2013/fo/docbook.xsl
--- old/suse-xsl-stylesheets/xslt2013/fo/docbook.xsl 2014-03-10
11:47:56.000000000 +0100
+++ new/suse-xsl-stylesheets/xslt2013/fo/docbook.xsl 2014-05-21
13:20:57.000000000 +0200
@@ -66,4 +66,90 @@
<xsl:include href="fop1.xsl"/>
<xsl:include href="xep.xsl"/>
+ <!--
+ This fragment is used to build a sect1 by using rootid parameter
+ -->
+ <xsl:template match="sect1|section" mode="process.root">
+ <xsl:variable name="document.element" select="self::*"/>
+
+ <xsl:call-template name="root.messages"/>
+
+ <xsl:variable name="title">
+ <xsl:choose>
+ <xsl:when test="$document.element/title[1]">
+ <xsl:value-of select="$document.element/title[1]"/>
+ </xsl:when>
+ <xsl:otherwise>[could not find document title]</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <!-- Include all id values in XEP output -->
+ <xsl:if test="$xep.extensions != 0">
+ <xsl:processing-instruction
+ name="xep-pdf-drop-unused-destinations">false</xsl:processing-instruction>
+ </xsl:if>
+
+ <fo:root xsl:use-attribute-sets="root.properties">
+ <xsl:attribute name="language">
+ <xsl:call-template name="l10n.language">
+ <xsl:with-param name="target" select="/*[1]"/>
+ </xsl:call-template>
+ </xsl:attribute>
+
+ <xsl:if test="$xep.extensions != 0">
+ <xsl:call-template name="xep-pis"/>
+ <xsl:call-template name="xep-document-information"/>
+ </xsl:if>
+ <xsl:if test="$axf.extensions != 0">
+ <xsl:call-template name="axf-document-information"/>
+ </xsl:if>
+
+ <xsl:call-template name="setup.pagemasters"/>
+
+ <xsl:if test="$fop.extensions != 0">
+ <xsl:apply-templates select="$document.element" mode="fop.outline"/>
+ </xsl:if>
+
+ <xsl:if test="$fop1.extensions != 0">
+ <xsl:call-template name="fop1-document-information"/>
+ <xsl:variable name="bookmarks">
+ <xsl:apply-templates select="$document.element"
+ mode="fop1.outline"/>
+ </xsl:variable>
+ <xsl:if test="string($bookmarks) != ''">
+ <fo:bookmark-tree>
+ <xsl:copy-of select="$bookmarks"/>
+ </fo:bookmark-tree>
+ </xsl:if>
+ <xsl:apply-templates select="$document.element"
+ mode="fop1.foxdest"/>
+ </xsl:if>
+
+ <xsl:if test="$xep.extensions != 0">
+ <xsl:variable name="bookmarks">
+ <xsl:apply-templates select="$document.element" mode="xep.outline"/>
+ </xsl:variable>
+ <xsl:if test="string($bookmarks) != ''">
+ <rx:outline xmlns:rx="http://www.renderx.com/XSL/Extensions">
+ <xsl:copy-of select="$bookmarks"/>
+ </rx:outline>
+ </xsl:if>
+ </xsl:if>
+
+ <xsl:if test="$arbortext.extensions != 0 and $ati.xsl11.bookmarks != 0">
+ <xsl:variable name="bookmarks">
+ <xsl:apply-templates select="$document.element"
+ mode="ati.xsl11.bookmarks"/>
+ </xsl:variable>
+ <xsl:if test="string($bookmarks) != ''">
+ <fo:bookmark-tree>
+ <xsl:copy-of select="$bookmarks"/>
+ </fo:bookmark-tree>
+ </xsl:if>
+ </xsl:if>
+
+ <xsl:call-template name="section.page.sequence"/>
+ </fo:root>
+ </xsl:template>
+
</xsl:stylesheet>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/suse-xsl-stylesheets/xslt2013/static/css/fonts-onlylocal.css
new/suse-xsl-stylesheets/xslt2013/static/css/fonts-onlylocal.css
--- old/suse-xsl-stylesheets/xslt2013/static/css/fonts-onlylocal.css
1970-01-01 01:00:00.000000000 +0100
+++ new/suse-xsl-stylesheets/xslt2013/static/css/fonts-onlylocal.css
2014-05-16 15:33:57.000000000 +0200
@@ -0,0 +1,66 @@
+/* For local(): open font in Fontforge, go to Element > Font Info...,
+ use "Name for Humans" as first local(), "Fontname" as second local(). */
+
+@font-face {
+ font-family: 'Open Sans';
+ font-weight: normal;
+ font-style: normal;
+ src: local('Open Sans Regular'), local('Open Sans'), local('OpenSans');
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ font-weight: normal;
+ font-style: italic;
+ src: local('Open Sans Italic'), local('OpenSans-Italic');
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ font-weight: 600;
+ font-style: normal;
+ src: local('Open Sans Semibold'), local('OpenSans-Semibold');
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ font-weight: 600;
+ font-style: italic;
+ src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic');
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ font-weight: 700;
+ font-style: normal;
+ src: local('Open Sans Semibold'), local('OpenSans-Semibold');
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ font-weight: 700;
+ font-style: italic;
+ src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic');
+}
+
+@font-face {
+ font-family: 'DejaVu Sans Mono';
+ font-weight: normal;
+ font-style: normal;
+ src: url('dejavusansmono.eot');
+ src: local('DejaVu Sans Mono Book'), local('DejaVu Sans Mono'),
local('DejaVuSansMono');
+}
+
+@font-face {
+ font-family: 'DejaVu Sans Mono';
+ font-weight: 600;
+ font-style: normal;
+ src: local('DejaVu Sans Mono Bold'), local('DejaVuSansMono-Bold');
+}
+
+@font-face {
+ font-family: 'DejaVu Sans Mono';
+ font-weight: 700;
+ font-style: normal;
+ src: local('DejaVu Sans Mono Bold'), local('DejaVuSansMono-Bold');
+}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-stylesheets/xslt2013/static/css/style.css
new/suse-xsl-stylesheets/xslt2013/static/css/style.css
--- old/suse-xsl-stylesheets/xslt2013/static/css/style.css 2014-04-14
11:53:11.000000000 +0200
+++ new/suse-xsl-stylesheets/xslt2013/static/css/style.css 2014-05-21
13:59:52.000000000 +0200
@@ -36,7 +36,9 @@
height: 0;
}
-::selection { /* Green Selections */
+ /* Selection colour, the unprefixed Webkit version & the -moz-prefixed
+ version must be on separate lines for it to work. */
+::selection {
background-color: #439239;
color: #FFF;
}
@@ -90,7 +92,7 @@
padding: 0;
}
-#_toolbar *, #_header *, .bubble * {
+#_toolbar a, #_header a, .bubble a, #_toolbar input, #_toolbar button {
outline: 0;
}
@@ -126,7 +128,7 @@
height: 38px;
}
-#_logo img {
+#_logo > img {
width: 81px;
height: 38px;
color: #439239;
@@ -152,7 +154,7 @@
max-width: -webkit-calc(100% - 120px);
}
-#_header .crumbs a.crumb, #_header .crumbs > span {
+#_header .crumb, #_header .crumbs > span {
display: inline;
overflow: hidden;
}
@@ -161,7 +163,7 @@
padding: 0 10px;
}
-#_header .crumbs a, #_header .crumbs span {
+#_header .crumbs > a, #_header .crumbs > span {
margin: 0 0 0 5px;
}
@@ -169,30 +171,26 @@
margin: 0;
}
-#_fixed-header .crumbs a {
+#_fixed-header .crumbs > a {
padding: 0 3px;
}
-#_fixed-header .crumbs a:first-child {
- padding: 0 3px 0 0;
-}
-
-.crumbs span {
+.crumbs > span {
color: #666;
}
-.crumbs a {
+.crumbs > a {
color: #333;
text-decoration: none;
}
-.crumbs a:hover, .crumbs a:focus, .crumbs a:active {
+.crumbs > a:hover, .crumbs > a:focus, .crumbs > a:active {
color: #439239;
text-decoration: none;
}
-#_header .crumbs .single-crumb {
+#_header .single-crumb {
line-height: 36px;
padding: 0 10px 0 0;
margin: 0 0 0 10px;
@@ -207,13 +205,13 @@
height: 49px;
}
-#_header .crumbs .single-crumb:hover, #_header .crumbs .single-crumb:focus,
-#_header .crumbs .single-crumb:active {
+#_header .single-crumb:hover, #_header .single-crumb:focus,
+#_header .single-crumb:active {
background-color: #999;
color: #FFF;
}
-#_header .crumbs .single-contents-icon {
+#_header .single-contents-icon {
width: 36px;
height: 36px;
background-position: -36px 0px;
@@ -244,13 +242,13 @@
}
.toc-icon, .find-icon, #_header .book-icon, #_header .overview-icon,
-#_toolbar .prev-icon, #_toolbar .next-icon, #_find-button,
-#_bottom-navigation .prev-icon, #_bottom-navigation .next-icon {
+.nav-inner .prev-icon, .nav-inner .next-icon,
+#_find-button, .nav-link .prev-icon, .nav-link .next-icon {
padding: 36px 0 0;
}
-#_fixed-header .book-icon,#_fixed-header .overview-icon,
-#_fixed-header .prev-icon, #_fixed-header .next-icon {
+#_fixed-header .book-icon, #_fixed-header .overview-icon,
+.button .prev-icon, .button .next-icon {
padding: 15px 0 0;
}
/* End ugliness. */
@@ -271,8 +269,8 @@
background-position: 0px 0px;
}
-#_header a:hover .book-icon, #_header a:focus .book-icon,
-#_header a:active .book-icon {
+#_header a:hover > .book-icon, #_header a:focus > .book-icon,
+#_header a:active > .book-icon {
background-position: 0px -36px;
}
@@ -280,8 +278,8 @@
background-position: -108px 0px;
}
-#_header a:hover .book-icon.lower-level, #_header a:focus
.book-icon.lower-level,
-#_header a:active .book-icon.lower-level {
+#_header a:hover > .book-icon.lower-level, #_header a:focus >
.book-icon.lower-level,
+#_header a:active > .book-icon.lower-level {
background-position: -108px -36px;
}
@@ -294,7 +292,8 @@
background-position: -72px -36px;
}
-#_fixed-header .crumbs span, #_fixed-header .crumbs a {
+#_fixed-header > .crumbs > span, #_fixed-header > .crumbs > a,
+#_fixed-header .single-contents-icon {
display: block;
float: left;
}
@@ -310,7 +309,8 @@
background-position: 0px -72px;
}
-#_fixed-header a:hover .book-icon, #_fixed-header a:focus .book-icon,
+#_fixed-header a:hover .book-icon,
+#_fixed-header a:focus .book-icon,
#_fixed-header a:active .book-icon {
background-position: -18px -72px;
}
@@ -319,7 +319,8 @@
background-position: -36px -72px;
}
-#_fixed-header a:hover .overview-icon, #_fixed-header a:focus .overview-icon,
+#_fixed-header a:hover .overview-icon,
+#_fixed-header a:focus .overview-icon,
#_fixed-header a:active .overview-icon {
background-position: -54px -72px;
}
@@ -329,7 +330,8 @@
height: 15px;
}
-.inactive #_fixed-header a:hover .single-contents-icon, .inactive
#_fixed-header a:focus .single-contents-icon,
+.inactive #_fixed-header a:hover .single-contents-icon,
+.inactive #_fixed-header a:focus .single-contents-icon,
.inactive #_fixed-header a:active .single-contents-icon {
background-position: -253px -72px;
}
@@ -338,13 +340,14 @@
background-position: -271px -72px;
}
-.active #_fixed-header a:hover .single-contents-icon, .active #_fixed-header
a:focus .single-contents-icon,
-.active #_fixed-header a:active .single-contents-icon{
+.active #_fixed-header a:hover .single-contents-icon,
+.active #_fixed-header a:focus .single-contents-icon,
+.active #_fixed-header a:active .single-contents-icon {
background-position: -289px -72px;
}
-/* Language and Format Pickers*/
+/* Language and Format Pickers */
#_pickers {
float: right;
@@ -404,7 +407,8 @@
}
-#_pickers .bubble a:hover, #_pickers .bubble a:focus, #_pickers .bubble
a:active {
+#_pickers .bubble a:hover, #_pickers .bubble a:focus,
+#_pickers .bubble a:active {
text-decoration: underline;
background-color: #666;
}
@@ -462,12 +466,11 @@
height: 56px;
}
-.tool, #_nav-area a.tool-spacer, .bubble {
- transition: all 0.2s ease-in-out 0.1s;
+.tool, .nav-inner > a.tool-spacer, .bubble {
/* Clean this up later when browser support is there*/
- -moz-transition: all 0.2s ease-in-out 0.1s;
-webkit-transition: all 0.2s ease-in-out 0.1s;
- -o-transition: all 0.2s ease-in-out 0.1s;
+ -moz-transition: all 0.2s ease-in-out 0.1s;
+ transition: all 0.2s ease-in-out 0.1s;
}
@@ -516,11 +519,13 @@
font-weight: normal;
}
-#_toc-area .tool-label, #_find-area .tool-label {
+#_toc-area-button > .tool-label,
+/* Tool label for Find bar */
+.pad-tools-50-in > .tool-label {
padding: 0 0 0 10px;
}
-#_nav-area .tool-label {
+.nav-inner > .tool-label {
padding: 0 10px 0 0;
}
@@ -534,7 +539,8 @@
float: left;
}
-#_fixed-header .tool-spacer {
+/* Fixed Header */
+.button > .tool-spacer {
padding: 0;
margin: 0;
display: block;
@@ -542,15 +548,15 @@
.inactive #_toc-area-button:hover, .inactive #_toc-area-button:focus,
.inactive #_toc-area-button:active,
.inactive #_find-area-button:hover, .inactive #_find-area-button:focus,
.inactive #_find-area-button:active,
-#_nav-area a.tool-spacer:hover, #_nav-area a.tool-spacer:focus, #_nav-area
a.tool-spacer:active {
+.nav-inner > a.tool-spacer:hover, .nav-inner > a.tool-spacer:focus, .nav-inner
> a.tool-spacer:active {
background-color: rgba(255,255,255,0.1);
}
-.active .tool {
+.active > .tool {
background-color: rgba(255,255,255,0.3);
}
-.toc-icon, .find-icon, .tools-icon, #_toolbar .prev-icon, #_toolbar .next-icon
{
+.toc-icon, .find-icon, .tools-icon, .nav-inner .prev-icon, .nav-inner
.next-icon {
float: left;
display: block;
}
@@ -559,8 +565,8 @@
background-position: -144px 0px;
}
-
-.active .toc-icon, a:hover .toc-icon, a:focus .toc-icon, a:active .toc-icon {
+.active .toc-icon, a:hover > .toc-icon, a:focus > .toc-icon,
+a:active > .toc-icon {
background-position: -144px -36px;
}
@@ -568,32 +574,34 @@
background-position: -180px 0px;
}
-
-.active .find-icon, a:hover .find-icon, a:focus .find-icon, a:active
.find-icon {
+.active .find-icon, a:hover > .find-icon, a:focus > .find-icon,
+a:active > .find-icon {
background-position: -180px -36px;
}
-#_toolbar a.tool-spacer .prev-icon {
+.nav-inner > a > .prev-icon {
background-position: -252px 0px;
}
-#_toolbar span.tool-spacer .prev-icon {
+.nav-inner > span >.prev-icon {
background-position: -324px 0px;
}
-#_toolbar a:hover .prev-icon, #_toolbar a:focus .prev-icon, #_toolbar a:active
.prev-icon {
+.nav-inner > a:hover > .prev-icon, .nav-inner > a:focus > .prev-icon,
+.nav-inner > a:active > .prev-icon {
background-position: -252px -36px;
}
-#_toolbar a.tool-spacer .next-icon {
+.nav-inner > a > .next-icon {
background-position: -288px 0px;
}
-#_toolbar span.tool-spacer .next-icon {
+.nav-inner > span > .next-icon {
background-position: -324px -36px;
}
-#_toolbar a:hover .next-icon, #_toolbar a:focus .next-icon, #_toolbar a:active
.next-icon {
+.nav-inner > a:hover > .next-icon, .nav-inner > a:focus > .next-icon,
+.nav-inner > a:active > .next-icon {
background-position: -288px -36px;
}
@@ -626,7 +634,8 @@
position: absolute;
}
-#_toolbar .bubble, #_header .bubble, #_toc-bubble-wrap .bubble {
+#_toc-area > .bubble, #_find-area > .bubble, .pickers .bubble,
+#_toc-bubble-wrap > .bubble {
box-shadow: 1px 1px 3px 0px #333;
}
@@ -635,20 +644,18 @@
margin: 4px 0 -3px;
}
-#_toolbar .bubble-corner {
+#_toc-area > .bubble-corner, #_find-area > .bubble-corner {
top: -3px;
}
-#_toolbar .bubble {
+
+#_toc-area > .bubble, #_find-area > .bubble {
left: 0;
width: 100%;
padding: 0;
-}
-
-#_toolbar .bubble {
top: 66px;
}
-#_toc-bubble-wrap .bubble {
+#_toc-bubble-wrap > .bubble {
min-width: 150px;
max-width: 1004px;
padding: 10px;
@@ -700,7 +707,8 @@
border-right: none;
}
-#_toolbar .bubble a, #_fixed-header-wrap .bubble a, #_toc-bubble-wrap .bubble
a {
+#_toc-area > .bubble a, #_find-area > bubble a, #_fixed-header-wrap > .bubble
a,
+#_toc-bubble-wrap > .bubble a {
color: #FFF;
display: block;
text-decoration: none;
@@ -709,7 +717,7 @@
}
.bubble a:hover .keycap, .bubble a:focus .keycap, .bubble a:active .keycap,
-.bubble a:hover .command, .bubble a:focus .command, .bubble a:active .command,
+.bubble a:hover .replaceable, .bubble a:focus .replaceable, .bubble a:active
.replaceable,
.bubble a:hover code, .bubble a:focus code, .bubble a:active code {
border-color: #FFF;
}
@@ -736,12 +744,12 @@
background-color: #666;
}
-#_bubble-toc .leads-to-page .name:hover, #_bubble-toc .leads-to-page
.name:focus,
-#_bubble-toc .leads-to-page .name:active {
+.leads-to-page > .name:hover, .leads-to-page > .name:focus,
+.leads-to-page > .name:active {
text-decoration: underline;
}
-#_bubble-toc .arrow {
+.arrow {
position: absolute;
right: -0px;
top: 0;
@@ -851,10 +859,11 @@
font-style: italic;
display: none;
float: left;
- user-select: none;
/* Clear this out later. */
- -moz-user-select: none;
-webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
}
@@ -880,61 +889,63 @@
margin: 0 auto;
}
-#_fixed-header .buttons {
+.buttons {
display: block;
float: right;
margin: 0 10px 0 5px;
}
-#_fixed-header div.button {
+.button {
margin-left: 10px;
}
-#_fixed-header .buttons .tool-spacer {
+.button > .tool-spacer {
display: block;
float: left;
}
-#_fixed-header .button {
+.button {
float: left;
}
-#_fixed-header .prev-icon, #_fixed-header .next-icon {
+.button .prev-icon, .button .next-icon {
width: 18px;
margin: 1px 0;
display: block;
}
-#_fixed-header .top-button {
+.top-button {
color: #333;
}
-#_fixed-header .top-button:hover, #_fixed-header .top-button:focus,
#_fixed-header .top-button:active {
+.top-button:hover, .top-button:focus, .top-button:active {
text-decoration: none;
color: #439239;
}
-#_fixed-header a.tool-spacer .prev-icon {
+.button > a > .prev-icon {
background-position: -72px -72px;
}
-#_fixed-header span.tool-spacer .prev-icon {
+.button > span > .prev-icon {
background-position: -180px -72px;
}
-#_fixed-header a:hover .prev-icon, #_fixed-header a:focus .prev-icon,
#_fixed-header a:active .prev-icon {
+.button > a:hover > .prev-icon, .button > a:focus > .prev-icon,
+.button > a:active > .prev-icon {
background-position: -90px -72px;
}
-#_fixed-header a.tool-spacer .next-icon {
+.button > a > .next-icon {
background-position: -144px -72px;
}
-#_fixed-header span.tool-spacer .next-icon {
+.button > span > .next-icon {
background-position: -198px -72px;
}
-#_fixed-header a:hover .next-icon, #_fixed-header a:focus .next-icon,
#_fixed-header a:active .next-icon {
+.button > a:hover > .next-icon, .button > a:focus > .next-icon,
+.button > a:active > .next-icon {
background-position: -162px -72px;
}
@@ -950,7 +961,7 @@
border-top: 1px solid #999;
}
-#_bottom-navigation .nav-link {
+.nav-link {
display: block;
clear: both;
margin: 20px 0 0 0;
@@ -958,7 +969,7 @@
overflow: hidden;
}
-#_bottom-navigation .prev-icon, #_bottom-navigation .next-icon {
+.nav-link > .prev-icon, .nav-link > .next-icon {
width: 36px;
height: 36px;
display: block;
@@ -966,38 +977,40 @@
margin: 0 10px 0 0;
}
-#_bottom-navigation .prev-icon {
+.nav-link > .prev-icon {
background-position: -360px 0;
}
-#_bottom-navigation .nav-link:hover .prev-icon {
+.nav-link:hover > .prev-icon {
background-position: -360px -36px;
}
-#_bottom-navigation .next-icon {
+.nav-link > .next-icon {
background-position: -396px 0;
}
-#_bottom-navigation .nav-link:hover .next-icon {
+.nav-link:hover > .next-icon {
background-position: -396px -36px;
}
-#_bottom-navigation .nav-label {
+.nav-label {
line-height: 36px;
display: block;
color: #333;
text-overflow: ellipsis;
height: 36px;
+ text-decoration: none;
}
-#_bottom-navigation .nav-label {
- color: #333;
- text-decoration: none;
+.nav-link:hover > .nav-label,
+.nav-link:focus > .nav-label,
+.nav-link:active > .nav-label {
+ color: #439239;
}
-#_share-print .bottom-button {
+.bottom-button {
cursor: pointer;
display: inline-block;
border-radius: 3px;
@@ -1009,7 +1022,7 @@
height: 22px;
}
-.print span {
+#_print-button {
font-weight: 600;
}
@@ -1055,25 +1068,19 @@
background-position: -253px -88px;
}
-#_share-print .bottom-button:hover, #_share-print .bottom-button:focus,
-#_share-print .bottom-button:active {
+.bottom-button:hover, .bottom-button:focus,
+.bottom-button:active {
border: 1px solid rgba(20,20,20,0.5);
background: #DEDEDE;
}
-#_share-print .bottom-button:hover:before, #_share-print
.bottom-button:focus:before,
-#_share-print .bottom-button:active:before {
+.bottom-button:hover:before, .bottom-button:focus:before,
+.bottom-button:active:before {
border-top: 1px solid rgba(20,20,20,0.5);
border-left: 1px solid rgba(20,20,20,0.5);
border-bottom: 1px solid rgba(20,20,20,0.5);
}
-#_bottom-navigation .nav-link:hover .nav-label,
-#_bottom-navigation .nav-link:focus .nav-label,
-#_bottom-navigation .nav-link:active .nav-label {
- color: #439239;
-}
-
#_share-print {
margin: 20px 0 0 0;
padding: 20px 0 0 0;
@@ -1122,7 +1129,7 @@
margin: 0 auto -80px;
}
-.nofooter #_outer-wrap {
+.nofooter > #_outer-wrap {
margin: 0 auto;
}
@@ -1137,11 +1144,11 @@
padding: 0 20px;
}
-#_footer ul {
+#_footer > ul {
padding: 0;
}
-#_footer li, #_footer p {
+#_footer li, #_footer > p {
display: block;
float: left;
line-height: 80px;
@@ -1159,7 +1166,7 @@
color: #76AD2D;
}
-#_footer p {
+#_footer > p {
color: #333;
}
@@ -1180,13 +1187,12 @@
height: 0;
}
-.documentation [id]:target > span, .documentation .admonition[id]:target > h6 {
+[id]:target > span, .admonition[id]:target > h6 {
background-color: rgba(255,255,0,0.3);
- transition: background-color 0.2s ease-out 0.3s;
/* Clean the below up in Q3 2013 or so... */
- -moz-transition: background-color 0.2s ease-out 0.3s;
-webkit-transition: background-color 0.2s ease-out 0.3s;
- -o-transition: background-color 0.2s ease-out 0.3s;
+ -moz-transition: background-color 0.2s ease-out 0.3s;
+ transition: background-color 0.2s ease-out 0.3s;
}
@@ -1213,7 +1219,7 @@
display: none;
}
-.documentation .screen a[id] {
+.screen a[id] {
display: none;
}
@@ -1259,8 +1265,7 @@
padding: 70px 0 50px;
}
-.book .title .citetitle, .set .title .citetitle,
-.article .title .citetitle {
+.title .citetitle {
font-style: normal;
}
@@ -1379,7 +1384,7 @@
text-decoration: underline;
}
-.bubble a:hover .name, .bubble a:focus .name, .bubble a:active .name {
+.bubble a:hover > .name, .bubble a:focus > .name, .bubble a:active > .name {
text-decoration: none;
}
@@ -1391,8 +1396,8 @@
font-style: normal;
}
-.page-bottom a:hover .number, .page-bottom a:focus .number,
-.page-bottom a:active .number {
+.nav-link:hover .number, .nav-link:focus .number,
+.nav-link:active .number {
color: #68C05E;
}
@@ -1408,11 +1413,10 @@
opacity: 0.3;
font-weight: normal;
text-decoration: none;
- transition: opacity 0.2s ease-in-out 0.1s;
/* Clean the below up in Q3 2013 or so... */
- -moz-transition: opacity 0.2s ease-in-out 0.1s;
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
- -o-transition: opacity 0.2s ease-in-out 0.1s;
+ -moz-transition: opacity 0.2s ease-in-out 0.1s;
+ transition: opacity 0.2s ease-in-out 0.1s;
}
.permalink {
@@ -1451,7 +1455,7 @@
background-color: #DDD;
}
-.line .toc {
+.line > .toc {
padding: 0 30px 24px;
}
@@ -1554,7 +1558,8 @@
/* Text styles */
-.documentation span, .documentation a, .documentation p, .documentation em,
.documentation strong {
+.documentation span, .documentation a, .documentation p, .documentation em,
+.documentation strong {
position: relative;
z-index: 2;
}
@@ -1567,7 +1572,8 @@
font-style: normal; /* Don't use italics within italics... */
}
-strong, b, .imprint-label, .version-info .productname, .version-info
.productnumber, .toc-title, .formalpara-title {
+strong, b, .imprint-label, .version-info .productname,
+.version-info .productnumber, .toc-title, .formalpara-title {
font-weight: 600;
}
@@ -1603,12 +1609,16 @@
}
p, td {
+ -webkit-hyphens: auto;
-moz-hyphens: auto;
+ -ms-hyphens: auto;
hyphens: auto;
}
.ulink, .email, .phrase {
+ -webkit-hyphens: none;
-moz-hyphens: none;
+ -ms-hyphens: none;
hyphens: none;
}
@@ -1640,7 +1650,8 @@
margin-top: 0;
}
-.abstract li:first-child p:first-child, .highlights li:first-child
p:first-child {
+.abstract li:first-child p:first-child,
+.highlights li:first-child p:first-child {
margin-top: 0;
}
@@ -1699,7 +1710,7 @@
color: #5C3566;
}
-.title .xref:hover, .title .xref:focus,.title .xref:active,
+.title .xref:hover, .title .xref:focus, .title .xref:active,
.subtitle .xref:hover, .subtitle .xref:focus, .subtitle .xref:active,
.table-title .xref:hover, .table-title .xref:focus, .table-title .xref:active,
.figure-title .xref:hover, .figure-title .xref:focus, .figure-title
.xref:active,
@@ -1732,19 +1743,18 @@
font-style: normal;
}
-code code, code .command, .command code, code .replaceable,
-.command .replaceable, .replaceable code, .replaceable .command {
+code code, code .replaceable, .replaceable code {
padding: 0;
border: none;
}
-.name code, .name .command, a .command, a code,
-.admonition h6 .command, .admonition h6 code {
+.name code, a code, .admonition h6 code,
+.name .replaceable, a .replaceable, .admonition h6 .replaceable {
color: inherit;
}
-.admonition h6 .command, .admonition h6 code {
+.admonition h6 code, .admonition h6 .replaceable {
border-color: #D1D1D3;
}
@@ -1756,23 +1766,24 @@
font-weight: 600;
}
-.screen code.userprompt,.screen code.rootprompt {
- -moz-user-select: none;
+.prompt {
-webkit-user-select: none;
- -khtml-user-select: none;
+ -moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
-.screen code.userprompt {
+.prompt.user, .prompt.custom {
color: #666;
}
-.screen code.rootprompt {
+.prompt.root {
color: #900;
}
-.screen-wrap { /* Else the scrollbar overlays the rounded corners and the
padding isn't always consistent if there's a scrollbar */
+ /* This elements exists solely to avoid the scrollbar overlaying the rounded
+ corners and the padding becoming inconsistent. */
+.screen-wrap {
padding: 10px;
background-color: #EFEFF0;
border-radius: 5px;
@@ -1794,7 +1805,7 @@
text-align: left;
}
-.screen code, .screen .command, .screen .replaceable {
+.screen code, .screen .replaceable {
border-radius: 0;
background-color: transparent;
font-size: 100%;
@@ -1857,7 +1868,7 @@
margin: 24px 0;
}
-.line .toc {
+.line > .toc {
margin: 0;
}
@@ -1909,7 +1920,7 @@
top: -33px;
}
-div.figure .mediaobject {
+.figure-contents > .mediaobject {
max-width: 100%;
min-height: 60px;
text-align: center;
@@ -1920,17 +1931,18 @@
border: 1px solid #EFEFF0;
}
-.figure img {
+.figure-contents img {
padding: 0;
width: auto;
margin: 0 auto;
- /* Please clean this mess out in ~2014 -- leave only the line with "calc"
in there */
min-width: 50px;
+ /* Clean this up when browser support is solid. */
max-width: 100%;
- max-width: calc(100% - 2px);
- max-width: -moz-calc(100% - 2px);
max-width: -webkit-calc(100% - 2px);
- display: block; /* inline images weirdly have some whitespace below them,
thus blocking */
+ max-width: -moz-calc(100% - 2px);
+ max-width: calc(100% - 2px);
+ /* Inline images have some whitespace below them in Firefox => block */
+ display: block;
}
.figure-title {
@@ -1939,7 +1951,7 @@
width: auto;
}
-div.figure .figure-title-wrap {
+.figure-title-wrap {
background-color: #EFEFF0;
width: 100%;
overflow: hidden;
@@ -1948,7 +1960,8 @@
.informalfigure img {
min-width: 50px;
max-width: 100%;
- display: block; /* inline images weirdly have some whitespace below them,
thus block'ing */
+ /* Inline images have some whitespace below them in Firefox => block */
+ display: block;
color: #999;
margin: 17px 0 24px;
padding: 1px;
@@ -1956,6 +1969,13 @@
width: auto;
}
+.inlinemediaobject img {
+ display: inline-block;
+ vertical-align: middle;
+ max-height: 24px;
+ padding: 0 5px;
+}
+
.keycap {
color: #333;
font-size: 0.75em;
@@ -1971,8 +1991,8 @@
}
a:hover .keycap, a:focus .keycap, a:active .keycap,
-a:hover .command, a:focus .command, a:active .command,
-a:hover code, a:focus code, a:active code {
+a:hover code, a:focus code, a:active code,
+a:hover .replaceable, a:focus .replaceable, a:active .replaceable {
border-color: #439239;
}
@@ -2035,13 +2055,13 @@
height: 0.01px;
}
-.procedure-title code, .procedure-title .command, .procedure-title .keycap,
-.table-title code, .table-title .command, .table-title .keycap,
-.example-title code, .example-title .command, .example-title .keycap,
-.figure-title code, .figure-title .command, .figure-title .keycap,
-.orderedlist-title code, .orderedlist-title .command, .orderedlist-title
.keycap,
-.variablelist-title code, .variablelist-title .command, .variablelist-title
.keycap,
- .itemizedlist-title code, .itemizedlist-title .command, .itemizedlist-title
.keycap {
+.procedure-title code, .procedure-title .replaceable, .procedure-title .keycap,
+.table-title code, .table-title .replaceable, .table-title .keycap,
+.example-title code, .example-title .replaceable, .example-title .keycap,
+.figure-title code, .figure-title .replaceable, .figure-title .keycap,
+.orderedlist-title code, .orderedlist-title .replaceable, .orderedlist-title
.keycap,
+.variablelist-title code, .variablelist-title .replaceable,
.variablelist-title .keycap,
+ .itemizedlist-title code, .itemizedlist-title .replaceable,
.itemizedlist-title .keycap {
text-transform: none;
}
@@ -2156,8 +2176,26 @@
.table th, .informaltable th,
.table td[colspan], .informaltable td[colspan],
.table td[rowspan], .informaltable td[rowspan] {
- vertical-align: middle;
border: 1px solid #999;
+ background-color: #FFF;
+}
+
+.contains-rowspan {
+ border-top: 1px solid #999;
+}
+
+.table th[valign="top"], .informaltable th[valign="top"],
+.table td[valign="top"], .informaltable td[valign="top"] {
+ vertical-align: top;
+}
+
+.table th[valign="bottom"], .informaltable th[valign="bottom"],
+.table td[valign="bottom"], .informaltable td[valign="bottom"] {
+ vertical-align: bottom;
+}
+
+.table td[rowspan], .informaltable td[rowspan] {
+ background-color: #FFF;
}
.table td, .informaltable td{
@@ -2184,7 +2222,7 @@
margin-top: 10px;
}
-li p {
+li > p {
font-weight: normal;
}
@@ -2213,8 +2251,8 @@
}
.js-on .question:hover code, .js-on .question:focus code,
-.js-on .active .question code, .js-on .question:hover .literal,
-.js-on .question:focus .literal, .js-on .active .question .literal {
+.js-on .active .question code, .js-on .question:hover .replaceable,
+.js-on .question:focus .replaceable, .js-on .active .question .replaceable {
color: #333;
}
@@ -2270,15 +2308,14 @@
/* Review features */
.remark, .doc-status {
- background-color: #E6E0E8;
- color: #000;
font-style: normal;
font-weight: normal;
}
.remark {
padding: 1px 5px;
- border-left: 3px solid #5C3566;
+ background-color: #8D7294;
+ color: #FFF;
}
.remark .remark {
@@ -2289,9 +2326,11 @@
.doc-status {
padding: 10px;
+ background-color: #E6E0E8;
+ color: #000;
}
-.documentation > .doc-status {
+#_content > .doc-status {
margin: 0 auto;
min-width: 380px;
max-width: 978px;
@@ -2301,11 +2340,8 @@
color: #000;
}
-.ds-message {
- font-style: italic;
-}
-
p.ds-message {
+ font-style: italic;
margin: 0 !important;
}
@@ -2349,7 +2385,7 @@
content: none;
}
-body.draft {
+.draft {
background: url(../images/draft.png) no-repeat fixed left 50%;
}
@@ -2412,18 +2448,20 @@
.ulink-url {
display: inline;
+ -webkit-hyphens: none;
-moz-hyphens: none;
+ -ms-hyphens: none;
hyphens: none;
}
.figure-title-wrap {
border: 1px solid #202020 !important;
- width: -moz-calc(100% - 2px) !important;
width: -webkit-calc(100% - 2px) !important;
+ width: -moz-calc(100% - 2px) !important;
width: calc(100% - 2px) !important;
}
- .figure-contents .mediaobject, .figure-title-wrap {
+ .figure-contents > .mediaobject, .figure-title-wrap {
background-color: transparent !important;
}
}
@@ -2525,7 +2563,7 @@
padding: 0 0 5px;
}
- #_share-print .share-buttons {
+ .share-buttons {
display: block;
float: right;
clear: both;
@@ -2560,7 +2598,7 @@
}
- #_bubble-toc, #_toc-bubble-wrap .bubble, #_fixed-header-wrap .bubble {
+ #_bubble-toc, #_toc-bubble-wrap > .bubble, #_fixed-header-wrap > .bubble {
max-height: 300px;
}
@@ -2568,19 +2606,19 @@
border-top: 1px solid #7DC24D;
}
- #_nav-area .tool-spacer {
+ .nav-inner > .tool-spacer {
position: absolute;
}
- #_nav-area .tool-spacer:nth-child(2) {
+ .nav-inner > .tool-spacer:nth-child(2) {
left: 0;
}
- #_nav-area .tool-spacer:nth-child(3) {
+ .nav-inner > .tool-spacer:nth-child(3) {
right: 0;
}
- #_nav-area .tool-label {
+ .nav-inner > .tool-label {
padding: 0 10px;
margin: 0 56px;
float: left;
@@ -2591,20 +2629,20 @@
width: auto;
}
- #_header .crumbs * + * {
+ .crumbs > * + * {
display: none !important;
}
- #_header .crumbs .single-crumb {
+ #_header .single-crumb {
padding-right: 0;
- width: 36px;
+ width: 36px !important;
z-index: 12;
position: relative;
}
- #_header .crumbs.active .single-crumb {
+ #_header .active .single-crumb {
padding-right: 10px;
- width: 100%;
+ width: 100% !important;
position: fixed;
left: -10px;
top: 0;
@@ -2616,7 +2654,7 @@
padding: 0 10px;
}
- #_header .crumbs.active .single-contents-icon {
+ #_header .active .single-contents-icon {
background-position: -72px -87px;
width: 24px;
height: 24px;
@@ -2625,7 +2663,7 @@
margin-right: 20px;
}
- #_header .crumbs {
+ #_header > .crumbs {
right: 10px;
left: auto;
}
@@ -2701,7 +2739,11 @@
cursor: pointer;
}
- .bubble-closer:hover, .bubble-closer:focus, .bubble-closer:active {
+ .bubble-closer:hover, .bubble-closer:focus, .bubble-closer:active,
+ #_header .active .single-contents-icon:hover,
+ #_header .active .single-contents-icon:focus,
+ #_header .active .single-contents-icon:active
+ {
background-position: -96px -87px;
}
@@ -2757,8 +2799,8 @@
top: 0;
padding-left: 10px;
padding-right: 10px;
- width: -moz-calc(100% - 20px);
width: -webkit-calc(100% - 20px);
+ width: -moz-calc(100% - 20px);
width: calc(100% - 20px);
}
@@ -2783,26 +2825,26 @@
float: none;
}
- #_share-print strong {
+ .share > strong {
float: left;
}
- #_share-print .share-buttons {
+ .share-buttons {
float: none;
}
- #_share-print .spacer {
+ .share-buttons > .spacer {
display: none;
}
- #_share-print .bottom-button {
+ .bottom-button {
padding: 10px;
display: block;
float: left;
border-radius: 0;
width: 40%;
- width: -moz-calc(50% - 22px);
width: -webkit-calc(50% - 22px);
+ width: -moz-calc(50% - 22px);
width: calc(50% - 22px);
}
@@ -2824,15 +2866,14 @@
border: none;
}
- .line .toc {
+ .line > .toc {
padding-left: 0;
padding-right: 0;
}
- /* To avoid ugly word-wrap issues (as long as the page is wide enough,
- though, inline-block'ing these elements helps us to avoid wrapping at
- all.) */
- code, .command {
+ /* The page probably is not wide anymore for inline-blocks to help
+ avoid wrapping. */
+ code, .replaceable {
display: inline;
}
@@ -2840,18 +2881,18 @@
height: auto;
}
- #_footer li, #_footer p {
+ #_footer > ul > li, #_footer > p {
line-height: 250%;
float: none;
width: 100%;
margin: 0;
}
- #_footer p {
+ #_footer > p {
text-align: right;
}
- #_footer ul {
+ #_footer > ul {
margin: 0;
}
@@ -2868,7 +2909,7 @@
margin: 0 auto -155px;
}
- .nofooter #_outer-wrap {
+ .nofooter > #_outer-wrap {
margin: 0 auto;
}
@@ -2882,12 +2923,12 @@
padding-left: 10px;
}
- .admonition .symbol {
+ .admonition > .symbol {
float: none;
/* Remove proprietary attributes later on */
- padding-left: calc(50% - 18px);
- padding-left: -moz-calc(50% - 18px);
padding-left: -webkit-calc(50% - 18px);
+ padding-left: -moz-calc(50% - 18px);
+ padding-left: calc(50% - 18px);
padding-bottom: 10px;
}
@@ -2914,8 +2955,8 @@
div.figure {
/* Remove proprietary attributes later on */
- max-width: -moz-calc(100% + 20px);
max-width: -webkit-calc(100% + 20px);
+ max-width: -moz-calc(100% + 20px);
max-width: calc(100% + 20px);
}
.documentation ol.procedure {
@@ -2955,7 +2996,7 @@
@media only screen and (max-height: 490px) and (min-width: 451px) {
- #_bubble-toc, #_toc-bubble-wrap .bubble, #_fixed-header-wrap .bubble {
+ #_bubble-toc, #_toc-bubble-wrap > .bubble, #_fixed-header-wrap > .bubble {
max-height: 300px;
}
}
@@ -2972,37 +3013,37 @@
(With some exceptions for small screen sizes.)
*/
-/* Everything above */
+/* Everything over 1600px in height */
@media only screen {
- .informalfigure img, .figure img {
+ .mediaobject img {
max-height: 70%;
}
}
/* 1600px & 1440px */
@media only screen and (max-height: 1490px) {
- .informalfigure img, .figure img {
+ .mediaobject img {
max-height: 1140px;
}
}
/* 1200px */
@media only screen and (max-height: 1090px) {
- .informalfigure img, .figure img {
+ .mediaobject img {
max-height: 900px;
}
}
/* 1080px & 1024px */
@media only screen and (max-height: 970px) {
- .informalfigure img, .figure img {
+ .mediaobject img {
max-height: 724px;
}
}
/* 900px */
@media only screen and (max-height: 790px) {
- .informalfigure img, .figure img {
+ .mediaobject img {
max-height: 600px;
}
}
@@ -3010,7 +3051,7 @@
/* 800px & 768px */
@media only screen and (max-height: 690px) {
/* Make an exception here, so we don't get stamp-sized screenshots. */
- .informalfigure img, .figure img {
+ .mediaobject img {
max-height: 518px;
}
}
@@ -3018,7 +3059,7 @@
/* 600px and below*/
@media only screen and (max-height: 490px) {
/* Make an exception here, so we don't get stamp-sized screenshots. */
- .informalfigure img, .figure img {
+ .mediaobject img {
max-height: 390px;
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-stylesheets/xslt2013/static/js/script.js
new/suse-xsl-stylesheets/xslt2013/static/js/script.js
--- old/suse-xsl-stylesheets/xslt2013/static/js/script.js 2013-12-02
18:04:03.000000000 +0100
+++ new/suse-xsl-stylesheets/xslt2013/static/js/script.js 2014-05-21
13:59:52.000000000 +0200
@@ -63,6 +63,9 @@
case 'SUSE Manager 1.7':
bugzillaProduct = 'SUSE Manager 1.7 Server';
break;
+ case 'SUSE Manager 2.1':
+ bugzillaProduct = 'SUSE Manager 2.1 Server';
+ break;
case 'SUSE Studio Onsite 1.3':
bugzillaProduct = 'SUSE Studio Onsite';
break;
@@ -166,6 +169,8 @@
$('.bubble h6').append('<span class="bubble-closer"> </span>');
$('.bubble-closer').click(function(){deactivate(); return false;});
$('.question').click(function(){ $(this).parent('dl').toggleClass('active');
});
+ $('.table tr').has('td[rowspan]').addClass('contains-rowspan');
+ $('.informaltable tr').has('td[rowspan]').addClass('contains-rowspan');
if ( !( $('#_nav-area div').length ) ) {
$('#_toolbar').addClass('only-toc');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-stylesheets/xslt2013/xhtml/docbook.xsl
new/suse-xsl-stylesheets/xslt2013/xhtml/docbook.xsl
--- old/suse-xsl-stylesheets/xslt2013/xhtml/docbook.xsl 2014-03-13
14:16:42.000000000 +0100
+++ new/suse-xsl-stylesheets/xslt2013/xhtml/docbook.xsl 2014-05-16
15:33:57.000000000 +0200
@@ -608,13 +608,26 @@
<xsl:template name="user.head.content">
<xsl:param name="node" select="."/>
- <!-- Quirk script mostly for Chrome 30 on Nexus 7/Android 4.3. It shouldn't
- hurt on other Android platforms, either.
- Embedding it like this is ugly but should save some loading time.-->
+ <!-- Quirk script:
+ if{For Chrome 30 on Nexus 7/Android 4.3. Shouldn't hurt on other Android
+ platforms, either. Embedding it like this is ugly but should save some
+ loading time. We only choose between http: and https:, as file: et al.
+ would just lead to an error.}
+ elif{For Chrome 34 on desktop Linux. Chrome does not recognize semi-bold
+ Open Sans as being semi-bold, embedding it via @font-face fixes that.
+ We only add the relevant CSS file in case build.for.web is active,
+ as build.for.web!=1 already hardcodes the same CSS file.}
+ -->
<script type="text/javascript">
if ( navigator.userAgent.toLowerCase().indexOf('android') != -1 ) {
- document.write('<link rel="stylesheet" type="text/css"
href="//static.opensuse.org/fonts/fonts-nolocal.css"></link>');
+ protocol = (window.location.protocol == 'https:') ? 'https' : 'http';
+ document.write('<link rel="stylesheet" type="text/css" href="' +
protocol + '://static.opensuse.org/fonts/fonts-nolocal.css"></link>');
}
+ <xsl:if test="$build.for.web = 1">
+ else if ( window.location.protocol == 'file:' ) {
+ document.write('<link rel="stylesheet" type="text/css"
href="static/css/fonts-onlylocal.css"></link>');
+ }
+ </xsl:if>
</script>
<xsl:if test="$daps.header.js.library != ''">
<xsl:call-template name="make.script.link">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-stylesheets/xslt2013/xhtml/inline.xsl
new/suse-xsl-stylesheets/xslt2013/xhtml/inline.xsl
--- old/suse-xsl-stylesheets/xslt2013/xhtml/inline.xsl 2013-11-11
19:01:50.000000000 +0100
+++ new/suse-xsl-stylesheets/xslt2013/xhtml/inline.xsl 2014-05-15
13:38:28.000000000 +0200
@@ -39,8 +39,8 @@
<xsl:template match="prompt" mode="common.html.attributes">
<xsl:variable name="class">
<xsl:choose>
- <xsl:when test="@role"><xsl:value-of select="@role"/></xsl:when>
- <xsl:otherwise>userprompt</xsl:otherwise>
+ <xsl:when test="@role">prompt <xsl:value-of select="@role"/></xsl:when>
+ <xsl:otherwise>prompt user</xsl:otherwise>
</xsl:choose>
</xsl:variable>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/suse-xsl-stylesheets/xslt2013/xhtml/param.xsl
new/suse-xsl-stylesheets/xslt2013/xhtml/param.xsl
--- old/suse-xsl-stylesheets/xslt2013/xhtml/param.xsl 2013-11-11
17:17:36.000000000 +0100
+++ new/suse-xsl-stylesheets/xslt2013/xhtml/param.xsl 2014-05-16
15:33:57.000000000 +0200
@@ -110,7 +110,10 @@
<!-- Intentionally left empty – we already have a stylesheet, with this, we
only override DocBook's default. -->
<xsl:param name="html.stylesheet">
-<xsl:if test="$build.for.web =
1">//static.opensuse.org/fonts/fonts.css</xsl:if>
+<xsl:choose>
+ <xsl:when test="$build.for.web =
1">//static.opensuse.org/fonts/fonts.css</xsl:when>
+ <xsl:otherwise>static/css/fonts-onlylocal.css</xsl:otherwise>
+</xsl:choose>
static/css/style.css
</xsl:param>
<xsl:param name="make.clean.html" select="1"/>
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]