_filtres.scss 2.5 KB

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