app.scss 56 KB

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