refactoring and a lot of new design

This commit is contained in:
2017-02-10 18:07:21 +01:00
parent 30577d3c6b
commit 290b8ac157
9 changed files with 696 additions and 186 deletions
+208 -63
View File
@@ -29,28 +29,10 @@ input {
font-size: 0.8em; }
/** layout */
#center, #sidebar-first, #sidebar-second, .footer-block .region, .header-block {
.footer-block .region, .header-block {
display: inline-block;
vertical-align: top; }
body.two-sidebars #center {
width: 54%; }
body.sidebar-first #center {
width: 73%; }
body.sidebar-second #center {
width: 80%; }
body.no-sidebars #center {
width: 100%; }
#sidebar-first {
width: 24%; }
#sidebar-second {
width: 18%; }
#header, #main, #footer {
padding: 0; }
@@ -73,9 +55,6 @@ body.no-sidebars #center {
text-align: center;
color: #20c498; }
#node-63 {
color: #1f04a1; }
#thematique-anchor-links {
padding: 1em 0; }
#thematique-anchor-links ul {
@@ -89,55 +68,221 @@ body.no-sidebars #center {
margin: 0; }
#thematique-anchor-links ul li {
list-style: none;
padding: 0;
padding: 0 1em;
margin: 0; }
#thematique-anchor-links ul li a {
color: #1f04a1;
text-decoration: none;
font-weight: 600; }
#thematique-anchor-links ul li a span {
display: block; }
#thematique-anchor-links ul li a.en_attente {
color: #ddd; }
#thematique-anchor-links ul li a.node-32 {
color: #2f82ff; }
#thematique-anchor-links ul li a.node-14 {
color: #ff0000; }
#thematique-anchor-links ul li a.node-38 {
color: #88aa00; }
#thematique-anchor-links ul li a.node-3 {
color: #ff6600; }
#thematique-anchor-links ul li a.node-20 {
color: #ff2ad4; }
#thematique-anchor-links ul li a.node-26 {
color: #8800aa; }
.panel-thematique {
.node-thematique {
background-position: center;
background-size: contain;
background-repeat: no-repeat; }
.panel-thematique .field-name-field-emvideo img {
width: 100%; }
.panel-thematique header.top h2 {
font-size: 2.5em;
font-weight: 300;
color: #fb3f08; }
.panel-thematique .left .field-name-body {
display: none; }
.panel-thematique .bottom .field-name-field-episodes > .field-items {
display: -ms-flexbox;
display: flex;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-ms-flex-pack: justify;
justify-content: space-between; }
.panel-thematique .bottom .field-name-field-episodes > .field-items > .field-item {
display: block;
width: 19%; }
.panel-thematique .bottom .field-name-body {
display: none; }
#mini-panel-th_matique {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-1 {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-2 {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-3 {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-4 {
background-image: url(../../images/fond-theme-0.png); }
#mini-panel-th_matique-5 {
background-image: url(../../images/fond-theme-0.png); }
.node-thematique.node-32 {
background-image: url(../../images/fond-theme-0.png); }
.node-thematique.node-32 > h2,
.node-thematique.node-32 .group-video .field-name-field-description h3,
.node-thematique.node-32 .group-description .field-name-field-ecouter,
.node-thematique.node-32 .node-documentair .field-name-field-doc,
.node-thematique.node-32 .node-episode .field-name-title-field {
color: #2f82ff; }
.node-thematique.node-14 {
background-image: url(../../images/fond-theme-0.png); }
.node-thematique.node-14 > h2,
.node-thematique.node-14 .group-video .field-name-field-description h3,
.node-thematique.node-14 .group-description .field-name-field-ecouter,
.node-thematique.node-14 .node-documentair .field-name-field-doc,
.node-thematique.node-14 .node-episode .field-name-title-field {
color: #ff0000; }
.node-thematique.node-38 {
background-image: url(../../images/fond-theme-0.png); }
.node-thematique.node-38 > h2,
.node-thematique.node-38 .group-video .field-name-field-description h3,
.node-thematique.node-38 .group-description .field-name-field-ecouter,
.node-thematique.node-38 .node-documentair .field-name-field-doc,
.node-thematique.node-38 .node-episode .field-name-title-field {
color: #88aa00; }
.node-thematique.node-3 {
background-image: url(../../images/fond-theme-0.png); }
.node-thematique.node-3 > h2,
.node-thematique.node-3 .group-video .field-name-field-description h3,
.node-thematique.node-3 .group-description .field-name-field-ecouter,
.node-thematique.node-3 .node-documentair .field-name-field-doc,
.node-thematique.node-3 .node-episode .field-name-title-field {
color: #ff6600; }
.node-thematique.node-20 {
background-image: url(../../images/fond-theme-0.png); }
.node-thematique.node-20 > h2,
.node-thematique.node-20 .group-video .field-name-field-description h3,
.node-thematique.node-20 .group-description .field-name-field-ecouter,
.node-thematique.node-20 .node-documentair .field-name-field-doc,
.node-thematique.node-20 .node-episode .field-name-title-field {
color: #ff2ad4; }
.node-thematique.node-26 {
background-image: url(../../images/fond-theme-0.png); }
.node-thematique.node-26 > h2,
.node-thematique.node-26 .group-video .field-name-field-description h3,
.node-thematique.node-26 .group-description .field-name-field-ecouter,
.node-thematique.node-26 .node-documentair .field-name-field-doc,
.node-thematique.node-26 .node-episode .field-name-title-field {
color: #8800aa; }
.node-thematique > h2 {
font-size: 3em;
font-weight: 400; }
.node-thematique .content {
letter-spacing: -0.25em; }
.node-thematique .content .field-name-field-emvideo img {
width: 100%; }
.node-thematique .content > * {
letter-spacing: normal; }
.node-thematique .content article.main {
display: inline-block;
vertical-align: top;
width: 69.5%; }
.node-thematique .content article.main .field-name-body {
position: relative;
z-index: 3; }
.node-thematique .content article.main .field-name-body > * {
padding: 0 1em 0 0.2em; }
.node-thematique .content article.main .field-name-body .summary {
position: relative; }
.node-thematique .content article.main .field-name-body .summary p {
font-size: 1.3em; }
.node-thematique .content article.main .field-name-body .value {
position: absolute;
height: 0;
margin-bottom: 0;
transition: height,margin-bottom 0.5s ease-in-out;
background-color: #fff;
overflow: hidden; }
.node-thematique .content article.main .field-name-body:hover .summary {
background-color: #fff; }
.node-thematique .content article.main .field-name-body:hover .value {
height: 400px;
margin-bottom: 1em; }
.node-thematique .content article.main .field-name-body p {
padding: 0 0 1em;
margin: 0; }
.node-thematique .content article.main .group-video {
position: relative; }
.node-thematique .content article.main .group-video .group-description {
cursor: pointer;
box-sizing: border-box;
position: absolute;
z-index: 2;
top: 0;
left: 0;
width: 90%;
height: 80%;
margin: 5%;
padding: 5%;
background-color: rgba(255, 255, 255, 0);
transition: background-color 0.3s ease-in-out; }
.node-thematique .content article.main .group-video .group-description .field-name-field-ecouter {
font-size: 1em;
font-weight: 500;
background-color: rgba(255, 255, 255, 0.9);
transition: background-color 0.3s ease-in-out;
display: inline-block; }
.node-thematique .content article.main .group-video .group-description .field-name-field-description {
opacity: 0;
transition: opacity 0.3s ease-in-out; }
.node-thematique .content article.main .group-video .group-description .field-name-field-description h3 {
font-weight: 500;
font-size: 2em; }
.node-thematique .content article.main .group-video:hover .group-description {
background-color: rgba(255, 255, 255, 0.9); }
.node-thematique .content article.main .group-video:hover .group-description .field-name-field-ecouter {
background-color: rgba(255, 255, 255, 0); }
.node-thematique .content article.main .group-video:hover .group-description .field-name-field-description {
opacity: 1; }
.node-thematique .content aside.right {
display: inline-block;
vertical-align: top;
width: 30.5%; }
.node-thematique .content aside.right .field-name-field-eclairages {
padding-left: 1em; }
.node-thematique .content aside.right .node-documentair {
padding-bottom: 1em; }
.node-thematique .content aside.right .node-documentair .content {
position: relative; }
.node-thematique .content aside.right .node-documentair .content .group-txt {
cursor: pointer;
box-sizing: border-box;
position: absolute;
z-index: 2;
overflow: hidden;
top: 0;
left: 0;
width: 90%;
max-height: 80%;
margin: 5%;
padding: 5%;
background-color: rgba(255, 255, 255, 0.9); }
.node-thematique .content aside.right .node-documentair .content .group-txt .field-name-field-doc {
font-size: 1em;
font-weight: 500; }
.node-thematique .content aside.right .node-documentair .content .group-txt .field-name-title-field {
font-size: 2em;
font-weight: 600;
height: 1px;
overflow: hidden;
transition: height 0.3s ease-in-out; }
.node-thematique .content aside.right .node-documentair .content:hover .group-txt .field-name-title-field {
height: 70%; }
.node-thematique .content aside.bottom {
padding-top: 1em; }
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items {
display: -ms-flexbox;
display: flex;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-ms-flex-pack: justify;
justify-content: space-between; }
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item {
display: block;
width: 19%; }
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content {
position: relative; }
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content .group-txt {
cursor: pointer;
box-sizing: border-box;
position: absolute;
z-index: 2;
overflow: hidden;
top: 0;
left: 0;
width: 90%;
height: 80%;
margin: 5%;
padding: 5%;
background-color: rgba(255, 255, 255, 0.3);
opacity: 0.8;
transition: opacity,background-color 0.3s ease-in-out; }
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content .group-txt .field-name-title-field {
font-size: 4em;
font-weight: 700;
font-style: italic;
text-align: center; }
.node-thematique .content aside.bottom .field-name-field-episodes > .field-items > .field-item .node-episode .content:hover .group-txt {
opacity: 1;
background-color: rgba(255, 255, 255, 0.9); }
#footer-bottom {
text-align: center; }