_mobile.scss 15 KB

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