_blog.scss 14 KB

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