_mobile.scss 14 KB

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