app.scss 66 KB

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