_mobile.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  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. .entete .entete_c{
  235. width: 95%!important;
  236. margin: 30px auto!important;
  237. }
  238. .content{
  239. width: 80%!important;
  240. }
  241. .sidebar{
  242. position: relative!important;
  243. width: 350px!important;
  244. margin: 0 auto!important;
  245. }
  246. #devis{
  247. .title{
  248. width: 100%!important;
  249. height: auto!important;
  250. -webkit-transform: translateX(0px)!important;
  251. transform: translateX(0px)!important;
  252. border-radius: 0px!important;
  253. h4{
  254. font-size: 1.3rem!important;
  255. margin: 15px auto!important;
  256. -webkit-transform: translateY(0%)!important;
  257. transform: translateY(0%)!important;
  258. }
  259. }
  260. .txt{
  261. width: 100%!important;
  262. height: auto!important;
  263. background: $red!important;
  264. margin: auto!important;
  265. p{
  266. color: white!important;
  267. padding: 15px 55px !important;
  268. strong{
  269. font-size: 1rem!important;
  270. }
  271. }
  272. }
  273. .img{
  274. width: auto!important;
  275. }
  276. .demander-votre-devis{
  277. -webkit-transform: translate(0px, 40%)!important;
  278. transform: translate(0px, 40%)!important;
  279. right: 30px!important;
  280. }
  281. }
  282. #devis.item .title, #devis.sublog .title{
  283. border-radius: 30px!important;
  284. }
  285. #sublog{
  286. .txt{
  287. width:100%!important;
  288. p{
  289. padding: 0!important;
  290. }
  291. }
  292. .content_salle{
  293. z-index: 2;
  294. left: 60%!important;
  295. }
  296. .mapsalles{
  297. width: 60%!important;
  298. }
  299. }
  300. #item .demander-votre-devis, #sublog .demander-votre-devis{
  301. width: 300px!important;
  302. height: 110px!important;
  303. margin-top: -55px!important;
  304. a{
  305. display: inline-flex!important;
  306. }
  307. p:nth-of-type(2){
  308. display: none!important;
  309. }
  310. img{
  311. margin-left: 20px!important;
  312. margin-top: 0px!important;
  313. }
  314. }
  315. .start:not(#form)#archive, .start:not(#form)#calendrier{
  316. width: 80%!important;
  317. }
  318. .start:not(#form) .body-wrapper .card{
  319. width: calc((100% / 3) - 7.5px)!important;
  320. }
  321. .start#form .body-wrapper form{
  322. width: 90%!important;
  323. }
  324. .start#form .body-wrapper form > div.button-wrapper button{
  325. margin-right: 5%!important;
  326. }
  327. .sidebar{
  328. width: 50%!important;
  329. padding: 20px 0;
  330. &::before{
  331. display: block;
  332. width: 100vw;
  333. height: 100%;
  334. content: '';
  335. background-image: url(/user/themes/lecampus/images/Trame-bleu.svg);
  336. background-repeat: no-repeat;
  337. background-position: center;
  338. background-size: cover;
  339. position: absolute;
  340. top: 0;
  341. margin-left: -27vw;
  342. z-index: -1;
  343. }
  344. }
  345. .start:not(#form) .body-wrapper .event{
  346. width: 90%!important;
  347. }
  348. .start:not(#form)#event .title{
  349. width: 90%!important;
  350. }
  351. }
  352. @media screen and (max-width: 750px) {
  353. .start{
  354. .demander-votre-devis{
  355. display: none;
  356. }
  357. }
  358. #item{
  359. .bandeau{
  360. .img{
  361. width: 100%;
  362. height: auto;
  363. }
  364. }
  365. .body-wrapper{
  366. .images_s{
  367. display: none;
  368. }
  369. .content_s{
  370. width: 90%!important;
  371. p{
  372. padding: 0!important;
  373. }
  374. }
  375. .icones{
  376. margin: 20px 0 0 0!important;
  377. .icon{
  378. height: auto!important;
  379. max-width: 100%!important;
  380. p{
  381. padding: 0!important;
  382. }
  383. }
  384. }
  385. }
  386. }
  387. .content{
  388. margin: 2rem auto!important;
  389. width: 90%!important;
  390. p{
  391. padding: 40px 20px!important;
  392. }
  393. }
  394. .gal .title_gal{
  395. display: none!important;
  396. }
  397. .entete{
  398. padding: 0!important;
  399. p{
  400. font-size: 1.1rem;
  401. line-height: 1.5rem;
  402. }
  403. }
  404. #home .content > p{
  405. width: 100%!important;
  406. &:not(:last-child){
  407. strong{
  408. font-size: 1.1rem;
  409. }
  410. }
  411. }
  412. #reco{
  413. .item{
  414. border: none!important;
  415. margin: 10px 0!important;
  416. padding-left: 0!important;
  417. }
  418. }
  419. .sidebar{
  420. width: 90%!important;;
  421. text-align: center;
  422. &:before{
  423. margin-left: -8vw;
  424. }
  425. h2{
  426. margin: auto;
  427. }
  428. h3{
  429. font-size: 1.1rem;
  430. }
  431. .side-all-agenda{
  432. margin: auto;
  433. float: none!important;
  434. }
  435. }
  436. #devis{
  437. .title, .txt{
  438. padding: 0 5%;
  439. p{
  440. padding: 15px 0!important;
  441. }
  442. }
  443. }
  444. #newsletter{
  445. #mc_embed_signup{
  446. border: none!important;
  447. width: 280px!important;
  448. padding: 0!important;
  449. #mc_embed_signup_scroll{
  450. flex-direction: column;
  451. input{
  452. width: 280px!important;
  453. }
  454. }
  455. #form{
  456. width: auto;
  457. }
  458. label{
  459. width: 280px!important;
  460. border: 2px solid white;
  461. border-radius: 20px;
  462. margin-bottom: 10px;
  463. }
  464. & > input{
  465. margin-top: 10px;
  466. }
  467. .clear{
  468. input{
  469. margin: 10px 0 0 0!important;
  470. }
  471. }
  472. }
  473. }
  474. #footer .block{
  475. flex-direction: column;
  476. p{
  477. margin-bottom: 10px;
  478. text-align: center;
  479. border: none!important;
  480. &:nth-of-type(1){
  481. img{
  482. float: none;
  483. }
  484. }
  485. }
  486. }
  487. #sublog {
  488. .bandeau{
  489. height: auto;
  490. img{
  491. width: 100%;
  492. height: auto;
  493. }
  494. }
  495. .title_gal{
  496. display: none;
  497. }
  498. .content_salle{
  499. width: 90%!important;
  500. left: 5%!important;
  501. top: 200px!important;
  502. .header-salles{
  503. display: inline-flex;
  504. justify-content: space-between;
  505. img{
  506. display: block!important;
  507. margin: auto;
  508. width: 20px;
  509. height: 20px;
  510. }
  511. }
  512. p{
  513. padding: 0px 10px!important;
  514. }
  515. }
  516. .mapsalles{
  517. width: 100%!important;
  518. }
  519. } .start:not(#form)#archive, .start:not(#form)#calendrier{
  520. width: 90%!important;
  521. .cat {
  522. height: auto!important;
  523. .btn-group{
  524. &:nth-child(1){
  525. width: 75%;
  526. }
  527. label{
  528. margin-bottom: 10px;
  529. }
  530. }
  531. }
  532. }
  533. .start:not(#form) .body-wrapper .card{
  534. width: 100%!important;
  535. }
  536. .start:not(#form) .body-wrapper .event .card-content{
  537. flex-direction: column;
  538. .reso{
  539. width: 100%!important;
  540. display: flex;
  541. justify-content: space-around;
  542. }
  543. .txt{
  544. width: 100%!important;
  545. }
  546. }
  547. #default{
  548. .header-wrapper{
  549. width: 100%!important;
  550. text-align: center;
  551. .title{
  552. width: 90%!important;
  553. }
  554. }
  555. }
  556. }