app.scss 57 KB

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