Current status of Foundry standard theme

git-svn-id: https://svn.libreccm.org/ccm/trunk@2984 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-11-21 17:06:58 +00:00
parent de953d2238
commit aa4e8be107
53 changed files with 27500 additions and 9 deletions

View File

@ -8,6 +8,7 @@
</application> </application>
<application name="navigation"> <application name="navigation">
<css-file>public.css</css-file> <css-file>public.css</css-file>
<css-file media="screen">public.css</css-file>
</application> </application>
<default> <default>
<css-file>public.css</css-file> <css-file>public.css</css-file>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<foundry:configuration xmlns:foundry="http://foundry.libreccm.org"> <foundry:configuration xmlns:foundry="http://foundry.libreccm.org">
<supported-languages default="de"> <supported-languages>
<language locale="de"/> <language locale="de"/>
<language locale="en"/> <language locale="en" default="true"/>
</supported-languages> </supported-languages>
<setting id="theme-mode">child</setting> <setting id="theme-mode">child</setting>
@ -13,6 +13,6 @@
--> -->
<!--<setting id="parent-theme">foundry</setting>--> <!--<setting id="parent-theme">foundry</setting>-->
<setting id="site-logo">foundry/images/scientificcms_logo.png</setting> <setting id="site-logo">images/scientificcms_logo.png</setting>
</foundry:configuration> </foundry:configuration>

View File

