Changed Content Center colours to the new bluish style

git-svn-id: https://svn.libreccm.org/ccm/trunk@2635 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-05-19 13:10:20 +00:00
parent ee43570f8e
commit 0c492b9aaf
8 changed files with 1209 additions and 1119 deletions

View File

@ -73,6 +73,10 @@ h2 {
border: none;
}
table.htmlarea td.toolbarElement {
padding: 0px;
}
.tableCell, span.key, span.value {
display: table-cell;
width: auto;
@ -95,8 +99,8 @@ h2 {
}
#cmsPage .headerHeight {
height: 100px;
top: 100px;
height: 70px;
top: 70px;
}
/*-----CMS Header-----*/
@ -105,17 +109,17 @@ h2 {
top: auto !important;
padding-bottom: 35px;
color: #ffffff;
background-color:#75051d;
background-image: linear-gradient(top, #75051d 25%, #2f020c 75%);
background-image: -o-linear-gradient(top, #75051d 25%, #2f020c 75%);
background-image: -ie-linear-gradient(top, #75051d 25%, #2f020c 75%);
background-image: -moz-linear-gradient(top, #75051d 25%, #2f020c 75%);
background-image: -webkit-linear-gradient(top, #75051d 25%, #2f020c 75%);
background-color:#56a1bd;
background-image: linear-gradient(top, #56a1bd 5%, #024C68 95%);
background-image: -o-linear-gradient(top, #56a1bd 5%, #024C68 95%);
background-image: -ie-linear-gradient(top, #56a1bd 5%, #024C68 95%);
background-image: -moz-linear-gradient(top, #56a1bd 5%, #024C68 95%);
background-image: -webkit-linear-gradient(top, #56a1bd 5%, #024C68 95%);
/*Compatibility IE- es fuktioniert noch nicht ganz*/
filter: progid:DXImageTransform.Microsoft.gradient(enabled='true',gradientType='0',startColorstr='#75051d',
endColorstr='#2f020c'); /* IE6 & IE7 */
-ms-filter: progid:DXImageTransform.Microsoft.gradient(enabled='true',gradientType='0',startColorstr='#75051d',
endColorstr='#2f020c'); /* IE8 */
filter: progid:DXImageTransform.Microsoft.gradient(enabled='true',gradientType='0',startColorstr='#56a1bd',
endColorstr='#024C68'); /* IE6 & IE7 */
-ms-filter: progid:DXImageTransform.Microsoft.gradient(enabled='true',gradientType='0',startColorstr='#56a1bd',
endColorstr='#024C68'); /* IE8 */
font-size: 0.8em;
}
@ -188,7 +192,7 @@ span.bebopTab {
border-top-right-radius: 0.5em;
padding: 0.4em;
white-space: nowrap;
background-color: #2c2b2d;
background-color: #4a4a4a;
transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ie-transition: all 0.5s ease;
@ -438,7 +442,7 @@ div#right{
div#right div.columnHead {
font-weight: bold;
background-color: #75051d;
background-color: #0776a0;
}
div#right div.columnContent{
@ -503,7 +507,7 @@ a, a:visited {
a:hover {
text-decoration: none;
color: #a75b3b;
color: #FF9200;
}
a img {
@ -671,7 +675,7 @@ div.actionLink span {
margin-right: 1.5em;
border-radius: 0.3em;
padding: 0.3em 2em;
background-color: #75051d;
background-color: #0776A0;
box-shadow: inset 5px 5px 10px rgba(255,255,255,0.3),inset -5px -5px 10px rgba(0,0,0,0.3);
}
@ -682,7 +686,7 @@ div.actionLink a {
}
div.actionLink span:hover {
background-color: #cc0033 ;
background-color: #07698e ;
}
div.actionLink span:active {
@ -1075,7 +1079,7 @@ div.cmsSummarySection div.cmsSummaryHeading {
}
div.cmsSummarySection .cmsSummaryHeading {
color: #75051d;
color: #0776A0;
}
div.cmsSummaryBody {
@ -1084,6 +1088,14 @@ div.cmsSummaryBody {
border-bottom: 1px solid rgba(102, 102, 102, 0.5);
}
div.cmsSummaryBody ul.categoryList li{
padding-left: 30px;
}
div.cmsSummarySection ul {
text-indent: -2.5em;
}
span.cmsCurrentRevision {
font-style:italic;
font-weight:bold;
@ -1221,7 +1233,7 @@ div#cmsFooter{
width: 100%;
height: 30px;
color: #a4a4a4;
background-color: #1c1b1d;
background-color: #29272a;
font-size: 0.8em;
}
@ -1365,6 +1377,24 @@ input#draft_search:active {
background-color: #ffffff;
}
#content form fieldset {
border: none;
margin: 0.5em 0em 1em 0.3em;
border-top: 1px dotted #0776A0;
border-bottom: 1px dotted #0776A0;
padding: 0.3em 0em;
color: #0776A0;
font-weight: bold;
}
#content span.optionGroup input[value="externalLink"]:checked ~ fieldset[class="internalLink"]{
display:none;
}
#content span.optionGroup input[value="internalLink"]:checked ~ fieldset[class="externalLink"]{
display:none;
}
#content form select {
padding: 0.25em;
min-width: 11.4em;
@ -1383,7 +1413,7 @@ input#draft_search:active {
border: none;
padding: 0 2em;
color: #ffffff;
background-color: #75051d;
background-color: #0776a0;
background-image: none;
height: 1.8em;
box-shadow: inset 5px 5px 10px rgba(255,255,255,0.3),inset -5px -5px
@ -1399,7 +1429,7 @@ input#file_upload{
box-shadow: inset 5px 5px 10px rgba(255,255,255,0.3),inset -5px -5px 10px rgba(0,0,0,0.3);
}
#content form input[type="submit"]:hover {
background-color: #cc0033 ;
background-color: #07698e ;
background-image: none;
}
@ -1452,3 +1482,6 @@ div.bebopGridPanel{
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
}
ul.bebopTree li a[type="control"] {
padding: 5px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -58,7 +58,7 @@
<!-- DE Titel (wird das noch verwendet?) -->
<!-- EN Title (is this still used?) -->
<xsl:template match="bebop:title">
<h1>
<h1 class="bebopTitle">
<xsl:value-of select="."/>
</h1>
</xsl:template>

View File

@ -31,8 +31,7 @@
<!-- Autor: Sören Bernstein -->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
@ -130,7 +129,8 @@
<xsl:choose>
<xsl:when test="$resultTree/@id='search'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'breadcrumbs'"/>
<xsl:with-param name="module"
select="'breadcrumbs'"/>
<xsl:with-param name="id" select="'search'"/>
</xsl:call-template>
</xsl:when>

View File

@ -31,7 +31,8 @@
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']" mode="lead">
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']"
mode="lead">
<xsl:variable name="setShowKeys">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'Address'"/>
@ -60,7 +61,8 @@
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']" mode="image">
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']"
mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -104,7 +106,9 @@
<!-- DE Vollansicht -->
<!-- EN Detailed view -->
<xsl:template name="CT_Address_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']" mode="detailed_view">
<xsl:template name="CT_Address_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Address']"
mode="detailed_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -128,7 +132,9 @@
<!-- DE Listenansicht -->
<!-- EN List view -->
<xsl:template name="CT_Address_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Address']" mode="list_view">
<xsl:template name="CT_Address_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Address']"
mode="list_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -163,7 +169,9 @@
<xsl:if test="$setImage = 'true' and nav:attribute[@name='imageAttachments.image.id']">
<a>
<xsl:attribute name="href"><xsl:value-of select="nav:path"/></xsl:attribute>
<xsl:attribute name="href">
<xsl:value-of select="nav:path"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">
@ -177,8 +185,12 @@
<img>
<xsl:attribute name="src">/ccm/cms-service/stream/image/?image_id=<xsl:value-of select="nav:attribute[@name='imageAttachments.image.id']"/>&amp;maxWidth=150&amp;maxHeight=100</xsl:attribute>
<xsl:if test="nav:attribute[@name='imageAttachments.caption']">
<xsl:attribute name="alt"><xsl:value-of select="nav:attribute[@name='imageAttachments.caption']"/></xsl:attribute>
<xsl:attribute name="title"><xsl:value-of select="nav:attribute[@name='imageAttachments.caption']"/></xsl:attribute>
<xsl:attribute name="alt">
<xsl:value-of select="nav:attribute[@name='imageAttachments.caption']"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="nav:attribute[@name='imageAttachments.caption']"/>
</xsl:attribute>
</xsl:if>
</img>
</div>
@ -186,7 +198,9 @@
</xsl:if>
<a class="CIname">
<xsl:attribute name="href"><xsl:value-of select="nav:path"/></xsl:attribute>
<xsl:attribute name="href">
<xsl:value-of select="nav:path"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">
@ -233,7 +247,9 @@
</xsl:if>
</xsl:template>
<xsl:template name="CT_Address_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Address']" mode="link_view">
<xsl:template name="CT_Address_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Address']"
mode="link_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -298,7 +314,10 @@
<!-- EN -->
<xsl:if test="./targetItem/imageAttachments and $setImage = 'true'">
<a class="CIname">
<xsl:attribute name="href"><xsl:text>/redirect/?oid=</xsl:text><xsl:value-of select="./targetItem/@oid"/></xsl:attribute>
<xsl:attribute name="href">
<xsl:text>/redirect/?oid=</xsl:text>
<xsl:value-of select="./targetItem/@oid"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">
@ -318,7 +337,10 @@
</xsl:if>
<xsl:if test="$setImageAndText = 'true' or not(./targetItem/imageAttachments) or $setImage = 'false'">
<a class="CIname">
<xsl:attribute name="href"><xsl:text>/redirect/?oid=</xsl:text><xsl:value-of select="./targetItem/@oid"/></xsl:attribute>
<xsl:attribute name="href">
<xsl:text>/redirect/?oid=</xsl:text>
<xsl:value-of select="./targetItem/@oid"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">

View File

@ -42,7 +42,8 @@ Article content type
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Article']" mode="lead">
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Article']"
mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'Article'"/>
@ -60,7 +61,8 @@ Article content type
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Article']" mode="image">
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Article']"
mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -119,7 +121,9 @@ Article content type
<!-- DE Listenansicht -->
<!-- EN List view -->
<xsl:template name="CT_Article_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Article']" mode="list_view">
<xsl:template name="CT_Article_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Article']"
mode="list_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -154,7 +158,9 @@ Article content type
<xsl:if test="$setImage = 'true' and nav:attribute[@name='imageAttachments.image.id']">
<a>
<xsl:attribute name="href"><xsl:value-of select="nav:path"/></xsl:attribute>
<xsl:attribute name="href">
<xsl:value-of select="nav:path"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">
@ -168,8 +174,12 @@ Article content type
<img>
<xsl:attribute name="src">/ccm/cms-service/stream/image/?image_id=<xsl:value-of select="nav:attribute[@name='imageAttachments.image.id']"/>&amp;maxWidth=150&amp;maxHeight=100</xsl:attribute>
<xsl:if test="nav:attribute[@name='imageAttachments.caption']">
<xsl:attribute name="alt"><xsl:value-of select="nav:attribute[@name='imageAttachments.caption']"/></xsl:attribute>
<xsl:attribute name="title"><xsl:value-of select="nav:attribute[@name='imageAttachments.caption']"/></xsl:attribute>
<xsl:attribute name="alt">
<xsl:value-of select="nav:attribute[@name='imageAttachments.caption']"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="nav:attribute[@name='imageAttachments.caption']"/>
</xsl:attribute>
</xsl:if>
</img>
</div>
@ -177,7 +187,9 @@ Article content type
</xsl:if>
<a class="CIname">
<xsl:attribute name="href"><xsl:value-of select="nav:path"/></xsl:attribute>
<xsl:attribute name="href">
<xsl:value-of select="nav:path"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">
@ -225,7 +237,9 @@ Article content type
</xsl:template>
<xsl:template name="CT_Article_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Article']" mode="link_view">
<xsl:template name="CT_Article_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Article']"
mode="link_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -290,7 +304,10 @@ Article content type
<!-- EN -->
<xsl:if test="./targetItem/imageAttachments and $setImage = 'true'">
<a class="CIname">
<xsl:attribute name="href"><xsl:text>/redirect/?oid=</xsl:text><xsl:value-of select="./targetItem/@oid"/></xsl:attribute>
<xsl:attribute name="href">
<xsl:text>/redirect/?oid=</xsl:text>
<xsl:value-of select="./targetItem/@oid"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">
@ -311,7 +328,10 @@ Article content type
</xsl:if>
<xsl:if test="$setImageAndText = 'true' or not(./targetItem/imageAttachments) or $setImage = 'false'">
<a class="CIname">
<xsl:attribute name="href"><xsl:text>/redirect/?oid=</xsl:text><xsl:value-of select="./targetItem/@oid"/></xsl:attribute>
<xsl:attribute name="href">
<xsl:text>/redirect/?oid=</xsl:text>
<xsl:value-of select="./targetItem/@oid"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">

View File

@ -32,7 +32,8 @@
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.MultiPartArticle']" mode="lead">
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.MultiPartArticle']"
mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'MultiPartArticle'"/>
@ -58,7 +59,8 @@
<!-- DE Berechne lokale Variablen -->
<!-- EN Calculate local variables -->
<xsl:variable name="currentRank" select="//cms:articleSectionPanel/cms:item/rank"/>
<xsl:variable name="currentPage" select="count(//cms:item/sections[pageBreak = 'true' and rank &lt; $currentRank]) + 1"/>
<xsl:variable name="currentPage"
select="count(//cms:item/sections[pageBreak = 'true' and rank &lt; $currentRank]) + 1"/>
<xsl:if test="./summary and $setSummary = 'true' and ($currentPage = '1' or ($currentPage > '1' and $setSummaryFirstPageOnly = 'false'))">
<div id="lead">
@ -113,7 +115,9 @@
<!-- DE Vollansicht -->
<!-- EN Detailed view -->
<xsl:template name="CT_MultiPartArticle_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.MultiPartArticle']" mode="detailed_view">
<xsl:template name="CT_MultiPartArticle_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.MultiPartArticle']"
mode="detailed_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -198,7 +202,9 @@
<!-- DE Vollansicht Text-Section -->
<!-- EN Detailed view text section -->
<xsl:template name="CT_MultiPartArticle_Section" match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleSection']" mode="detailed_view">
<xsl:template name="CT_MultiPartArticle_Section"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleSection']"
mode="detailed_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -269,11 +275,16 @@
<!-- DE Berechne lokale Variablen -->
<!-- EN Calculate local variables -->
<xsl:variable name="currentRank" select="./rank"/>
<xsl:variable name="currentPage" select="count(//cms:item/sections[pageBreak = 'true' and rank &lt; $currentRank]) + 1"/>
<xsl:variable name="first" select="//cms:articleSectionPanel/cms:item[position()=1]/rank"/>
<xsl:variable name="last" select="//cms:articleSectionPanel/cms:item[position()=last()]/rank"/>
<xsl:variable name="maxRank" select="count(//cms:item/sections)"/>
<xsl:variable name="maxPage" select="1 + count(//cms:item/sections[pageBreak = 'true' and position() != last()])"/>
<xsl:variable name="currentPage"
select="count(//cms:item/sections[pageBreak = 'true' and rank &lt; $currentRank]) + 1"/>
<xsl:variable name="first"
select="//cms:articleSectionPanel/cms:item[position()=1]/rank"/>
<xsl:variable name="last"
select="//cms:articleSectionPanel/cms:item[position()=last()]/rank"/>
<xsl:variable name="maxRank"
select="count(//cms:item/sections)"/>
<xsl:variable name="maxPage"
select="1 + count(//cms:item/sections[pageBreak = 'true' and position() != last()])"/>
<div class="MPASection">
@ -370,7 +381,9 @@
<!-- DE Listenansicht -->
<!-- EN List view -->
<xsl:template name="CT_MultiPartArticle_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.MultiPartArticle']" mode="list_view">
<xsl:template name="CT_MultiPartArticle_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.MultiPartArticle']"
mode="list_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
@ -482,7 +495,9 @@
</xsl:if>
</xsl:template>
<xsl:template name="CT_MultiPartArticle_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.MultiPartArticle']" mode="link_view">
<xsl:template name="CT_MultiPartArticle_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.MultiPartArticle']"
mode="link_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->

View File

@ -34,7 +34,7 @@
<div id="cmsHeader" class="headerHeight">
<div class="minWidth">
<showImage class="logo">
<src>images/logo.png</src>
<src>images/scientificcms_logo.png</src>
<alt>header/logo/alt</alt>
<name>header/logo/name</name>
<link>/navigation/</link>