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