@ -4,11 +4,11 @@
<!-- <!--
<application name = "" page-class=""></application> <application name = "" page-class=""></application>
--> -->
<application name="admin" internal="true">admin-layout.xml</application> <application name="admin" origin="internal">admin-layout.xml</application>
<application name="login" internal="true">admin-layout.xml</application> <application name="login" origin="internal">admin-layout.xml</application>
<application name="navigation" class="portalPage">portal-workspace.xml</application> <application name="navigation" class="portalPage">portal-workspace.xml</application>
<application name="navigation" class="portalGridPage">portal-workspace-grid.xml</application> <application name="navigation" class="portalGridPage">portal-workspace-grid.xml</application>
<application name="none" class="cms-admin" internal="true">admin-layout.xml</application> <application name="none" class="cms-admin" origin="internal">admin-layout.xml</application>
<application name="portal">portal-workspace.xml</application> <application name="portal">portal-workspace.xml</application>
<default>default-layout.xml</default> <default>default-layout.xml</default>
</applications> </applications>

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 303 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 304 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 320 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 319 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 349 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 347 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 347 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 326 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 363 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 358 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,9 +1,123 @@
/* /*
Public CSS file Public CSS file for all media types
*/ */
/*
Font declarations
*/
@font-face {
font-family: 'Text';
src: url('../fonts/PTS55F-webfont.eot');
src: url('../fonts/PTS55F-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/PTS55F-webfont.woff') format('woff'),
url('../fonts/PTS55F-webfont.ttf') format('truetype'),
url('../fonts/PTS55F-webfont.svg#pt_sansregular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Text';
src: url('../fonts/PTS56F-webfont.eot');
src: url('../fonts/PTS56F-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/PTS56F-webfont.woff') format('woff'),
url('../fonts/PTS56F-webfont.ttf') format('truetype'),
url('../fonts/PTS56F-webfont.svg#pt_sansitalic') format('svg');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Text';
src: url('../fonts/PTS75F-webfont.eot');
src: url('../fonts/PTS75F-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/PTS75F-webfont.woff') format('woff'),
url('../fonts/PTS75F-webfont.ttf') format('truetype'),
url('../fonts/PTS75F-webfont.svg#pt_sansbold') format('svg');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Text';
src: url('../fonts/PTS76F-webfont.eot');
src: url('../fonts/PTS76F-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/PTS76F-webfont.woff') format('woff'),
url('../fonts/PTS76F-webfont.ttf') format('truetype'),
url('../fonts/PTS76F-webfont.svg#pt_sansbold_italic') format('svg');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'TextCond';
src: url('../fonts/PTN57F-webfont.eot');
src: url('../fonts/PTN57F-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/PTN57F-webfont.woff') format('woff'),
url('../fonts/PTN57F-webfont.ttf') format('truetype'),
url('../fonts/PTN57F-webfont.svg#pt_narrowregular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TextCond';
src: url('../fonts/PTN77F-webfont.eot');
src: url('../fonts/PTN77F-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/PTN77F-webfont.woff') format('woff'),
url('../fonts/PTN77F-webfont.ttf') format('truetype'),
url('../fonts/PTN77F-webfont.svg#pt_narrowbold') format('svg');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Caption';
src: url('../fonts/PTC55F-webfont.eot');
src: url('../fonts/PTC55F-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/PTC55F-webfont.woff') format('woff'),
url('../fonts/PTC55F-webfont.ttf') format('truetype'),
url('../fonts/PTC55F-webfont.svg#pt_sans_captionregular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Caption';
src: url('../fonts/PTC75F-webfont.eot');
src: url('../fonts/PTC75F-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/PTC75F-webfont.woff') format('woff'),
url('../fonts/PTC75F-webfont.ttf') format('truetype'),
url('../fonts/PTC75F-webfont.svg#pt_sans_captionbold') format('svg');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Title';
src: url('../fonts/TrajanPro-Regular.eot');
src: url('../fonts/TrajanPro-Regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/TrajanPro-Regular.woff') format('woff'),
url('../fonts/TrajanPro-Regular.ttf') format('truetype'),
url('../fonts/TrajanPro-Regular.svg#TrajanPro-Regular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Special';
src: url('../fonts/Georgia-webfont.eot');
src: url('../fonts/Georgia-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Georgia-webfont.woff') format('woff'),
url('../fonts/Georgia-webfont.ttf') format('truetype'),
url('../fonts/Georgia-webfont.svg#Georgia-webfont') format('svg');
font-weight: normal;
font-style: normal;
}
a.nav-hide { a.nav-hide {
display: none; display: none;
} }

View File

@ -0,0 +1,188 @@
/*
* Margin and padding for body
*/
html, body {
margin: 0;
padding: 0;
height: 100%;
font-size: 10pt;
}
header {
width: 100%;
margin: 0;
padding: 0;
}
.content-width {
max-width: 80em;
margin: 0 auto 0 auto;
/*margin-left: auto;
margin-right: auto;*/
position: relative;
}
header .service-panel {
color: #fff;
height: 40px;
background-image: linear-gradient(top, #56a1bd 5%, #0976a0 95%);
background-image: -o-linear-gradient(top, #56a1bd 5%, #0976a0 95%);
background-image: -ie-linear-gradient(top, #56a1bd 5%, #0976a0 95%);
background-image: -moz-linear-gradient(top, #56a1bd 5%, #0976a0 95%);
background-image: -webkit-linear-gradient(top, #56a1bd 5%, #0976a0 95%);
box-shadow: 0 0 10px 0 #4a4a4a;
;
font-variant: small-caps;
}
header .service-panel .content-width div, header .service-panel ul {
margin: 0;
padding: 0;
}
header .service-panel a {
color: #fff;
text-decoration: none;
}
header .service-panel a:link {
color: #fff;
}
header .service-panel a:visited {
color: #fff;
}
header .service-panel a:active, header .service-panel a:hover {
color: #ff9840;
}
/*
* Lanuage selector im Header
*/
header .service-panel ul.language-selector {
list-style: none;
position: absolute;
left: 0;
margin: 10px 0 10px 0;
}
header .service-panel ul.language-selector:after {
clear: both;
content: ".";
display: block;
height: 0;
visibility: hidden;
}
header .service-panel ul.language-selector li {
float: left;
padding: 0 0.2em;
}
/*header .service-panel ul.language-selector li.language-selector-de {
background-image: url(../../images/flags/german.svg);
background-size: 25px 15px;
width: 25px;
height: 15px;
}
header .service-panel ul.language-selector li span {
display: none;
}
header .service-panel ul.language-selector li.language-selector-en {
background-image: url(../../images/flags/british.svg);
background-size: 25px 15px;
width: 25px;
height: 15px;
}*/
header .service-panel ul.language-selector li.selected {
font-weight: bold;
}
header .service-panel div.service-links {
position: absolute;
right: 0;
margin: 10px 0 10px 0;
}
header .service-panel div.service-links a{
padding: 0.5em;
}
header nav {
position: relative;
/*height: 3em;*/
}
header nav #home-link {
width: 150px;
margin: 1.25em 0 1.25em 0;
}
header nav #page-title {
position: absolute;
top: 0;
left: 160px;
}
header nav #page-title span{
font-family: "Title", serif;
font-size: 3em;
font-variant: small-caps;
color: #0776a0;
}
header nav ul {
position: absolute;
bottom: 0em;
left: 160px;
list-style: none;
margin: 0;
padding: 0 0 5px 0;
}
header nav ul:after {
clear: both;
content: ".";
display: block;
height: 0;
visibility: hidden;
}
header nav ul li {
margin: 0;
padding: 0;
float: left;
padding: 0.5em 0.75em 0.5em 0.75em;
max-width: 15em;
height: 2.5em;
text-align: center;
}
header nav ul li a {
font-size: 1.2em;
font-family: "TextCond", sans-serif;
font-variant: small-caps;
text-decoration: none;
color: #77767e;
}
header nav ul li a:active, header nav ul li a:hover {
color: #ff9840;
}
header nav ul li.active {
background-color: #e7e6ee;
}
header nav ul li.active a {
color: #ff9840;
}

View File

@ -9,6 +9,66 @@
<load-css-files/> <load-css-files/>
</head> </head>
<body> <body>
<header>
<div class="service-panel">
<div class="content-width">
<language-selector>
<ul class="language-selector">
<language>
<li>
<a>
<span>
<language-name/>
</span>
</a>
</li>
</language>
</ul>
</language-selector>
<div class="service-links">
<a href-static="/ccm/sitemap">
<show-text>layout/service-links/sitemap</show-text>
</a>
<a href-static="/ccm/contact">
<show-text>layout/service-links/contact</show-text>
</a>
<a href-static="/ccm/privacy">
<show-text>layout/service-links/privacy</show-text>
</a>
<a href-static="/ccm/privacy">
<show-text>layout/service-links/help</show-text>
</a>
</div>
</div>
</div>
<nav class="content-width">
<div id="home-link">
<navigation-home-link>
<a title="Home">
<img src-static="images/librecms-logo.png" width="150" height="90"/>
</a>
</navigation-home-link>
</div>
<div id="page-title">
<span>
<show-text>layout/page/head/title</show-text>
</span>
</div>
<navigation>
<navigation-links>
<ul>
<navigation-link>
<li>
<a>
<navigation-link-label/>
</a>
</li>
</navigation-link>
</ul>
</navigation-links>
</navigation>
</nav>
</header>
<nav> <nav>
<navigation-home-link> <navigation-home-link>
<a> <a>
@ -22,7 +82,7 @@
<h1> <h1>
<show-text>layout/page/head/title</show-text>: <show-page-title/> <show-text>layout/page/head/title</show-text>: <show-page-title/>
</h1> </h1>
<navigation> <navigation min-level="1" max-level="1">
<div class="nav-wrapper"> <div class="nav-wrapper">
<navigation-links> <navigation-links>
<ul> <ul>
@ -117,7 +177,7 @@
<footer> <footer>
<include file="fragments/footer.xml"/> <include file="fragments/footer.xml"/>
<include file="fragments/libreccm.xml" internal="yes"/> <include file="fragments/libreccm.xml" origin="internal"/>
</footer> </footer>
</body> </body>
</page-layout> </page-layout>

View File

@ -1,5 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<foundry:static-texts xmlns:foundry="http://foundry.libreccm.org"> <foundry:static-texts xmlns:foundry="http://foundry.libreccm.org">
<text id="language/de">
<translation lang="de">Deutsch</translation>
<translation lang="en">German</translation>
</text>
<text id="language/en">
<translation lang="de">Englisch</translation>
<translation lang="en">English</translation>
</text>
<text id="layout/page/head/title"> <text id="layout/page/head/title">
<translation lang="de">Foundry</translation> <translation lang="de">Foundry</translation>
<translation lang="en">Foundry</translation> <translation lang="en">Foundry</translation>
@ -10,6 +21,26 @@
<translation lang="en">Skip navigation</translation> <translation lang="en">Skip navigation</translation>
</text> </text>
<text id="layout/service-links/sitemap">
<translation lang="de">Sitemap</translation>
<translation lang="en">Sitemap</translation>
</text>
<text id="layout/service-links/contact">
<translation lang="de">Kontakt</translation>
<translation lang="en">Contact</translation>
</text>
<text id="layout/service-links/privacy">
<translation lang="de">Datenschutz</translation>
<translation lang="en">Privacy</translation>
</text>
<text id="layout/service-links/help">
<translation lang="de">Hilfe</translation>
<translation lang="en">Help</translation>
</text>
<text id="time/am"> <text id="time/am">
<translation lang="de">a.m.</translation> <translation lang="de">a.m.</translation>
<translation lang="en">a.m.</translation> <translation lang="en">a.m.</translation>