_mobile.scss 16 KB

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