_filtres.scss 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. #views-exposed-form-projets-block-1{
  2. flex-direction: row;
  3. position: relative;
  4. align-items: center;
  5. }
  6. #views-exposed-form-base-de-donnees-block-1{
  7. flex-direction: column;
  8. margin-top: 1rem;
  9. @media (max-width: 479px){
  10. justify-content: center;
  11. }
  12. .js-form-item{
  13. // flex-direction: column !important;
  14. margin-right: 0 !important;
  15. margin-bottom: 0.5rem !important;
  16. padding: 0.2rem !important;
  17. input,
  18. select{
  19. width: 100%;
  20. text-align: end;
  21. }
  22. label{
  23. padding-right: 0.5rem !important;
  24. flex: 2 0 auto !important;
  25. }
  26. }
  27. }
  28. #views-exposed-form-base-de-donnees-block-1,
  29. #views-exposed-form-projets-block-1{
  30. display: flex;
  31. flex-wrap: wrap;
  32. .js-form-item{
  33. display: flex;
  34. flex-direction: row;
  35. max-width: 100%;
  36. margin-right: 1rem;
  37. margin-bottom: 1rem;
  38. padding: 0.5rem 1rem;
  39. align-items: baseline;
  40. border: solid black 0.5px ;
  41. justify-content: space-evenly;
  42. @media(max-width: 810px){
  43. display: flex;
  44. flex-direction: row;
  45. justify-content: space-between;
  46. }
  47. label{
  48. flex: 2 1 auto;
  49. padding-right: 2rem;
  50. &::after{
  51. content: ' : ';
  52. }
  53. }
  54. input{
  55. flex: 2 1 auto;
  56. max-width: 55%;
  57. @media(max-width: 810px){
  58. max-width: 100%;
  59. }
  60. }
  61. .form-checkbox{
  62. margin-right: 1rem;
  63. }
  64. .select-wrapper{
  65. margin: 0;
  66. }
  67. }
  68. .js-form-type-checkbox label{
  69. &::after{
  70. content: none;
  71. }
  72. }
  73. .form-actions{
  74. input{
  75. color: white;
  76. font-weight: 600;
  77. text-transform: uppercase;
  78. padding: 0.3rem 0.7rem;
  79. background-color: $blue-light;
  80. border: none;
  81. }
  82. }
  83. input, select{
  84. border: none;
  85. background-color: transparent;
  86. font-family: "Marianne";
  87. font-size: 1rem;
  88. }
  89. }