1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237 |
- // @Author: Bachir Soussi Chiadmi <bach>
- // @Date: 18-12-2017
- // @Email: bachir@figureslibres.io
- // @Filename: app.scss
- // @Last modified by: bach
- // @Last modified time: 20-12-2017
- // @License: GPL-V3
- @import 'base/reset';
- @import 'base/colors';
- @import 'base/shared_variables';
- @import 'base/grid';
- @import 'base/layout';
- @import 'base/fonts';
- @mixin spining-loader-square{
- @keyframes rotation {
- from {transform: rotate(0deg);}
- to {transform: rotate(359deg);}
- }
- animation: rotation 2s infinite linear;
- }
- @mixin entrie-micro-square {
- display:inline-block;
- $s:8px;
- width:$s; height:$s;
- background-color: black;
- margin-right: 3px;
- &[tid='134']{background-color: $e_col_134;}
- &[tid='121']{background-color: $e_col_121;}
- &[tid='125']{background-color: $e_col_125;}
- &[tid='119']{background-color: $e_col_119;}
- &[tid='132']{background-color: $e_col_132;}
- &[tid='122']{background-color: $e_col_122;}
- &[tid='129']{background-color: $e_col_129;}
- &[tid='120']{background-color: $e_col_120;}
- &[tid='130']{background-color: $e_col_130;}
- &[tid='118']{background-color: $e_col_118;}
- &[tid='127']{background-color: $e_col_127;}
- &[tid='133']{background-color: $e_col_133;}
- &[tid='128']{background-color: $e_col_128;}
- &[tid='124']{background-color: $e_col_124;}
- &[tid='116']{background-color: $e_col_116;}
- &[tid='117']{background-color: $e_col_117;}
- &[tid='131']{background-color: $e_col_131;}
- &[tid='126']{background-color: $e_col_126;}
- &[tid='123']{background-color: $e_col_123;}
- }
- // .layout-container{
- // pointer-events: none;
- // }
- // _ _
- // | |_ ___ __ _ __| |___ _ _
- // | ' \/ -_) _` / _` / -_) '_|
- // |_||_\___\__,_\__,_\___|_|
- header[role="banner"]{
- pointer-events: all;
- // TODO: what header height to fit well with player ??
- }
- #block-edlptheme-branding{
- display: inline-block;
- h1{
- margin:0; display: inline-block;
- a.site-name{
- display: block;
- $w:290px;
- width:$w; height:$w * 0.22;
- background-image: url(../img/logo.svg);
- background-color: white;
- background-repeat:no-repeat;
- background-size: contain;
- white-space: nowrap;
- text-indent: 500px;
- overflow: hidden;
- }
- }
- }
- #block-mainnavigation{
- float:right;
- margin-top: 25px;
- ul{
- margin:0; padding: 0;
- white-space: nowrap;
- li{
- margin:0; padding:0;
- display: inline-block;
- a{
- font-size: 0.756em;
- color:inherit;
- text-decoration: none;
- text-transform: uppercase;
- margin-left: 1em;
- &:before{
- content: "";
- display:inline-block;
- $sq:0.6em;
- width: $sq; height:$sq;
- border: 1px solid red;
- margin-right: 0.3em;
- }
- &.ajax-loading:before{
- @include spining-loader-square;
- }
- &.is-active:before,
- &:hover:before{
- border-color: red;
- background-color: red;
- }
- }
- }
- }
- }
- .block-language{
- float: right;
- margin-top: 24px;
- margin-left: 2em;
- ul{
- margin:0; padding:0;
- li{
- display: inline-block; vertical-align: middle;
- list-style: none;
- a{
- font-size: 0.690em;
- color:inherit;
- text-decoration: none;
- text-transform: capitalize;
- margin-left: 0.8em;
- &:before{
- content: "";
- display:inline-block;
- $sq:0.6em;
- width: $sq; height:$sq;
- border: 1px solid red;
- margin-right: 0.3em;
- }
- }
- &.is-active,
- &:hover{
- a:before{
- border-color: red;
- background-color: red;
- }
- }
- }
- }
- }
- // _
- // _ __ __ _(_)_ _
- // | ' \/ _` | | ' \
- // |_|_|_\__,_|_|_||_|
- main[role="main"]{
- .layout-content{
- pointer-events: none;
- .row{
- pointer-events: none;
- height:100%;
- overflow: hidden;
- .col{
- pointer-events: none;
- height: 100%;
- position: relative;
- &>.wrapper{
- pointer-events:all;
- position: relative;
- box-sizing: border-box;
- border-top: 1px solid red;
- border-bottom: 1px solid red;
- background-color: $transparent-bg;
- padding:0 0 1em;
- max-height: 100%;
- overflow-y: auto;
- &>*{
- padding:0 1em;
- }
- // .os-scroll{
- // box-sizing: border-box;
- // max-height: 100%;
- // padding:0 1em;
- // }
- }
- }
- }
- .field.text-formatted{
- a.audio-link{
- border-bottom: 1px dotted red;
- }
- }
- }
- article.node>h2{
- @include content_titles;
- }
- article.node p{
- @include content_courant;
- }
- img{
- max-width: 100%;
- height: auto;
- }
- ul, li, ul.inline li:first-child{
- margin:0; padding:0;
- list-style: none;
- }
- // ajax loading effects
- .layout-content{
- transition: opacity 0.5s ease-in-out;
- opacity: 1;
- }
- body.ajax-loading &{
- .layout-content{
- opacity:0.2;
- }
- &:before{
- content:"";
- display: block;
- position: absolute;
- z-index: 10;
- $s:60px;
- width:$s; height:$s;
- top:calc(50% - #{$s/2}); left:calc(50% - #{$s/2});
- // padding:1em;
- background-color: rgba(255,255,255, 0.5);
- background-image: url(../img/edlp-loader-anim.svg);
- background-size: 50%;
- background-repeat: no-repeat;
- background-position: center;
- // border-radius: $s/2;
- }
- }
- }
- // _ _ _ ___ _
- // /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
- // / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
- // /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
- // |__/
- #audio-player{
- position: absolute;
- top:0; left:0;
- background-color: white;
- height:100%; min-width:300px;
- z-index: 20;
- opacity: 0;
- // outline: 1px solid blue;
- pointer-events: none;
- transition: opacity 0.7s ease-in-out;
- &.visible{
- opacity: 1;
- pointer-events:all;
- }
- &>*{
- display: inline-block;
- vertical-align: middle;
- // word-break:keep-all;
- padding:0;
- max-height: 100%;
- // outline: 1px solid green;
- }
- .btns{
- // outline: 1px dotted orange;
- &>*{
- display: inline-block;
- vertical-align: middle;
- width:20px;height:30px;
- background-position: center;
- background-size: contain;
- }
- .previous{
- background-image: url(../img/audio-player-previous.svg);
- opacity: 0.3;}
- .play-pause{
- background-image: url(../img/audio-player-play.svg);
- padding:0 0.3em;}
- cursor: pointer;
- .next{
- background-image: url(../img/audio-player-next.svg);
- opacity: 0.3;}
- }
- .time-line-container{
- .time-line{
- position: relative;
- width:70px; height:1px;
- background-color: #000;
- overflow: visible;
- transform: rotateZ(-45deg);
- .loader{
- width:0; height:100%;
- background-color: red;
- top:0;left:0;
- }
- .cursor{
- height:10px;width:0;
- border-left: 2px solid red;
- position:absolute;
- left:0; top:-5px;
- }
- }
- }
- .time{
- &>*{
- width:70px;
- text-align: right;
- }
- .current-time{
- font-size: 1.4em;
- font-weight: 600;
- }
- .duration{
- font-size: 0.75em;
- font-weight: 400;
- }
- }
- .favoris{
- height:100%;
- }
- .cartel{
- // TODO: set max-width regarding responsive
- position: relative;
- max-width: 350px;
- margin-left: 1em;
- background-color: white;
- opacity: 1;
- transition: opacity 0.5s ease-in-out;
- &.loading{opacity: 0;}
- white-space: nowrap;
- .actions, .cartels{
- display: inline-block;
- vertical-align: top;
- white-space: normal;
- position: relative;
- }
- .actions{
- width:1.5em;
- }
- .cartels{
- .first-cartel{
- .entrees{
- line-height: 0;
- span{
- @include entrie-micro-square;
- }
- }
- h2.node-title{
- margin:0.2em 0 0;
- font-size: 1em;
- }
- p{
- margin:0;
- font-size: 0.75em;
- }
- }
- .second-cartel{
- position: absolute;
- top: 0; left:0;
- background-color: white;
- height:100%; min-width: 100%;
- opacity: 0;
- transition: opacity 0.2s ease-in-out;
- &>*{
- display: inline-block;
- vertical-align: top;
- }
- .col-left{
- a{
- display: block;
- font-size: 0.90em;
- font-weight: 600;
- }
- }
- .col-right{
- font-size: 0.75em;
- }
- }
- }
- &:hover{
- .second-cartel{
- opacity: 1;
- }
- }
- }
- &.is-playing{
- .btns .play-pause{background-image: url(../img/audio-player-pause.svg);}
- }
- }
- // ___ _ _ _
- // / __| |_ _ _ __| (_)___
- // \__ \ _| || / _` | / _ \
- // |___/\__|\_,_\__,_|_\___/
- .chutier-icon{
- $s:1em;
- z-index: 1;
- display: block;
- position: relative;
- width:$s;height:$s;
- overflow: hidden;
- text-indent: 50em;
- // background-color: red;
- background-position: center;
- background-repeat: no-repeat;
- background-size: contain;
- background-image: url(../img/favori-off.svg);
- &[action="remove"]{
- background-image: url(../img/favori-on.svg);
- }
- transition: opacity 0.2s ease-in-out;
- &.ajax-loading{
- opacity: 0.2;
- }
- &.not-logedin{
- overflow: visible;
- }
- .popup{
- display:none;
- position: absolute;
- top:0; left:0;
- width:300px; height:auto; min-height: 100px;
- .inner{
- background-color: rgba(255,255,255,0.9);
- border: 1px solid red;
- text-indent: 0;
- padding: 0.5em;
- margin:$s*1.2 0 0 $s*1.2;
- p{margin: 0;}
- }
- }
- &:hover{
- .popup{
- display: block;
- }
- }
- }
- .row .col .studio-ui-wrapper{
- height: 100%;
- }
- #studio-ui{
- height:100%;
- .chutier_ui{
- height: 50%;
- border-bottom: 1px solid red;
- position: relative;
- &>h2{
- z-index: 10;
- position: absolute;
- width: calc(100% - 20px);
- margin: 0;
- padding:0.5em 0;
- font-size: 1em;
- font-weight: 500;
- text-transform: uppercase;
- // outline: 1px solid orange;
- background-color: white;
- }
- .documents{
- padding-top: 35px;
- height:calc(100% - 35px);
- overflow-y: auto;
- // box-sizing: content-box;
- // outline: 1px solid green;
- ul,li{
- margin:0; padding:0;
- line-height: 1.2;
- }
- li{
- display: inline-block; vertical-align: top;
- width:49%; margin-bottom: 0.5em;
- white-space: nowrap;
- .entrees{
- line-height: 0;
- span{
- @include entrie-micro-square;
- }
- }
- a.audio-link{
- text-transform: capitalize;
- font-size: 0.756em;
- margin-right: 0.5em;
- white-space: normal;
- }
- .chutier-icon{
- display: inline-block;
- width:0.7em; height:0.7em;
- opacity: 0.8;
- }
- }
- }
- }
- .composition_ui{
- height:50%;
- &>h2{
- z-index: 10;
- position: absolute;
- width: calc(100% - 20px);
- margin: 0;
- padding:0.5em 0;
- font-size: 1em;
- font-weight: 500;
- text-transform: uppercase;
- // outline: 1px solid orange;
- background-color: white;
- }
- >.wrapper{
- padding-top: 35px;
- height:calc(100% - 35px);
- overflow: hidden;
- white-space: nowrap;
- section.compositions-list, section.composer{
- display: inline-block; vertical-align: top;
- height: 100%;
- }
- .compositions-list{
- width:30%; height:100%;
- overflow-y: auto;
- a{
- font-size: 0.756em;
- &.new-composition-link{
- // padding-left: 1em;
- &:before{
- content:"+";
- font-weight: bold;
- margin-right: 0.2em;
- }
- display: inline-block;
- vertical-align: top;
- overflow: hidden;
- height:1em;
- transition: height 0.2s ease-in-out;
- &.folded{
- height:0;
- }
- }
- }
- .new-compo-form{
- input[type="text"]{
- font-size: 0.756em;
- padding:0 0.5em;
- width:calc(100% - 50px);
- height:1.7em;
- border: none;
- border-top:1px dotted red;
- border-bottom:1px dotted red;
- }
- button{
- background: none;
- border: none;
- font-size: 1em;
- line-height: 1;
- font-weight: bold;
- }
- opacity: 1;
- transition: opacity 0.2s ease-in-out;
- &.ajax-loading{
- opacity: 0.4;
- }
- }
- }
- .composer{
- box-sizing: content-box;
- width:69%;
- padding-left: 1em;
- border-left: 1px solid #aaa;
- }
- }
- }
- }
- // _ _ _ _ _
- // /_\ (_)__ ___ __ | \| |___ __| |___
- // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
- // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
- // |__/
- // body.path-edlp-node main{
- // main .col>.wrapper, .edlp-ajax-node{
- // height: 100%;
- // }
- // }
- // _ _
- // /_\ __ _ ___ _ _ __| |__ _
- // / _ \/ _` / -_) ' \/ _` / _` |
- // /_/ \_\__, \___|_||_\__,_\__,_|
- // |___/
- body.path-agenda main .col{
- &>.wrapper{
- height:100%;
- }
- }
- #agenda{
- position: relative;
- white-space: nowrap;
- height: 100%;
- div.column{
- white-space: normal;
- display: inline-block;
- vertical-align: top;
- height:100%;
- }
- div.next-event{
- width:65%;
- }
- div.future-past-events{
- width:33%;
- }
- ul,li{
- margin:0; padding:0;
- list-style: none;
- }
- article.node--type-evenement{
- h2{ @include content_titles; }
- }
- }
- // ___ _ _ _
- // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
- // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
- // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
- body.path-productions{
- .layout-content .row{
- white-space: normal;
- .col{
- height:auto;
- &.col-2:last-child{
- padding-left: 0em;
- padding-right: 1em;
- }
- >.wrapper{
- margin-bottom: 1em;
- padding:0;
- >*{padding:0;}
- article.node{
- .field--name-field-visuel{
- a,img{
- display: block;
- width: 100%; height:auto;
- }
- }
- header{
- background-color: rgba(255,255,255,0.95);
- padding:0.5em 1em;
- h2.node-title{
- margin:0;
- }
- p{margin: 0;}
- }
- &.node--view-mode-image-2-columns{
- header{
- position: absolute;
- bottom: 0; left:0;
- h2.node-title{
- font-size: 1.6em;
- font-weight: 500;
- }
- }
- }
- &.node--view-mode-image-1-columns{
- h2.node-title{
- font-size: 1.2em;
- font-weight: 500;
- }
- }
- &.node--view-mode-text-1-column{
- padding:0 1em;
- }
- }
- }
- }
- }
- }
- // ___ _
- // | __|__ ___| |_ ___ _ _
- // | _/ _ \/ _ \ _/ -_) '_|
- // |_|\___/\___/\__\___|_|
- @mixin oblique-list {
- display: inline-block;
- position: relative;
- list-style: none;
- margin: 0 1.5em 0 0;
- // width:2em; height:10em;
- padding: 0;
- a{
- position: absolute;
- bottom: 0;
- transform-origin: left bottom;
- transform: rotateZ(-45deg);
- color: #000;
- text-decoration: none;
- text-transform: uppercase;
- font-size: 0.756em;
- white-space: nowrap;
- }
- }
- footer{
- position: relative;
- pointer-events: none;
- // outline: 1px dotted blue;
- >.wrapper{
- white-space: nowrap;
- // height:100%;
- >.region{
- // height:100%;
- // display: table-cell;
- display: inline-block;
- vertical-align: baseline;
- white-space:normal;
- // pointer-events: none;
- // outline: 1px dotted purple;
- // position: relative;
- >*{
- display: inline-block; vertical-align: bottom;
- }
- }
- .region-footer-left{
- // float:left;
- width:12%;
- // min-width:50px;
- text-align: left;
- }
- .region-footer-center{
- // float: none;
- width: 72%;
- overflow:hidden;
- text-align: center;
- }
- .region-footer-right{
- // float:right;
- width:12%;
- // min-width: 50px;
- text-align: right;
- }
- }
- nav.block-menu{
- display: inline-block;
- ul{
- margin:0;
- padding:0;
- li{
- pointer-events: all;
- @include oblique-list;
- &:first-of-type{
- margin-left: 1em;
- }
- a{
- &:before{
- content: "";
- display:inline-block;
- $sq:7px;
- width: $sq; height:$sq;
- border: 1px solid black;
- margin-right: 0.5em;
- }
- &:hover:before,
- &.is-active:before{
- background-color: black;
- }
- &.ajax-loading:before{
- @include spining-loader-square;
- }
- }
- }
- }
- }
- .block-language{
- display: inline-block;
- position: relative;
- ul{
- position: absolute;
- bottom:0;
- margin:0;
- padding:0;
- transform-origin: left bottom;
- transform: rotateZ(-45deg);
- white-space: nowrap;
- pointer-events: all;
- li{
- margin:0; padding:0;
- list-style: none;
- display: inline-block;
- &:last-of-type{
- &:before{
- content:"/";
- margin:0 0.2em;
- }
- }
- a{
- color: inherit;
- text-decoration: none;
- font-size: 0.756em;
- }
- &.is-active{
- a{color: red;}
- }
- }
- }
- }
- #block-productions{
- position: relative;
- pointer-events: none;
- body:not(.path-productions) & {display:none}
- ul{
- margin-left: -3em;
- white-space: nowrap;
- li{
- height:200px; // this is needed to respect the height of oblique links :(
- a{
- // outline: 1px solid blue;
- pointer-events: all;
- background-color: #fff;
- padding-right: 0.4em;
- &:before{
- content: "";
- display:inline-block;
- $sq:7px;
- width: $sq; height:$sq;
- border: 1px solid red;
- margin-right: 0.5em;
- }
- &:hover:before{
- background-color: red;
- }
- &.ajax-loading:before{
- @include spining-loader-square;
- }
- }
- }
- }
- }
- .block-block-edlp-entrees{
- pointer-events: none;
- body.path-productions &,
- body.path-agenda & {display:none}
- display: inline-block;
- // vertical-align: top;
- ul{
- margin:0;
- white-space: nowrap;
- li{
- @include oblique-list;
- margin:0;
- white-space: nowrap;
- pointer-events: none;
- span.oblique-wrapper{
- height:120px; // this is needed to respect the height of oblique links :(
- display: inline-block;
- vertical-align: bottom;
- position: relative;
- width:1.5em;
- }
- a.term-link, a.articles-link{
- // outline: 1px solid blue;
- pointer-events: all;
- background-color: #fff;
- padding-right: 0.4em;
- &:before{
- content: "";
- display:inline-block;
- $sq:7px;
- width: $sq; height:$sq;
- border: 1px solid #000;
- background-color: #000;
- margin-right: 0.5em;
- transition: background-color 0.1s ease-in-out;
- }
- &.articles-link{
- margin-left: 2em;
- text-transform: capitalize;
- }
- }
- .entree-content{
- display: inline-block;
- // outline: 1px solid green;
- width:0;
- overflow: hidden;
- opacity: 0;
- transition: all 300ms ease-in-out;
- transition-property: width,opacity;
- span.oblique-wrapper:first-of-type{
- margin-left: 0.5em;
- }
- span.oblique-wrapper a{
- text-transform: none;
- pointer-events: auto;
- &:before{
- content: "";
- display:inline-block;
- $sq:5px;
- width: $sq; height:$sq;
- border: 1px solid #000;
- margin-right: 0.5em;
- }
- }
- .term-description{
- display: inline-block;
- margin-left: 1.5em;
- text-align: left;
- width:250px;
- word-wrap:break-word;
- // word-break:break-all;
- hyphens: auto;
- white-space: normal;
- background-color: $transparent-bg;
- padding:0.5em;
- padding-bottom:0;
- p{
- font-size: 0.65em;
- margin:0;
- }
- }
- }
- &[tid='134']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_134;background-color: $e_col_134;}}
- &[tid='121']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_121;background-color: $e_col_121;}}
- &[tid='125']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_125;background-color: $e_col_125;}}
- &[tid='119']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_119;background-color: $e_col_119;}}
- &[tid='132']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_132;background-color: $e_col_132;}}
- &[tid='122']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_122;background-color: $e_col_122;}}
- &[tid='129']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_129;background-color: $e_col_129;}}
- &[tid='120']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_120;background-color: $e_col_120;}}
- &[tid='130']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_130;background-color: $e_col_130;}}
- &[tid='118']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_118;background-color: $e_col_118;}}
- &[tid='127']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_127;background-color: $e_col_127;}}
- &[tid='133']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_133;background-color: $e_col_133;}}
- &[tid='128']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_128;background-color: $e_col_128;}}
- &[tid='124']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_124;background-color: $e_col_124;}}
- &[tid='116']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_116;background-color: $e_col_116;}}
- &[tid='117']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_117;background-color: $e_col_117;}}
- &[tid='131']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_131;background-color: $e_col_131;}}
- &[tid='126']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_126;background-color: $e_col_126;}}
- &[tid='123']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: $e_col_123;background-color: $e_col_123;}}
- // &.highlighted{
- // a.term_link{
- // color: red;
- // }
- // }
- .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
- a.articles-link:not(:hover):not(.is-active):before{
- background-color: #fff!important;
- }
- &:not(.opened){
- a.term-link:not(:hover):not(.highlighted):before{
- background-color: #fff!important;
- }
- }
- &.opened{
- // outline: 1px solid purple;
- a.term-link:after {
- content: '';
- position: absolute;
- left: 15px; right:0;
- bottom: -3px;
- border-bottom: 1px solid grey;
- }
- .entree-content{
- width:350px;
- opacity: 1;
- }
- }
- // &:not(:first-of-type) .entree-content{display: none;}
- }
- }
- }
- $icons_w:20px;
- #block-studiolinkblock{
- pointer-events: all;
- a{
- $wh:$icons_w;
- display: block;
- width:$wh; height:$wh;
- background-image: url(../img/studio.svg);
- background-size: contain;
- text-indent: $wh*2;
- margin: 0;
- overflow: hidden;
- }
- }
- // #block-fancylogin{
- // pointer-events: all;
- //
- // }
- #block-userlogin{
- pointer-events: all;
- // outline: 1px solid blue;
- $wh:$icons_w;
- position: relative;
- width:$wh; height: $wh;
- // background-color: blue;
- h2{
- position: relative;
- width:$wh; height:$wh;
- background-image: url(../img/studio.svg);
- // background-color: red;
- background-size: contain;
- text-indent: $wh*2;
- margin: 0;
- overflow: hidden;
- z-index: 1;
- cursor: pointer;
- }
- .block-content{
- z-index: 0;
- position:absolute;
- right:0;bottom:$wh;
- padding:0.5em;
- padding-bottom: 20px;
- background-color: $transparent-bg;
- border-top: 1px solid red;
- border-bottom: 1px solid red;
- overflow: hidden;
- box-sizing:border-box;
- height: 0px;
- opacity:0;
- pointer-events:none;
- transition: all 0.5s ease-in-out;
- transition-property: height,opacity;
- // &:hover{
- // height:200px;
- // opacity:1;
- // pointer-events: auto;
- // }
- form{
- font-size: 0.75em;
- }
- .item-list{
- ul{margin:0;}
- li{
- margin:0;
- list-style: none;
- a{
- color: inherit;
- text-decoration: none;
- font-size: 0.75em;
- white-space:nowrap;
- }
- }
- }
- }
- &:hover{
- .block-content{
- height:200px;
- opacity: 1;
- pointer-events:auto;
- }
- }
- }
- }
- // _ _ _ ___
- // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
- // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
- // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
- // |_| |_|
- .node-popup{
- .inner{
- position: relative;
- .entrees{
- span{
- @include entrie-micro-square;
- }
- }
- .title{
- margin:0.3em 0;
- font-size: 1.2em;
- font-weight: 500;
- }
- .description{
- p{
- margin:0;
- font-size: 0.75em;
- }
- }
- .chutier-icon{
- position:absolute;
- top:1em; right:1em;
- }
- }
- }
- // __ ___ _ ___ _ _ _
- // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
- // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
- // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
- // complete rewrite of url_to_video_filter css
- .url-to-video-container{
- // display:block;
- margin:10px auto;
- // width:100%;
- &.no-js{
- border:solid black 1px;
- .loader{
- // background:url(../images/no-js.png) no-repeat center center;
- // background-size:40px 40px;
- }
- .url-to-video-player{
- cursor:auto;
- }
- }
- .loader{
- // top:240px;
- // left:50%;
- // transform:translate(-50%, -50%);
- // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
- top:auto; left: auto;
- transform: none;
- }
- span.url-to-video-player{
- // display:block;
- // width:100%;
- /* assuming that the video has a 16:9 ratio */
- // padding-bottom:56.25%;
- padding-bottom:0;
- // overflow:hidden;
- // position:relative;
- // width:100%;
- // height:100%;
- height:auto;
- // cursor:hand;
- // cursor:pointer;
- // display: block;
- &:before{
- content: "";
- display: block;
- /* assuming that the video has a 16:9 ratio */
- padding-top: 56.25%;
- }
- img.player-thumb
- {
- // background-position:center center;
- // background-size:cover;
- // position: absolute;
- // top: 0;
- // left: 0;
- // width: 100%;
- // height: 100%;
- // cursor:pointer;
- }
- .play-button
- {
- z-index: 5;
- // height:40px;
- // width:40px;
- // display:block;
- // background:url(../images/play-button.png) no-repeat center center;
- // background-size:40px 40px;
- // position:absolute;
- // top:240px;
- top:50%;
- // left:50%;
- // transform:translate(-50%, -50%);
- // cursor:pointer;
- }
- iframe.player-iframe
- {
- // width:100%;
- // height:100%;
- // position:absolute;
- // top:0;
- // left:0;
- }
- }
- }
|