_form.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. .start#form{
  2. .entete{
  3. border-top: 1px solid $light-blue;
  4. }
  5. h2{
  6. margin-top: 0;
  7. }
  8. .body-wrapper{
  9. width: 100%;
  10. min-width: 250px;
  11. margin: auto auto 140px auto;
  12. form{
  13. width: calc( (100% / 2));
  14. margin-top: 20px;
  15. margin: auto;
  16. & > .form-columns{
  17. width: 100%;
  18. margin: 20px 0;
  19. & > .form-column.w-100{
  20. & > .form-group{
  21. width: 100%;
  22. & > .form-data{
  23. width: 100%;
  24. & > .form-textarea-wrapper {
  25. width: 100%;
  26. textarea{
  27. width: 100%;
  28. resize: none;
  29. border: none;
  30. }
  31. }
  32. }
  33. }
  34. }
  35. & > .form-column {
  36. padding: 20px 0;
  37. display: flex;
  38. width: 100%;
  39. &:not(:nth-last-child(1)){
  40. border-bottom: 1px solid $red;
  41. }
  42. & > .form-group{
  43. width: auto;
  44. .form-data{
  45. @include inlineflex();
  46. margin: 0px 0px;
  47. &> div{
  48. overflow: hidden;
  49. margin: 10px 10px;
  50. min-width: 100px;
  51. border: 2px solid $red;
  52. border-radius: 30px;
  53. padding: 10px 20px;
  54. &.check{
  55. background: $red;
  56. color: white;
  57. }
  58. input{
  59. border: none;
  60. }
  61. input[type='radio'] {
  62. visibility: hidden;
  63. position: absolute;
  64. }
  65. label{
  66. cursor: pointer;
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }
  73. .button-wrapper{
  74. background: $red;
  75. height: 100px;
  76. position: absolute;
  77. left: 0;
  78. width: 100%;
  79. button{
  80. margin-right: 25%;
  81. position: absolute;
  82. right: 0;
  83. top: 50%;
  84. -webkit-transform: translateY(-50%);
  85. transform: translateY(-50%);
  86. background: white;
  87. border-radius: 30px;
  88. padding: 10px 35px;
  89. box-shadow:none;
  90. border:0;
  91. cursor: pointer;
  92. }
  93. }
  94. }
  95. #send-valide{
  96. -webkit-transform: translate(-50%, -50%);
  97. transform: translate(-50%, -50%);
  98. background: $red;
  99. border-radius: 20px;
  100. position: fixed;
  101. width: 30%;
  102. min-height: 30%;
  103. left: 50%;
  104. top: 50%;
  105. padding: 50px;
  106. .toast{
  107. position: relative;
  108. text-align: center;
  109. color: white;
  110. }
  111. .ok{
  112. color: white;
  113. position: absolute;
  114. right: 20px;
  115. bottom: 20px;
  116. }
  117. }
  118. }
  119. }