_blog.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935
  1. .gal{
  2. margin-left: 15%;
  3. .content_gal{
  4. width: 2.2%!important;
  5. &[aria-hidden="false"]{
  6. .title_gal{
  7. opacity: 1;
  8. right: 70px;
  9. -webkit-transition: all 1s ease;
  10. transition: right 1s ease, opacity 1s ease;
  11. }
  12. }
  13. }
  14. .title_gal{
  15. position: absolute;
  16. right: 50px;
  17. max-width: 50%;
  18. background: $light-blue;
  19. padding: 25px;
  20. top: 20vw;
  21. color: $white;
  22. opacity: 0;
  23. }
  24. }
  25. .cat{
  26. height: 50px;
  27. z-index: 999;
  28. margin: 20px 0;
  29. .btn-group{
  30. @include inlineflex();
  31. &:nth-of-type(1){
  32. label{
  33. margin-right: 20px;
  34. }
  35. }
  36. &:nth-of-type(2){
  37. float: right;
  38. }
  39. }
  40. label{
  41. padding: 10px;
  42. cursor: pointer;
  43. &.tous{
  44. border-top: 2px solid $green;
  45. border-bottom: 2px solid $green;
  46. }
  47. &.professionnels{
  48. border-top: 2px solid $red;
  49. border-bottom: 2px solid $red;
  50. }
  51. &.grand_public{
  52. border-top: 2px solid $light-blue;
  53. border-bottom: 2px solid $light-blue;
  54. }
  55. &.formations{
  56. border-top: 2px solid $grey;
  57. border-bottom: 2px solid $grey;
  58. }
  59. &.archive{
  60. border-top: 2px solid $dark-blue;
  61. border-bottom: 2px solid $dark-blue;
  62. }
  63. }
  64. input{
  65. visibility: hidden;
  66. position: absolute;
  67. }
  68. }
  69. .bandeau{
  70. width: 100%;
  71. max-height: 554px;
  72. overflow: hidden;
  73. }
  74. .container{
  75. & > .title{
  76. background: $red;
  77. border-radius: 30px;
  78. width: auto;
  79. float:left;
  80. padding: 10px 20px;
  81. color: white;
  82. }
  83. }
  84. .start{
  85. min-height: calc(100vh - 325px);
  86. &:not(#home){
  87. .entete{
  88. border-bottom: 10px solid $light-blue;
  89. }
  90. }
  91. }
  92. .start:not(#form){
  93. &#calendrier, &#archive{
  94. width: 70%;
  95. margin: 40px auto 40px auto;
  96. .header-wrapper{
  97. .title{
  98. display: -webkit-box;
  99. display: -ms-flexbox;
  100. display: flex;
  101. h1{
  102. width: auto;
  103. margin-bottom: 20px;
  104. background: $red;
  105. border-radius: 30px;
  106. padding: 10px 20px;
  107. color: white;
  108. font-size: 1.2rem;
  109. }
  110. }
  111. }
  112. }
  113. &#event{
  114. margin: 40px auto 40px auto;
  115. .title{
  116. display: -webkit-box;
  117. display: -ms-flexbox;
  118. display: flex;
  119. h1{
  120. width: auto;
  121. margin-bottom: 20px;
  122. background: $red;
  123. border-radius: 30px;
  124. padding: 10px 20px;
  125. color: white;
  126. font-size: 1.2rem;
  127. }
  128. }
  129. }
  130. .body-wrapper{
  131. @include inlineflex();
  132. -webkit-box-pack: center;
  133. -ms-flex-pack: center;
  134. justify-content: center;
  135. width: 100%;
  136. position: relative;
  137. .card{
  138. width: calc( (100% / 4) - 7.5px);
  139. min-width: 200px;
  140. margin: 0 0 10px 0 ;
  141. .card-header{
  142. position: absolute;
  143. width: 100%;
  144. right: 0;
  145. text-align: right;
  146. &.professionnels{
  147. background-color: $red;
  148. }
  149. &.grand_public{
  150. background-color: $light-blue;
  151. }
  152. &.formations{
  153. background-color: $grey;
  154. }
  155. .publics{
  156. padding: 2.5px 10px;
  157. color: white;
  158. }
  159. }
  160. .card-body{
  161. padding: 15px;
  162. background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
  163. background-position: center;
  164. background-repeat: no-repeat;
  165. background-size: cover;
  166. }
  167. }
  168. .event{
  169. width: 45%;
  170. .card-content{
  171. @include inlineflex;
  172. -ms-flex-wrap: nowrap;
  173. flex-wrap: nowrap;
  174. -webkit-box-pack: justify;
  175. -ms-flex-pack: justify;
  176. justify-content: space-between;
  177. .reso{
  178. width: 20%;
  179. a{
  180. display: block;
  181. margin-bottom: 10px;
  182. img{
  183. margin-left: 10px;
  184. width: 20px;
  185. }
  186. }
  187. }
  188. .txt{
  189. width: 80%;
  190. }
  191. }
  192. }
  193. }
  194. }
  195. .start#form{
  196. .entete{
  197. border-top: 1px solid $light-blue
  198. }
  199. h2{
  200. margin-top: 0;
  201. }
  202. .body-wrapper{
  203. width: 100%;
  204. min-width: 250px;
  205. margin: auto auto 140px auto;
  206. form{
  207. width: calc( (100% / 2));
  208. margin-top: 20px;
  209. margin: auto;
  210. & > div{
  211. width: 100%;
  212. margin: 20px 0;
  213. border-bottom: 1px solid $red;
  214. .form-data{
  215. @include inlineflex();
  216. margin: 20px 0px;
  217. &> div{
  218. margin: 10px 10px;
  219. min-width: 100px;
  220. border: 2px solid $red;
  221. border-radius: 30px;
  222. padding: 10px 20px;
  223. &.check{
  224. background: $red;
  225. color: white;
  226. }
  227. input{
  228. border: none;
  229. }
  230. input[type='radio'] {
  231. visibility: hidden;
  232. position: absolute;
  233. }
  234. }
  235. }
  236. &:nth-of-type(n+5):not(:nth-of-type(n+11)){
  237. width: 50%;
  238. float: left;
  239. border-bottom: 0px;
  240. .form-data{
  241. width: 100%;
  242. & > div{
  243. width: 100%;
  244. }
  245. }
  246. }
  247. &:nth-of-type(9), &:nth-of-type(10){
  248. border-bottom: 1px solid $red !important;
  249. }
  250. &.button-wrapper{
  251. background: $red;
  252. height: 100px;
  253. position: absolute;
  254. left: 0;
  255. width: 100%;
  256. button{
  257. margin-right: 25%;
  258. position: absolute;
  259. right: 0;
  260. top: 50%;
  261. -webkit-transform: translateY(-50%);
  262. transform: translateY(-50%);
  263. background: white;
  264. border-radius: 30px;
  265. padding: 10px 35px;
  266. -webkit-box-shadow:none;
  267. box-shadow:none;
  268. border:0;
  269. }
  270. }
  271. }
  272. }
  273. #send-valide{
  274. -webkit-transform: translate(-50%, -50%);
  275. transform: translate(-50%, -50%);
  276. background: $red;
  277. border-radius: 20px;
  278. position: fixed;
  279. width: 30%;
  280. height: 30%;
  281. left: 50%;
  282. top: 50%;
  283. padding: 50px;
  284. .toast{
  285. position: relative;
  286. text-align: center;
  287. color: white;
  288. }
  289. .ok{
  290. color: white;
  291. position: absolute;
  292. right: 20px;
  293. bottom: 20px;
  294. }
  295. }
  296. }
  297. }
  298. .header-wrapper{
  299. .title{
  300. h2{
  301. width: auto;
  302. margin-bottom: 20px;
  303. background: $red;
  304. border-radius: 30px;
  305. width: auto;
  306. padding: 10px 20px;
  307. color: white;
  308. font-size: 1.2rem;
  309. width:115px;
  310. }
  311. }
  312. }
  313. .content{
  314. width: 50%;
  315. margin: 4rem auto;
  316. p{
  317. margin: 10px 0;
  318. }
  319. }
  320. .content_s{
  321. margin: auto!important;
  322. }
  323. .entete{
  324. @include inlineflex;
  325. padding: 20px;
  326. background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
  327. background-position: center;
  328. background-repeat: no-repeat;
  329. background-size: cover;
  330. height: auto;
  331. border-top: 10px solid $green;
  332. .entete_c{
  333. @include inlineflex;
  334. text-align: center;
  335. width: 66%;
  336. margin: 50px auto;
  337. position: relative;
  338. h1{
  339. width: auto;
  340. margin-bottom: 20px;
  341. background: $red;
  342. border-radius: 30px;
  343. width: auto;
  344. padding: 10px 20px;
  345. }
  346. }
  347. }
  348. .body-wrapper{
  349. .content{
  350. h4{
  351. &:not(:first-of-type){
  352. border-top: 1px solid black;
  353. padding-top: 30px;
  354. margin: 30px 0 0 0;
  355. }
  356. }
  357. }
  358. .sub-content{
  359. border-top: 1px solid black;
  360. margin-bottom: 20px;
  361. margin-top: 20px;
  362. & > img{
  363. width: 33%;
  364. float: left;
  365. margin: 20px 10px 0px 0px;
  366. }
  367. }
  368. }
  369. #event{
  370. margin-bottom: 20px;
  371. .content{
  372. margin-top: 50px;
  373. h2{
  374. float: left;
  375. margin-right: 20px;
  376. }
  377. .reso{
  378. @include inlineflex;
  379. -ms-flex-wrap: nowrap;
  380. flex-wrap: nowrap;
  381. width: 50px;
  382. height: 25px;
  383. }
  384. }
  385. .sidebar{
  386. margin-top: 50px;
  387. }
  388. }
  389. .sidebar{
  390. position: absolute;
  391. right: 0;
  392. width: 300px;
  393. margin: -55px auto 0 20px;
  394. h2{
  395. background: $red;
  396. border-radius: 100px;
  397. width: 100px;
  398. height: 100px;
  399. }
  400. .side-agenda{
  401. padding: 10px 20px 10px 0;
  402. &:not(:nth-of-type(1)){
  403. border-top: 1px solid $light-blue;
  404. &::before{
  405. content: " ";
  406. display: block;
  407. position: absolute;
  408. width: 5px;
  409. height: 5px;
  410. margin-top: -13px;
  411. border-radius: 10px;
  412. background: $light-blue;
  413. }
  414. }
  415. &:nth-of-type(3){
  416. margin-bottom: 10px;
  417. }
  418. }
  419. .side-all-agenda{
  420. background: white;
  421. width: auto;
  422. padding: 10px 20px;
  423. margin-bottom: 10px;
  424. float: left;
  425. border: 2px solid $red;
  426. border-radius: 30px;
  427. -webkit-transition: background-color 0.3s ease;
  428. transition: background-color 0.3s ease;
  429. a{
  430. color: black;
  431. }
  432. &:hover{
  433. background-color: $red;
  434. -webkit-transition: background-color 0.3s ease;
  435. transition: background-color 0.3s ease;
  436. a{
  437. color: white;
  438. }
  439. }
  440. }
  441. }
  442. #newsletter{
  443. padding: 20px;
  444. background: $light-blue;
  445. #mc_embed_signup{
  446. width: 600px;
  447. margin: auto;
  448. padding: 0 0 0 10px;
  449. border-radius: 100px;
  450. border: 1px solid $white;
  451. form{
  452. @include inlineflex();
  453. width: 100%;
  454. #mc_embed_signup_scroll{
  455. @include inlineflex();
  456. width: 100%;
  457. margin: auto;
  458. label{
  459. text-align: center;
  460. color: $white;
  461. margin-right: 10px;
  462. width: 260px;
  463. }
  464. &>input{
  465. width: 315px;
  466. padding-left: 20px;
  467. }
  468. input{
  469. border-radius: 30px;
  470. height: 31px;
  471. -webkit-box-shadow: none;
  472. box-shadow: none;
  473. border: none;
  474. }
  475. .clear{
  476. input{
  477. background: $white;
  478. margin-left: -30px;
  479. }
  480. }
  481. }
  482. }
  483. }
  484. }
  485. #home{
  486. .content{
  487. @include inlineflex();
  488. & > p{
  489. position: relative;
  490. width: calc(100% / 3);
  491. padding: 50px 20px;
  492. margin-top: 10px;
  493. img{
  494. position: absolute;
  495. width: auto;
  496. height: 50px;
  497. top: -20px;
  498. left: 50%;
  499. -webkit-transform: translate(-50%);
  500. transform: translate(-50%);
  501. }
  502. &:nth-of-type(n+4){
  503. width: calc(100% / 4);
  504. }
  505. &:last-child{
  506. width: auto!important;
  507. margin-top: 0!important;
  508. margin: auto;
  509. a{
  510. display: block;
  511. padding: 10px 20px;
  512. text-align: center;
  513. border: 2px solid $green;
  514. border-radius: 30px;
  515. margin: auto;
  516. -webkit-transition: background-color 0.3s ease;
  517. transition: background-color 0.3s ease;
  518. }
  519. }
  520. }
  521. }
  522. }
  523. #item{
  524. .content{
  525. @include inlineflex;
  526. .images_s{
  527. // width: calc(100% / 2 - 15px);
  528. width: 40%;
  529. // min-width: 300px;
  530. margin-right: 15px;
  531. img{
  532. margin-bottom: 15px;
  533. }
  534. }
  535. .content_s{
  536. width: calc(60% - 30px);
  537. }
  538. .icones{
  539. margin: 70px 0;
  540. @include inlineflex;
  541. -ms-flex-pack: distribute;
  542. justify-content: space-around;
  543. width: 100%;
  544. .icon{
  545. height: 50px;
  546. width: auto;
  547. max-width: 200px;
  548. img{
  549. height: 50px;
  550. width: 100%;
  551. }
  552. p{
  553. text-align: center;
  554. }
  555. }
  556. }
  557. }
  558. }
  559. #devis{
  560. @include inlineflex();
  561. -webkit-box-pack: center;
  562. -ms-flex-pack: center;
  563. justify-content: center;
  564. -webkit-box-align: center;
  565. -ms-flex-align: center;
  566. align-items: center;
  567. background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
  568. background-position: center;
  569. background-repeat: no-repeat;
  570. background-size: cover;
  571. width: 100%;
  572. // height: 300px;
  573. .title{
  574. width: 200px;
  575. height: 200px;
  576. background: $red;
  577. border-radius: 200px;
  578. -webkit-transform: translateX(80px);
  579. transform: translateX(80px);
  580. h4{
  581. text-align: center;
  582. color: white;
  583. margin: 50% 10px 0 10px;
  584. -webkit-transform: translateY(-50%);
  585. transform: translateY(-50%);
  586. }
  587. }
  588. .txt{
  589. @include inlineflex();
  590. background: white;
  591. width: 25%;
  592. margin-right: 20px;
  593. height: 250px;
  594. p{
  595. padding: 20px 20px 20px 100px;
  596. color: black;
  597. text-align: left;
  598. strong{
  599. font-size: 1.3rem;
  600. }
  601. }
  602. }
  603. .demander-votre-devis{
  604. margin-top: 0;
  605. -webkit-transform: translateX(-200px);
  606. transform: translateX(-200px);
  607. }
  608. .img{
  609. width: 400px;
  610. height: 300px;
  611. overflow: hidden;
  612. img{
  613. width: auto;
  614. height: 400px;
  615. }
  616. }
  617. }
  618. #devis{
  619. &.item, &.sublog{
  620. background: $red;
  621. height: auto;
  622. padding: 20px 0;
  623. a{
  624. color: white;
  625. .title{
  626. vertical-align: baseline;
  627. border-radius: 30px;
  628. border: 1px solid white;
  629. padding: 5px 20px;
  630. height: 35px;
  631. width: auto;
  632. -webkit-transform: translateX(0);
  633. transform: translateX(0);
  634. }
  635. &:hover{
  636. color: black;
  637. .title{
  638. background: white;
  639. -webkit-transition: background 0.3s ease;
  640. transition: background 0.3s ease;
  641. }
  642. }
  643. }
  644. }
  645. }
  646. // .bx-viewport{
  647. // height: 30vw!important;
  648. // }
  649. #reco{
  650. background: $dark-blue;
  651. .title{
  652. display: -webkit-box;
  653. display: -ms-flexbox;
  654. display: flex;
  655. cursor: pointer;
  656. width: 100%;
  657. padding: 10px;
  658. h2{
  659. width: auto;
  660. margin: auto;
  661. color: white;
  662. padding: 10px;
  663. text-align: center;
  664. border-top: 1px solid white;
  665. border-bottom: 1px solid white;
  666. font-size: 1rem;
  667. &::after{
  668. display: -webkit-inline-box;
  669. display: -ms-inline-flexbox;
  670. display: inline-flex;
  671. margin-left: 10px;
  672. content: " ";
  673. background: url('../images/fleche-top.svg');
  674. background-size: 15px 18px;
  675. background-repeat: no-repeat;
  676. width: 15px;
  677. height: 18px;
  678. }
  679. }
  680. &.open{
  681. h5:after{
  682. -webkit-transform: rotate(180deg);
  683. transform: rotate(180deg);
  684. }
  685. }
  686. }
  687. .txt{
  688. z-index: -1;
  689. position: absolute;
  690. width: 100%;
  691. padding-top: 20px;
  692. @include inlineflex;
  693. -webkit-box-pack: center;
  694. -ms-flex-pack: center;
  695. justify-content: center;
  696. -webkit-transform: translateY(-100%);
  697. transform: translateY(-100%);
  698. p{
  699. color: white;
  700. width: 300px;
  701. a{
  702. color: white;
  703. text-decoration: underline;
  704. }
  705. }
  706. &.open{
  707. z-index: 999;
  708. background: $dark-blue;
  709. .item{
  710. display: block;
  711. }
  712. }
  713. h3{
  714. color: $green;
  715. }
  716. }
  717. .item{
  718. display: none;
  719. margin: 0 0px 20px 20px;
  720. border-left: 1px solid white;
  721. padding-left: 20px;
  722. img{
  723. width: 50px;
  724. margin-bottom: 10px;
  725. }
  726. }
  727. }
  728. .content_s{
  729. &.map{
  730. width: 100%!important;
  731. height: auto;
  732. p{
  733. &:last-child{
  734. height: 500px;
  735. }
  736. }
  737. a#carte{
  738. display: block;
  739. width: 100%;
  740. height: 100%;
  741. }
  742. }
  743. }
  744. #event{
  745. .title{
  746. width: 45%;
  747. margin: auto;
  748. }
  749. .head-event{
  750. .tags{
  751. width: 100%;
  752. &.professionnels{
  753. background-color: $red;
  754. }
  755. &.grand_public{
  756. background-color: $light-blue;
  757. }
  758. &.formations{
  759. background-color: $grey;
  760. }
  761. &.publics{
  762. padding: 2.5px 10px;
  763. color: white;
  764. }
  765. }
  766. }
  767. .card-header{
  768. @include inlineflex;
  769. -webkit-box-orient: vertical;
  770. -webkit-box-direction: normal;
  771. -ms-flex-direction: column;
  772. flex-direction: column;
  773. width: 100%;
  774. &.professionnels{
  775. background-color: $red;
  776. }
  777. &.grand_public{
  778. background-color: $light-blue;
  779. }
  780. &.formations{
  781. background-color: $grey;
  782. }
  783. .publics{
  784. text-align: right;
  785. &.publics{
  786. padding: 2.5px 10px;
  787. color: white;
  788. }
  789. }
  790. }
  791. .card-body{
  792. padding: 15px;
  793. background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
  794. background-position: center;
  795. background-repeat: no-repeat;
  796. background-size: cover;
  797. }
  798. .card-content{
  799. margin-top: 20px;
  800. }
  801. }
  802. .demander-votre-devis{
  803. padding: 10px;
  804. z-index: 999;
  805. background: $red;
  806. position: absolute;
  807. width: 200px;
  808. height: 200px;
  809. right: 100px;
  810. margin-top: -100px;
  811. color: white;
  812. text-align: center;
  813. strong{
  814. font-weight: bold!important;
  815. }
  816. a{
  817. color: white;
  818. }
  819. img{
  820. margin-top: 10px;
  821. width: 50px;
  822. }
  823. }
  824. #sublog{
  825. .body-wrapper{
  826. background-image: url('../images/Trame-gris.svg');
  827. background-repeat: no-repeat;
  828. }
  829. .content{
  830. @include inlineflex;
  831. width: 90%;
  832. & > p{
  833. font-size: 1.2rem;
  834. font-family: $Bold;
  835. }
  836. }
  837. svg{
  838. pointer-events: none;
  839. }
  840. .mapsalles{
  841. width: 50%;
  842. .contour{
  843. position: relative;
  844. z-index: 1;
  845. pointer-events: none;
  846. }
  847. .fond{
  848. position: absolute;
  849. z-index:0;
  850. top: 110px;
  851. path{
  852. fill: none;
  853. pointer-events: all;
  854. transition: fill 0.3s ease;
  855. &:hover{
  856. fill: $light-blue!important;
  857. transition: fill 0.3s ease;
  858. }
  859. }
  860. }
  861. }
  862. .content_salle{
  863. position: absolute;
  864. left: 50%;
  865. top: 300px;
  866. width: 35%;
  867. background: white;
  868. & > p{
  869. padding-left: 10px;
  870. }
  871. h3{
  872. background: $light-blue;
  873. padding: 5px 10px;
  874. color: white;
  875. margin-top: 0;
  876. }
  877. h4{
  878. background: $green;
  879. font-size: 1.2rem;
  880. font-family: $Bold;
  881. padding: 5px 10px;
  882. }
  883. }
  884. }
  885. #default{
  886. .header-wrapper{
  887. width: 45%;
  888. margin-top: 50px;
  889. margin: auto;
  890. }
  891. .body-wrapper{
  892. margin-bottom: 50px;
  893. }
  894. .title{
  895. width: 80%;
  896. margin: auto;
  897. }
  898. .txt{
  899. margin:auto;
  900. }
  901. p{
  902. margin-bottom: 10px;
  903. }
  904. }