app.scss 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595
  1. // @Author: Bachir Soussi Chiadmi <bach>
  2. // @Date: 18-12-2017
  3. // @Email: bachir@figureslibres.io
  4. // @Filename: app.scss
  5. // @Last modified by: bach
  6. // @Last modified time: 20-12-2017
  7. // @License: GPL-V3
  8. @import 'base/reset';
  9. @import 'base/colors';
  10. @import 'base/grid';
  11. @import 'base/layout';
  12. @import 'base/fonts';
  13. @mixin spining-loader-square{
  14. @keyframes rotation {
  15. from {transform: rotate(0deg);}
  16. to {transform: rotate(359deg);}
  17. }
  18. animation: rotation 2s infinite linear;
  19. }
  20. @mixin entree-micro-square {
  21. white-space: nowrap;
  22. font-size: 0.5em;
  23. line-height: 0;
  24. letter-spacing: 0px;
  25. span{
  26. display:inline-block;
  27. $s:6px;
  28. width:$s; height:$s;
  29. background-color: black;
  30. margin-right: 2px;
  31. &[tid='134']{background-color: var(--e-col-134);}
  32. &[tid='121']{background-color: var(--e-col-121);}
  33. &[tid='125']{background-color: var(--e-col-125);}
  34. &[tid='119']{background-color: var(--e-col-119);}
  35. &[tid='132']{background-color: var(--e-col-132);}
  36. &[tid='122']{background-color: var(--e-col-122);}
  37. &[tid='129']{background-color: var(--e-col-129);}
  38. &[tid='120']{background-color: var(--e-col-120);}
  39. &[tid='130']{background-color: var(--e-col-130);}
  40. &[tid='118']{background-color: var(--e-col-118);}
  41. &[tid='127']{background-color: var(--e-col-127);}
  42. &[tid='133']{background-color: var(--e-col-133);}
  43. &[tid='128']{background-color: var(--e-col-128);}
  44. &[tid='124']{background-color: var(--e-col-124);}
  45. &[tid='116']{background-color: var(--e-col-116);}
  46. &[tid='117']{background-color: var(--e-col-117);}
  47. &[tid='131']{background-color: var(--e-col-131);}
  48. &[tid='126']{background-color: var(--e-col-126);}
  49. &[tid='123']{background-color: var(--e-col-123);}
  50. }
  51. }
  52. @mixin btn {
  53. padding: 3px;
  54. background-color: white;
  55. border-radius: 3px;
  56. }
  57. // .layout-container{
  58. // pointer-events: none;
  59. // }
  60. // _ _
  61. // | |_ ___ __ _ __| |___ _ _
  62. // | ' \/ -_) _` / _` / -_) '_|
  63. // |_||_\___\__,_\__,_\___|_|
  64. header[role="banner"]{
  65. pointer-events: all;
  66. // TODO: what header height to fit well with player ??
  67. }
  68. #block-edlptheme-branding{
  69. display: inline-block;
  70. h1{
  71. margin:0; display: inline-block;
  72. a.site-name{
  73. display: block;
  74. $w:260px;
  75. width:$w; height:$w * 0.22;
  76. margin-top: 0.15em;
  77. background-image: url(../img/logo.svg);
  78. // background-color: white;
  79. background-repeat:no-repeat;
  80. background-size: contain;
  81. white-space: nowrap;
  82. text-indent: 500px;
  83. overflow: hidden;
  84. html.is-mobile &{
  85. $w:170px;
  86. width:$w; height:$w * 0.22;
  87. }
  88. }
  89. }
  90. opacity: 1;
  91. transition: opacity 0.7s ease-in-out;
  92. .audio-player-visible &{
  93. opacity: 0;
  94. }
  95. }
  96. #block-mainnavigation, #block-mainnavigation-2{
  97. float:right;
  98. margin-top: 25px;
  99. z-index: 21;
  100. position: relative;
  101. >h2{
  102. display: none;
  103. }
  104. ul{
  105. margin:0; padding: 0;
  106. white-space: nowrap;
  107. li{
  108. margin:0; padding:0;
  109. display: inline-block;
  110. a{
  111. font-size: 0.756em;
  112. color:inherit;
  113. text-decoration: none;
  114. text-transform: uppercase;
  115. margin-left: 1em;
  116. @include btn;
  117. &:before{
  118. content: "";
  119. display:inline-block;
  120. $sq:0.6em;
  121. width: $sq; height:$sq;
  122. border: 1px solid red;
  123. margin-right: 0.3em;
  124. }
  125. &.ajax-loading:before{
  126. @include spining-loader-square;
  127. }
  128. &.is-active:before,
  129. &.is-active-trail:before,
  130. &:hover:before{
  131. // border-color: red;
  132. background-color: red;
  133. }
  134. }
  135. }
  136. }
  137. @media only screen and (max-width: 1270px) {
  138. margin-top: 15px;
  139. ul{
  140. li{
  141. display: block;
  142. a{
  143. @include content_petit;
  144. }
  145. }
  146. li:first-of-type{
  147. display:none;
  148. }
  149. }
  150. }
  151. html.is-mobile &{
  152. // outline: 1px solid blue;
  153. margin-top:4px;
  154. width:50px; //height:25px;
  155. overflow: visible;
  156. $square-size:15px;
  157. >h2#block-mainnavigation-menu.visually-hidden,
  158. >h2{
  159. // outline: 1px solid green;
  160. display:block;
  161. right:0;
  162. clip: auto;
  163. margin:0;
  164. text-indent: 100px;
  165. overflow: hidden;
  166. cursor: pointer;
  167. width:$square-size*2; height:$square-size*2;
  168. background-size:$square-size $square-size;
  169. background-color: white;
  170. background-repeat: repeat;
  171. background-image:
  172. // hiddings off-square lines
  173. linear-gradient(90deg, white 0, white 2px, transparent 2px, transparent),
  174. linear-gradient(90deg, transparent 0, transparent $square-size - 2, white $square-size - 2, white),
  175. linear-gradient(0deg, white 0, white 2px, transparent 2px, transparent),
  176. linear-gradient(0deg, transparent 0, transparent $square-size - 2, white $square-size - 2, white),
  177. // drawing the lines
  178. linear-gradient(90deg, transparent 0, transparent 2px, red 2px, transparent 3px, transparent),
  179. linear-gradient(90deg, transparent 0, transparent $square-size - 3, red $square-size - 3, transparent $square-size - 2, transparent),
  180. linear-gradient(0deg, transparent 0, transparent 2px, red 2px, transparent 3px, transparent),
  181. linear-gradient(0deg, transparent 0, transparent $square-size - 3, red $square-size - 3, transparent $square-size - 2, transparent);
  182. }
  183. ul.menu{
  184. // outline: 1px solid orange;
  185. border-top: 1px solid red;
  186. border-bottom: 1px solid red;
  187. position:absolute;
  188. background-color: white;
  189. width:300px;
  190. padding: 1em;
  191. top:$square-size * 3; left:100px;
  192. transition: left 0.2s ease-in-out;
  193. li{
  194. &:first-of-type{
  195. display:block;
  196. }
  197. a{
  198. font-size: 0.680em;
  199. padding:0; margin:0;
  200. }
  201. }
  202. }
  203. &.opened ul.menu{
  204. left:-130px;
  205. }
  206. }
  207. }
  208. .block-language{
  209. float: right;
  210. margin-top: 24px;
  211. margin-left: 2em;
  212. ul{
  213. margin:0; padding:0;
  214. li{
  215. display: inline-block; vertical-align: middle;
  216. list-style: none;
  217. a{
  218. font-size: 0.690em;
  219. color:inherit;
  220. text-decoration: none;
  221. text-transform: capitalize;
  222. margin-left: 0.8em;
  223. @include btn;
  224. &:before{
  225. content: "";
  226. display:inline-block;
  227. $sq:0.6em;
  228. width: $sq; height:$sq;
  229. border: 1px solid red;
  230. margin-right: 0.3em;
  231. }
  232. }
  233. &.is-active,
  234. &:hover{
  235. a:before{
  236. border-color: red;
  237. background-color: red;
  238. }
  239. }
  240. }
  241. }
  242. @media only screen and (max-width: 1270px) {
  243. margin-top: 15px;
  244. margin-left: 0.5em;
  245. border-left: 1px solid red;
  246. ul{
  247. li{
  248. display: block;
  249. a{
  250. @include content_petit;
  251. }
  252. }
  253. }
  254. }
  255. }
  256. // ___
  257. // / __|__ _ _ ___ ____ _ ___
  258. // | (__/ _` | ' \ V / _` (_-<
  259. // \___\__,_|_||_\_/\__,_/__/
  260. #corpus-map{
  261. opacity: 0;
  262. body[corpus="map-ready"] &{
  263. transition: opacity 2s ease-out;
  264. opacity: 1;
  265. }
  266. }
  267. // _
  268. // _ __ __ _(_)_ _
  269. // | ' \/ _` | | ' \
  270. // |_|_|_\__,_|_|_||_|
  271. // booting sequence
  272. // and ajax loading effects
  273. main[role="main"]{
  274. .row{
  275. opacity: 0;
  276. .col{
  277. opacity:1;
  278. transition: opacity 0.5s ease-in-out;
  279. }
  280. }
  281. body[booted="booted"] &{
  282. .row{
  283. transition: opacity 1s ease-out;
  284. opacity:1;
  285. }
  286. }
  287. body.ajax-loading &{
  288. .row .col:not([theme="edlp_search_search_form"]){
  289. opacity:0.2;
  290. }
  291. // &:before{
  292. // content:"";
  293. // display: block;
  294. // position: absolute;
  295. // z-index: 10;
  296. // $s:60px;
  297. // width:$s; height:$s;
  298. // top:calc(50% - #{$s/2}); left:calc(50% - #{$s/2});
  299. // // padding:1em;
  300. // background-color: rgba(255,255,255, 0.5);
  301. // background-image: url(../img/edlp-loader-anim.svg);
  302. // background-size: 50%;
  303. // background-repeat: no-repeat;
  304. // background-position: center;
  305. // // border-radius: $s/2;
  306. // }
  307. }
  308. html.is-mobile &{
  309. *{pointer-events: all!important;}
  310. }
  311. }
  312. main[role="main"]{
  313. .layout-content{
  314. pointer-events: none;
  315. .row{
  316. pointer-events: none;
  317. height:100%;
  318. overflow: hidden;
  319. .col{
  320. pointer-events: none;
  321. height: 100%;
  322. position: relative;
  323. &>.wrapper{
  324. pointer-events:all;
  325. position: relative;
  326. box-sizing: border-box;
  327. border-top: 1px solid red;
  328. border-bottom: 1px solid red;
  329. background-color: $transparent-bg;
  330. padding:0 0 1em;
  331. max-height: 100%;
  332. overflow-y: auto;
  333. &>*{
  334. padding:0 1.5em;
  335. }
  336. // .os-scroll{
  337. // box-sizing: border-box;
  338. // max-height: 100%;
  339. // padding:0 1em;
  340. // }
  341. }
  342. }
  343. }
  344. }
  345. h3.sur-title{
  346. @include content_titles;
  347. margin:0.9em 0 0;
  348. }
  349. article.node:not(.node--type-enregistrement)>h2, h2.title{
  350. @include content_titles;
  351. }
  352. article.node.node--type-enregistrement{
  353. margin:0.5em 0;
  354. >h2{
  355. @include document_titles_teaser;
  356. }
  357. }
  358. article.node.node--type-enregistrement.node--view-mode-transcript,
  359. article.node.node--type-enregistrement.node--view-mode-article{
  360. >h2{
  361. // display: none;
  362. @include content_subtitles;
  363. margin:1em 0 0.9em 0;
  364. }
  365. h3.sur-title{
  366. display: none;
  367. }
  368. }
  369. article.node.node--type-enregistrement.node--view-mode-index{
  370. &{margin:0}
  371. h2.node-title{margin-top: 0.6em; line-height: 1;}
  372. p{margin:0.1em 0;}
  373. }
  374. article.node.node--type-enregistrement.node--view-mode-transcript{
  375. html.js &{
  376. h3.sur-title{display:none;}
  377. }
  378. .field--name-field-transcript-vo, .field--name-field-transcript-trad{
  379. .field__label{
  380. @include content_titles;
  381. html.js &{
  382. display: none;
  383. }
  384. }
  385. &:not(.visible){
  386. display:none;
  387. }
  388. }
  389. nav{
  390. padding:1em 0 0;
  391. div.field__label{
  392. @include content_titles;
  393. display: inline-block;
  394. cursor:pointer;
  395. margin-right: 1em;
  396. &:before{
  397. content: "";
  398. display:inline-block;
  399. $sq:7px;
  400. width: $sq; height:$sq;
  401. border: 1px solid red;
  402. margin-right: 0.5em;
  403. }
  404. &:hover:before,
  405. &.is-active:before{
  406. background-color: red;
  407. }
  408. }
  409. }
  410. }
  411. article.node--type-page.node--view-mode-default{
  412. >h2.node-title{
  413. @include content_big_titles;
  414. margin:0.3em 0;
  415. }
  416. .field--name-field-visuel{
  417. margin-bottom: 1em;
  418. }
  419. }
  420. .agenda{
  421. .past-events{
  422. border-top: 1px solid red;
  423. margin-top: 1em;
  424. }
  425. text-align: center;
  426. h3{
  427. @include content_titles;
  428. }
  429. article.node > h2.node-title{
  430. @include content_subtitles;
  431. margin-bottom: 0;
  432. }
  433. .field--name-field-date{
  434. time{
  435. @include content_courant;
  436. }
  437. }
  438. }
  439. article.node--type-evenement{
  440. .field--name-field-page-liee{
  441. @include content_subtitles;
  442. }
  443. .field--name-field-date{
  444. @include content_courant;
  445. }
  446. .field--name-title{
  447. @include content_courant;
  448. }
  449. // .field--name-body{}
  450. }
  451. article.node--type-evenement.node--view-mode-aside{
  452. .field--name-field-date{
  453. @include content_subtitles;
  454. }
  455. }
  456. div.taxonomy-term{
  457. padding-top:1em!important;
  458. &:not(.home_mobile)>h2{
  459. display:none;
  460. // @include content_subtitles;
  461. // margin: 1em 0 0.5em;
  462. }
  463. &.home_mobile h2{
  464. margin:0;
  465. @include content_titles;
  466. }
  467. >.content{
  468. }
  469. &:not(.home_mobile) .field__label{
  470. display:none;
  471. // @include content_titles;
  472. }
  473. .field--name-field-notice{
  474. .field__label{
  475. margin-bottom: 1em;
  476. }
  477. }
  478. &.home_mobile .field__label{
  479. margin: 0;
  480. @include content_subtitles;
  481. }
  482. article.node--type-enregistrement{
  483. h2.node-title{
  484. @include content_subtitles;
  485. margin:0.9em 0 0 0;
  486. }
  487. }
  488. }
  489. div.articles{
  490. padding-top:1em!important;
  491. &:not(.home_mobile)>h3{
  492. display:none;
  493. // @include content_subtitles;
  494. // margin: 1em 0 0.5em;
  495. }
  496. &.home_mobile h2{
  497. margin:0;
  498. @include content_titles;
  499. }
  500. article.node--type-enregistrement{
  501. h2.node-title{
  502. @include content_subtitles;
  503. margin:0.9em 0 0 0;
  504. }
  505. }
  506. }
  507. div.lastdocs{
  508. article.node--type-enregistrement{
  509. h2.node-title{
  510. @include content_subtitles;
  511. margin:0.9em 0 0 0;
  512. // margin:0 0 0.3em 0;
  513. }
  514. .entrees{
  515. @include entree-micro-square;
  516. }
  517. }
  518. }
  519. div.lastdocs-home{
  520. >.wrapper{
  521. padding:0 1em!important;
  522. }
  523. h3{
  524. @include content_titles;
  525. }
  526. article.node--type-enregistrement{
  527. h2.node-title{
  528. // @include content_subtitles;
  529. // margin:0.9em 0 0 0;
  530. margin:0 0 0.3em 0;
  531. }
  532. .entrees{
  533. @include entree-micro-square;
  534. }
  535. }
  536. }
  537. div.lastdocs{
  538. h3{
  539. @include content_titles;
  540. }
  541. article.node--type-enregistrement{
  542. .entrees{
  543. @include entree-micro-square;
  544. }
  545. h2.node-title{
  546. @include content_subtitles;
  547. margin:0.3em 0 0 0;
  548. // margin:0 0 0.3em 0;
  549. }
  550. .description{
  551. p{
  552. margin:0 0 0.3em 0;
  553. }
  554. }
  555. }
  556. }
  557. .collection{
  558. h3{
  559. @include content_titles;
  560. text-align: center;
  561. padding-top: 0.5em;
  562. }
  563. }
  564. html.is-mobile & .col[sys_path="collection"]{
  565. h3{
  566. @include content_titles;
  567. text-align: center;
  568. padding-top: 0.5em;
  569. }
  570. article.node--type-enregistrement{
  571. margin:0.7em 0 0 0;
  572. h2.node-title{
  573. margin: 0;
  574. }
  575. div.entrees{
  576. @include entree-micro-square;
  577. }
  578. p{margin: 0;}
  579. }
  580. }
  581. div.taxonomy-term.vocabulary-entrees.home_mobile{
  582. // &:not(:first-of-type){
  583. padding-bottom: 1em;
  584. // border-bottom: 1px solid red;
  585. // }
  586. > h2{
  587. white-space:nowrap;
  588. &:before{
  589. content: "";
  590. display:inline-block;
  591. $sq:10px;
  592. width: $sq; height:$sq;
  593. border: 1px solid #000;
  594. margin-right: 0.5em;
  595. }
  596. div{display: inline-block;}
  597. }
  598. &[tid='134']{>h2:before{border-color: var(--e-col-134);}}
  599. &[tid='121']{>h2:before{border-color: var(--e-col-121);}}
  600. &[tid='125']{>h2:before{border-color: var(--e-col-125);}}
  601. &[tid='119']{>h2:before{border-color: var(--e-col-119);}}
  602. &[tid='132']{>h2:before{border-color: var(--e-col-132);}}
  603. &[tid='122']{>h2:before{border-color: var(--e-col-122);}}
  604. &[tid='129']{>h2:before{border-color: var(--e-col-129);}}
  605. &[tid='120']{>h2:before{border-color: var(--e-col-120);}}
  606. &[tid='130']{>h2:before{border-color: var(--e-col-130);}}
  607. &[tid='118']{>h2:before{border-color: var(--e-col-118);}}
  608. &[tid='127']{>h2:before{border-color: var(--e-col-127);}}
  609. &[tid='133']{>h2:before{border-color: var(--e-col-133);}}
  610. &[tid='128']{>h2:before{border-color: var(--e-col-128);}}
  611. &[tid='124']{>h2:before{border-color: var(--e-col-124);}}
  612. &[tid='116']{>h2:before{border-color: var(--e-col-116);}}
  613. &[tid='117']{>h2:before{border-color: var(--e-col-117);}}
  614. &[tid='131']{>h2:before{border-color: var(--e-col-131);}}
  615. &[tid='126']{>h2:before{border-color: var(--e-col-126);}}
  616. &[tid='123']{>h2:before{border-color: var(--e-col-123);}}
  617. .field--name-field-notice, .index{
  618. >.field__label{
  619. cursor: pointer;
  620. }
  621. .field__item, .item-list{
  622. height: auto;
  623. transition: height 0.3s ease-in-out;
  624. }
  625. &.closed{
  626. .field__item, .item-list{
  627. overflow: hidden;
  628. height:1px;
  629. transition: height 0.01s ease-in-out;
  630. }
  631. }
  632. }
  633. &.notice-opened, &.index-opened{
  634. .field--name-description{
  635. overflow: hidden;
  636. height: 1px;
  637. }
  638. }
  639. }
  640. h4.inter-titre{
  641. @include content_courant;
  642. font-weight: normal;
  643. font-style: italic;
  644. margin:1.5em 0 0.5em 0;
  645. }
  646. article.node p, div.taxonomy-term p{
  647. @include content_courant;
  648. margin:0 0 1em 0;
  649. }
  650. .field.text-formatted{
  651. a{
  652. display: inline-block;
  653. position: relative;
  654. &:after{
  655. content:'';
  656. position: absolute;
  657. // z-index: -1;
  658. width:100%;
  659. left:0; bottom:0.2em;
  660. border-bottom: 1px dotted #1A1A1A;
  661. }
  662. &.audio-link{
  663. &:after{
  664. border-color: red;
  665. }
  666. }
  667. }
  668. }
  669. .productions-subtree{
  670. a{
  671. @include nav_link;
  672. &:before{
  673. content: "";
  674. display:inline-block;
  675. $sq:7px;
  676. width: $sq; height:$sq;
  677. border: 1px solid black;
  678. margin-right: 0.5em;
  679. }
  680. &:hover:before,
  681. &.is-active:before{
  682. background-color: black;
  683. }
  684. &.ajax-loading:before{
  685. @include spining-loader-square;
  686. }
  687. }
  688. }
  689. .productions-parent{
  690. margin-top: 1em;
  691. margin-bottom: 0.5em;
  692. a{
  693. @include nav_link;
  694. &:before{
  695. content:'\2039';
  696. // font-weight: bold;
  697. font-size: 1.7em;
  698. line-height: 0.95;
  699. margin-right:0.1em;
  700. margin-left: -0.4em;
  701. display: inline-block;
  702. vertical-align:bottom;
  703. }
  704. }
  705. }
  706. img{
  707. max-width: 100%;
  708. height: auto;
  709. }
  710. ul, li, ul.inline li:first-child{
  711. margin:0; padding:0;
  712. list-style: none;
  713. }
  714. span.close-col-btn{
  715. // z-index: 10;
  716. pointer-events: all;
  717. cursor: pointer;
  718. position:sticky;
  719. top:0.5em;
  720. padding:0!important;
  721. margin:0.7em 0 0 0.5em;
  722. display: block;
  723. $s:10px;
  724. width:$s; height:$s;
  725. float: left;
  726. background-image: url(../img/close.svg);
  727. background-repeat: no-repeat;
  728. background-position: center;
  729. background-size: contain;
  730. }
  731. html.is-mobile & .node--type-enregistrement.node--view-mode-full{
  732. h2.node-title{
  733. @include content_titles;
  734. }
  735. .audiofield label{display: none;}
  736. }
  737. }
  738. // _ _ _ ___ _
  739. // /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
  740. // / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
  741. // /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
  742. // |__/
  743. @mixin audio_controls {
  744. // outline: 1px dotted orange;
  745. &>*{
  746. display: inline-block;
  747. vertical-align: middle;
  748. width:20px;height:30px;
  749. background-position: center;
  750. background-size: contain;
  751. }
  752. .play-pause{
  753. background-image: url(../img/audio-player-play.svg);
  754. padding:0 0.3em;
  755. cursor: pointer;
  756. }
  757. &.is-playing{
  758. .play-pause{background-image: url(../img/audio-player-pause.svg);}
  759. }
  760. .previous, .next{
  761. opacity: 0.3;
  762. transition: opacity 0.3s ease-in-out;
  763. cursor: auto;
  764. &.is-active{
  765. opacity: 1;
  766. cursor: pointer;
  767. }
  768. }
  769. .previous{
  770. background-image: url(../img/audio-player-previous.svg);
  771. }
  772. .next{
  773. background-image: url(../img/audio-player-next.svg);
  774. }
  775. }
  776. #audio-player{
  777. // outline: 1px solid blue;
  778. position: absolute;
  779. box-sizing: border-box;
  780. // overflow: hidden;
  781. top:0; left:0;
  782. padding-left:0.7em;
  783. // background-color: white;
  784. height:100%;
  785. min-width:700px;
  786. z-index: 20;
  787. opacity: 0;
  788. pointer-events: none;
  789. transition: opacity 0.7s ease-in-out;
  790. &.visible{
  791. opacity: 1;
  792. pointer-events:all;
  793. }
  794. white-space: nowrap;
  795. &>*{
  796. display: inline-block;
  797. vertical-align: middle;
  798. // word-break:keep-all;
  799. padding:0;
  800. max-height: 100%;
  801. white-space: normal;
  802. @include btn;
  803. background-color: transparent;
  804. }
  805. .btns{
  806. @include audio_controls;
  807. }
  808. .time-line-container{
  809. // height:50%;
  810. background:transparent;
  811. .time-line{
  812. position: relative;
  813. width:70px; height:1px;
  814. background-color: #000;
  815. overflow: visible;
  816. transform: rotateZ(-46deg);
  817. // outline: 3px solid blue;
  818. .loader{
  819. width:0; height:1px;
  820. background-color: red;
  821. border-top: 2px solid white;
  822. border-bottom: 2px solid white;
  823. position: absolute;
  824. top:-2px;left:0;
  825. cursor: pointer;
  826. }
  827. .cursor{
  828. height:10px;width:0;
  829. border-left: 2px solid red;
  830. position:absolute;
  831. left:0; top:-5px;
  832. pointer-events: none;
  833. }
  834. }
  835. }
  836. .time{
  837. &>*{
  838. width:70px;
  839. text-align: right;
  840. }
  841. .current-time{
  842. font-size: 1.4em;
  843. font-weight: 600;
  844. }
  845. .duration{
  846. font-size: 0.75em;
  847. font-weight: 400;
  848. }
  849. }
  850. .favoris{
  851. height:100%;
  852. }
  853. .cartel{
  854. position: relative;
  855. // min-width: 200px;
  856. width: calc(100% - 260px);
  857. // outline: 1px solid orange;
  858. margin-left: 1em;
  859. // background-color: white;
  860. opacity: 1;
  861. transition: opacity 0.5s ease-in-out;
  862. &.loading{opacity: 0;}
  863. white-space: nowrap;
  864. .actions, .cartels{
  865. display: inline-block;
  866. vertical-align: top;
  867. white-space: normal;
  868. position: relative;
  869. }
  870. .actions{
  871. width:1.5em;
  872. }
  873. .cartels{
  874. width:calc(100% - 1.5em);
  875. // outline: 1px solid green;
  876. .first-cartel{
  877. // visibility: hidden;
  878. opacity:1;
  879. transition: opacity 0.2s ease-in-out;
  880. .entrees{
  881. @include entree-micro-square;
  882. }
  883. h2.node-title{
  884. margin:0.2em 0 0;
  885. font-size: 0.9em;
  886. font-weight: 600;
  887. }
  888. p{
  889. margin:0;
  890. font-size: 0.756em;
  891. }
  892. }
  893. .second-cartel{
  894. position: absolute;
  895. top: 0; left:0;
  896. // background-color: white;
  897. height:100%; min-width: 100%;
  898. opacity: 0;
  899. transition: opacity 0.2s ease-in-out;
  900. white-space: nowrap;
  901. &>*{
  902. display: inline-block;
  903. vertical-align: top;
  904. white-space: normal;
  905. }
  906. .col-left{
  907. a.ajax-link{
  908. display: block;
  909. font-size: 0.82em;
  910. font-weight: 600;
  911. }
  912. .addtoany_list > a:first-child{
  913. padding-left: 0;
  914. margin-left:-4px;
  915. }
  916. }
  917. .col-right{
  918. border-left:1px solid #1A1A1A;
  919. margin-left:5px; padding-left:5px;
  920. max-width: calc(100% - 100px);
  921. h3{
  922. // display: inline;
  923. // float: left;
  924. @include content_subtitles;
  925. margin:0;
  926. }
  927. div.item-list{
  928. // float: left;
  929. // display: inline;
  930. max-width: 100%;
  931. }
  932. ul{
  933. // display: inline;
  934. max-width: 100%;
  935. padding:0; margin:0;
  936. li{
  937. padding:0; margin:0;
  938. display: inline-block;
  939. list-style: none;
  940. &:not(:last-of-type){
  941. margin-right:0.4em;
  942. &:after{
  943. content:","
  944. }
  945. }
  946. a{
  947. @include content_courant;
  948. }
  949. }
  950. }
  951. }
  952. }
  953. }
  954. &:hover, &.second-visible{
  955. .first-cartel{
  956. opacity: 0;
  957. }
  958. .second-cartel{
  959. opacity: 1;
  960. }
  961. }
  962. // article:not(.has-second-cartel){
  963. // .second-cartel{
  964. // display:none;
  965. // }
  966. // }
  967. }
  968. }
  969. // ___ _ _ _
  970. // / __| |_ _ _ __| (_)___
  971. // \__ \ _| || / _` | / _ \
  972. // |___/\__|\_,_\__,_|_\___/
  973. .chutier-icon{
  974. $s:1em;
  975. z-index: 1;
  976. display: block;
  977. position: relative;
  978. width:$s;height:$s;
  979. overflow: hidden;
  980. text-indent: 50em;
  981. // background-color: red;
  982. background-position: center;
  983. background-repeat: no-repeat;
  984. background-size: contain;
  985. background-image: url(../img/favori-off.svg);
  986. &[action="remove"]{
  987. background-image: url(../img/favori-on.svg);
  988. }
  989. transition: opacity 0.2s ease-in-out;
  990. &.ajax-loading{
  991. opacity: 0.2;
  992. }
  993. &.not-logedin{
  994. overflow: visible;
  995. }
  996. .popup{
  997. display:none;
  998. position: absolute;
  999. top:0; left:0;
  1000. width:300px; height:auto; min-height: 100px;
  1001. .inner{
  1002. background-color: rgba(255,255,255,0.9);
  1003. border: 1px solid red;
  1004. text-indent: 0;
  1005. padding: 0.5em;
  1006. margin:$s*1.2 0 0 $s*1.2;
  1007. p{
  1008. font-size: 0.756em;
  1009. margin:0;
  1010. &:not(:last-of-type){
  1011. margin: 0 0 0.4em 0;
  1012. }
  1013. }
  1014. }
  1015. }
  1016. &:hover{
  1017. .popup{
  1018. display: block;
  1019. }
  1020. }
  1021. }
  1022. .row .col .studio-ui-wrapper{
  1023. height: 100%;
  1024. }
  1025. #studio-ui{
  1026. height:100%;
  1027. @mixin draggable_sortable_field__item {
  1028. display: inline-block;
  1029. position: relative;
  1030. white-space: nowrap;
  1031. pointer-events: none;
  1032. // margin-right: 25px;
  1033. width:25px;
  1034. height: 100%;
  1035. &.ui-draggable-dragging{
  1036. height:100px;
  1037. }
  1038. opacity: 1;
  1039. transition: opacity 0.1s ease-in-out;
  1040. &.ready-to-remove{
  1041. opacity:0.3;
  1042. cursor:crosshair;
  1043. }
  1044. &>*{
  1045. pointer-events: all;
  1046. }
  1047. article{
  1048. // outline: 1px dotted purple;
  1049. position: absolute;
  1050. bottom:0;
  1051. transform-origin: left top;
  1052. transform: rotateZ(-45deg);
  1053. h2{
  1054. margin:0;
  1055. text-transform: none;
  1056. a{
  1057. white-space: nowrap!important;
  1058. &:before{
  1059. content:"";
  1060. display: inline-block;
  1061. vertical-align: middle;
  1062. width:$compo_square_size; height:$compo_square_size;
  1063. border: 1px solid white;
  1064. background-color: white;
  1065. // TODO: entries color;
  1066. }
  1067. font-size: 0.756em;
  1068. }
  1069. }
  1070. }
  1071. .handler{
  1072. z-index: 99;
  1073. cursor: grab;
  1074. position: absolute;
  1075. bottom:0; left:1px;
  1076. display: block;
  1077. width:$compo_square_size; height:$compo_square_size;
  1078. transform-origin: left top;
  1079. transform: rotateZ(-45deg);
  1080. border: 1px solid red;
  1081. background-color: white;
  1082. // TODO: entries color;
  1083. }
  1084. &.is-active .handler{
  1085. background-color: red;
  1086. }
  1087. } // end mixin
  1088. .chutier_ui{
  1089. height: 50%;
  1090. border-bottom: 1px solid red;
  1091. position: relative;
  1092. &>h2{
  1093. z-index: 10;
  1094. position: absolute;
  1095. width: calc(100% - 20px);
  1096. margin: 0;
  1097. padding:0.5em 0;
  1098. font-size: 1em;
  1099. font-weight: 500;
  1100. text-transform: uppercase;
  1101. // outline: 1px solid orange;
  1102. background-color: white;
  1103. }
  1104. .documents{
  1105. padding-top: 35px;
  1106. height:calc(100% - 35px);
  1107. overflow-y: auto;
  1108. overflow-x: hidden;
  1109. // box-sizing: content-box;
  1110. // outline: 1px solid green;
  1111. ul,li{
  1112. margin:0; padding:0;
  1113. line-height: 1.2;
  1114. }
  1115. li{
  1116. display: inline-block; vertical-align: top;
  1117. width:49%; margin-bottom: 0.5em;
  1118. white-space: nowrap;
  1119. >div{
  1120. display:inline-block;
  1121. padding-right: 2em;
  1122. &.ui-draggable{
  1123. cursor:grab;
  1124. }
  1125. }
  1126. .entrees{
  1127. @include entree-micro-square;
  1128. }
  1129. a.audio-link{
  1130. // text-transform: capitalize;
  1131. font-size: 0.756em;
  1132. margin-right: 0.5em;
  1133. white-space: normal;
  1134. }
  1135. .chutier-icon{
  1136. display: inline-block;
  1137. width:0.7em; height:0.7em;
  1138. opacity: 0.8;
  1139. }
  1140. }
  1141. }
  1142. }
  1143. $compo_square_size:12px;
  1144. .composition_ui{
  1145. height:50%;
  1146. &>h2{
  1147. z-index: 10;
  1148. position: absolute;
  1149. width: calc(100% - 20px);
  1150. margin: 0;
  1151. padding:0.5em 0;
  1152. font-size: 1em;
  1153. font-weight: 500;
  1154. text-transform: uppercase;
  1155. // outline: 1px solid orange;
  1156. background-color: white;
  1157. }
  1158. >.wrapper{
  1159. padding-top: 35px;
  1160. height:calc(100% - 35px);
  1161. overflow: hidden;
  1162. white-space: nowrap;
  1163. section.compositions-list, section.composer{
  1164. display: inline-block; vertical-align: bottom;
  1165. height: 100%;
  1166. }
  1167. .compositions-list{
  1168. width:30%;
  1169. height:100%; // this is not working
  1170. overflow-y: auto;
  1171. box-sizing: border-box;
  1172. padding-right: 0.5em;
  1173. border-right: 1px solid #aaa;
  1174. li{
  1175. opacity: 1;
  1176. transition: opacity 0.3s ease-in-out;
  1177. &:hover{
  1178. a.delete-composition-link{
  1179. opacity: 1;
  1180. }
  1181. }
  1182. &.ajax-loading{
  1183. opacity: 0.4;
  1184. }
  1185. }
  1186. a{
  1187. font-size: 0.756em;
  1188. $w:7px;
  1189. $s:7px; $m:5px;
  1190. &.composition-link{
  1191. display: inline-block;
  1192. box-sizing: border-box;
  1193. // width:100%;
  1194. width: calc(100% - #{$w +$s +$m +2});
  1195. &:before{
  1196. content: "";
  1197. width:$w; height:$w;
  1198. border: 1px solid black;
  1199. background-color: white;
  1200. display: inline-block;
  1201. vertical-align: middle;
  1202. margin-right: $m;
  1203. }
  1204. &.ajax-loading:before{
  1205. @include spining-loader-square;
  1206. }
  1207. &.is-active:before{
  1208. background-color: black;
  1209. }
  1210. }
  1211. &.delete-composition-link{
  1212. display: inline-block;
  1213. vertical-align: middle;
  1214. $s:7px; width:$s; height:$s;
  1215. margin-left: $m;
  1216. text-indent: 300px; overflow: hidden;
  1217. background-image: url('../img/delete.svg');
  1218. background-repeat: no-repeat;
  1219. background-size: contain;
  1220. opacity: 0;
  1221. transition: opacity 0.3s ease-in-out;
  1222. }
  1223. &.new-composition-link{
  1224. // padding-left: 1em;
  1225. &:before{
  1226. content:"+";
  1227. // font-weight: bold;
  1228. margin-right: $m;
  1229. }
  1230. display: inline-block;
  1231. vertical-align: top;
  1232. overflow: hidden;
  1233. margin-top: 0.4em;
  1234. height:1em;
  1235. transition: height 0.2s ease-in-out;
  1236. &.folded{
  1237. height:0;
  1238. }
  1239. }
  1240. }
  1241. .new-compo-form{
  1242. input[type="text"]{
  1243. font-size: 0.756em;
  1244. padding:0 0.5em;
  1245. width:calc(100% - 50px);
  1246. height:1.7em;
  1247. border: none;
  1248. border-top:1px dotted red;
  1249. border-bottom:1px dotted red;
  1250. }
  1251. button{
  1252. background: none;
  1253. border: none;
  1254. font-size: 1em;
  1255. line-height: 1;
  1256. font-weight: bold;
  1257. }
  1258. opacity: 1;
  1259. transition: opacity 0.2s ease-in-out;
  1260. &.ajax-loading{
  1261. opacity: 0.4;
  1262. }
  1263. }
  1264. }
  1265. .composer{
  1266. position: relative;
  1267. box-sizing: border-box;
  1268. padding-left: 0.5em;
  1269. width:69%;
  1270. $header_height:25px;
  1271. $actions_height:25px;
  1272. $padding:5px;
  1273. opacity:1;
  1274. transition: opacity 0.3s ease-in-out;
  1275. &.ajax-loading{
  1276. opacity:0.3;
  1277. }
  1278. >*{
  1279. box-sizing: border-box;
  1280. }
  1281. >header{
  1282. height:$header_height;
  1283. padding-bottom:$padding;
  1284. font-size: 0.756em;
  1285. }
  1286. >.composition{
  1287. position: relative;
  1288. height:calc(100% - #{$header_height + $actions_height + $padding*2});
  1289. // outline: 1px solid red;
  1290. padding-bottom: 1em;
  1291. .field--name-documents{
  1292. position: relative;
  1293. box-sizing: border-box;
  1294. height: 100%;
  1295. width: 100%; padding:0 0.5em;
  1296. $h:29px; $w:calc(100% - 2px); $c:#A1A1A1;
  1297. &:before, &:after{
  1298. content: "";
  1299. width:$w;
  1300. position: absolute;
  1301. bottom:0; left:0;
  1302. // z-index: -1;
  1303. }
  1304. &:before{
  1305. border-top: 1px solid $c;
  1306. height:$h /2;
  1307. }
  1308. &:after{
  1309. border-left: 1px solid $c;
  1310. border-right: 1px solid $c;
  1311. height:$h;
  1312. }
  1313. .field__item{
  1314. @include draggable_sortable_field__item;
  1315. }
  1316. }
  1317. .remove-drop-zone{
  1318. position: absolute;
  1319. top:0; left:0; width:100%; height:45%;
  1320. z-index: 150;
  1321. // &.ui-droppable-hover{
  1322. // background-color: red;
  1323. // }
  1324. }
  1325. }
  1326. >.actions{
  1327. padding-top:$padding;
  1328. height:$actions_height;
  1329. // outline: 1px solid blue;
  1330. .compo-player-controls{
  1331. @include audio_controls;
  1332. }
  1333. }
  1334. }
  1335. }
  1336. }
  1337. // drag and drop specifics
  1338. // created by js
  1339. .field__item.ui-draggable-dragging{
  1340. // outline: 1px solid green;
  1341. @include draggable_sortable_field__item;
  1342. }
  1343. }
  1344. // ___ _
  1345. // / __| ___ __ _ _ _ __| |_
  1346. // \__ \/ -_) _` | '_/ _| ' \
  1347. // |___/\___\__,_|_| \__|_||_|
  1348. .col[theme="edlp_search_search_form"]{
  1349. &, >.wrapper{
  1350. position: relative;
  1351. height:100%;
  1352. }
  1353. }
  1354. #edlp-search-form{
  1355. height:100%;
  1356. .fieldgroup{
  1357. border-bottom: 1px solid red;
  1358. margin-top:1em;
  1359. margin-bottom: 0em;
  1360. legend{
  1361. font-size: 0.9em;
  1362. margin: 0;
  1363. font-weight: 500;
  1364. }
  1365. .fieldset-wrapper{
  1366. padding-bottom: 1em;
  1367. }
  1368. .form-item{
  1369. margin:0;
  1370. }
  1371. }
  1372. input[type="text"], input[type="search"]{
  1373. font-size: 0.8em;
  1374. padding:0.2em; margin:0;
  1375. border: 1px solid #aaa;
  1376. border-radius: 3px;
  1377. width:90%;
  1378. }
  1379. #edit-entries--wrapper{
  1380. legend{
  1381. cursor: pointer;
  1382. display: block;
  1383. width:100%;
  1384. &:after{
  1385. content: '\2304';
  1386. font-size: 2em;
  1387. font-weight: 200;
  1388. display:inline-block;
  1389. line-height: 0;
  1390. letter-spacing: 0;
  1391. // width:15px;
  1392. height:13px;
  1393. overflow: hidden;
  1394. // text-align: center;
  1395. // outline: 1px solid orange;
  1396. float: right;
  1397. margin-top: 0.5em 0 0 0;
  1398. }
  1399. }
  1400. #edit-entries{
  1401. overflow: hidden;
  1402. height:1px;
  1403. margin:0;
  1404. transition: height 0.4s ease-in-out;
  1405. }
  1406. &.opened{
  1407. legend:after{
  1408. // content: '\2303';
  1409. transform: rotateZ(180deg);
  1410. transform-origin: center;
  1411. margin-top: 0 0 0.5em 0;
  1412. }
  1413. #edit-entries{
  1414. height:362px;
  1415. }
  1416. }
  1417. }
  1418. #edit-entries{
  1419. .form-item{
  1420. label, input{
  1421. display: inline-block;
  1422. vertical-align: middle;
  1423. }
  1424. label{
  1425. font-size: 0.756em;
  1426. }
  1427. input[type="checkbox"]{
  1428. appearance:none;
  1429. $w:10px;
  1430. width:$w; height:$w;
  1431. border: 1px double black;
  1432. background-color: white;
  1433. &:checked{
  1434. background-color: black;
  1435. }
  1436. &[value='134']{
  1437. border-color: var(--e-col-134);
  1438. &:checked{background-color: var(--e-col-134);}
  1439. }
  1440. &[value='121']{
  1441. border-color: var(--e-col-121);
  1442. &:checked{background-color: var(--e-col-121);}
  1443. }
  1444. &[value='125']{
  1445. border-color: var(--e-col-125);
  1446. &:checked{background-color: var(--e-col-125);}
  1447. }
  1448. &[value='119']{
  1449. border-color: var(--e-col-119);
  1450. &:checked{background-color: var(--e-col-119);}
  1451. }
  1452. &[value='132']{
  1453. border-color: var(--e-col-132);
  1454. &:checked{background-color: var(--e-col-132);}
  1455. }
  1456. &[value='122']{
  1457. border-color: var(--e-col-122);
  1458. &:checked{background-color: var(--e-col-122);}
  1459. }
  1460. &[value='129']{
  1461. border-color: var(--e-col-129);
  1462. &:checked{background-color: var(--e-col-129);}
  1463. }
  1464. &[value='120']{
  1465. border-color: var(--e-col-120);
  1466. &:checked{background-color: var(--e-col-120);}
  1467. }
  1468. &[value='130']{
  1469. border-color: var(--e-col-130);
  1470. &:checked{background-color: var(--e-col-130);}
  1471. }
  1472. &[value='118']{
  1473. border-color: var(--e-col-118);
  1474. &:checked{background-color: var(--e-col-118);}
  1475. }
  1476. &[value='127']{
  1477. border-color: var(--e-col-127);
  1478. &:checked{background-color: var(--e-col-127);}
  1479. }
  1480. &[value='133']{
  1481. border-color: var(--e-col-133);
  1482. &:checked{background-color: var(--e-col-133);}
  1483. }
  1484. &[value='128']{
  1485. border-color: var(--e-col-128);
  1486. &:checked{background-color: var(--e-col-128);}
  1487. }
  1488. &[value='124']{
  1489. border-color: var(--e-col-124);
  1490. &:checked{background-color: var(--e-col-124);}
  1491. }
  1492. &[value='116']{
  1493. border-color: var(--e-col-116);
  1494. &:checked{background-color: var(--e-col-116);}
  1495. }
  1496. &[value='117']{
  1497. border-color: var(--e-col-117);
  1498. &:checked{background-color: var(--e-col-117);}
  1499. }
  1500. &[value='131']{
  1501. border-color: var(--e-col-131);
  1502. &:checked{background-color: var(--e-col-131);}
  1503. }
  1504. &[value='126']{
  1505. border-color: var(--e-col-126);
  1506. &:checked{background-color: var(--e-col-126);}
  1507. }
  1508. &[value='123']{
  1509. border-color: var(--e-col-123);
  1510. &:checked{background-color: var(--e-col-123);}
  1511. }
  1512. }
  1513. }
  1514. }
  1515. input[type="submit"]{
  1516. font-size: 0.756em;
  1517. padding:0.1em;
  1518. margin:1em 0 0 0;
  1519. float:right;
  1520. opacity: 1;
  1521. transition: opacity 0.3s ease-in-out;
  1522. }
  1523. &.ajax-loading input[type="submit"]{
  1524. opacity:0.2;
  1525. pointer-events: none;
  1526. }
  1527. }
  1528. .col[theme="edlp_search_results"]{
  1529. opacity: 1;
  1530. transition: opacity 0.3s ease-in-out;
  1531. &.ajax-loading{
  1532. opacity:0.2;
  1533. }
  1534. article.node{
  1535. &:first-of-type{
  1536. margin-top: 1em!important;
  1537. }
  1538. .entrees{
  1539. @include entree-micro-square;
  1540. }
  1541. h2.node-title{
  1542. margin:0 0 0.3em 0;
  1543. // font-size: 0.8em;
  1544. // font-weight: 500;
  1545. // text-transform: none;
  1546. }
  1547. // .description{
  1548. // p{
  1549. // margin:0;
  1550. // font-size: 0.75em;
  1551. // }
  1552. // }
  1553. }
  1554. }
  1555. // _ _ _ _ _
  1556. // /_\ (_)__ ___ __ | \| |___ __| |___
  1557. // / _ \ | / _` \ \ / | .` / _ \/ _` / -_)
  1558. // /_/ \_\/ \__,_/_\_\ |_|\_\___/\__,_\___|
  1559. // |__/
  1560. // body.path-edlp-node main{
  1561. // main .col>.wrapper, .edlp-ajax-node{
  1562. // height: 100%;
  1563. // }
  1564. // }
  1565. // _ _
  1566. // /_\ __ _ ___ _ _ __| |__ _
  1567. // / _ \/ _` / -_) ' \/ _` / _` |
  1568. // /_/ \_\__, \___|_||_\__,_\__,_|
  1569. // |___/
  1570. body.path-agenda main .col{
  1571. &>.wrapper{
  1572. height:100%;
  1573. }
  1574. }
  1575. .agenda{
  1576. // position: relative;
  1577. // white-space: nowrap;
  1578. // height: 100%;
  1579. // >*{
  1580. // white-space: normal;
  1581. // }
  1582. // div.column{
  1583. // display: inline-block;
  1584. // vertical-align: top;
  1585. // height:100%;
  1586. // }
  1587. // div.next-event{
  1588. // width:65%;
  1589. // }
  1590. // div.future-past-events{
  1591. // width:33%;
  1592. // }
  1593. ul,li{
  1594. margin:0; padding:0;
  1595. list-style: none;
  1596. }
  1597. }
  1598. // _ _
  1599. // | || |___ _ __ ___
  1600. // | __ / _ \ ' \/ -_)
  1601. // |_||_\___/_|_|_\___|
  1602. // ___ _ _ _
  1603. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  1604. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  1605. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  1606. body.path-frontpage, body.path-productions{
  1607. .layout-content .row{
  1608. // opacity: 1;
  1609. white-space: normal;
  1610. min-height: 100%;
  1611. .grid{
  1612. position: relative;
  1613. min-height: 100%; max-height: 100%;
  1614. }
  1615. .col{
  1616. height:auto;
  1617. opacity:1;
  1618. transition: opacity 0.5s ease-in-out;
  1619. // box-sizing: content-box;
  1620. &.offfield{
  1621. opacity: 0;
  1622. transition: opacity 0s ease-in-out;
  1623. }
  1624. &.col-2:last-child{
  1625. padding-left: 0em;
  1626. padding-right: 1em;
  1627. }
  1628. >.wrapper{
  1629. margin-bottom: 1em;
  1630. padding:0;
  1631. >*{padding:0;}
  1632. article.node{
  1633. .field--name-field-visuel{
  1634. // a,img{
  1635. // display: block;
  1636. // width: 100%;
  1637. // height:auto;
  1638. // }
  1639. // http://www.goldenapplewebdesign.com/responsive-aspect-ratios-with-pure-css/
  1640. // maintain box size without waiting for image loading
  1641. a{
  1642. display: block;
  1643. width: 100%;
  1644. padding-bottom: 56.25%; // ratio 800*450;
  1645. // height:auto;
  1646. }
  1647. img{
  1648. // display: none;
  1649. position: absolute;
  1650. top: 0; bottom: 0; left: 0; right: 0;
  1651. }
  1652. }
  1653. header{
  1654. background-color: rgba(255,255,255,0.95);
  1655. box-sizing: border-box;
  1656. width: 100%;
  1657. padding:0.5em 1em;
  1658. h2.node-title{
  1659. margin:0;
  1660. @include content_titles;
  1661. }
  1662. // p{margin: 0;}
  1663. }
  1664. &.node--view-mode-image-2-columns{
  1665. header{
  1666. position: absolute;
  1667. bottom: 0; left:0;
  1668. h2.node-title{
  1669. @include content_big_titles;
  1670. }
  1671. }
  1672. }
  1673. &.node--view-mode-image-1-columns{
  1674. .field--name-field-visuel{
  1675. padding-bottom: 35px;
  1676. }
  1677. header{
  1678. box-sizing: border-box;
  1679. position: absolute;
  1680. bottom: 0; left:0;
  1681. }
  1682. }
  1683. &.node--view-mode-text-1-column{
  1684. // box-sizing: border-box;
  1685. padding:0 1em;
  1686. }
  1687. }
  1688. }
  1689. }
  1690. }
  1691. }
  1692. // ___ _
  1693. // | __|__ ___| |_ ___ _ _
  1694. // | _/ _ \/ _ \ _/ -_) '_|
  1695. // |_|\___/\___/\__\___|_|
  1696. @mixin oblique-list {
  1697. display: inline-block;
  1698. position: relative;
  1699. list-style: none;
  1700. margin: 0 1.5em 0 0;
  1701. // width:2em; height:10em;
  1702. padding: 0;
  1703. a{
  1704. position: absolute;
  1705. bottom: 0;
  1706. transform-origin: left bottom;
  1707. transform: rotateZ(-45deg);
  1708. color: #000;
  1709. text-decoration: none;
  1710. text-transform: uppercase;
  1711. font-size: 0.756em;
  1712. white-space: nowrap;
  1713. }
  1714. }
  1715. footer{
  1716. position: relative;
  1717. pointer-events: none;
  1718. // outline: 1px dotted blue;
  1719. >.wrapper{
  1720. white-space: nowrap;
  1721. // height:100%;
  1722. >.region{
  1723. // height:100%;
  1724. // display: table-cell;
  1725. display: inline-block;
  1726. vertical-align: baseline;
  1727. white-space:normal;
  1728. // pointer-events: none;
  1729. // outline: 1px dotted purple;
  1730. // position: relative;
  1731. >*{
  1732. display: inline-block; vertical-align: bottom;
  1733. }
  1734. }
  1735. .region-footer-left{
  1736. // float:left;
  1737. width:12%;
  1738. // min-width:50px;
  1739. text-align: left;
  1740. }
  1741. .region-footer-center{
  1742. // float: none;
  1743. width: 73%;
  1744. overflow:hidden;
  1745. text-align: center;
  1746. // z-index: 2;
  1747. }
  1748. .region-footer-right{
  1749. // float:right;
  1750. min-width:12%;
  1751. // min-width: 50px;
  1752. text-align: right;
  1753. // position: absolute;
  1754. // bottom:0; right:0;
  1755. // z-index: 1;
  1756. }
  1757. @media only screen and (max-width: 1270px) {
  1758. .region-footer-left{
  1759. width:9%;
  1760. }
  1761. .region-footer-center{
  1762. width: 80%;
  1763. overflow:hidden;
  1764. // text-align: left; // why ??
  1765. text-align: center;
  1766. }
  1767. .region-footer-right{
  1768. box-sizing: content-box;
  1769. min-width:5%;
  1770. }
  1771. }
  1772. }
  1773. #block-footer{
  1774. display: inline-block;
  1775. margin-bottom: 1em;
  1776. ul{
  1777. margin:0;
  1778. padding:0;
  1779. // white-space: nowrap;
  1780. li{
  1781. pointer-events: all;
  1782. // @include oblique-list;
  1783. display: inline-block;
  1784. padding:0;
  1785. // &:first-of-type{
  1786. // margin-left: 1em;
  1787. // }
  1788. white-space:nowrap;
  1789. a{
  1790. font-size: 0.756em;
  1791. @include btn;
  1792. &:before{
  1793. content: "";
  1794. display:inline-block;
  1795. $sq:7px;
  1796. width: $sq; height:$sq;
  1797. border: 1px solid black;
  1798. margin-right: 0.5em;
  1799. }
  1800. &:hover:before,
  1801. &.is-active:before{
  1802. background-color: black;
  1803. }
  1804. &.ajax-loading:before{
  1805. @include spining-loader-square;
  1806. }
  1807. }
  1808. }
  1809. }
  1810. @media only screen and (max-width: 1270px) {
  1811. margin-top: 15px;
  1812. ul{
  1813. li{
  1814. display: block;
  1815. margin-left: 0!important;
  1816. padding:0;
  1817. line-height: 0.6;
  1818. a{
  1819. @include content_petit;
  1820. padding:0;
  1821. }
  1822. }
  1823. }
  1824. }
  1825. }
  1826. // remove #block-productions from selector
  1827. // to enable again oblique style for all block-menu
  1828. nav#block-productions.block-menu{
  1829. display: inline-block;
  1830. ul{
  1831. margin:0;
  1832. padding:0;
  1833. li{
  1834. pointer-events: all;
  1835. @include oblique-list;
  1836. &:first-of-type{
  1837. margin-left: 1em;
  1838. }
  1839. a{
  1840. @include btn;
  1841. &:before{
  1842. content: "";
  1843. display:inline-block;
  1844. $sq:7px;
  1845. width: $sq; height:$sq;
  1846. border: 1px solid black;
  1847. margin-right: 0.5em;
  1848. }
  1849. &:hover:before,
  1850. &.is-active:before{
  1851. background-color: black;
  1852. }
  1853. &.ajax-loading:before{
  1854. @include spining-loader-square;
  1855. }
  1856. }
  1857. }
  1858. }
  1859. }
  1860. nav#block-productions.block-menu{
  1861. position: relative;
  1862. pointer-events: none;
  1863. display:none;
  1864. body.path-productions &, body.entity-type-node.bundle-page & {display:inline-block;}
  1865. ul{
  1866. margin-left: -3em;
  1867. white-space: nowrap;
  1868. li{
  1869. height:200px; // this is needed to respect the height of oblique links :(
  1870. a{
  1871. // outline: 1px solid blue;
  1872. pointer-events: all;
  1873. // @include btn;
  1874. background-color: rgba(255,255,255, 0.6);
  1875. padding-right: 0.4em;
  1876. &:before{
  1877. content: "";
  1878. display:inline-block;
  1879. $sq:7px;
  1880. width: $sq; height:$sq;
  1881. border: 1px solid red;
  1882. margin-right: 0.5em;
  1883. }
  1884. &:hover:before,
  1885. &.is-active:before,
  1886. &.is-active-trail:before{
  1887. background-color: red;
  1888. }
  1889. &.ajax-loading:before{
  1890. @include spining-loader-square;
  1891. }
  1892. }
  1893. }
  1894. }
  1895. }
  1896. .block-block-edlp-entrees{
  1897. pointer-events: none;
  1898. body.path-productions &,
  1899. body.entity-type-node.bundle-page &,
  1900. body.path-agenda & {display:none}
  1901. display: inline-block;
  1902. // vertical-align: top;
  1903. // outline: 1px dotted green;
  1904. div.item-list{
  1905. ul{
  1906. margin:0;
  1907. white-space: nowrap;
  1908. li{
  1909. @include oblique-list;
  1910. margin:0;
  1911. white-space: nowrap;
  1912. pointer-events: none;
  1913. &:last-of-type:not(.entree){
  1914. margin-right: 5em;
  1915. }
  1916. span.oblique-wrapper{
  1917. height:120px; // this is needed to respect the height of oblique links :(
  1918. display: inline-block;
  1919. vertical-align: bottom;
  1920. position: relative;
  1921. width:1.5em;
  1922. }
  1923. a.term-link, a.articles-link{
  1924. // outline: 1px solid blue;
  1925. pointer-events: all;
  1926. // background-color: #fff;
  1927. background-color: rgba(255,255,255, 0.6);
  1928. // @include btn;
  1929. padding-right: 0.4em;
  1930. color:black;
  1931. transition: color 0.3s ease-in-out;
  1932. &:before{
  1933. content: "";
  1934. display:inline-block;
  1935. $sq:7px;
  1936. width: $sq; height:$sq;
  1937. border: 1px solid #000;
  1938. background-color: #000;
  1939. margin-right: 0.5em;
  1940. transition: background-color 0.1s ease-in-out;
  1941. }
  1942. &.articles-link{
  1943. margin-left: 4em;
  1944. text-transform: capitalize;
  1945. }
  1946. }
  1947. .entree-content{
  1948. display: inline-block;
  1949. // outline: 1px solid green;
  1950. width:0;
  1951. overflow: hidden;
  1952. opacity: 0;
  1953. transition: all 300ms ease-in-out;
  1954. transition-property: width,opacity;
  1955. span.oblique-wrapper:first-of-type{
  1956. margin-left: 0.5em;
  1957. }
  1958. span.oblique-wrapper a{
  1959. text-transform: none;
  1960. pointer-events: auto;
  1961. &:before{
  1962. content: "";
  1963. display:inline-block;
  1964. $sq:5px;
  1965. width: $sq; height:$sq;
  1966. border: 1px solid #000;
  1967. margin-right: 0.5em;
  1968. }
  1969. &.ajax-loading:before{
  1970. @include spining-loader-square;
  1971. }
  1972. }
  1973. .term-description{
  1974. display: inline-block;
  1975. margin-left: 1.5em;
  1976. text-align: left;
  1977. width:250px;
  1978. word-wrap:break-word;
  1979. // word-break:break-all;
  1980. hyphens: auto;
  1981. white-space: normal;
  1982. background-color: $transparent-bg;
  1983. padding:0.5em;
  1984. padding-bottom:0;
  1985. p{
  1986. font-size: 0.65em;
  1987. margin:0;
  1988. }
  1989. }
  1990. }
  1991. // TODO: replace variable system by attribute color
  1992. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1993. // border-color: attr(color);
  1994. // background-color: attr(color);
  1995. // }
  1996. &[tid='134']{
  1997. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1998. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  1999. &[tid='121']{
  2000. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2001. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  2002. &[tid='125']{
  2003. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2004. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  2005. &[tid='119']{
  2006. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2007. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  2008. &[tid='132']{
  2009. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2010. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  2011. &[tid='122']{
  2012. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2013. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  2014. &[tid='129']{
  2015. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2016. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  2017. &[tid='120']{
  2018. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2019. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  2020. &[tid='130']{
  2021. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2022. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  2023. &[tid='118']{
  2024. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2025. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  2026. &[tid='127']{
  2027. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2028. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  2029. &[tid='133']{
  2030. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2031. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  2032. &[tid='128']{
  2033. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2034. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  2035. &[tid='124']{
  2036. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2037. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  2038. &[tid='116']{
  2039. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2040. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  2041. &[tid='117']{
  2042. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2043. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  2044. &[tid='131']{
  2045. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2046. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  2047. &[tid='126']{
  2048. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2049. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  2050. &[tid='123']{
  2051. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2052. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  2053. // &.highlighted{
  2054. // a.term_link{
  2055. // color: red;
  2056. // }
  2057. // }
  2058. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  2059. a.articles-link:not(:hover):not(.is-active):before{
  2060. background-color: #fff!important;
  2061. }
  2062. &:not(.opened):not(.highlighted){
  2063. a.term-link:not(:hover):before{
  2064. background-color: #fff!important;
  2065. }
  2066. }
  2067. &.opened{
  2068. // outline: 1px solid purple;
  2069. a.term-link:after {
  2070. content: '';
  2071. position: absolute;
  2072. left: 15px; right:0;
  2073. bottom: -3px;
  2074. border-bottom: 1px solid grey;
  2075. }
  2076. .entree-content{
  2077. width:350px;
  2078. opacity: 1;
  2079. }
  2080. }
  2081. // &:not(:first-of-type) .entree-content{display: none;}
  2082. }
  2083. }
  2084. &.opened, &.highlighted{
  2085. li:not(.opened):not(.highlighted):not(:hover){
  2086. a.term-link{
  2087. color:#a1a1a1;
  2088. }
  2089. }
  2090. }
  2091. }
  2092. }
  2093. $icons_w:20px;
  2094. $mobile_icon_w:15px;
  2095. @mixin iconlinkblock($bgimgurl, $bgimgurlactive) {
  2096. pointer-events: all;
  2097. margin-left: 0.5em;
  2098. position: relative;
  2099. // @include btn;
  2100. a{
  2101. box-sizing: border-box;
  2102. display: block;
  2103. $wh:$icons_w;
  2104. width:$wh; height:$wh;
  2105. text-indent: $wh*2;
  2106. margin: 0;
  2107. overflow: hidden;
  2108. // mask-image: $bgimgurl;
  2109. // mask-size: contain;
  2110. // background-color: #000;
  2111. // transition: background-color 0.3s ease-in-out;
  2112. background-image: $bgimgurl;
  2113. background-repeat: no-repeat;
  2114. background-size: contain;
  2115. cursor: pointer;
  2116. &:hover, &.is-active{
  2117. // background-color: red;
  2118. background-image: $bgimgurlactive;
  2119. }
  2120. &[alt]:hover{
  2121. // position:relative;
  2122. &:after{
  2123. content:attr(alt);
  2124. position:absolute;
  2125. right:0; bottom:$icons_w*1.2;
  2126. width:170px;
  2127. border: 1px solid red;
  2128. padding:0.5em;
  2129. font-size: 0.756em;
  2130. background-color: white;
  2131. z-index: 50;
  2132. }
  2133. }
  2134. html.is-mobile &{
  2135. $wh:$mobile_icon_w;
  2136. width:$wh; height:$wh;
  2137. text-indent: $wh*2;
  2138. }
  2139. }
  2140. }
  2141. .block.random-player{
  2142. margin-bottom: 1em;
  2143. @include iconlinkblock(url(../img/random.svg), url(../img/random-active.svg));
  2144. }
  2145. #block-studiolinkblock{
  2146. margin-bottom: 1em;
  2147. margin-left: 0.2em;
  2148. @include iconlinkblock(url(../img/studio.svg), url(../img/studio-active.svg));
  2149. }
  2150. #block-userlogin{
  2151. margin-bottom: 1em;
  2152. pointer-events: all;
  2153. margin-left: 0.2em;
  2154. $wh:$icons_w;
  2155. position: relative;
  2156. // box-sizing: border-box;
  2157. width:$wh; height: $wh;
  2158. h2{
  2159. box-sizing: content-box;
  2160. // @include btn;
  2161. // padding:0;
  2162. position: relative;
  2163. width:$wh; height:$wh;
  2164. background-image: url(../img/studio.svg);
  2165. // background-color: red;
  2166. background-size: contain;
  2167. text-indent: $wh*2;
  2168. margin: 0;
  2169. overflow: hidden;
  2170. z-index: 1;
  2171. cursor: pointer;
  2172. }
  2173. .block-content{
  2174. z-index: 0;
  2175. position:absolute;
  2176. right:0;bottom:$wh;
  2177. padding:0.5em;
  2178. padding-bottom: 20px;
  2179. background-color: $transparent-bg;
  2180. border-top: 1px solid red;
  2181. border-bottom: 1px solid red;
  2182. overflow: hidden;
  2183. box-sizing:border-box;
  2184. height: 0px;
  2185. opacity:0;
  2186. pointer-events:none;
  2187. transition: all 0.5s ease-in-out;
  2188. transition-property: height,opacity;
  2189. // &:hover{
  2190. // height:200px;
  2191. // opacity:1;
  2192. // pointer-events: auto;
  2193. // }
  2194. form{
  2195. font-size: 0.75em;
  2196. }
  2197. .item-list{
  2198. ul{margin:0;}
  2199. li{
  2200. margin:0;
  2201. list-style: none;
  2202. a{
  2203. color: inherit;
  2204. text-decoration: none;
  2205. font-size: 0.75em;
  2206. white-space:nowrap;
  2207. }
  2208. }
  2209. }
  2210. }
  2211. &:hover{
  2212. .block-content{
  2213. height:200px;
  2214. opacity: 1;
  2215. pointer-events:auto;
  2216. }
  2217. }
  2218. }
  2219. #block-edlpsearchlinkblock{
  2220. margin-bottom: 1em;
  2221. @include iconlinkblock(url(../img/search.svg), url(../img/search-active.svg));
  2222. margin-left: 0.2em;
  2223. }
  2224. .block-language{
  2225. float: none;
  2226. margin-top: 0;
  2227. margin-right: 2em;
  2228. ul{
  2229. margin:0; padding:0;
  2230. li{
  2231. display: inline-block; vertical-align: middle;
  2232. list-style: none;
  2233. pointer-events: all;
  2234. a{
  2235. font-size: 0.690em;
  2236. color:inherit;
  2237. text-decoration: none;
  2238. text-transform: capitalize;
  2239. margin-left: 0.8em;
  2240. @include btn;
  2241. &:before{
  2242. content: "";
  2243. display:inline-block;
  2244. $sq:0.6em;
  2245. width: $sq; height:$sq;
  2246. border: 1px solid red;
  2247. margin-right: 0.3em;
  2248. }
  2249. }
  2250. &.is-active,
  2251. &:hover{
  2252. a:before{
  2253. border-color: red;
  2254. background-color: red;
  2255. }
  2256. }
  2257. }
  2258. }
  2259. html.is-mobile &{
  2260. // outline: 1px solid green;
  2261. border-left: none;
  2262. ul{
  2263. margin-right:0.5em;
  2264. }
  2265. li{
  2266. line-height: 0;
  2267. a{
  2268. padding:0;
  2269. margin:0;
  2270. // &:before{display: none;}
  2271. &.is-active{
  2272. display:none;
  2273. }
  2274. }
  2275. }
  2276. }
  2277. }
  2278. html.is-mobile &{
  2279. position: fixed;
  2280. box-sizing: border-box;
  2281. bottom:0; left:0;
  2282. width:100%;
  2283. background-color: #fff;
  2284. padding-top:0;
  2285. padding-bottom:0;
  2286. .region-footer-left, .region-footer-right{
  2287. width: 50%;
  2288. >*{
  2289. margin:0.4em 0!important;
  2290. }
  2291. }
  2292. #block-footer, .block-language{
  2293. // margin-top: 0;
  2294. li{
  2295. display: inline-block;
  2296. a{
  2297. font-size: 0.680em;
  2298. &:before{
  2299. $sq:5px;
  2300. width: $sq; height:$sq;
  2301. }
  2302. }
  2303. }
  2304. }
  2305. .region-footer-right{
  2306. text-align: right;
  2307. }
  2308. }
  2309. }
  2310. // _ _ _ ___
  2311. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  2312. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  2313. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  2314. // |_| |_|
  2315. .node-popup{
  2316. .inner{
  2317. position: relative;
  2318. .entrees{
  2319. @include entree-micro-square;
  2320. }
  2321. .title{
  2322. margin:0.2em 0 0;
  2323. // margin:0.3em 0;
  2324. font-size: 0.9em;
  2325. font-weight: 600;
  2326. }
  2327. .description{
  2328. p{
  2329. margin:0;
  2330. font-size: 0.756em;
  2331. }
  2332. }
  2333. .chutier-icon{
  2334. &[action="add"]{
  2335. display:none;
  2336. }
  2337. position:absolute;
  2338. top:0.4em; right:0.4em;
  2339. }
  2340. }
  2341. }
  2342. // __ ___ _ ___ _ _ _
  2343. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  2344. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  2345. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  2346. // complete rewrite of url_to_video_filter css
  2347. .url-to-video-container{
  2348. // display:block;
  2349. margin:10px auto;
  2350. // width:100%;
  2351. &.no-js{
  2352. border:solid black 1px;
  2353. .loader{
  2354. // background:url(../images/no-js.png) no-repeat center center;
  2355. // background-size:40px 40px;
  2356. }
  2357. .url-to-video-player{
  2358. cursor:auto;
  2359. }
  2360. }
  2361. .loader{
  2362. // top:240px;
  2363. // left:50%;
  2364. // transform:translate(-50%, -50%);
  2365. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  2366. top:auto; left: auto;
  2367. transform: none;
  2368. }
  2369. span.url-to-video-player{
  2370. // display:block;
  2371. // width:100%;
  2372. /* assuming that the video has a 16:9 ratio */
  2373. // padding-bottom:56.25%;
  2374. padding-bottom:0;
  2375. // overflow:hidden;
  2376. // position:relative;
  2377. // width:100%;
  2378. // height:100%;
  2379. height:auto;
  2380. // cursor:hand;
  2381. // cursor:pointer;
  2382. // display: block;
  2383. &:before{
  2384. content: "";
  2385. display: block;
  2386. /* assuming that the video has a 16:9 ratio */
  2387. padding-top: 56.25%;
  2388. }
  2389. img.player-thumb
  2390. {
  2391. // background-position:center center;
  2392. // background-size:cover;
  2393. // position: absolute;
  2394. // top: 0;
  2395. // left: 0;
  2396. // width: 100%;
  2397. // height: 100%;
  2398. // cursor:pointer;
  2399. }
  2400. .play-button
  2401. {
  2402. z-index: 5;
  2403. // height:40px;
  2404. // width:40px;
  2405. // display:block;
  2406. // background:url(../images/play-button.png) no-repeat center center;
  2407. // background-size:40px 40px;
  2408. // position:absolute;
  2409. // top:240px;
  2410. top:50%;
  2411. // left:50%;
  2412. // transform:translate(-50%, -50%);
  2413. // cursor:pointer;
  2414. }
  2415. iframe.player-iframe
  2416. {
  2417. // width:100%;
  2418. // height:100%;
  2419. // position:absolute;
  2420. // top:0;
  2421. // left:0;
  2422. }
  2423. }
  2424. }
  2425. #user-register-form{
  2426. width:29em;
  2427. input{
  2428. @include content_courant;
  2429. }
  2430. label{
  2431. @include content_subtitles;
  2432. display: inline-block;
  2433. width: 16em;
  2434. white-space: normal;
  2435. }
  2436. .form-item{
  2437. white-space: nowrap;
  2438. }
  2439. .description{
  2440. @include content_petit;
  2441. max-width: 100%;
  2442. white-space: normal;
  2443. }
  2444. input[type='email'], input[type='password']{
  2445. width:17em;
  2446. }
  2447. .password-strength, .password-strength__meter{
  2448. width:98%;
  2449. }
  2450. .password-strength__title, .password-confirm{
  2451. @include content_courant;
  2452. }
  2453. }
  2454. #better-messages-default.better-messages-overlay{
  2455. border-radius: 0;
  2456. padding:0.8em;
  2457. box-shadow: 0 2px 10px #716f6f;
  2458. .better-messages-content{
  2459. }
  2460. .better-messages-footer{
  2461. border-top: none;
  2462. .better-messages-close{
  2463. @include content_courant;
  2464. span{
  2465. height:15px; width:15px;
  2466. background-size: contain;
  2467. }
  2468. }
  2469. }
  2470. }