_mobile.scss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  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. }
  332. .demander-votre-devis{
  333. // -webkit-transform: translate(0, -50%)!important;
  334. // transform: translate(0, -50%)!important;
  335. }
  336. }
  337. #devis.item .title, #devis.sublog .title{
  338. border-radius: 30px!important;
  339. }
  340. #sublog{
  341. .txt{
  342. width:100%!important;
  343. .content_txt{
  344. width: 100%!important;
  345. }
  346. p{
  347. padding: 0!important;
  348. }
  349. }
  350. .content_salle{
  351. width: 70%!important;
  352. z-index: 2;
  353. left: 50%!important;
  354. -webkit-transform: translateX(-50%);
  355. transform: translateX(-50%);
  356. .header-salles{
  357. display: inline-flex;
  358. justify-content: space-between;
  359. img{
  360. display: block!important;
  361. margin: auto;
  362. width: 20px;
  363. height: 20px;
  364. cursor: pointer;
  365. }
  366. }
  367. }
  368. .mapsalles{
  369. width: 100%!important;
  370. }
  371. }
  372. #sublog .demander-votre-devis{
  373. width: 300px!important;
  374. height: 110px!important;
  375. a{
  376. display: inline-flex!important;
  377. }
  378. p:nth-of-type(2){
  379. display: none!important;
  380. }
  381. img{
  382. margin-left: 20px!important;
  383. margin-top: 0px!important;
  384. }
  385. }
  386. #item .demander-votre-devis{
  387. width: 300px!important;
  388. height: 110px!important;
  389. a{
  390. display: inline-flex!important;
  391. }
  392. p:nth-of-type(2){
  393. display: none!important;
  394. }
  395. img{
  396. margin-left: 20px!important;
  397. margin-top: 0px!important;
  398. }
  399. }
  400. .start:not(#form)#archive, .start:not(#form)#calendrier{
  401. width: 80%!important;
  402. }
  403. .start:not(#form) .body-wrapper .card{
  404. width: calc((100% / 3) - 7.5px)!important;
  405. }
  406. .start#form .body-wrapper form{
  407. width: 90%!important;
  408. }
  409. .start#form .body-wrapper form > div.button-wrapper button{
  410. margin-right: 5%!important;
  411. }
  412. .sidebar{
  413. width: 50%!important;
  414. padding: 20px 0;
  415. &::before{
  416. display: block;
  417. width: 100vw;
  418. height: 100%;
  419. content: '';
  420. background-image: url(/user/themes/lecampus/images/Trame-bleu2.svg);
  421. background-repeat: repeat;
  422. // background-position: center;
  423. // background-size: cover;
  424. position: absolute;
  425. top: 0;
  426. margin-left: -27vw;
  427. z-index: -1;
  428. }
  429. }
  430. .start:not(#form) .body-wrapper .event{
  431. width: 90%!important;
  432. }
  433. .start:not(#form)#event .title{
  434. width: 90%!important;
  435. }
  436. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm{
  437. width: 70%!important;
  438. }
  439. }
  440. @media screen and (max-width: 768px) {
  441. #devis{
  442. .demander-votre-devis{
  443. -webkit-transform: translate(50%, -125%)!important;
  444. transform: translate(50%, -125%)!important;
  445. }
  446. }
  447. #newsletter #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm{
  448. width: 50%!important;
  449. }
  450. }
  451. @media screen and (max-width: 750px) {
  452. .start{
  453. .demander-votre-devis{
  454. display: none;
  455. }
  456. }
  457. #item{
  458. .bandeau{
  459. .img{
  460. width: 100%;
  461. height: auto;
  462. }
  463. }
  464. .body-wrapper{
  465. .images_s{
  466. display: none;
  467. }
  468. .content_s{
  469. width: 90%!important;
  470. p{
  471. padding: 0!important;
  472. }
  473. }
  474. .icones{
  475. margin: 20px 0 0 0!important;
  476. .icon{
  477. height: auto!important;
  478. max-width: 100%!important;
  479. p{
  480. padding: 0!important;
  481. }
  482. }
  483. }
  484. }
  485. }
  486. .content{
  487. margin: 2rem auto!important;
  488. width: 90%!important;
  489. p{
  490. padding: 40px 20px!important;
  491. }
  492. }
  493. .gal .title_gal{
  494. display: none!important;
  495. }
  496. .entete{
  497. padding: 0!important;
  498. p{
  499. font-size: 1.1rem;
  500. line-height: 1.5rem;
  501. }
  502. }
  503. #home .content > p{
  504. width: 100%!important;
  505. &:not(:last-child){
  506. strong{
  507. font-size: 1.1rem;
  508. }
  509. }
  510. }
  511. #reco{
  512. .item{
  513. border: none!important;
  514. margin: 10px 0!important;
  515. padding-left: 0!important;
  516. }
  517. }
  518. .sidebar{
  519. width: 90%!important;;
  520. text-align: center;
  521. &:before{
  522. margin-left: -8vw;
  523. }
  524. h2{
  525. margin: auto;
  526. }
  527. h3{
  528. font-size: 1.1rem;
  529. }
  530. .side-all-agenda{
  531. margin: auto;
  532. float: none!important;
  533. }
  534. }
  535. #devis{
  536. .title, .txt{
  537. padding: 0 5%;
  538. p{
  539. padding: 15px 0!important;
  540. }
  541. }
  542. }
  543. #newsletter{
  544. #mc_embed_signup{
  545. border: none!important;
  546. width: 280px!important;
  547. padding: 0!important;
  548. #mc_embed_signup_scroll{
  549. flex-direction: column;
  550. input{
  551. width: 280px!important;
  552. }
  553. }
  554. #form{
  555. width: auto;
  556. }
  557. label{
  558. width: 280px!important;
  559. border: 2px solid white;
  560. border-radius: 20px;
  561. margin-bottom: 10px;
  562. }
  563. & > input{
  564. margin-top: 10px;
  565. }
  566. .clear{
  567. input{
  568. margin: 10px 0 0 0!important;
  569. }
  570. }
  571. }
  572. }
  573. #footer .block{
  574. flex-direction: column;
  575. p{
  576. margin-bottom: 10px;
  577. text-align: center;
  578. border: none!important;
  579. &:nth-of-type(1){
  580. img{
  581. float: none;
  582. }
  583. }
  584. }
  585. }
  586. #sublog {
  587. .bandeau{
  588. height: auto;
  589. .img{
  590. width: 100%;
  591. height: auto;
  592. }
  593. }
  594. .title_gal{
  595. display: none;
  596. }
  597. .content_salle{
  598. width: 90%!important;
  599. top: 200px!important;
  600. p{
  601. padding: 0px 10px!important;
  602. }
  603. }
  604. .mapsalles{
  605. width: 100%!important;
  606. }
  607. } .start:not(#form)#archive, .start:not(#form)#calendrier{
  608. width: 90%!important;
  609. .cat {
  610. height: auto!important;
  611. .btn-group{
  612. &:nth-child(1){
  613. width: 75%;
  614. }
  615. label{
  616. margin-bottom: 10px;
  617. }
  618. }
  619. }
  620. }
  621. .start:not(#form) .body-wrapper .card{
  622. width: 100%!important;
  623. }
  624. .start:not(#form) .body-wrapper .event .card-content{
  625. flex-direction: column;
  626. .reso{
  627. width: 100%!important;
  628. display: flex;
  629. justify-content: space-around;
  630. }
  631. .txt{
  632. width: 100%!important;
  633. }
  634. }
  635. #default{
  636. .header-wrapper{
  637. width: 100%!important;
  638. text-align: center;
  639. .title{
  640. width: 90%!important;
  641. }
  642. }
  643. }
  644. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm{
  645. width: 90%!important;
  646. }
  647. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody.ml-form-embedBodyHorizontal{
  648. display: block!important;
  649. }
  650. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent label{
  651. white-space: normal!important;
  652. }
  653. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent{
  654. border: 1px solid white!important;
  655. border-radius: 30px;
  656. margin-bottom: 20px;
  657. }
  658. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody.ml-form-embedBodyHorizontal {
  659. border:none!important;
  660. border-radius: 0px!important;
  661. }
  662. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input{
  663. text-align: center;
  664. }
  665. }