app.scss 65 KB

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