Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

476 строки
8.4 KiB

  1. body {
  2. padding-top: 6.5rem;
  3. @media (max-width: 500px) {
  4. padding-top: 11rem;
  5. }
  6. @media (max-width: 412px) {
  7. padding-top: 12rem;
  8. }
  9. }
  10. input:-moz-placeholder,
  11. textarea:-moz-placeholder {
  12. color: $color-light-grey-2;
  13. opacity: 1;
  14. }
  15. input::-moz-placeholder,
  16. textarea::-moz-placeholder {
  17. color: $color-light-grey-2;
  18. opacity: 1;
  19. }
  20. input::-webkit-input-placeholder,
  21. textarea::-webkit-input-placeholder {
  22. color: $color-light-grey-2;
  23. opacity: 1;
  24. }
  25. input:-ms-input-placeholder,
  26. textarea:-ms-input-placeholder {
  27. color: $color-light-grey-2;
  28. opacity: 1;
  29. }
  30. #main {
  31. .inside {
  32. margin: 0 auto;
  33. width: 80vw;
  34. max-width: 1280px;
  35. padding: 3rem 0;
  36. min-height: 600px;
  37. }
  38. h1 {
  39. font-size: 2rem;
  40. line-height: 2.5rem;
  41. padding: 0 0 2rem 0;
  42. @media (max-width: 767px) {
  43. font-size: 1.25rem;
  44. line-height: 1.5rem;
  45. }
  46. }
  47. h2, h3 {
  48. font-size: 1.5rem;
  49. line-height: 2rem;
  50. padding: 0 0 1.5rem 0;
  51. @media (max-width: 767px) {
  52. font-size: 1rem;
  53. line-height: 1.25rem;
  54. }
  55. }
  56. h3 {
  57. font-weight: bold;
  58. text-transform: uppercase;
  59. }
  60. h4, h5, h6 {
  61. font-size: 1rem;
  62. line-height: 1.25rem;
  63. padding: 0 0 0.5rem 0;
  64. @media (max-width: 767px) {
  65. font-size: 0.875rem;
  66. line-height: 1rem;
  67. }
  68. }
  69. p, ul, ol, table {
  70. margin: 0 0 1.5rem 0;
  71. }
  72. p {
  73. &.img {
  74. img {
  75. float: left;
  76. margin: 0 20px 20px 0;
  77. width: 200px;
  78. height: auto;
  79. }
  80. }
  81. }
  82. .mini-nav {
  83. padding: 0 0 1.5rem 0;
  84. a {
  85. color: $color-bim-100;
  86. &:before {
  87. content: "<< ";
  88. }
  89. &:hover {
  90. text-decoration: none;
  91. }
  92. }
  93. }
  94. .container {
  95. padding: 0 0 1.5rem 0;
  96. }
  97. .logo-bar {
  98. li {
  99. overflow: hidden;
  100. padding: 0 0 10px 0;
  101. display: flex;
  102. align-items: center;
  103. img {
  104. //width: 120px;
  105. float: left;
  106. margin-right: 40px;
  107. height: 100px;
  108. @media (max-width: 767px) {
  109. float: none;
  110. margin-bottom: 20px;
  111. }
  112. }
  113. p {
  114. //margin-left: 150px;
  115. @media (max-width: 767px) {
  116. margin-left: 0;
  117. }
  118. }
  119. }
  120. }
  121. }
  122. .btn {
  123. border: 1px solid $color-bim-100;
  124. background: $color-bim-100;
  125. color: $color-white;
  126. padding: 0.5rem 1rem;
  127. font-size: 0.75rem;
  128. line-height: 1rem;
  129. text-transform: uppercase;
  130. cursor: pointer;
  131. text-decoration: none;
  132. display: inline-block;
  133. @include transition;
  134. &:hover {
  135. background: $color-bim-80;
  136. border-color: $color-bim-80;
  137. color: $color-white;
  138. }
  139. &[disabled] {
  140. opacity: 0.5;
  141. background: $color-black;
  142. border-color: $color-black;
  143. cursor: default;
  144. }
  145. &--inverse {
  146. background: $color-white;
  147. color: $color-bim-100;
  148. }
  149. &--correct {
  150. border-color: $color-bim-green;
  151. background: $color-bim-green;
  152. color: $color-white;
  153. &:hover {
  154. background: $color-white;
  155. border-color: $color-bim-green;
  156. color: $color-bim-green;
  157. }
  158. }
  159. }
  160. .form {
  161. &--row {
  162. display: flex;
  163. justify-content: flex-start;
  164. flex-wrap: wrap;
  165. #header & {
  166. @media (max-width: 500px) {
  167. padding-top: 20px;
  168. }
  169. }
  170. &.form--row-right {
  171. justify-content: flex-end;
  172. margin-right: 5%;
  173. }
  174. }
  175. &--wrapper {
  176. width: 270px;
  177. padding: 0 0 1.5rem 0;
  178. display: flex;
  179. flex-wrap: wrap;
  180. align-items: flex-end;
  181. #header & {
  182. padding-bottom: 0;
  183. width: 200px;
  184. &.fw--no-width {
  185. width: auto;
  186. @media (max-width: 412px) {
  187. margin-top: 10px;
  188. }
  189. }
  190. @media (max-width: 768px) {
  191. width: 120px;
  192. }
  193. @media (max-width: 412px) {
  194. width: 110px;
  195. }
  196. }
  197. &.mandatory {
  198. label {
  199. font-weight: 700;
  200. }
  201. }
  202. label {
  203. display: block;
  204. padding: 0 0 0.25rem 0;
  205. font-size: 0.875rem;
  206. line-height: 1.5rem;
  207. width: 100%;
  208. }
  209. input {
  210. display: block;
  211. font-size: 1rem;
  212. line-height: 1.5rem;
  213. width: 90%;
  214. &[type='checkbox'] {
  215. width: auto;
  216. }
  217. }
  218. textarea {
  219. display: block;
  220. font-size: 1rem;
  221. line-height: 1.5rem;
  222. padding: 1rem;
  223. width: 100%;
  224. height: 10rem;
  225. @media (max-width: 1048px) {
  226. width: 60%;
  227. }
  228. @media (max-width: 768px) {
  229. width: 100%;
  230. }
  231. }
  232. }
  233. &--legal {
  234. padding: 0 0 1.5rem 0;
  235. .form--wrapper {
  236. width: auto;
  237. max-width: 80%;
  238. @media (max-width: 1048px) {
  239. max-width: none;
  240. }
  241. }
  242. .form-wrapper--container {
  243. display: flex;
  244. flex-wrap: nowrap;
  245. justify-content: flex-start;
  246. align-items: start;
  247. @media (max-width: 1048px) {
  248. display: block;
  249. }
  250. }
  251. .form--checkbox {
  252. input {
  253. float: left;
  254. margin: 5px 8px 0 0;
  255. }
  256. }
  257. }
  258. &--catalogue {
  259. border-top: 2px solid $color-black;
  260. padding: 0 0 1.5rem 0;
  261. .form-wrapper--container {
  262. display: flex;
  263. flex-wrap: nowrap;
  264. justify-content: flex-start;
  265. align-items: start;
  266. @media (max-width: 1048px) {
  267. display: block;
  268. }
  269. }
  270. h3 {
  271. text-align: center;
  272. width: 100%;
  273. }
  274. .question-count {
  275. padding: 1.5rem 0;
  276. position: relative;
  277. p {
  278. padding: 0;
  279. }
  280. .progressbar {
  281. position: absolute;
  282. left: 0;
  283. bottom: 0;
  284. height: 12px;
  285. width: 100%;
  286. background: #ddd;
  287. div {
  288. position: absolute;
  289. left: 0;
  290. bottom: 0;
  291. height: 12px;
  292. width: 0;
  293. background: green;
  294. }
  295. }
  296. }
  297. .catalogue-nav {
  298. display: flex;
  299. justify-content: space-between;
  300. padding: 0 0 1.5rem 0;
  301. @media (max-width: 1024px) {
  302. flex-wrap: wrap;
  303. justify-content: center;
  304. .save {
  305. width: 100%;
  306. text-align: center;
  307. }
  308. span:not(.btn) {
  309. order: 3;
  310. justify-content: center;
  311. display: flex;
  312. flex-wrap: wrap;
  313. &:first-of-type {
  314. order: 2;
  315. }
  316. }
  317. .btn {
  318. order: 1;
  319. margin: 10px 10px 0 10px;
  320. }
  321. }
  322. }
  323. .form--wrapper {
  324. width: auto;
  325. justify-content: center;
  326. .btn {
  327. float: right;
  328. }
  329. &.left {
  330. justify-content: flex-start;
  331. }
  332. }
  333. h2 {
  334. font-size: 2rem;
  335. line-height: 3rem;
  336. }
  337. label {
  338. font-size: 1.5rem;
  339. line-height: 2rem;
  340. @media (max-width: 767px) {
  341. font-size: 1rem;
  342. line-height: 1.25rem;
  343. }
  344. }
  345. .form--checkbox {
  346. label {
  347. display: flex;
  348. input {
  349. display: inline;
  350. width: auto;
  351. margin: 9px 10px 0 0;
  352. @-moz-document url-prefix() {
  353. margin-top: 0;
  354. }
  355. }
  356. }
  357. }
  358. }
  359. &--question {
  360. border-top: 2px solid $color-black;
  361. padding-top: 1.5rem;
  362. }
  363. .alert {
  364. font-size: 0.75rem;
  365. line-height: 1rem;
  366. }
  367. }
  368. .alert {
  369. color: $color-bim-100 !important;
  370. }
  371. #message {
  372. position: fixed;
  373. left: 0;
  374. top: 0;
  375. right: 0;
  376. width: 100%;
  377. z-index: 3000;
  378. display: none;
  379. color: $color-white;
  380. font-size: 1.5rem;
  381. &.success {
  382. background: green;
  383. }
  384. &.failure {
  385. background: $color-bim-100;
  386. }
  387. p {
  388. padding: 1.5rem;
  389. }
  390. }
  391. /* New MPP */
  392. .row-box {
  393. display: flex;
  394. justify-content: space-between;
  395. flex-wrap: wrap;
  396. .col-box {
  397. width: 60%;
  398. &:nth-child(2) {
  399. width: 30%;
  400. }
  401. .col-box {
  402. width: 48%;
  403. }
  404. }
  405. }
  406. #main {
  407. .form--catalogue {
  408. padding-top: 20px;
  409. h2 {
  410. padding-bottom: 10px;
  411. }
  412. }
  413. }
  414. .form-fields {
  415. padding: 0 0 30px 0;
  416. label {
  417. display: block;
  418. font-size: 16px;
  419. }
  420. input, select {
  421. display: block;
  422. width: 100%;
  423. max-width: 350px;
  424. background: #fff;
  425. border: 1px solid #000;
  426. padding: 10px 10px;
  427. }
  428. }
  429. .result-box {
  430. background: rgba(118,127,134,.3);
  431. padding: 30px 20px;
  432. dl {
  433. display: flex;
  434. flex-wrap: wrap;
  435. justify-content: space-between;
  436. padding: 0 0 20px 0;
  437. dt, dd {
  438. padding: 0 0 10px 0;
  439. margin: 0 0 10px 0;
  440. border-bottom: 1px solid #000;
  441. &:last-of-type {
  442. border-bottom: none;
  443. }
  444. }
  445. dt {
  446. flex-basis: 80%;
  447. font-weight: normal;
  448. }
  449. dd {
  450. flex-basis: 20%;
  451. font-weight: bold;
  452. text-align: right;
  453. }
  454. }
  455. h3 {
  456. text-align: left;
  457. }
  458. .btn {
  459. margin: 0 auto;
  460. }
  461. }