_mobile.scss 14 KB

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