12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988 |
- // @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/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 entree-micro-square {
- white-space: nowrap;
- font-size: 0.5em;
- line-height: 0;
- letter-spacing: 0px;
- span{
- display:inline-block;
- $s:6px;
- width:$s; height:$s;
- background-color: black;
- margin-right: 2px;
- &[tid='134']{background-color: var(--e-col-134);}
- &[tid='121']{background-color: var(--e-col-121);}
- &[tid='125']{background-color: var(--e-col-125);}
- &[tid='119']{background-color: var(--e-col-119);}
- &[tid='132']{background-color: var(--e-col-132);}
- &[tid='122']{background-color: var(--e-col-122);}
- &[tid='129']{background-color: var(--e-col-129);}
- &[tid='120']{background-color: var(--e-col-120);}
- &[tid='130']{background-color: var(--e-col-130);}
- &[tid='118']{background-color: var(--e-col-118);}
- &[tid='127']{background-color: var(--e-col-127);}
- &[tid='133']{background-color: var(--e-col-133);}
- &[tid='128']{background-color: var(--e-col-128);}
- &[tid='124']{background-color: var(--e-col-124);}
- &[tid='116']{background-color: var(--e-col-116);}
- &[tid='117']{background-color: var(--e-col-117);}
- &[tid='131']{background-color: var(--e-col-131);}
- &[tid='126']{background-color: var(--e-col-126);}
- &[tid='123']{background-color: var(--e-col-123);}
- }
- }
- @mixin btn {
- padding: 3px;
- background-color: white;
- border-radius: 3px;
- }
- // .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:260px;
- width:$w; height:$w * 0.22;
- margin-top: 0.15em;
- background-image: url(../img/logo.svg);
- // background-color: white;
- background-repeat:no-repeat;
- background-size: contain;
- white-space: nowrap;
- text-indent: 500px;
- overflow: hidden;
- }
- }
- opacity: 1;
- transition: opacity 0.7s ease-in-out;
- .audio-player-visible &{
- opacity: 0;
- }
- }
- #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;
- @include btn;
- &: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,
- &.is-active-trail: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;
- @include btn;
- &: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;
- }
- }
- }
- }
- }
- // ___
- // / __|__ _ _ ___ ____ _ ___
- // | (__/ _` | ' \ V / _` (_-<
- // \___\__,_|_||_\_/\__,_/__/
- #corpus-map{
- opacity: 0;
- body[corpus="map-ready"] &{
- transition: opacity 2s ease-out;
- opacity: 1;
- }
- }
- // _
- // _ __ __ _(_)_ _
- // | ' \/ _` | | ' \
- // |_|_|_\__,_|_|_||_|
- // booting sequence
- // and ajax loading effects
- main[role="main"]{
- .row{
- opacity: 0;
- .col{
- opacity:1;
- transition: opacity 0.5s ease-in-out;
- }
- }
- body[booted="booted"] &{
- .row{
- transition: opacity 1s ease-out;
- opacity:1;
- }
- }
- body.ajax-loading &{
- .row .col:not([theme="edlp_search_search_form"]){
- 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;
- // }
- }
- }
- 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;
- // }
- }
- }
- }
- }
- h3.sur-title{
- @include content_titles;
- margin:0.9em 0 0;
- }
- article.node:not(.node--type-enregistrement)>h2, h2.title{
- @include content_titles;
- }
- article.node.node--type-enregistrement{
- margin:0.5em 0;
- >h2{
- @include document_titles_teaser;
- }
- }
- article.node.node--type-enregistrement.node--view-mode-transcript,
- article.node.node--type-enregistrement.node--view-mode-article{
- >h2{
- @include content_subtitles;
- margin:0.9em 0 0 0;
- }
- }
- article.node.node--type-enregistrement.node--view-mode-transcript{
- html.js &{
- h3.sur-title{display:none;}
- }
- .field--name-field-transcript-vo, .field--name-field-transcript-trad{
- .field__label{
- @include content_titles;
- html.js &{
- display: none;
- }
- }
- &:not(.visible){
- display:none;
- }
- }
- nav{
- padding:1em 0 0;
- div.field__label{
- @include content_titles;
- display: inline-block;
- cursor:pointer;
- margin-right: 1em;
- &:before{
- content: "";
- display:inline-block;
- $sq:7px;
- width: $sq; height:$sq;
- border: 1px solid red;
- margin-right: 0.5em;
- }
- &:hover:before,
- &.is-active:before{
- background-color: red;
- }
- }
- }
- }
- article.node--type-page.node--view-mode-default{
- >h2.node-title{
- @include content_big_titles;
- margin:0.3em 0;
- }
- .field--name-field-visuel{
- margin-bottom: 1em;
- }
- }
- .agenda{
- .past-events{
- border-top: 1px solid red;
- margin-top: 1em;
- }
- text-align: center;
- h3{
- @include content_titles;
- }
- article.node > h2.node-title{
- @include content_subtitles;
- margin-bottom: 0;
- }
- .field--name-field-date{
- time{
- @include content_courant;
- }
- }
- }
- div.taxonomy-term{
- >h2{
- // display:none;
- @include content_subtitles;
- margin: 1em 0 0.5em;
- }
- >.content{
- }
- .field__label{
- @include content_titles;
- }
- .field--name-field-notice{
- .field__label{
- margin-bottom: 1em;
- }
- }
- article.node--type-enregistrement{
- h2.node-title{
- @include content_subtitles;
- margin:0.9em 0 0 0;
- }
- }
- }
- article.node p, div.taxonomy-term p{
- @include content_courant;
- margin:0 0 1em 0;
- }
- .field.text-formatted{
- a{
- display: inline-block;
- position: relative;
- &:after{
- content:'';
- position: absolute;
- // z-index: -1;
- width:100%;
- left:0; bottom:0.2em;
- border-bottom: 1px dotted #1A1A1A;
- }
- &.audio-link{
- &:after{
- border-color: red;
- }
- }
- }
- }
- .productions-subtree{
- a{
- @include nav_link;
- &: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;
- }
- }
- }
- .productions-parent{
- margin-top: 1em;
- margin-bottom: 0.5em;
- a{
- @include nav_link;
- &:before{
- content:'\2039';
- // font-weight: bold;
- font-size: 1.7em;
- line-height: 0.95;
- margin-right:0.1em;
- margin-left: -0.4em;
- display: inline-block;
- vertical-align:bottom;
- }
- }
- }
- img{
- max-width: 100%;
- height: auto;
- }
- ul, li, ul.inline li:first-child{
- margin:0; padding:0;
- list-style: none;
- }
- span.close-col-btn{
- // z-index: 10;
- pointer-events: all;
- cursor: pointer;
- position:sticky;
- top:0.5em;
- padding:0!important;
- margin:0.5em;
- display: block;
- $s:10px;
- width:$s; height:$s;
- float: right;
- background-image: url(../img/close.svg);
- background-repeat: no-repeat;
- background-position: center;
- background-size: contain;
- }
- }
- // _ _ _ ___ _
- // /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
- // / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
- // /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
- // |__/
- @mixin audio_controls {
- // outline: 1px dotted orange;
- &>*{
- display: inline-block;
- vertical-align: middle;
- width:20px;height:30px;
- background-position: center;
- background-size: contain;
- }
- .play-pause{
- background-image: url(../img/audio-player-play.svg);
- padding:0 0.3em;
- cursor: pointer;
- }
- &.is-playing{
- .play-pause{background-image: url(../img/audio-player-pause.svg);}
- }
- .previous, .next{
- opacity: 0.3;
- transition: opacity 0.3s ease-in-out;
- cursor: auto;
- &.is-active{
- opacity: 1;
- cursor: pointer;
- }
- }
- .previous{
- background-image: url(../img/audio-player-previous.svg);
- }
- .next{
- background-image: url(../img/audio-player-next.svg);
- }
- }
- #audio-player{
- position: absolute;
- top:0; left:0;
- padding-left:0.7em;
- // 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;
- }
- white-space: nowrap;
- &>*{
- display: inline-block;
- vertical-align: middle;
- // word-break:keep-all;
- padding:0;
- max-height: 100%;
- // outline: 1px solid green;
- white-space: normal;
- @include btn;
- }
- .btns{
- @include audio_controls;
- }
- .time-line-container{
- // height:50%;
- background:transparent;
- .time-line{
- position: relative;
- width:70px; height:1px;
- background-color: #000;
- overflow: visible;
- transform: rotateZ(-46deg);
- .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{
- // visibility: hidden;
- .entrees{
- @include entree-micro-square;
- }
- h2.node-title{
- margin:0.2em 0 0;
- font-size: 0.9em;
- font-weight: 600;
- }
- p{
- margin:0;
- font-size: 0.756em;
- }
- }
- .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;
- white-space: nowrap;
- &>*{
- display: inline-block;
- vertical-align: top;
- white-space: normal;
- }
- .col-left{
- a{
- display: block;
- font-size: 0.82em;
- font-weight: 600;
- }
- }
- .col-right{
- border-left:1px solid #1A1A1A;
- margin-left:5px; padding-left:5px;
- h3{
- font-size: 0.82em;
- margin:0;
- }
- p{
- font-size: 0.756em;
- margin:0;
- span.cat{
- font-weight: 600;
- }
- }
- }
- }
- }
- &:hover{
- .second-cartel{
- opacity: 1;
- }
- }
- article:not(.has-second-cartel){
- .second-cartel{
- display:none;
- }
- }
- }
- }
- // ___ _ _ _
- // / __| |_ _ _ __| (_)___
- // \__ \ _| || / _` | / _ \
- // |___/\__|\_,_\__,_|_\___/
- .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{
- font-size: 0.756em;
- margin:0;
- &:not(:last-of-type){
- margin: 0 0 0.4em 0;
- }
- }
- }
- }
- &:hover{
- .popup{
- display: block;
- }
- }
- }
- .row .col .studio-ui-wrapper{
- height: 100%;
- }
- #studio-ui{
- height:100%;
- @mixin draggable_sortable_field__item {
- display: inline-block;
- position: relative;
- white-space: nowrap;
- pointer-events: none;
- // margin-right: 25px;
- width:25px;
- height: 100%;
- &.ui-draggable-dragging{
- height:100px;
- }
- opacity: 1;
- transition: opacity 0.1s ease-in-out;
- &.ready-to-remove{
- opacity:0.3;
- cursor:crosshair;
- }
- &>*{
- pointer-events: all;
- }
- article{
- // outline: 1px dotted purple;
- position: absolute;
- bottom:0;
- transform-origin: left top;
- transform: rotateZ(-45deg);
- h2{
- margin:0;
- text-transform: none;
- a{
- white-space: nowrap!important;
- &:before{
- content:"";
- display: inline-block;
- vertical-align: middle;
- width:$compo_square_size; height:$compo_square_size;
- border: 1px solid white;
- background-color: white;
- // TODO: entries color;
- }
- font-size: 0.756em;
- }
- }
- }
- .handler{
- z-index: 99;
- cursor: grab;
- position: absolute;
- bottom:0; left:1px;
- display: block;
- width:$compo_square_size; height:$compo_square_size;
- transform-origin: left top;
- transform: rotateZ(-45deg);
- border: 1px solid red;
- background-color: white;
- // TODO: entries color;
- }
- &.is-active .handler{
- background-color: red;
- }
- } // end mixin
- .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;
- overflow-x: hidden;
- // 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;
- >div{
- display:inline-block;
- padding-right: 2em;
- &.ui-draggable{
- cursor:grab;
- }
- }
- .entrees{
- @include entree-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;
- }
- }
- }
- }
- $compo_square_size:12px;
- .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: bottom;
- height: 100%;
- }
- .compositions-list{
- width:30%;
- height:100%; // this is not working
- overflow-y: auto;
- box-sizing: border-box;
- padding-right: 0.5em;
- border-right: 1px solid #aaa;
- li{
- opacity: 1;
- transition: opacity 0.3s ease-in-out;
- &:hover{
- a.delete-composition-link{
- opacity: 1;
- }
- }
- &.ajax-loading{
- opacity: 0.4;
- }
- }
- a{
- font-size: 0.756em;
- $w:7px;
- $s:7px; $m:5px;
- &.composition-link{
- display: inline-block;
- box-sizing: border-box;
- // width:100%;
- width: calc(100% - #{$w +$s +$m +2});
- &:before{
- content: "";
- width:$w; height:$w;
- border: 1px solid black;
- background-color: white;
- display: inline-block;
- vertical-align: middle;
- margin-right: $m;
- }
- &.ajax-loading:before{
- @include spining-loader-square;
- }
- &.is-active:before{
- background-color: black;
- }
- }
- &.delete-composition-link{
- display: inline-block;
- vertical-align: middle;
- $s:7px; width:$s; height:$s;
- margin-left: $m;
- text-indent: 300px; overflow: hidden;
- background-image: url('../img/delete.svg');
- background-repeat: no-repeat;
- background-size: contain;
- opacity: 0;
- transition: opacity 0.3s ease-in-out;
- }
- &.new-composition-link{
- // padding-left: 1em;
- &:before{
- content:"+";
- // font-weight: bold;
- margin-right: $m;
- }
- display: inline-block;
- vertical-align: top;
- overflow: hidden;
- margin-top: 0.4em;
- 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{
- position: relative;
- box-sizing: border-box;
- padding-left: 0.5em;
- width:69%;
- $header_height:25px;
- $actions_height:25px;
- $padding:5px;
- opacity:1;
- transition: opacity 0.3s ease-in-out;
- &.ajax-loading{
- opacity:0.3;
- }
- >*{
- box-sizing: border-box;
- }
- >header{
- height:$header_height;
- padding-bottom:$padding;
- font-size: 0.756em;
- }
- >.composition{
- position: relative;
- height:calc(100% - #{$header_height + $actions_height + $padding*2});
- // outline: 1px solid red;
- padding-bottom: 1em;
- .field--name-documents{
- position: relative;
- box-sizing: border-box;
- height: 100%;
- width: 100%; padding:0 0.5em;
- $h:29px; $w:calc(100% - 2px); $c:#A1A1A1;
- &:before, &:after{
- content: "";
- width:$w;
- position: absolute;
- bottom:0; left:0;
- // z-index: -1;
- }
- &:before{
- border-top: 1px solid $c;
- height:$h /2;
- }
- &:after{
- border-left: 1px solid $c;
- border-right: 1px solid $c;
- height:$h;
- }
- .field__item{
- @include draggable_sortable_field__item;
- }
- }
- .remove-drop-zone{
- position: absolute;
- top:0; left:0; width:100%; height:45%;
- z-index: 150;
- // &.ui-droppable-hover{
- // background-color: red;
- // }
- }
- }
- >.actions{
- padding-top:$padding;
- height:$actions_height;
- // outline: 1px solid blue;
- .compo-player-controls{
- @include audio_controls;
- }
- }
- }
- }
- }
- // drag and drop specifics
- // created by js
- .field__item.ui-draggable-dragging{
- // outline: 1px solid green;
- @include draggable_sortable_field__item;
- }
- }
- // ___ _
- // / __| ___ __ _ _ _ __| |_
- // \__ \/ -_) _` | '_/ _| ' \
- // |___/\___\__,_|_| \__|_||_|
- .col[theme="edlp_search_search_form"]{
- &, >.wrapper{
- position: relative;
- height:100%;
- }
- }
- #edlp-search-form{
- height:100%;
- .fieldgroup{
- border-bottom: 1px solid red;
- margin-top:1em;
- margin-bottom: 0em;
- legend{
- font-size: 0.9em;
- margin: 0;
- font-weight: 500;
- }
- .fieldset-wrapper{
- padding-bottom: 1em;
- }
- .form-item{
- margin:0;
- }
- }
- input[type="text"], input[type="search"]{
- font-size: 0.8em;
- padding:0.2em; margin:0;
- border: 1px solid #aaa;
- border-radius: 3px;
- width:90%;
- }
- #edit-entries{
- .form-item{
- label, input{
- display: inline-block;
- vertical-align: middle;
- }
- label{
- font-size: 0.756em;
- }
- input[type="checkbox"]{
- appearance:none;
- $w:10px;
- width:$w; height:$w;
- border: 1px double black;
- background-color: white;
- &:checked{
- background-color: black;
- }
- &[value='134']{
- border-color: var(--e-col-134);
- &:checked{background-color: var(--e-col-134);}
- }
- &[value='121']{
- border-color: var(--e-col-121);
- &:checked{background-color: var(--e-col-121);}
- }
- &[value='125']{
- border-color: var(--e-col-125);
- &:checked{background-color: var(--e-col-125);}
- }
- &[value='119']{
- border-color: var(--e-col-119);
- &:checked{background-color: var(--e-col-119);}
- }
- &[value='132']{
- border-color: var(--e-col-132);
- &:checked{background-color: var(--e-col-132);}
- }
- &[value='122']{
- border-color: var(--e-col-122);
- &:checked{background-color: var(--e-col-122);}
- }
- &[value='129']{
- border-color: var(--e-col-129);
- &:checked{background-color: var(--e-col-129);}
- }
- &[value='120']{
- border-color: var(--e-col-120);
- &:checked{background-color: var(--e-col-120);}
- }
- &[value='130']{
- border-color: var(--e-col-130);
- &:checked{background-color: var(--e-col-130);}
- }
- &[value='118']{
- border-color: var(--e-col-118);
- &:checked{background-color: var(--e-col-118);}
- }
- &[value='127']{
- border-color: var(--e-col-127);
- &:checked{background-color: var(--e-col-127);}
- }
- &[value='133']{
- border-color: var(--e-col-133);
- &:checked{background-color: var(--e-col-133);}
- }
- &[value='128']{
- border-color: var(--e-col-128);
- &:checked{background-color: var(--e-col-128);}
- }
- &[value='124']{
- border-color: var(--e-col-124);
- &:checked{background-color: var(--e-col-124);}
- }
- &[value='116']{
- border-color: var(--e-col-116);
- &:checked{background-color: var(--e-col-116);}
- }
- &[value='117']{
- border-color: var(--e-col-117);
- &:checked{background-color: var(--e-col-117);}
- }
- &[value='131']{
- border-color: var(--e-col-131);
- &:checked{background-color: var(--e-col-131);}
- }
- &[value='126']{
- border-color: var(--e-col-126);
- &:checked{background-color: var(--e-col-126);}
- }
- &[value='123']{
- border-color: var(--e-col-123);
- &:checked{background-color: var(--e-col-123);}
- }
- }
- }
- }
- input[type="submit"]{
- font-size: 0.756em;
- padding:0.1em;
- margin:1em 0 0 0;
- float:right;
- opacity: 1;
- transition: opacity 0.3s ease-in-out;
- }
- &.ajax-loading input[type="submit"]{
- opacity:0.2;
- pointer-events: none;
- }
- }
- .col[theme="edlp_search_results"]{
- opacity: 1;
- transition: opacity 0.3s ease-in-out;
- &.ajax-loading{
- opacity:0.2;
- }
- article.node{
- &:first-of-type{
- margin-top: 1em!important;
- }
- .entrees{
- @include entree-micro-square;
- }
- h2.node-title{
- margin:0 0 0.3em 0;
- // font-size: 0.8em;
- // font-weight: 500;
- // text-transform: none;
- }
- // .description{
- // p{
- // margin:0;
- // font-size: 0.75em;
- // }
- // }
- }
- }
- // _ _ _ _ _
- // /_\ (_)__ ___ __ | \| |___ __| |___
- // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
- // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
- // |__/
- // 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%;
- // >*{
- // white-space: normal;
- // }
- // div.column{
- // 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;
- }
- }
- // _ _
- // | || |___ _ __ ___
- // | __ / _ \ ' \/ -_)
- // |_||_\___/_|_|_\___|
- // ___ _ _ _
- // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
- // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
- // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
- body.path-frontpage, body.path-productions{
- .layout-content .row{
- white-space: normal;
- min-height: 100%;
- .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);
- box-sizing: border-box;
- width: 100%;
- padding:0.5em 1em;
- h2.node-title{
- margin:0;
- @include content_titles;
- }
- // p{margin: 0;}
- }
- &.node--view-mode-image-2-columns{
- header{
- position: absolute;
- bottom: 0; left:0;
- h2.node-title{
- @include content_big_titles;
- }
- }
- }
- // &.node--view-mode-image-1-columns{
- // h2.node-title{
- // // font-size: 1em;
- // // 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;
- min-width:12%;
- // min-width: 50px;
- text-align: right;
- }
- }
- #block-footer{
- display: inline-block;
- margin-bottom: 1em;
- ul{
- margin:0;
- padding:0;
- white-space: nowrap;
- li{
- pointer-events: all;
- // @include oblique-list;
- display: inline-block;
- &:first-of-type{
- margin-left: 1em;
- }
- a{
- font-size: 0.756em;
- @include btn;
- &: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;
- }
- }
- }
- }
- }
- // remove #block-productions from selector
- // to enable again oblique style for all block-menu
- nav#block-productions.block-menu{
- display: inline-block;
- ul{
- margin:0;
- padding:0;
- li{
- pointer-events: all;
- @include oblique-list;
- &:first-of-type{
- margin-left: 1em;
- }
- a{
- @include btn;
- &: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;}
- // }
- // }
- // }
- // }
- nav#block-productions.block-menu{
- position: relative;
- pointer-events: none;
- display:none;
- body.path-productions &, body.entity-type-node.bundle-page & {display:inline-block;}
- 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;
- @include btn;
- 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,
- &.is-active:before,
- &.is-active-trail:before{
- background-color: red;
- }
- &.ajax-loading:before{
- @include spining-loader-square;
- }
- }
- }
- }
- }
- .block-block-edlp-entrees{
- pointer-events: none;
- body.path-productions &,
- body.entity-type-node.bundle-page &,
- body.path-agenda & {display:none}
- display: inline-block;
- // vertical-align: top;
- div.item-list{
- 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;
- // background-color: rgba(255,255,255, 0.6);
- @include btn;
- padding-right: 0.4em;
- color:black;
- transition: color 0.3s ease-in-out;
- &: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: 4em;
- 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;
- }
- &.ajax-loading:before{
- @include spining-loader-square;
- }
- }
- .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;
- }
- }
- }
- // TODO: replace variable system by attribute color
- // a.term-link:before, .entree-content span.oblique-wrapper a:before{
- // border-color: attr(color);
- // background-color: attr(color);
- // }
- &[tid='134']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-134);background-color: var(--e-col-134);}}
- &[tid='121']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-121);background-color: var(--e-col-121);}}
- &[tid='125']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-125);background-color: var(--e-col-125);}}
- &[tid='119']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-119);background-color: var(--e-col-119);}}
- &[tid='132']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-132);background-color: var(--e-col-132);}}
- &[tid='122']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-122);background-color: var(--e-col-122);}}
- &[tid='129']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-129);background-color: var(--e-col-129);}}
- &[tid='120']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-120);background-color: var(--e-col-120);}}
- &[tid='130']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-130);background-color: var(--e-col-130);}}
- &[tid='118']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-118);background-color: var(--e-col-118);}}
- &[tid='127']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-127);background-color: var(--e-col-127);}}
- &[tid='133']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-133);background-color: var(--e-col-133);}}
- &[tid='128']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-128);background-color: var(--e-col-128);}}
- &[tid='124']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-124);background-color: var(--e-col-124);}}
- &[tid='116']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-116);background-color: var(--e-col-116);}}
- &[tid='117']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-117);background-color: var(--e-col-117);}}
- &[tid='131']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-131);background-color: var(--e-col-131);}}
- &[tid='126']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-126);background-color: var(--e-col-126);}}
- &[tid='123']{
- a.term-link:before, .entree-content span.oblique-wrapper a:before{
- border-color: var(--e-col-123);background-color: var(--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):not(.highlighted){
- a.term-link:not(:hover):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;}
- }
- }
- &.opened, &.highlighted{
- li:not(.opened):not(.highlighted){
- a.term-link{
- color:#a1a1a1;
- }
- }
- }
- }
- }
- $icons_w:20px;
- @mixin iconlinkblock($bgimgurl) {
- pointer-events: all;
- margin-left: 0.5em;
- // @include btn;
- a{
- box-sizing: border-box;
- $wh:$icons_w;
- display: block;
- width:$wh; height:$wh;
- text-indent: $wh*2;
- margin: 0;
- overflow: hidden;
- mask-image: $bgimgurl;
- mask-size: contain;
- background-color: #000;
- transition: background-color 0.3s ease-in-out;
- cursor: pointer;
- &.is-active{
- background-color: red;
- }
- }
- }
- .block.random-player{
- margin-bottom: 1em;
- @include iconlinkblock(url(../img/random.svg));
- }
- #block-studiolinkblock{
- margin-bottom: 1em;
- margin-left: 0.2em;
- @include iconlinkblock(url(../img/studio.svg));
- }
- #block-userlogin{
- margin-bottom: 1em;
- pointer-events: all;
- margin-left: 0.2em;
- $wh:$icons_w;
- position: relative;
- // box-sizing: border-box;
- width:$wh; height: $wh;
- h2{
- box-sizing: content-box;
- // @include btn;
- // padding:0;
- 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;
- }
- }
- }
- #block-edlpsearchlinkblock{
- margin-bottom: 1em;
- @include iconlinkblock(url(../img/search.svg));
- margin-left: 0.2em;
- }
- }
- // _ _ _ ___
- // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
- // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
- // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
- // |_| |_|
- .node-popup{
- .inner{
- position: relative;
- .entrees{
- @include entree-micro-square;
- }
- .title{
- margin:0.2em 0 0;
- // margin:0.3em 0;
- font-size: 0.9em;
- font-weight: 600;
- }
- .description{
- p{
- margin:0;
- font-size: 0.756em;
- }
- }
- .chutier-icon{
- &[action="add"]{
- display:none;
- }
- position:absolute;
- top:0.4em; right:0.4em;
- }
- }
- }
- // __ ___ _ ___ _ _ _
- // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
- // \ 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;
- }
- }
- }
|