_mobile.scss 15 KB

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