_blog.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901
  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: 250px;
  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. width: auto;
  421. padding: 10px 20px;
  422. margin-bottom: 10px;
  423. float: left;
  424. border: 2px solid $red;
  425. border-radius: 30px;
  426. -webkit-transition: background-color 0.3s ease;
  427. transition: background-color 0.3s ease;
  428. a{
  429. color: black;
  430. }
  431. &:hover{
  432. background-color: $red;
  433. -webkit-transition: background-color 0.3s ease;
  434. transition: background-color 0.3s ease;
  435. a{
  436. color: white;
  437. }
  438. }
  439. }
  440. }
  441. #newsletter{
  442. padding: 20px;
  443. background: $light-blue;
  444. #mc_embed_signup{
  445. width: 600px;
  446. margin: auto;
  447. padding: 0 0 0 10px;
  448. border-radius: 100px;
  449. border: 1px solid $white;
  450. form{
  451. @include inlineflex();
  452. width: 100%;
  453. #mc_embed_signup_scroll{
  454. @include inlineflex();
  455. width: 100%;
  456. margin: auto;
  457. label{
  458. text-align: center;
  459. color: $white;
  460. margin-right: 10px;
  461. width: 260px;
  462. }
  463. &>input{
  464. width: 315px;
  465. padding-left: 20px;
  466. }
  467. input{
  468. border-radius: 30px;
  469. height: 31px;
  470. -webkit-box-shadow: none;
  471. box-shadow: none;
  472. border: none;
  473. }
  474. .clear{
  475. input{
  476. background: $white;
  477. margin-left: -30px;
  478. }
  479. }
  480. }
  481. }
  482. }
  483. }
  484. #home{
  485. .content{
  486. @include inlineflex();
  487. & > p{
  488. position: relative;
  489. width: calc(100% / 3);
  490. padding: 50px 20px;
  491. margin-top: 10px;
  492. img{
  493. position: absolute;
  494. width: auto;
  495. height: 50px;
  496. top: -20px;
  497. left: 50%;
  498. -webkit-transform: translate(-50%);
  499. transform: translate(-50%);
  500. }
  501. &:nth-of-type(n+4){
  502. width: calc(100% / 4);
  503. }
  504. &:last-child{
  505. width: auto!important;
  506. margin-top: 0!important;
  507. margin: auto;
  508. a{
  509. display: block;
  510. padding: 10px 20px;
  511. text-align: center;
  512. border: 2px solid $green;
  513. border-radius: 30px;
  514. margin: auto;
  515. -webkit-transition: background-color 0.3s ease;
  516. transition: background-color 0.3s ease;
  517. }
  518. }
  519. }
  520. }
  521. }
  522. #item{
  523. .content{
  524. @include inlineflex;
  525. .images_s{
  526. // width: calc(100% / 2 - 15px);
  527. width: 40%;
  528. min-width: 300px;
  529. margin-right: 15px;
  530. img{
  531. margin-bottom: 15px;
  532. }
  533. }
  534. .content_s{
  535. width: calc(60% - 30px);
  536. }
  537. .icones{
  538. margin: 70px 0;
  539. @include inlineflex;
  540. -ms-flex-pack: distribute;
  541. justify-content: space-around;
  542. width: 100%;
  543. .icon{
  544. height: 50px;
  545. width: auto;
  546. max-width: 200px;
  547. img{
  548. height: 50px;
  549. width: 100%;
  550. }
  551. p{
  552. text-align: center;
  553. }
  554. }
  555. }
  556. }
  557. }
  558. #devis{
  559. @include inlineflex();
  560. -webkit-box-pack: center;
  561. -ms-flex-pack: center;
  562. justify-content: center;
  563. -webkit-box-align: center;
  564. -ms-flex-align: center;
  565. align-items: center;
  566. background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
  567. background-position: center;
  568. background-repeat: no-repeat;
  569. background-size: cover;
  570. width: 100%;
  571. height: 300px;
  572. .title{
  573. width: 200px;
  574. height: 200px;
  575. background: $red;
  576. border-radius: 200px;
  577. -webkit-transform: translateX(80px);
  578. transform: translateX(80px);
  579. h4{
  580. text-align: center;
  581. color: white;
  582. margin: 50% 10px 0 10px;
  583. -webkit-transform: translateY(-50%);
  584. transform: translateY(-50%);
  585. }
  586. }
  587. .txt{
  588. @include inlineflex();
  589. background: white;
  590. width: 25%;
  591. margin-right: 20px;
  592. height: 250px;
  593. p{
  594. padding: 20px 20px 20px 100px;
  595. color: black;
  596. text-align: left;
  597. strong{
  598. font-size: 1.3rem;
  599. }
  600. }
  601. }
  602. .demander-votre-devis{
  603. margin-top: 0;
  604. -webkit-transform: translateX(-200px);
  605. transform: translateX(-200px);
  606. }
  607. .img{
  608. width: 400px;
  609. height: 300px;
  610. overflow: hidden;
  611. img{
  612. width: auto;
  613. height: 400px;
  614. }
  615. }
  616. }
  617. #devis{
  618. &.item, &.sublog{
  619. background: $red;
  620. height: auto;
  621. padding: 20px 0;
  622. a{
  623. color: white;
  624. .title{
  625. vertical-align: baseline;
  626. border-radius: 30px;
  627. border: 1px solid white;
  628. padding: 5px 20px;
  629. height: 35px;
  630. width: auto;
  631. -webkit-transform: translateX(0);
  632. transform: translateX(0);
  633. }
  634. &:hover{
  635. color: black;
  636. .title{
  637. background: white;
  638. -webkit-transition: background 0.3s ease;
  639. transition: background 0.3s ease;
  640. }
  641. }
  642. }
  643. }
  644. }
  645. // .bx-viewport{
  646. // height: 30vw!important;
  647. // }
  648. #reco{
  649. background: $dark-blue;
  650. .title{
  651. display: -webkit-box;
  652. display: -ms-flexbox;
  653. display: flex;
  654. cursor: pointer;
  655. width: 100%;
  656. padding: 10px;
  657. h2{
  658. width: auto;
  659. margin: auto;
  660. color: white;
  661. padding: 10px;
  662. text-align: center;
  663. border-top: 1px solid white;
  664. border-bottom: 1px solid white;
  665. font-size: 1rem;
  666. &::after{
  667. display: -webkit-inline-box;
  668. display: -ms-inline-flexbox;
  669. display: inline-flex;
  670. margin-left: 10px;
  671. content: " ";
  672. background: url('../images/fleche-top.svg');
  673. background-size: 15px 18px;
  674. background-repeat: no-repeat;
  675. width: 15px;
  676. height: 18px;
  677. }
  678. }
  679. &.open{
  680. h5:after{
  681. -webkit-transform: rotate(180deg);
  682. transform: rotate(180deg);
  683. }
  684. }
  685. }
  686. .txt{
  687. z-index: -1;
  688. position: absolute;
  689. width: 100%;
  690. padding-top: 20px;
  691. @include inlineflex;
  692. -webkit-box-pack: center;
  693. -ms-flex-pack: center;
  694. justify-content: center;
  695. -webkit-transform: translateY(-100%);
  696. transform: translateY(-100%);
  697. p{
  698. color: white;
  699. width: 300px;
  700. margin: 0 20px 20px 20px;
  701. border-left: 1px solid white;
  702. padding-left: 20px;
  703. a{
  704. color: white;
  705. text-decoration: underline;
  706. }
  707. }
  708. &.open{
  709. // bottom: 0;
  710. z-index: 999;
  711. background: $dark-blue;
  712. }
  713. }
  714. }
  715. .content_s{
  716. &.map{
  717. width: 100%!important;
  718. height: auto;
  719. p{
  720. &:last-child{
  721. height: 500px;
  722. }
  723. }
  724. a#carte{
  725. display: block;
  726. width: 100%;
  727. height: 100%;
  728. }
  729. }
  730. }
  731. #event{
  732. .title{
  733. width: 45%;
  734. margin: auto;
  735. }
  736. .head-event{
  737. .tags{
  738. width: 100%;
  739. &.professionnels{
  740. background-color: $red;
  741. }
  742. &.grand_public{
  743. background-color: $light-blue;
  744. }
  745. &.formations{
  746. background-color: $grey;
  747. }
  748. &.publics{
  749. padding: 2.5px 10px;
  750. color: white;
  751. }
  752. }
  753. }
  754. .card-header{
  755. @include inlineflex;
  756. -webkit-box-orient: vertical;
  757. -webkit-box-direction: normal;
  758. -ms-flex-direction: column;
  759. flex-direction: column;
  760. width: 100%;
  761. &.professionnels{
  762. background-color: $red;
  763. }
  764. &.grand_public{
  765. background-color: $light-blue;
  766. }
  767. &.formations{
  768. background-color: $grey;
  769. }
  770. .publics{
  771. text-align: right;
  772. &.publics{
  773. padding: 2.5px 10px;
  774. color: white;
  775. }
  776. }
  777. }
  778. .card-body{
  779. padding: 15px;
  780. background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
  781. background-position: center;
  782. background-repeat: no-repeat;
  783. background-size: cover;
  784. }
  785. .card-content{
  786. margin-top: 20px;
  787. }
  788. }
  789. .demander-votre-devis{
  790. padding: 10px;
  791. z-index: 999;
  792. background: $red;
  793. position: absolute;
  794. width: 200px;
  795. height: 200px;
  796. right: 100px;
  797. margin-top: -100px;
  798. color: white;
  799. text-align: center;
  800. strong{
  801. font-weight: bold!important;
  802. }
  803. a{
  804. color: white;
  805. }
  806. img{
  807. margin-top: 10px;
  808. width: 50px;
  809. }
  810. }
  811. #sublog{
  812. .body-wrapper{
  813. background-image: url('../images/Trame-gris.svg');
  814. background-repeat: no-repeat;
  815. }
  816. .content{
  817. @include inlineflex;
  818. width: 90%;
  819. & > p{
  820. font-size: 1.2rem;
  821. font-family: $Bold;
  822. }
  823. }
  824. .mapsalles{
  825. width: 50%;
  826. }
  827. .content_salle{
  828. position: absolute;
  829. left: 50%;
  830. top: 300px;
  831. width: 35%;
  832. background: white;
  833. & > p{
  834. padding-left: 10px;
  835. }
  836. h3{
  837. background: $light-blue;
  838. padding: 5px 10px;
  839. color: white;
  840. margin-top: 0;
  841. }
  842. h4{
  843. background: $green;
  844. font-size: 1.2rem;
  845. font-family: $Bold;
  846. padding: 5px 10px;
  847. }
  848. }
  849. }
  850. #default{
  851. .header-wrapper{
  852. width: 45%;
  853. margin-top: 50px;
  854. margin: auto;
  855. }
  856. .body-wrapper{
  857. margin-bottom: 50px;
  858. }
  859. .title{
  860. width: 80%;
  861. margin: auto;
  862. }
  863. .txt{
  864. margin:auto;
  865. }
  866. p{
  867. margin-bottom: 10px;
  868. }
  869. }