_mobile.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  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: 768px) {
  411. #devis{
  412. .demander-votre-devis{
  413. transform: translate(50%, -125%)!important;
  414. }
  415. }
  416. }
  417. @media screen and (max-width: 750px) {
  418. .start{
  419. .demander-votre-devis{
  420. display: none;
  421. }
  422. }
  423. #item{
  424. .bandeau{
  425. .img{
  426. width: 100%;
  427. height: auto;
  428. }
  429. }
  430. .body-wrapper{
  431. .images_s{
  432. display: none;
  433. }
  434. .content_s{
  435. width: 90%!important;
  436. p{
  437. padding: 0!important;
  438. }
  439. }
  440. .icones{
  441. margin: 20px 0 0 0!important;
  442. .icon{
  443. height: auto!important;
  444. max-width: 100%!important;
  445. p{
  446. padding: 0!important;
  447. }
  448. }
  449. }
  450. }
  451. }
  452. .content{
  453. margin: 2rem auto!important;
  454. width: 90%!important;
  455. p{
  456. padding: 40px 20px!important;
  457. }
  458. }
  459. .gal .title_gal{
  460. display: none!important;
  461. }
  462. .entete{
  463. padding: 0!important;
  464. p{
  465. font-size: 1.1rem;
  466. line-height: 1.5rem;
  467. }
  468. }
  469. #home .content > p{
  470. width: 100%!important;
  471. &:not(:last-child){
  472. strong{
  473. font-size: 1.1rem;
  474. }
  475. }
  476. }
  477. #reco{
  478. .item{
  479. border: none!important;
  480. margin: 10px 0!important;
  481. padding-left: 0!important;
  482. }
  483. }
  484. .sidebar{
  485. width: 90%!important;;
  486. text-align: center;
  487. &:before{
  488. margin-left: -8vw;
  489. }
  490. h2{
  491. margin: auto;
  492. }
  493. h3{
  494. font-size: 1.1rem;
  495. }
  496. .side-all-agenda{
  497. margin: auto;
  498. float: none!important;
  499. }
  500. }
  501. #devis{
  502. .title, .txt{
  503. padding: 0 5%;
  504. p{
  505. padding: 15px 0!important;
  506. }
  507. }
  508. }
  509. #newsletter{
  510. #mc_embed_signup{
  511. border: none!important;
  512. width: 280px!important;
  513. padding: 0!important;
  514. #mc_embed_signup_scroll{
  515. flex-direction: column;
  516. input{
  517. width: 280px!important;
  518. }
  519. }
  520. #form{
  521. width: auto;
  522. }
  523. label{
  524. width: 280px!important;
  525. border: 2px solid white;
  526. border-radius: 20px;
  527. margin-bottom: 10px;
  528. }
  529. & > input{
  530. margin-top: 10px;
  531. }
  532. .clear{
  533. input{
  534. margin: 10px 0 0 0!important;
  535. }
  536. }
  537. }
  538. }
  539. #footer .block{
  540. flex-direction: column;
  541. p{
  542. margin-bottom: 10px;
  543. text-align: center;
  544. border: none!important;
  545. &:nth-of-type(1){
  546. img{
  547. float: none;
  548. }
  549. }
  550. }
  551. }
  552. #sublog {
  553. .bandeau{
  554. height: auto;
  555. .img{
  556. width: 100%;
  557. height: auto;
  558. }
  559. }
  560. .title_gal{
  561. display: none;
  562. }
  563. .content_salle{
  564. width: 90%!important;
  565. top: 200px!important;
  566. p{
  567. padding: 0px 10px!important;
  568. }
  569. }
  570. .mapsalles{
  571. width: 100%!important;
  572. }
  573. } .start:not(#form)#archive, .start:not(#form)#calendrier{
  574. width: 90%!important;
  575. .cat {
  576. height: auto!important;
  577. .btn-group{
  578. &:nth-child(1){
  579. width: 75%;
  580. }
  581. label{
  582. margin-bottom: 10px;
  583. }
  584. }
  585. }
  586. }
  587. .start:not(#form) .body-wrapper .card{
  588. width: 100%!important;
  589. }
  590. .start:not(#form) .body-wrapper .event .card-content{
  591. flex-direction: column;
  592. .reso{
  593. width: 100%!important;
  594. display: flex;
  595. justify-content: space-around;
  596. }
  597. .txt{
  598. width: 100%!important;
  599. }
  600. }
  601. #default{
  602. .header-wrapper{
  603. width: 100%!important;
  604. text-align: center;
  605. .title{
  606. width: 90%!important;
  607. }
  608. }
  609. }
  610. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm{
  611. width: 90%!important;
  612. }
  613. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody.ml-form-embedBodyHorizontal{
  614. display: block!important;
  615. }
  616. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent label{
  617. white-space: normal!important;
  618. }
  619. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent{
  620. border: 1px solid white!important;
  621. border-radius: 30px;
  622. margin-bottom: 20px;
  623. }
  624. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody.ml-form-embedBodyHorizontal {
  625. border:none!important;
  626. border-radius: 0px!important;
  627. }
  628. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input{
  629. text-align: center;
  630. }
  631. }