_blog.scss 12 KB

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