123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680 |
- /**
- * Primary Drupal Styles
- * Author: Bachir Soussi Chiadmi
- */
- body{
- font-size:16px;
- font-family: "aileron", Arial, "MS Trebuchet", sans-serif;
- }
- // a{color: #007BC2; text-decoration: none;}
- h1{font-size:1.6em;}
- h2{font-size:1.5em;}
- h3{font-size:1.4em;}
- h4{font-size:1.3em;}
- h5{font-size:1.2em;}
- h6{font-size:1.1em;}
- input{font-family: Arial, "MS Trebuchet", sans-serif; font-size:0.8em;}
- // __
- // _________ / /___ __________
- // / ___/ __ \/ / __ \/ ___/ ___/
- // / /__/ /_/ / / /_/ / / (__ )
- // \___/\____/_/\____/_/ /____/
- $vert : #20c498;
- // $bleu : #1f04a1;
- // $rouge : #fb3f08;
- $coul0 : #2f82ff;
- $coul1 : #ff0000;
- $coul2 : #88aa00;
- $coul3 : #ff6600;
- $coul4 : #ff2ad4;
- $coul5 : #8800aa;
- /** layout */
- .footer-block .region, .header-block{ display:inline-block; vertical-align: top;}
- #header, #main, #footer{ padding:0; }
- body{
- }
- #container{
- width:1024px; margin:0 auto;
- // overflow-x: visible;
- }
- #header{
- h1 a{
- display:block;
- height:335px;
- background-image: url(../../images/logo.png);
- background-size: contain;
- background-position: center;
- background-repeat: no-repeat;
- text-indent: -2000px;
- overflow: hidden;
- margin: 0;
- }
- h2{
- text-align: center;
- color:$vert;
- }
- }
- // about
- #node-63{
- // color:$bleu;
- padding:1em 0;
- .content{
- section{display: inline;}
- p{ margin:0;}
- }
- ul.links{
- // display: block;
- text-align: right;
- margin: 0; padding: 0;
- li{margin: 0; padding: 0; display: inline-block;}
- a{
- color: inherit; text-decoration: none;
- font-weight: 500;
- }
- }
- }
- #thematique-anchor-links{
- padding:1em 0;
- ul{
- display: flex;
- flex-flow: row nowrap;
- justify-content: space-between;
- padding:0; margin:0;
- li{
- max-width: 7em;
- list-style: none;
- padding:0; margin: 0;
- a{
- // color: $bleu;
- text-decoration: none;
- font-weight: 600;
- display:block;
- min-height: 3em;
- background-position: center;
- background-repeat: no-repeat;
- background-size: contain;
- span{
- display: block;
- }
- &.en_attente{
- // opacity: 0.4;
- color:#ddd;
- }
- &.node-32{
- background-image: url(../../images/fond-theme-lite-0.jpg);
- color:$coul0;
- }
- &.node-14{
- background-image: url(../../images/fond-theme-lite-1.jpg);
- color:$coul1;
- }
- &.node-38{
- background-image: url(../../images/fond-theme-lite-2.jpg);
- color:$coul2;
- }
- &.node-3{
- background-image: url(../../images/fond-theme-lite-3.jpg);
- color:$coul3;
- }
- &.node-20{
- background-image: url(../../images/fond-theme-lite-4.jpg);
- color:$coul4;
- }
- &.node-26{
- background-image: url(../../images/fond-theme-lite-5.jpg);
- color:$coul5;
- }
- }
- }
- }
- }
- html,
- body,
- #container,
- #main,
- #main>.region,
- #block-system-main,
- #block-system-main>.content,
- .node-thematique{
- overflow-x: visible;
- }
- // thematique
- .node-thematique{
- min-height:766px;
- position: relative;
- &::before{
- position: absolute;
- content:" ";
- width:110%; height:110%;
- top:-5%; left:-5%;
- z-index: -1;
- background-position: center;
- background-size: contain;
- background-repeat: no-repeat;
- // border: 1px dotted red;
- }
- &.node-32{
- &::before{background-image: url(../../images/fond-theme-0.jpg);}
- >h2,
- // .group-txt .summary p,
- .group-video .field-name-field-description h3,
- .group-description .field-name-field-ecouter,
- .node-documentair .field-name-field-doc,
- .node-episode .field-name-title-field{color: $coul0;}
- }
- &.node-14{
- &::before{background-image: url(../../images/fond-theme-1.jpg);}
- >h2,
- // .group-txt .summary p,
- .group-video .field-name-field-description h3,
- .group-description .field-name-field-ecouter,
- .node-documentair .field-name-field-doc,
- .node-episode .field-name-title-field{color: $coul1;}
- }
- &.node-38{
- &::before{background-image: url(../../images/fond-theme-2.jpg);}
- >h2,
- // .group-txt .summary p,
- .group-video .field-name-field-description h3,
- .group-description .field-name-field-ecouter,
- .node-documentair .field-name-field-doc,
- .node-episode .field-name-title-field{color: $coul2;}
- }
- &.node-3{
- &::before{background-image: url(../../images/fond-theme-3.jpg);}
- >h2,
- // .group-txt .summary p,
- .group-video .field-name-field-description h3,
- .group-description .field-name-field-ecouter,
- .node-documentair .field-name-field-doc,
- .node-episode .field-name-title-field{color: $coul3;}
- }
- &.node-20{
- &::before{background-image: url(../../images/fond-theme-4.jpg);}
- >h2,
- // .group-txt .summary p,
- .group-video .field-name-field-description h3,
- .group-description .field-name-field-ecouter,
- .node-documentair .field-name-field-doc,
- .node-episode .field-name-title-field{color: $coul4;}
- }
- &.node-26{
- &::before{background-image: url(../../images/fond-theme-5.jpg);}
- >h2,
- // .group-txt .summary p,
- .group-video .field-name-field-description h3,
- .group-description .field-name-field-ecouter,
- .node-documentair .field-name-field-doc,
- .node-episode .field-name-title-field{color: $coul5;}
- }
- >h2{
- font-size: 3em;
- font-weight: 400;
- padding-left: 0.18em;
- }
- .content{
- .field-name-field-emvideo img{width: 100%;}
- letter-spacing: -0.25em;
- >*{letter-spacing: normal;}
- $main_w : 69.5%;
- $right_w : 30.5%;
- $gouttiere: 1em;
- // _
- // ____ ___ ____ _(_)___
- // / __ `__ \/ __ `/ / __ \
- // / / / / / / /_/ / / / / /
- // /_/ /_/ /_/\__,_/_/_/ /_/
- article.main{
- display: inline-block;
- vertical-align: top;
- width:$main_w;
- overflow: hidden;
- .field-name-body{
- position: relative; z-index: 3;
- >*{padding:0 1em 0 0.2em;}
- .summary{
- position: relative;
- height:5.75em; overflow: hidden;
- background-color: #fff;
- transition: background-color 0.5 ease-in-out;
- p{
- font-size: 1.1em;
- padding:0.5em;
- font-weight: 500;
- }
- }
- .value{
- position:absolute;
- height:1px; margin-bottom: 0;
- transition:height 0.5s ease-in-out;
- background-color: #fff;
- overflow: hidden;
- p{
- font-size: 1em; padding: 0.5em;
- }
- }
- &:hover{
- .summary{background-color: #fff;}
- .value{
- height:700px;
- }
- }
- p{padding:0 0 1em; margin: 0;}
- } //field-name-body
- .group-video{
- position: relative;
- .group-description{
- cursor: pointer; pointer-events: none;
- 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;
- .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;
- }
- .field-name-field-description{
- opacity: 0;
- transition: opacity 0.3s ease-in-out;
- h3{
- font-weight: 500; font-size: 2em
- }
- }
- }
- &:hover .group-description{
- background-color: rgba(255,255,255,0.9);
- .field-name-field-ecouter{
- background-color: rgba(255,255,255,0);
- }
- .field-name-field-description{opacity:1;}
- }
- }
- }
- // __
- // ____/ /___ __________
- // / __ / __ \/ ___/ ___/
- // / /_/ / /_/ / /__(__ )
- // \__,_/\____/\___/____/
- aside.right{
- display: inline-block;
- vertical-align: top;
- width: $right_w;
- .field-name-field-eclairages{
- padding-left:1em;
- }
- .node-documentair{
- padding-bottom: $gouttiere;
- .content{
- position: relative;
- .group-txt{
- cursor: pointer; pointer-events: none;
- 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);
- // opacity: 0;
- .field-name-field-doc{
- font-size: 1em;
- font-weight: 500;
- }
- .field-name-title-field{
- font-size: 2em;
- font-weight: 600;
- height:1px; overflow: hidden;
- transition:height 0.3s ease-in-out;
- }
- }
- &:hover .group-txt .field-name-title-field{height:70%;}
- }
- }
- }
- // _ __
- // ___ ____ (_)________ ____/ /__ _____
- // / _ \/ __ \/ / ___/ __ \/ __ / _ \/ ___/
- // / __/ /_/ / (__ ) /_/ / /_/ / __(__ )
- // \___/ .___/_/____/\____/\__,_/\___/____/
- // /_/
- aside.bottom{
- padding-top: $gouttiere;
- .field-name-field-episodes{
- // letter-spacing: -0.25em;
- &>.field-items{
- display: flex;
- flex-flow: row nowrap;
- justify-content: space-between;
- &>.field-item{
- display: block;
- // letter-spacing: normal;
- // display: inline-block;
- width:19%;
- // padding-right:1%;
- .node-episode .content{
- position: relative;
- .group-txt{
- cursor: pointer; pointer-events: none;
- 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;
- .field-name-title-field{
- font-size: 4em;
- font-weight: 700;
- font-style: italic;
- text-align: center;
- }
- }
- &:hover .group-txt{
- opacity: 1;
- background-color: rgba(255, 255, 255, 0.9);
- }
- }
- }
- }
- }
- .field-name-body{
- // display:none;
- }
- }
- }
- }
- #DOMWindowOverlay{
- // background-color: #fff!important;
- }
- #DOMWindow{
- .embedded-video, .player ,iframe{
- width:100%;
- height:100%;
- }
- }
- // ____
- // / __ \____ _____ ____
- // / /_/ / __ `/ __ `/ _ \
- // / ____/ /_/ / /_/ / __/
- // /_/ \__,_/\__, /\___/
- // /____/
- .page-title{
- font-size: 3em;
- font-weight: 400;
- text-transform: capitalize;
- }
- // ______ __
- // / ____/___ ____ / /____ _____
- // / /_ / __ \/ __ \/ __/ _ \/ ___/
- // / __/ / /_/ / /_/ / /_/ __/ /
- // /_/ \____/\____/\__/\___/_/
- #footer{
- }
- #block-menu-menu-footer-menu{
- padding:2em 0;
- ul{ margin:0; padding:0; text-align: center;}
- li{display:inline-block; list-style: none;}
- a{ text-decoration: none; color: inherit;}
- }
- .region-footer-bottom{
- text-align: center;
- }
- .region-footer-bottom .block{
- display: inline-block;
- font-size:0.7em;
- margin: 2em 0;
- }
- #content{padding:1em;}
- /** Messages. */
- div.messages {
- padding: 9px;
- margin: 0.5em 0 0;
- color: #036;
- background: #bdf;
- border: 1px solid #ace;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- }
- div.warning {
- color: #840;
- background: #fe6;
- border-color: #ed5;
- }
- div.error {
- color: #fff;
- background: #e63;
- border-color: #d52;
- }
- div.error p.error {
- color: #333;
- }
- div.status {
- color: #360;
- background: #cf8;
- border-color: #be7;
- }
- /** Tab navigation */
- ul.primary, .views-admin-links ul {
- font:13px/1.231 sans-serif; *font-size:small;
- border-collapse: collapse;
- padding: 0 0 0 1em; /* LTR */
- white-space: nowrap;
- list-style: none;
- margin: 5px;
- height: auto;
- line-height: normal;
- // border-bottom: 1px solid #bbb;
- }
- ul.primary li, .views-admin-links li{
- display: inline;
- }
- ul.primary li a, .views-admin-links li a {
- // background-color: #ddd;
- // border-color: #bbb;
- border-width: 1px;
- border-style: solid solid none solid;
- height: auto;
- margin-right: 0.5em; /* LTR */
- padding: 0 1em;
- text-decoration: none;
- -moz-border-radius-topleft: 5px;
- -webkit-border-top-left-radius: 5px;
- border-top-left-radius: 5px;
- -moz-border-radius-topright: 5px;
- -webkit-border-top-right-radius: 5px;
- border-top-right-radius: 5px;
- }
- // ul.primary li.active a {
- // background-color: #fff;
- // border: 1px solid #bbb;
- // border-bottom: #fff 1px solid;
- // }
- // ul.primary li a:hover, .views-admin-links li a:hover{
- // background-color: #eee;
- // border-color: #ccc;
- // border-bottom-color: #eee;
- // }
- // ul.secondary {
- // border-bottom: 1px solid #bbb;
- // padding: 0.5em 1em;
- // margin: 5px;
- // }
- // ul.secondary li {
- // display: inline;
- // padding: 0 1em;
- // border-right: 1px solid #ccc; /* LTR */
- // }
- // ul.secondary a {
- // padding: 0;
- // text-decoration: none;
- // }
- // ul.secondary a.active {
- // border-bottom: 4px solid #999;
- // }
- //
- /** Form */
- #node-form .form-region-main{border-right: 1px solid #BFBFBF; padding-right:10px; width:68%;}
- #node-form .form-region-main label{float:left; min-width:25%;}
- #node-form .form-region-main input.form-text{width:40%;}
- #node-form .form-region-right{padding-left:5px;}
- #node-form .form-region-right label{float:left; min-width:35%;}
- #node-form .form-region-right input.form-text{width:60%;}
- #node-form .form-region-main label.option, #node-form .form-region-right label.option{float: none;}
- form:not( #views-ui-config-item-form ) .form-item {
- position:relative;
- /* padding:9px;*/
- }
- form:not( #views-ui-config-item-form ) .form-item .description{
- position:absolute;
- bottom:140%;
- /* right:-15px;*/
- z-index:5;
- left:50%;
- color:#1A1A1A;
- line-height:1.1;
- background:url(../images/popup.png) 50% 100% no-repeat;
- width:240px;
- margin:0px 0px -15px;
- padding:9px 10px 20px;
- display:none;
- border-top: 1px solid #9F9F9F;
- }
- form:not( #views-ui-config-item-form ) .form-item:hover {
- z-index:1;
- height:auto; /* Fix for flicker in IE7 */
- }
- form:not( #views-ui-config-item-form ) .form-item:hover > .description { display:block; }
- fieldset{
- border: 1px solid #D4D4D4;
- padding:10px;
- margin-bottom:1em;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- }
- fieldset legend{
- font-size:1.6em;
- }
- input.form-text{max-width:95%;}
- /** TABLE */
- table{width:100%;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- }
- table thead th{
- background-color: #CCC;
- padding:0.5em 1em;
- text-align: left;
- }
- table tbody tr.even, table tbody tr.odd{
- border-bottom: 0 solid #CCCCCC;
- padding: 0.1em 0.6em;
- }
- table tbody tr.even{background-color: #EEE;}
- table tbody tr.odd{background-color: #E5E5E5;}
- table tbody td{
- padding:0.5em 1em;
- text-align: left;
- }
- td.active {background-color: transparent;}
- #tasks{
- .tabs{
- border: none;
- padding:0;
- a{
- border:none;
- border-radius: 3px;
- background-color: #eee;
- padding:0.4em;
- color: #000;
- margin:0 1em 0 0;
- &.active{
- background-color: #999;
- }
- }
- }
- }
|