app.scss 69 KB

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