_mobile.scss 14 KB

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