ui.less 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. .basic_content{
  2. background: white;
  3. box-sizing: border-box;
  4. margin: 20px auto;
  5. max-width: 1306px;
  6. h1,h2{
  7. margin: 15px 0;
  8. }
  9. }
  10. h1{
  11. font-size: 36px;
  12. }
  13. p{
  14. margin-top: 10px;
  15. margin-bottom: 10px;
  16. }
  17. a{
  18. &:hover{
  19. color: rgba(59, 85, 115, 1);
  20. }
  21. }
  22. .simple-button{
  23. padding: 10px 20px;
  24. background: rgba(90, 116, 139, .1);
  25. border-radius: 10px;
  26. margin: 10px 0 20px;
  27. }
  28. @media (max-width: 576px) {
  29. h1{
  30. font-size: 22px;
  31. }
  32. h2{
  33. font-size: 18px;
  34. }
  35. h1,h2,h3,h4{
  36. line-height: 130%;
  37. margin-top: 10px;
  38. margin-bottom: 5px;
  39. }
  40. }
  41. form{
  42. margin: 20px 0;
  43. label{
  44. background: white;
  45. color: #878787;
  46. display: inline-block;
  47. padding: 0 5px 5px 0;
  48. margin-bottom: -10px;
  49. font-size: 14px;
  50. position: relative;
  51. }
  52. input{
  53. width: 100%;
  54. display: block;
  55. max-width: 350px;
  56. margin: -8px 0 20px;
  57. padding: 0;
  58. line-height: 1;
  59. border: none;
  60. border-radius: 0;
  61. background: #fff;
  62. -webkit-appearance: none;
  63. -moz-appearance: none;
  64. appearance: none;
  65. outline: 0;
  66. color: #000;
  67. height: 44px;
  68. padding: 0 15px;
  69. font-size: 18px;
  70. border: 1px solid #ebebeb;
  71. }
  72. .agreement{
  73. font-size: 12px;
  74. line-height: 150%;
  75. margin: 20px 0;
  76. color: #878787;
  77. a{
  78. color: #FF7F00
  79. }
  80. }
  81. }
  82. .adaptive_flex{
  83. display: flex;
  84. @media (max-width: 576px) {
  85. flex-direction: column;
  86. }
  87. .column{
  88. padding: 20px;
  89. }
  90. }
  91. .radio {
  92. position: relative;
  93. display: block;
  94. padding-left: 40px;
  95. font: 16px/21px @font-main;
  96. &__input {
  97. position: absolute;
  98. visibility: hidden;
  99. appearance: none;
  100. &:checked {
  101. +.radio__icon {
  102. background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23FF7F00' stroke='white' stroke-width='2'/%3E%3C/svg%3E ");
  103. }
  104. }
  105. }
  106. &__icon {
  107. .size(20px);
  108. position: absolute;
  109. left: 0;
  110. top: 3px;
  111. background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='white'/%3E%3C/svg%3E%0A");
  112. cursor: pointer;
  113. }
  114. &__text {
  115. display: inline-block;
  116. color: @color-white;
  117. }
  118. &__input-text {
  119. padding: 1px 0;
  120. max-width: 211px;
  121. border: none;
  122. background-color: transparent;
  123. border-bottom: 1px solid rgba(@color-white, .22);
  124. color: @color-white;
  125. font: 16px/21px @font-main;
  126. &::placeholder {
  127. color: rgba(@color-white, .35);
  128. }
  129. }
  130. &__result {
  131. display: none;
  132. padding-top: 1px;
  133. }
  134. }
  135. @media @media-sm {
  136. .radio {
  137. font: 15px/20px @font-main;
  138. }
  139. }
  140. @media @media-xs {
  141. .radio {
  142. &__result {
  143. position: relative;
  144. left: -40px;
  145. }
  146. }
  147. }
  148. .radio-result {
  149. display: flex;
  150. justify-content: space-between;
  151. align-items: center;
  152. &__line {
  153. position: relative;
  154. flex: 1 0 275px;
  155. max-width: 275px;
  156. height: 7px;
  157. border-radius: 23px;
  158. background-color: rgba(@color-white, .12);
  159. }
  160. &__line-fact {
  161. .size(0, 100%);
  162. position: absolute;
  163. top: 0;
  164. left: 0;
  165. border-radius: 23px;
  166. }
  167. &__percent {
  168. font: 14px/18px @font-main;
  169. color: @color-white;
  170. }
  171. }
  172. @media @media-xs {
  173. .radio-result {
  174. &__percent {
  175. margin-left: 8px;
  176. }
  177. }
  178. }
  179. @media @media-xxs {
  180. .radio-result {
  181. &__line {
  182. flex: 1 0 240px;
  183. max-width: 240px;
  184. }
  185. }
  186. }
  187. .radio-result_orange {
  188. .radio-result__line-fact {
  189. background-color: @color-orange;
  190. }
  191. }
  192. .radio-result_blue {
  193. .radio-result__line-fact {
  194. background-color: @color-blue;
  195. }
  196. }
  197. html.dark-mode {
  198. background-color: @color-black;
  199. .page-content {
  200. background-color: @color-black;
  201. }
  202. .header__bottom {
  203. a { color: @color-white; }
  204. background-color: @color-black-light;
  205. }
  206. .header-bottom__burger {
  207. filter: invert(100%);
  208. }
  209. .header-comments-item__top {
  210. color: @color-white;
  211. }
  212. .footer-top {
  213. background-color: @color-black-light;
  214. }
  215. }