app.scss 56 KB

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