_mobile.scss 13 KB

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