_mobile.scss 15 KB

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