Updated default themes with latest changes from libre-blue-flex theme

git-svn-id: https://svn.libreccm.org/ccm/trunk@3987 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2016-04-13 11:55:22 +00:00
parent df8c0edd1f
commit b56da9f3af
4 changed files with 112 additions and 34 deletions

View File

@ -406,7 +406,7 @@ We are using some Webfonts. The fonts are from the Fontsquirrel
padding-bottom: 0; padding-bottom: 0;
width: 100%; width: 100%;
height: 2.8em; /*height: 2.8em;*/
div#nav-wrapper { div#nav-wrapper {
margin-left: auto; margin-left: auto;
@ -436,6 +436,16 @@ We are using some Webfonts. The fonts are from the Fontsquirrel
} }
} }
ul.home-link {
li {
border-left: none !important;
border-right: none;
padding-left: 0.5em;
padding-right: 0.5em;
}
}
ul { ul {
display: none; display: none;
@ -449,7 +459,15 @@ We are using some Webfonts. The fonts are from the Fontsquirrel
text-align: center; text-align: center;
li { li {
&.active { border-right: 1px solid @color-gradient2;
&:first-child {
border-left: 1px solid @color-gradient2;
}
/*padding: 0.4em 0.9em;*/
/*&.active {
border: 1px solid @color-nav-active; border: 1px solid @color-nav-active;
border-radius: 0.5em; border-radius: 0.5em;
@ -463,28 +481,49 @@ We are using some Webfonts. The fonts are from the Fontsquirrel
color: @color-nav-active; color: @color-nav-active;
} }
}*/
&:active, &:focus, &:hover {
/*background-color: transparent;*/
background-color: @color-gradient2;
color: @color-nav-active;
} }
a { a {
display: block;
font-family: 'TextCond', sans-serif; font-family: 'TextCond', sans-serif;
font-size: 1.4em; font-size: 1.2em;
font-variant: small-caps; font-variant: small-caps;
font-weight: bold; font-weight: bold;
margin-left: 0.2em; /*margin-left: 0.2em;*/
padding: 0.2em 0.25em; /*padding: 0.4em 0.25em;*/
/*padding: 0.4em 0.9em;*/
text-decoration: none; text-decoration: none;
width: 100%;
height: 100%;
&:link, &:visited { &:link, &:visited {
color: @color-nav; color: @color-nav;
} }
&:active, &:focus, &:hover { &:active, &:focus, &:hover {
background-color: transparent; /*background-color: transparent;*/
background-color: @color-gradient2;
color: @color-nav-active; color: @color-nav-active;
} }
span {
display: block;
padding: 0.4em 0.9em;
}
} }
} }
} }

View File

@ -274,12 +274,12 @@
</navigation-home-link> </navigation-home-link>
<navigation-links> <navigation-links>
<ul> <ul>
<li>
</li>
<navigation-link> <navigation-link>
<li> <li>
<a> <a>
<navigation-link-label/> <span>
<navigation-link-label/>
</span>
</a> </a>
<navigation-sublinks/> <navigation-sublinks/>
</li> </li>

View File

@ -406,7 +406,7 @@ We are using some Webfonts. The fonts are from the Fontsquirrel
padding-bottom: 0; padding-bottom: 0;
width: 100%; width: 100%;
height: 2.8em; /*height: 2.8em;*/
div#nav-wrapper { div#nav-wrapper {
margin-left: auto; margin-left: auto;
@ -436,6 +436,16 @@ We are using some Webfonts. The fonts are from the Fontsquirrel
} }
} }
ul.home-link {
li {
border-left: none !important;
border-right: none;
padding-left: 0.5em;
padding-right: 0.5em;
}
}
ul { ul {
display: none; display: none;
@ -449,7 +459,15 @@ We are using some Webfonts. The fonts are from the Fontsquirrel
text-align: center; text-align: center;
li { li {
&.active { border-right: 1px solid @color-gradient2;
&:first-child {
border-left: 1px solid @color-gradient2;
}
/*padding: 0.4em 0.9em;*/
/*&.active {
border: 1px solid @color-nav-active; border: 1px solid @color-nav-active;
border-radius: 0.5em; border-radius: 0.5em;
@ -463,28 +481,49 @@ We are using some Webfonts. The fonts are from the Fontsquirrel
color: @color-nav-active; color: @color-nav-active;
} }
}*/
&:active, &:focus, &:hover {
/*background-color: transparent;*/
background-color: @color-gradient2;
color: @color-nav-active;
} }
a { a {
display: block;
font-family: 'TextCond', sans-serif; font-family: 'TextCond', sans-serif;
font-size: 1.4em; font-size: 1.2em;
font-variant: small-caps; font-variant: small-caps;
font-weight: bold; font-weight: bold;
margin-left: 0.2em; /*margin-left: 0.2em;*/
padding: 0.2em 0.25em; /*padding: 0.4em 0.25em;*/
/*padding: 0.4em 0.9em;*/
text-decoration: none; text-decoration: none;
width: 100%;
height: 100%;
&:link, &:visited { &:link, &:visited {
color: @color-nav; color: @color-nav;
} }
&:active, &:focus, &:hover { &:active, &:focus, &:hover {
background-color: transparent; /*background-color: transparent;*/
background-color: @color-gradient2;
color: @color-nav-active; color: @color-nav-active;
} }
span {
display: block;
padding: 0.4em 0.9em;
}
} }
} }
} }

View File

@ -274,12 +274,12 @@
</navigation-home-link> </navigation-home-link>
<navigation-links> <navigation-links>
<ul> <ul>
<li>
</li>
<navigation-link> <navigation-link>
<li> <li>
<a> <a>
<navigation-link-label/> <span>
<navigation-link-label/>
</span>
</a> </a>
<navigation-sublinks/> <navigation-sublinks/>
</li> </li>