_mobile.scss 19 KB

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