conf.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. .conf {
  2. margin: 50px 0;
  3. &__border {
  4. .size(100%, 11px);
  5. background: @color-white url(../../img/conf-bg.svg) repeat-x;
  6. }
  7. &__element {
  8. padding: 21px 32px 26px 31px;
  9. background-color: @color-white;
  10. }
  11. &__title {
  12. display: flex;
  13. align-items: center;
  14. margin-bottom: 20px;
  15. }
  16. &__title-text {
  17. padding-right: 12px;
  18. font: 700 12px/17px @font-main;
  19. text-transform: uppercase;
  20. letter-spacing: 0.08em;
  21. color: rgba(59, 85, 115, 0.5);
  22. white-space: nowrap;
  23. }
  24. &__title-line {
  25. .size(100%, 1px);
  26. flex-grow: 1;
  27. background-color: rgba(59, 85, 115, 0.1);
  28. }
  29. &__container {
  30. display: flex;
  31. justify-content: space-between;
  32. }
  33. &__main {
  34. display: flex;
  35. flex: 0 1 389px;
  36. max-width: 389px;
  37. margin-right: 10px;
  38. }
  39. &__side {
  40. flex: 0 1 813px;
  41. max-width: 813px;
  42. }
  43. }
  44. @media @media-sm {
  45. .conf {
  46. margin: 26px 0;
  47. &__element {
  48. padding: 20px 16px;
  49. }
  50. &__container {
  51. display: block;
  52. }
  53. &__main {
  54. margin: 0 0 12px 0;
  55. max-width: none;
  56. }
  57. }
  58. }
  59. .conf-main {
  60. display: flex;
  61. flex-direction: column;
  62. &__logo {
  63. margin-bottom: 19px;
  64. max-width: 100%;
  65. }
  66. &__description {
  67. flex-grow: 1;
  68. margin-bottom: 20px;
  69. font: 14px/20px @font-main;
  70. color: @color-black-light;
  71. }
  72. &__info {
  73. font: 12px/17px @font-main;
  74. color: @color-black-light;
  75. &:not(:last-child) {
  76. margin-bottom: 9px;
  77. }
  78. }
  79. }
  80. .conf-side {
  81. &__title {
  82. margin-bottom: 10px;
  83. font: 700 18px/26px @font-main;
  84. color: @color-black-light;
  85. }
  86. &__question {
  87. margin-bottom: 18px;
  88. font: 14px/20px @font-main;
  89. }
  90. }
  91. .conf-form {
  92. &__textarea {
  93. margin-bottom: 19px;
  94. max-width: 100%;
  95. .textarea {
  96. .size(100%, 122px);
  97. padding: 12px;
  98. background: rgba(59, 85, 115, 0.03);
  99. border: 1px solid rgba(@color-black, .06);
  100. resize: none;
  101. font: 16px/21px @font-main;
  102. color: @color-black-light;
  103. }
  104. }
  105. &__bottom {
  106. display: flex;
  107. align-items: center;
  108. }
  109. &__capcha {
  110. margin-right: 22px;
  111. }
  112. }
  113. @media @media-xs {
  114. .conf-form {
  115. &__bottom {
  116. display: block;
  117. }
  118. &__capcha {
  119. margin: 0 0 10px 0;
  120. }
  121. }
  122. }