_mobile.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  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. -webkit-transform: translateX(-50%);
  309. transform: translateX(-50%);
  310. .header-salles{
  311. display: inline-flex;
  312. justify-content: space-between;
  313. img{
  314. display: block!important;
  315. margin: auto;
  316. width: 20px;
  317. height: 20px;
  318. cursor: pointer;
  319. }
  320. }
  321. }
  322. .mapsalles{
  323. width: 100%!important;
  324. }
  325. }
  326. #sublog .demander-votre-devis{
  327. width: 300px!important;
  328. height: 110px!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. #item .demander-votre-devis{
  341. width: 300px!important;
  342. height: 110px!important;
  343. a{
  344. display: inline-flex!important;
  345. }
  346. p:nth-of-type(2){
  347. display: none!important;
  348. }
  349. img{
  350. margin-left: 20px!important;
  351. margin-top: 0px!important;
  352. }
  353. }
  354. .start:not(#form)#archive, .start:not(#form)#calendrier{
  355. width: 80%!important;
  356. }
  357. .start:not(#form) .body-wrapper .card{
  358. width: calc((100% / 3) - 7.5px)!important;
  359. }
  360. .start#form .body-wrapper form{
  361. width: 90%!important;
  362. }
  363. .start#form .body-wrapper form > div.button-wrapper button{
  364. margin-right: 5%!important;
  365. }
  366. .sidebar{
  367. width: 50%!important;
  368. padding: 20px 0;
  369. &::before{
  370. display: block;
  371. width: 100vw;
  372. height: 100%;
  373. content: '';
  374. background-image: url(/user/themes/lecampus/images/Trame-bleu2.svg);
  375. background-repeat: repeat;
  376. // background-position: center;
  377. // background-size: cover;
  378. position: absolute;
  379. top: 0;
  380. margin-left: -27vw;
  381. z-index: -1;
  382. }
  383. }
  384. .start:not(#form) .body-wrapper .event{
  385. width: 90%!important;
  386. }
  387. .start:not(#form)#event .title{
  388. width: 90%!important;
  389. }
  390. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm{
  391. width: 70%!important;
  392. }
  393. }
  394. @media screen and (max-width: 750px) {
  395. .start{
  396. .demander-votre-devis{
  397. display: none;
  398. }
  399. }
  400. #item{
  401. .bandeau{
  402. .img{
  403. width: 100%;
  404. height: auto;
  405. }
  406. }
  407. .body-wrapper{
  408. .images_s{
  409. display: none;
  410. }
  411. .content_s{
  412. width: 90%!important;
  413. p{
  414. padding: 0!important;
  415. }
  416. }
  417. .icones{
  418. margin: 20px 0 0 0!important;
  419. .icon{
  420. height: auto!important;
  421. max-width: 100%!important;
  422. p{
  423. padding: 0!important;
  424. }
  425. }
  426. }
  427. }
  428. }
  429. .content{
  430. margin: 2rem auto!important;
  431. width: 90%!important;
  432. p{
  433. padding: 40px 20px!important;
  434. }
  435. }
  436. .gal .title_gal{
  437. display: none!important;
  438. }
  439. .entete{
  440. padding: 0!important;
  441. p{
  442. font-size: 1.1rem;
  443. line-height: 1.5rem;
  444. }
  445. }
  446. #home .content > p{
  447. width: 100%!important;
  448. &:not(:last-child){
  449. strong{
  450. font-size: 1.1rem;
  451. }
  452. }
  453. }
  454. #reco{
  455. .item{
  456. border: none!important;
  457. margin: 10px 0!important;
  458. padding-left: 0!important;
  459. }
  460. }
  461. .sidebar{
  462. width: 90%!important;;
  463. text-align: center;
  464. &:before{
  465. margin-left: -8vw;
  466. }
  467. h2{
  468. margin: auto;
  469. }
  470. h3{
  471. font-size: 1.1rem;
  472. }
  473. .side-all-agenda{
  474. margin: auto;
  475. float: none!important;
  476. }
  477. }
  478. #devis{
  479. .title, .txt{
  480. padding: 0 5%;
  481. p{
  482. padding: 15px 0!important;
  483. }
  484. }
  485. }
  486. #newsletter{
  487. #mc_embed_signup{
  488. border: none!important;
  489. width: 280px!important;
  490. padding: 0!important;
  491. #mc_embed_signup_scroll{
  492. flex-direction: column;
  493. input{
  494. width: 280px!important;
  495. }
  496. }
  497. #form{
  498. width: auto;
  499. }
  500. label{
  501. width: 280px!important;
  502. border: 2px solid white;
  503. border-radius: 20px;
  504. margin-bottom: 10px;
  505. }
  506. & > input{
  507. margin-top: 10px;
  508. }
  509. .clear{
  510. input{
  511. margin: 10px 0 0 0!important;
  512. }
  513. }
  514. }
  515. }
  516. #footer .block{
  517. flex-direction: column;
  518. p{
  519. margin-bottom: 10px;
  520. text-align: center;
  521. border: none!important;
  522. &:nth-of-type(1){
  523. img{
  524. float: none;
  525. }
  526. }
  527. }
  528. }
  529. #sublog {
  530. .bandeau{
  531. height: auto;
  532. .img{
  533. width: 100%;
  534. height: auto;
  535. }
  536. }
  537. .title_gal{
  538. display: none;
  539. }
  540. .content_salle{
  541. width: 90%!important;
  542. top: 200px!important;
  543. p{
  544. padding: 0px 10px!important;
  545. }
  546. }
  547. .mapsalles{
  548. width: 100%!important;
  549. }
  550. } .start:not(#form)#archive, .start:not(#form)#calendrier{
  551. width: 90%!important;
  552. .cat {
  553. height: auto!important;
  554. .btn-group{
  555. &:nth-child(1){
  556. width: 75%;
  557. }
  558. label{
  559. margin-bottom: 10px;
  560. }
  561. }
  562. }
  563. }
  564. .start:not(#form) .body-wrapper .card{
  565. width: 100%!important;
  566. }
  567. .start:not(#form) .body-wrapper .event .card-content{
  568. flex-direction: column;
  569. .reso{
  570. width: 100%!important;
  571. display: flex;
  572. justify-content: space-around;
  573. }
  574. .txt{
  575. width: 100%!important;
  576. }
  577. }
  578. #default{
  579. .header-wrapper{
  580. width: 100%!important;
  581. text-align: center;
  582. .title{
  583. width: 90%!important;
  584. }
  585. }
  586. }
  587. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm{
  588. width: 90%!important;
  589. }
  590. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody.ml-form-embedBodyHorizontal{
  591. display: block!important;
  592. }
  593. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent label{
  594. white-space: normal!important;
  595. }
  596. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent{
  597. border: 1px solid white!important;
  598. border-radius: 30px;
  599. margin-bottom: 20px;
  600. }
  601. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody.ml-form-embedBodyHorizontal {
  602. border:none!important;
  603. border-radius: 0px!important;
  604. }
  605. #mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input{
  606. text-align: center;
  607. }
  608. }