_mobile.scss 12 KB

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