app.scss 70 KB

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