app.scss 57 KB

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