app.scss 70 KB

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