app.scss 70 KB

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