_mobile.scss 15 KB

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