app.scss 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601
  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. nav{
  1598. a{
  1599. font-size: 0.756em;
  1600. }
  1601. }
  1602. }
  1603. // _ _
  1604. // | || |___ _ __ ___
  1605. // | __ / _ \ ' \/ -_)
  1606. // |_||_\___/_|_|_\___|
  1607. // ___ _ _ _
  1608. // | _ \_ _ ___ __| |_ _ __| |_(_)___ _ _ ___
  1609. // | _/ '_/ _ \/ _` | || / _| _| / _ \ ' \(_-<
  1610. // |_| |_| \___/\__,_|\_,_\__|\__|_\___/_||_/__/
  1611. body.path-frontpage, body.path-productions{
  1612. .layout-content .row{
  1613. // opacity: 1;
  1614. white-space: normal;
  1615. min-height: 100%;
  1616. .grid{
  1617. position: relative;
  1618. min-height: 100%; max-height: 100%;
  1619. }
  1620. .col{
  1621. height:auto;
  1622. opacity:1;
  1623. transition: opacity 0.5s ease-in-out;
  1624. // box-sizing: content-box;
  1625. &.offfield{
  1626. opacity: 0;
  1627. transition: opacity 0s ease-in-out;
  1628. }
  1629. &.col-2:last-child{
  1630. padding-left: 0em;
  1631. padding-right: 1em;
  1632. }
  1633. >.wrapper{
  1634. margin-bottom: 1em;
  1635. padding:0;
  1636. >*{padding:0;}
  1637. article.node{
  1638. .field--name-field-visuel{
  1639. // a,img{
  1640. // display: block;
  1641. // width: 100%;
  1642. // height:auto;
  1643. // }
  1644. // http://www.goldenapplewebdesign.com/responsive-aspect-ratios-with-pure-css/
  1645. // maintain box size without waiting for image loading
  1646. a{
  1647. display: block;
  1648. width: 100%;
  1649. padding-bottom: 56.25%; // ratio 800*450;
  1650. // height:auto;
  1651. }
  1652. img{
  1653. // display: none;
  1654. position: absolute;
  1655. top: 0; bottom: 0; left: 0; right: 0;
  1656. }
  1657. }
  1658. header{
  1659. background-color: rgba(255,255,255,0.95);
  1660. box-sizing: border-box;
  1661. width: 100%;
  1662. padding:0.5em 1em;
  1663. h2.node-title{
  1664. margin:0;
  1665. @include content_titles;
  1666. }
  1667. // p{margin: 0;}
  1668. }
  1669. &.node--view-mode-image-2-columns{
  1670. header{
  1671. position: absolute;
  1672. bottom: 0; left:0;
  1673. h2.node-title{
  1674. @include content_big_titles;
  1675. }
  1676. }
  1677. }
  1678. &.node--view-mode-image-1-columns{
  1679. .field--name-field-visuel{
  1680. padding-bottom: 35px;
  1681. }
  1682. header{
  1683. box-sizing: border-box;
  1684. position: absolute;
  1685. bottom: 0; left:0;
  1686. }
  1687. }
  1688. &.node--view-mode-text-1-column{
  1689. // box-sizing: border-box;
  1690. padding:0 1em;
  1691. }
  1692. }
  1693. }
  1694. }
  1695. }
  1696. }
  1697. // ___ _
  1698. // | __|__ ___| |_ ___ _ _
  1699. // | _/ _ \/ _ \ _/ -_) '_|
  1700. // |_|\___/\___/\__\___|_|
  1701. @mixin oblique-list {
  1702. display: inline-block;
  1703. position: relative;
  1704. list-style: none;
  1705. margin: 0 1.5em 0 0;
  1706. // width:2em; height:10em;
  1707. padding: 0;
  1708. a{
  1709. position: absolute;
  1710. bottom: 0;
  1711. transform-origin: left bottom;
  1712. transform: rotateZ(-45deg);
  1713. color: #000;
  1714. text-decoration: none;
  1715. text-transform: uppercase;
  1716. font-size: 0.756em;
  1717. white-space: nowrap;
  1718. }
  1719. }
  1720. footer{
  1721. position: relative;
  1722. pointer-events: none;
  1723. // outline: 1px dotted blue;
  1724. >.wrapper{
  1725. white-space: nowrap;
  1726. // height:100%;
  1727. >.region{
  1728. // height:100%;
  1729. // display: table-cell;
  1730. display: inline-block;
  1731. vertical-align: baseline;
  1732. white-space:normal;
  1733. // pointer-events: none;
  1734. // outline: 1px dotted purple;
  1735. // position: relative;
  1736. >*{
  1737. display: inline-block; vertical-align: bottom;
  1738. }
  1739. }
  1740. .region-footer-left{
  1741. // float:left;
  1742. width:12%;
  1743. // min-width:50px;
  1744. text-align: left;
  1745. }
  1746. .region-footer-center{
  1747. // float: none;
  1748. width: 73%;
  1749. overflow:hidden;
  1750. text-align: center;
  1751. // z-index: 2;
  1752. }
  1753. .region-footer-right{
  1754. // float:right;
  1755. min-width:12%;
  1756. // min-width: 50px;
  1757. text-align: right;
  1758. // position: absolute;
  1759. // bottom:0; right:0;
  1760. // z-index: 1;
  1761. }
  1762. @media only screen and (max-width: 1270px) {
  1763. .region-footer-left{
  1764. width:9%;
  1765. }
  1766. .region-footer-center{
  1767. width: 80%;
  1768. overflow:hidden;
  1769. // text-align: left; // why ??
  1770. text-align: center;
  1771. }
  1772. .region-footer-right{
  1773. box-sizing: content-box;
  1774. min-width:5%;
  1775. }
  1776. }
  1777. }
  1778. #block-footer{
  1779. display: inline-block;
  1780. margin-bottom: 1em;
  1781. ul{
  1782. margin:0;
  1783. padding:0;
  1784. // white-space: nowrap;
  1785. li{
  1786. pointer-events: all;
  1787. // @include oblique-list;
  1788. display: inline-block;
  1789. padding:0;
  1790. // &:first-of-type{
  1791. // margin-left: 1em;
  1792. // }
  1793. white-space:nowrap;
  1794. a{
  1795. font-size: 0.756em;
  1796. @include btn;
  1797. &:before{
  1798. content: "";
  1799. display:inline-block;
  1800. $sq:7px;
  1801. width: $sq; height:$sq;
  1802. border: 1px solid black;
  1803. margin-right: 0.5em;
  1804. }
  1805. &:hover:before,
  1806. &.is-active:before{
  1807. background-color: black;
  1808. }
  1809. &.ajax-loading:before{
  1810. @include spining-loader-square;
  1811. }
  1812. }
  1813. }
  1814. }
  1815. @media only screen and (max-width: 1270px) {
  1816. margin-top: 15px;
  1817. ul{
  1818. li{
  1819. display: block;
  1820. margin-left: 0!important;
  1821. padding:0;
  1822. line-height: 0.6;
  1823. a{
  1824. @include content_petit;
  1825. padding:0;
  1826. }
  1827. }
  1828. }
  1829. }
  1830. }
  1831. // remove #block-productions from selector
  1832. // to enable again oblique style for all block-menu
  1833. nav#block-productions.block-menu{
  1834. display: inline-block;
  1835. ul{
  1836. margin:0;
  1837. padding:0;
  1838. li{
  1839. pointer-events: all;
  1840. @include oblique-list;
  1841. &:first-of-type{
  1842. margin-left: 1em;
  1843. }
  1844. a{
  1845. @include btn;
  1846. &:before{
  1847. content: "";
  1848. display:inline-block;
  1849. $sq:7px;
  1850. width: $sq; height:$sq;
  1851. border: 1px solid black;
  1852. margin-right: 0.5em;
  1853. }
  1854. &:hover:before,
  1855. &.is-active:before{
  1856. background-color: black;
  1857. }
  1858. &.ajax-loading:before{
  1859. @include spining-loader-square;
  1860. }
  1861. }
  1862. }
  1863. }
  1864. }
  1865. nav#block-productions.block-menu{
  1866. position: relative;
  1867. pointer-events: none;
  1868. display:none;
  1869. body.path-productions &, body.entity-type-node.bundle-page & {display:inline-block;}
  1870. ul{
  1871. margin-left: -3em;
  1872. white-space: nowrap;
  1873. li{
  1874. height:200px; // this is needed to respect the height of oblique links :(
  1875. a{
  1876. // outline: 1px solid blue;
  1877. pointer-events: all;
  1878. // @include btn;
  1879. background-color: rgba(255,255,255, 0.6);
  1880. padding-right: 0.4em;
  1881. &:before{
  1882. content: "";
  1883. display:inline-block;
  1884. $sq:7px;
  1885. width: $sq; height:$sq;
  1886. border: 1px solid red;
  1887. margin-right: 0.5em;
  1888. }
  1889. &:hover:before,
  1890. &.is-active:before,
  1891. &.is-active-trail:before{
  1892. background-color: red;
  1893. }
  1894. &.ajax-loading:before{
  1895. @include spining-loader-square;
  1896. }
  1897. }
  1898. }
  1899. }
  1900. }
  1901. .block-block-edlp-entrees{
  1902. pointer-events: none;
  1903. body.path-productions &,
  1904. body.entity-type-node.bundle-page &,
  1905. body.path-agenda & {display:none}
  1906. display: inline-block;
  1907. // vertical-align: top;
  1908. // outline: 1px dotted green;
  1909. div.item-list{
  1910. ul{
  1911. margin:0;
  1912. white-space: nowrap;
  1913. li{
  1914. @include oblique-list;
  1915. margin:0;
  1916. white-space: nowrap;
  1917. pointer-events: none;
  1918. &:last-of-type:not(.entree){
  1919. margin-right: 5em;
  1920. }
  1921. span.oblique-wrapper{
  1922. height:120px; // this is needed to respect the height of oblique links :(
  1923. display: inline-block;
  1924. vertical-align: bottom;
  1925. position: relative;
  1926. width:1.5em;
  1927. }
  1928. a.term-link, a.articles-link{
  1929. // outline: 1px solid blue;
  1930. pointer-events: all;
  1931. // background-color: #fff;
  1932. background-color: rgba(255,255,255, 0.6);
  1933. // @include btn;
  1934. padding-right: 0.4em;
  1935. color:black;
  1936. transition: color 0.3s ease-in-out;
  1937. &:before{
  1938. content: "";
  1939. display:inline-block;
  1940. $sq:7px;
  1941. width: $sq; height:$sq;
  1942. border: 1px solid #000;
  1943. background-color: #000;
  1944. margin-right: 0.5em;
  1945. transition: background-color 0.1s ease-in-out;
  1946. }
  1947. &.articles-link{
  1948. margin-left: 4em;
  1949. text-transform: capitalize;
  1950. }
  1951. }
  1952. .entree-content{
  1953. display: inline-block;
  1954. // outline: 1px solid green;
  1955. width:0;
  1956. overflow: hidden;
  1957. opacity: 0;
  1958. transition: all 300ms ease-in-out;
  1959. transition-property: width,opacity;
  1960. span.oblique-wrapper:first-of-type{
  1961. margin-left: 0.5em;
  1962. }
  1963. span.oblique-wrapper a{
  1964. text-transform: none;
  1965. pointer-events: auto;
  1966. &:before{
  1967. content: "";
  1968. display:inline-block;
  1969. $sq:5px;
  1970. width: $sq; height:$sq;
  1971. border: 1px solid #000;
  1972. margin-right: 0.5em;
  1973. }
  1974. &.ajax-loading:before{
  1975. @include spining-loader-square;
  1976. }
  1977. }
  1978. .term-description{
  1979. display: inline-block;
  1980. margin-left: 1.5em;
  1981. text-align: left;
  1982. width:250px;
  1983. word-wrap:break-word;
  1984. // word-break:break-all;
  1985. hyphens: auto;
  1986. white-space: normal;
  1987. background-color: $transparent-bg;
  1988. padding:0.5em;
  1989. padding-bottom:0;
  1990. p{
  1991. font-size: 0.65em;
  1992. margin:0;
  1993. }
  1994. }
  1995. }
  1996. // TODO: replace variable system by attribute color
  1997. // a.term-link:before, .entree-content span.oblique-wrapper a:before{
  1998. // border-color: attr(color);
  1999. // background-color: attr(color);
  2000. // }
  2001. &[tid='134']{
  2002. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2003. border-color: var(--e-col-134);background-color: var(--e-col-134);}}
  2004. &[tid='121']{
  2005. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2006. border-color: var(--e-col-121);background-color: var(--e-col-121);}}
  2007. &[tid='125']{
  2008. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2009. border-color: var(--e-col-125);background-color: var(--e-col-125);}}
  2010. &[tid='119']{
  2011. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2012. border-color: var(--e-col-119);background-color: var(--e-col-119);}}
  2013. &[tid='132']{
  2014. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2015. border-color: var(--e-col-132);background-color: var(--e-col-132);}}
  2016. &[tid='122']{
  2017. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2018. border-color: var(--e-col-122);background-color: var(--e-col-122);}}
  2019. &[tid='129']{
  2020. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2021. border-color: var(--e-col-129);background-color: var(--e-col-129);}}
  2022. &[tid='120']{
  2023. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2024. border-color: var(--e-col-120);background-color: var(--e-col-120);}}
  2025. &[tid='130']{
  2026. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2027. border-color: var(--e-col-130);background-color: var(--e-col-130);}}
  2028. &[tid='118']{
  2029. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2030. border-color: var(--e-col-118);background-color: var(--e-col-118);}}
  2031. &[tid='127']{
  2032. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2033. border-color: var(--e-col-127);background-color: var(--e-col-127);}}
  2034. &[tid='133']{
  2035. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2036. border-color: var(--e-col-133);background-color: var(--e-col-133);}}
  2037. &[tid='128']{
  2038. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2039. border-color: var(--e-col-128);background-color: var(--e-col-128);}}
  2040. &[tid='124']{
  2041. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2042. border-color: var(--e-col-124);background-color: var(--e-col-124);}}
  2043. &[tid='116']{
  2044. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2045. border-color: var(--e-col-116);background-color: var(--e-col-116);}}
  2046. &[tid='117']{
  2047. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2048. border-color: var(--e-col-117);background-color: var(--e-col-117);}}
  2049. &[tid='131']{
  2050. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2051. border-color: var(--e-col-131);background-color: var(--e-col-131);}}
  2052. &[tid='126']{
  2053. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2054. border-color: var(--e-col-126);background-color: var(--e-col-126);}}
  2055. &[tid='123']{
  2056. a.term-link:before, .entree-content span.oblique-wrapper a:before{
  2057. border-color: var(--e-col-123);background-color: var(--e-col-123);}}
  2058. // &.highlighted{
  2059. // a.term_link{
  2060. // color: red;
  2061. // }
  2062. // }
  2063. .entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
  2064. a.articles-link:not(:hover):not(.is-active):before{
  2065. background-color: #fff!important;
  2066. }
  2067. &:not(.opened):not(.highlighted){
  2068. a.term-link:not(:hover):before{
  2069. background-color: #fff!important;
  2070. }
  2071. }
  2072. &.opened{
  2073. // outline: 1px solid purple;
  2074. a.term-link:after {
  2075. content: '';
  2076. position: absolute;
  2077. left: 15px; right:0;
  2078. bottom: -3px;
  2079. border-bottom: 1px solid grey;
  2080. }
  2081. .entree-content{
  2082. width:350px;
  2083. opacity: 1;
  2084. }
  2085. }
  2086. // &:not(:first-of-type) .entree-content{display: none;}
  2087. }
  2088. }
  2089. &.opened, &.highlighted{
  2090. li:not(.opened):not(.highlighted):not(:hover){
  2091. a.term-link{
  2092. color:#a1a1a1;
  2093. }
  2094. }
  2095. }
  2096. }
  2097. }
  2098. $icons_w:20px;
  2099. $mobile_icon_w:15px;
  2100. @mixin iconlinkblock($bgimgurl, $bgimgurlactive) {
  2101. pointer-events: all;
  2102. margin-left: 0.5em;
  2103. position: relative;
  2104. // @include btn;
  2105. a{
  2106. box-sizing: border-box;
  2107. display: block;
  2108. $wh:$icons_w;
  2109. width:$wh; height:$wh;
  2110. text-indent: $wh*2;
  2111. margin: 0;
  2112. overflow: hidden;
  2113. // mask-image: $bgimgurl;
  2114. // mask-size: contain;
  2115. // background-color: #000;
  2116. // transition: background-color 0.3s ease-in-out;
  2117. background-image: $bgimgurl;
  2118. background-repeat: no-repeat;
  2119. background-size: contain;
  2120. cursor: pointer;
  2121. &:hover, &.is-active{
  2122. // background-color: red;
  2123. background-image: $bgimgurlactive;
  2124. }
  2125. &[alt]:hover{
  2126. // position:relative;
  2127. &:after{
  2128. content:attr(alt);
  2129. position:absolute;
  2130. right:0; bottom:$icons_w*1.2;
  2131. width:170px;
  2132. border: 1px solid red;
  2133. padding:0.5em;
  2134. font-size: 0.756em;
  2135. background-color: white;
  2136. z-index: 50;
  2137. }
  2138. }
  2139. html.is-mobile &{
  2140. $wh:$mobile_icon_w;
  2141. width:$wh; height:$wh;
  2142. text-indent: $wh*2;
  2143. }
  2144. }
  2145. }
  2146. .block.random-player{
  2147. margin-bottom: 1em;
  2148. @include iconlinkblock(url(../img/random.svg), url(../img/random-active.svg));
  2149. }
  2150. #block-studiolinkblock{
  2151. margin-bottom: 1em;
  2152. margin-left: 0.2em;
  2153. @include iconlinkblock(url(../img/studio.svg), url(../img/studio-active.svg));
  2154. }
  2155. #block-userlogin{
  2156. margin-bottom: 1em;
  2157. pointer-events: all;
  2158. margin-left: 0.2em;
  2159. $wh:$icons_w;
  2160. position: relative;
  2161. // box-sizing: border-box;
  2162. width:$wh; height: $wh;
  2163. h2{
  2164. box-sizing: content-box;
  2165. // @include btn;
  2166. // padding:0;
  2167. position: relative;
  2168. width:$wh; height:$wh;
  2169. background-image: url(../img/studio.svg);
  2170. // background-color: red;
  2171. background-size: contain;
  2172. text-indent: $wh*2;
  2173. margin: 0;
  2174. overflow: hidden;
  2175. z-index: 1;
  2176. cursor: pointer;
  2177. }
  2178. .block-content{
  2179. z-index: 0;
  2180. position:absolute;
  2181. right:0;bottom:$wh;
  2182. padding:0.5em;
  2183. padding-bottom: 20px;
  2184. background-color: $transparent-bg;
  2185. border-top: 1px solid red;
  2186. border-bottom: 1px solid red;
  2187. overflow: hidden;
  2188. box-sizing:border-box;
  2189. height: 0px;
  2190. opacity:0;
  2191. pointer-events:none;
  2192. transition: all 0.5s ease-in-out;
  2193. transition-property: height,opacity;
  2194. // &:hover{
  2195. // height:200px;
  2196. // opacity:1;
  2197. // pointer-events: auto;
  2198. // }
  2199. form{
  2200. font-size: 0.75em;
  2201. }
  2202. .item-list{
  2203. ul{margin:0;}
  2204. li{
  2205. margin:0;
  2206. list-style: none;
  2207. a{
  2208. color: inherit;
  2209. text-decoration: none;
  2210. font-size: 0.75em;
  2211. white-space:nowrap;
  2212. }
  2213. }
  2214. }
  2215. }
  2216. &:hover{
  2217. .block-content{
  2218. height:200px;
  2219. opacity: 1;
  2220. pointer-events:auto;
  2221. }
  2222. }
  2223. }
  2224. #block-edlpsearchlinkblock{
  2225. margin-bottom: 1em;
  2226. @include iconlinkblock(url(../img/search.svg), url(../img/search-active.svg));
  2227. margin-left: 0.2em;
  2228. }
  2229. .block-language{
  2230. float: none;
  2231. margin-top: 0;
  2232. margin-right: 2em;
  2233. ul{
  2234. margin:0; padding:0;
  2235. li{
  2236. display: inline-block; vertical-align: middle;
  2237. list-style: none;
  2238. pointer-events: all;
  2239. a{
  2240. font-size: 0.690em;
  2241. color:inherit;
  2242. text-decoration: none;
  2243. text-transform: capitalize;
  2244. margin-left: 0.8em;
  2245. @include btn;
  2246. &:before{
  2247. content: "";
  2248. display:inline-block;
  2249. $sq:0.6em;
  2250. width: $sq; height:$sq;
  2251. border: 1px solid red;
  2252. margin-right: 0.3em;
  2253. }
  2254. }
  2255. &.is-active,
  2256. &:hover{
  2257. a:before{
  2258. border-color: red;
  2259. background-color: red;
  2260. }
  2261. }
  2262. }
  2263. }
  2264. html.is-mobile &{
  2265. // outline: 1px solid green;
  2266. border-left: none;
  2267. ul{
  2268. margin-right:0.5em;
  2269. }
  2270. li{
  2271. line-height: 0;
  2272. a{
  2273. padding:0;
  2274. margin:0;
  2275. // &:before{display: none;}
  2276. &.is-active{
  2277. display:none;
  2278. }
  2279. }
  2280. }
  2281. }
  2282. }
  2283. html.is-mobile &{
  2284. position: fixed;
  2285. box-sizing: border-box;
  2286. bottom:0; left:0;
  2287. width:100%;
  2288. background-color: #fff;
  2289. padding-top:0;
  2290. padding-bottom:0;
  2291. .region-footer-left, .region-footer-right{
  2292. width: 50%;
  2293. >*{
  2294. margin:0.4em 0!important;
  2295. }
  2296. }
  2297. #block-footer, .block-language{
  2298. // margin-top: 0;
  2299. li{
  2300. display: inline-block;
  2301. a{
  2302. font-size: 0.680em;
  2303. &:before{
  2304. $sq:5px;
  2305. width: $sq; height:$sq;
  2306. }
  2307. }
  2308. }
  2309. }
  2310. .region-footer-right{
  2311. text-align: right;
  2312. }
  2313. }
  2314. }
  2315. // _ _ _ ___
  2316. // | \| |___ __| |___ | _ \___ _ __ _ _ _ __
  2317. // | .` / _ \/ _` / -_) | _/ _ \ '_ \ || | '_ \
  2318. // |_|\_\___/\__,_\___| |_| \___/ .__/\_,_| .__/
  2319. // |_| |_|
  2320. .node-popup{
  2321. .inner{
  2322. position: relative;
  2323. .entrees{
  2324. @include entree-micro-square;
  2325. }
  2326. .title{
  2327. margin:0.2em 0 0;
  2328. // margin:0.3em 0;
  2329. font-size: 0.9em;
  2330. font-weight: 600;
  2331. }
  2332. .description{
  2333. p{
  2334. margin:0;
  2335. font-size: 0.756em;
  2336. }
  2337. }
  2338. .chutier-icon{
  2339. &[action="add"]{
  2340. display:none;
  2341. }
  2342. position:absolute;
  2343. top:0.4em; right:0.4em;
  2344. }
  2345. }
  2346. }
  2347. // __ ___ _ ___ _ _ _
  2348. // \ \ / (_)__| |___ ___| __(_) | |_ ___ _ _
  2349. // \ V /| / _` / -_) _ \ _|| | | _/ -_) '_|
  2350. // \_/ |_\__,_\___\___/_| |_|_|\__\___|_|
  2351. // complete rewrite of url_to_video_filter css
  2352. .url-to-video-container{
  2353. // display:block;
  2354. margin:10px auto;
  2355. // width:100%;
  2356. &.no-js{
  2357. border:solid black 1px;
  2358. .loader{
  2359. // background:url(../images/no-js.png) no-repeat center center;
  2360. // background-size:40px 40px;
  2361. }
  2362. .url-to-video-player{
  2363. cursor:auto;
  2364. }
  2365. }
  2366. .loader{
  2367. // top:240px;
  2368. // left:50%;
  2369. // transform:translate(-50%, -50%);
  2370. // background:#FFF url(../images/ajax-loader.gif) no-repeat center center;
  2371. top:auto; left: auto;
  2372. transform: none;
  2373. }
  2374. span.url-to-video-player{
  2375. // display:block;
  2376. // width:100%;
  2377. /* assuming that the video has a 16:9 ratio */
  2378. // padding-bottom:56.25%;
  2379. padding-bottom:0;
  2380. // overflow:hidden;
  2381. // position:relative;
  2382. // width:100%;
  2383. // height:100%;
  2384. height:auto;
  2385. // cursor:hand;
  2386. // cursor:pointer;
  2387. // display: block;
  2388. &:before{
  2389. content: "";
  2390. display: block;
  2391. /* assuming that the video has a 16:9 ratio */
  2392. padding-top: 56.25%;
  2393. }
  2394. img.player-thumb
  2395. {
  2396. // background-position:center center;
  2397. // background-size:cover;
  2398. // position: absolute;
  2399. // top: 0;
  2400. // left: 0;
  2401. // width: 100%;
  2402. // height: 100%;
  2403. // cursor:pointer;
  2404. }
  2405. .play-button
  2406. {
  2407. z-index: 5;
  2408. // height:40px;
  2409. // width:40px;
  2410. // display:block;
  2411. // background:url(../images/play-button.png) no-repeat center center;
  2412. // background-size:40px 40px;
  2413. // position:absolute;
  2414. // top:240px;
  2415. top:50%;
  2416. // left:50%;
  2417. // transform:translate(-50%, -50%);
  2418. // cursor:pointer;
  2419. }
  2420. iframe.player-iframe
  2421. {
  2422. // width:100%;
  2423. // height:100%;
  2424. // position:absolute;
  2425. // top:0;
  2426. // left:0;
  2427. }
  2428. }
  2429. }
  2430. #user-register-form{
  2431. width:29em;
  2432. input{
  2433. @include content_courant;
  2434. }
  2435. label{
  2436. @include content_subtitles;
  2437. display: inline-block;
  2438. width: 16em;
  2439. white-space: normal;
  2440. }
  2441. .form-item{
  2442. white-space: nowrap;
  2443. }
  2444. .description{
  2445. @include content_petit;
  2446. max-width: 100%;
  2447. white-space: normal;
  2448. }
  2449. input[type='email'], input[type='password']{
  2450. width:17em;
  2451. }
  2452. .password-strength, .password-strength__meter{
  2453. width:98%;
  2454. }
  2455. .password-strength__title, .password-confirm{
  2456. @include content_courant;
  2457. }
  2458. }
  2459. #better-messages-default.better-messages-overlay{
  2460. border-radius: 0;
  2461. padding:0.8em;
  2462. box-shadow: 0 2px 10px #716f6f;
  2463. .better-messages-content{
  2464. }
  2465. .better-messages-footer{
  2466. border-top: none;
  2467. .better-messages-close{
  2468. @include content_courant;
  2469. span{
  2470. height:15px; width:15px;
  2471. background-size: contain;
  2472. }
  2473. }
  2474. }
  2475. }