Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

696 wiersze
11 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. span {
  47. font-size: 1rem;
  48. @media (max-width: 767px) {
  49. font-size: 0.875rem;
  50. }
  51. }
  52. }
  53. h2, h3 {
  54. font-size: 1.5rem;
  55. line-height: 2rem;
  56. padding: 0 0 1.5rem 0;
  57. @media (max-width: 767px) {
  58. font-size: 1rem;
  59. line-height: 1.25rem;
  60. }
  61. }
  62. h3 {
  63. font-weight: bold;
  64. text-transform: uppercase;
  65. }
  66. h4 {
  67. font-size: 1.25rem;
  68. line-height: 1.5rem;
  69. padding: 0 0 0.5rem 0;
  70. font-weight: bold;
  71. }
  72. h5, h6 {
  73. font-size: 1rem;
  74. line-height: 1.25rem;
  75. padding: 0 0 0.5rem 0;
  76. @media (max-width: 767px) {
  77. font-size: 0.875rem;
  78. line-height: 1rem;
  79. }
  80. }
  81. p, ul, ol, table {
  82. margin: 0 0 1.5rem 0;
  83. }
  84. p {
  85. &.img {
  86. img {
  87. float: left;
  88. margin: 0 20px 20px 0;
  89. width: 200px;
  90. height: auto;
  91. }
  92. }
  93. }
  94. .mini-nav {
  95. padding: 0 0 1.5rem 0;
  96. a {
  97. color: $color-bim-100;
  98. &:before {
  99. content: "<< ";
  100. }
  101. &:hover {
  102. text-decoration: none;
  103. }
  104. }
  105. }
  106. .container {
  107. padding: 0 0 1.5rem 0;
  108. }
  109. .logo-bar {
  110. li {
  111. overflow: hidden;
  112. padding: 0 0 10px 0;
  113. display: flex;
  114. align-items: center;
  115. img {
  116. //width: 120px;
  117. float: left;
  118. margin-right: 40px;
  119. height: 100px;
  120. @media (max-width: 767px) {
  121. float: none;
  122. margin-bottom: 20px;
  123. }
  124. }
  125. p {
  126. //margin-left: 150px;
  127. @media (max-width: 767px) {
  128. margin-left: 0;
  129. }
  130. }
  131. }
  132. }
  133. }
  134. .btn {
  135. border: 1px solid $color-bim-100;
  136. background: $color-bim-100;
  137. color: $color-white;
  138. padding: 0.5rem 1rem;
  139. font-size: 0.75rem;
  140. line-height: 1rem;
  141. text-transform: uppercase;
  142. cursor: pointer;
  143. text-decoration: none;
  144. display: inline-block;
  145. @include transition;
  146. &:hover {
  147. background: $color-bim-80;
  148. border-color: $color-bim-80;
  149. color: $color-white;
  150. }
  151. &[disabled] {
  152. opacity: 0.5;
  153. background: $color-black;
  154. border-color: $color-black;
  155. cursor: default;
  156. }
  157. &--inverse {
  158. background: $color-white;
  159. color: $color-bim-100;
  160. }
  161. &--correct {
  162. border-color: $color-bim-green;
  163. background: $color-bim-green;
  164. color: $color-white;
  165. &:hover {
  166. background: $color-white;
  167. border-color: $color-bim-green;
  168. color: $color-bim-green;
  169. }
  170. }
  171. }
  172. .form {
  173. &--row {
  174. display: flex;
  175. justify-content: flex-start;
  176. flex-wrap: wrap;
  177. #header & {
  178. @media (max-width: 500px) {
  179. padding-top: 20px;
  180. }
  181. }
  182. &.form--row-right {
  183. justify-content: flex-end;
  184. margin-right: 5%;
  185. }
  186. }
  187. &--wrapper {
  188. width: 270px;
  189. padding: 0 0 1.5rem 0;
  190. display: flex;
  191. flex-wrap: wrap;
  192. align-items: flex-end;
  193. #header & {
  194. padding-bottom: 0;
  195. width: 200px;
  196. &.fw--no-width {
  197. width: auto;
  198. @media (max-width: 412px) {
  199. margin-top: 10px;
  200. }
  201. }
  202. @media (max-width: 768px) {
  203. width: 120px;
  204. }
  205. @media (max-width: 412px) {
  206. width: 110px;
  207. }
  208. }
  209. &.mandatory {
  210. label {
  211. font-weight: 700;
  212. }
  213. }
  214. label {
  215. display: block;
  216. padding: 0 0 0.25rem 0;
  217. font-size: 0.875rem;
  218. line-height: 1.5rem;
  219. width: 100%;
  220. }
  221. input {
  222. display: block;
  223. font-size: 1rem;
  224. line-height: 1.5rem;
  225. width: 90%;
  226. &[type='checkbox'] {
  227. width: auto;
  228. }
  229. }
  230. textarea {
  231. display: block;
  232. font-size: 1rem;
  233. line-height: 1.5rem;
  234. padding: 1rem;
  235. width: 100%;
  236. height: 10rem;
  237. @media (max-width: 1048px) {
  238. width: 60%;
  239. }
  240. @media (max-width: 768px) {
  241. width: 100%;
  242. }
  243. }
  244. }
  245. &--legal {
  246. padding: 0 0 1.5rem 0;
  247. .form--wrapper {
  248. width: auto;
  249. max-width: 80%;
  250. @media (max-width: 1048px) {
  251. max-width: none;
  252. }
  253. }
  254. .form-wrapper--container {
  255. display: flex;
  256. flex-wrap: nowrap;
  257. justify-content: flex-start;
  258. align-items: start;
  259. @media (max-width: 1048px) {
  260. display: block;
  261. }
  262. }
  263. .form--checkbox {
  264. input {
  265. float: left;
  266. margin: 5px 8px 0 0;
  267. }
  268. }
  269. }
  270. &--catalogue {
  271. border-top: 2px solid $color-black;
  272. padding: 0 0 1.5rem 0;
  273. .form-wrapper--container {
  274. display: flex;
  275. flex-wrap: nowrap;
  276. justify-content: flex-start;
  277. align-items: start;
  278. @media (max-width: 1048px) {
  279. display: block;
  280. }
  281. }
  282. h3 {
  283. text-align: center;
  284. width: 100%;
  285. }
  286. .question-count {
  287. padding: 1.5rem 0;
  288. position: relative;
  289. p {
  290. padding: 0;
  291. }
  292. .progressbar {
  293. position: absolute;
  294. left: 0;
  295. bottom: 0;
  296. height: 12px;
  297. width: 100%;
  298. background: #ddd;
  299. div {
  300. position: absolute;
  301. left: 0;
  302. bottom: 0;
  303. height: 12px;
  304. width: 0;
  305. background: green;
  306. }
  307. }
  308. }
  309. .catalogue-nav {
  310. display: flex;
  311. justify-content: space-between;
  312. padding: 0 0 1.5rem 0;
  313. @media (max-width: 1024px) {
  314. flex-wrap: wrap;
  315. justify-content: center;
  316. .save {
  317. width: 100%;
  318. text-align: center;
  319. }
  320. span:not(.btn) {
  321. order: 3;
  322. justify-content: center;
  323. display: flex;
  324. flex-wrap: wrap;
  325. &:first-of-type {
  326. order: 2;
  327. }
  328. }
  329. .btn {
  330. order: 1;
  331. margin: 10px 10px 0 10px;
  332. }
  333. }
  334. }
  335. .form--wrapper {
  336. width: auto;
  337. justify-content: center;
  338. .btn {
  339. float: right;
  340. }
  341. &.left {
  342. justify-content: flex-start;
  343. }
  344. }
  345. h2 {
  346. font-size: 2rem;
  347. line-height: 3rem;
  348. }
  349. label {
  350. font-size: 1.5rem;
  351. line-height: 2rem;
  352. @media (max-width: 767px) {
  353. font-size: 1rem;
  354. line-height: 1.25rem;
  355. }
  356. }
  357. .form--checkbox {
  358. label {
  359. display: flex;
  360. input {
  361. display: inline;
  362. width: auto;
  363. margin: 9px 10px 0 0;
  364. @-moz-document url-prefix() {
  365. margin-top: 0;
  366. }
  367. }
  368. }
  369. }
  370. }
  371. &--question {
  372. border-top: 2px solid $color-black;
  373. padding-top: 1.5rem;
  374. }
  375. .alert {
  376. font-size: 0.75rem;
  377. line-height: 1rem;
  378. }
  379. }
  380. .alert {
  381. color: $color-bim-100 !important;
  382. }
  383. #message {
  384. position: fixed;
  385. left: 0;
  386. top: 0;
  387. right: 0;
  388. width: 100%;
  389. z-index: 3000;
  390. display: none;
  391. color: $color-white;
  392. font-size: 1.5rem;
  393. &.success {
  394. background: green;
  395. }
  396. &.failure {
  397. background: $color-bim-100;
  398. }
  399. p {
  400. padding: 1.5rem;
  401. }
  402. }
  403. /* New MPP */
  404. .row-box {
  405. display: flex;
  406. justify-content: space-between;
  407. flex-wrap: wrap;
  408. .col-box {
  409. width: 60%;
  410. &:nth-child(2) {
  411. width: 30%;
  412. }
  413. .col-box {
  414. width: 48%;
  415. }
  416. }
  417. }
  418. #main {
  419. .form--catalogue {
  420. padding-top: 20px;
  421. h2 {
  422. padding-bottom: 10px;
  423. }
  424. }
  425. }
  426. .form-fields {
  427. padding: 0 0 30px 0;
  428. label {
  429. display: block;
  430. font-size: 16px;
  431. }
  432. input, select {
  433. display: block;
  434. width: 100%;
  435. max-width: 350px;
  436. background: #fff;
  437. border: 1px solid #000;
  438. padding: 10px 10px;
  439. }
  440. }
  441. .result-box {
  442. background: rgba(118, 127, 134, .3);
  443. padding: 30px 20px;
  444. dl {
  445. display: flex;
  446. flex-wrap: wrap;
  447. justify-content: space-between;
  448. padding: 0 0 20px 0;
  449. dt, dd {
  450. padding: 0 0 10px 0;
  451. margin: 0 0 10px 0;
  452. border-bottom: 1px solid #000;
  453. &:last-of-type {
  454. border-bottom: none;
  455. }
  456. }
  457. dt {
  458. flex-basis: 75%;
  459. font-weight: normal;
  460. }
  461. dd {
  462. flex-basis: 25%;
  463. font-weight: bold;
  464. text-align: right;
  465. }
  466. }
  467. h3 {
  468. text-align: left;
  469. }
  470. .btn {
  471. margin: 0 auto;
  472. }
  473. .result-existing {
  474. display: none;
  475. }
  476. .result-not-existing {
  477. display: block;
  478. }
  479. &.result-existing {
  480. .result-existing {
  481. display: block;
  482. }
  483. .result-not-existing {
  484. display: none;
  485. }
  486. }
  487. }
  488. ol.worksheets {
  489. padding-left: 26px;
  490. li {
  491. padding-bottom: 10px;
  492. list-style: decimal-leading-zero;
  493. }
  494. a {
  495. text-decoration: none;
  496. &:hover {
  497. color: #e2003c;
  498. text-decoration: underline;
  499. }
  500. }
  501. }
  502. #main {
  503. table.mini-table {
  504. width: 50%;
  505. margin: 0 0 4rem 0;
  506. border-collapse: collapse;
  507. @media (max-width: 1200px) {
  508. width: 75%;
  509. }
  510. @media (max-width: 768px) {
  511. width: 100%;
  512. }
  513. td {
  514. vertical-align: top;
  515. padding: 10px 0;
  516. border-bottom: 1px solid #000;
  517. &:last-child {
  518. text-align: right;
  519. font-weight: bold;
  520. }
  521. span {
  522. display: block;
  523. padding: 0 10px 0 0;
  524. }
  525. }
  526. &.fifty-fifty {
  527. td {
  528. width: 50%;
  529. }
  530. }
  531. }
  532. .worksheet-table {
  533. overflow: auto;
  534. height: 500px;
  535. margin-bottom: 30px;
  536. table {
  537. width: 100%;
  538. min-width: 1200px;
  539. padding: 0;
  540. margin: 0 0 4rem 0;
  541. border-collapse: collapse;
  542. }
  543. th {
  544. padding: 0 0 20px 0;
  545. background: #d5d8da;
  546. vertical-align: bottom;
  547. font-weight: bold;
  548. height: 200px;
  549. position: sticky;
  550. top: 0;
  551. span {
  552. display: block;
  553. transform: rotate(-90deg);
  554. transform-origin: left center;
  555. position: absolute;
  556. left: 50%;
  557. bottom: 0;
  558. }
  559. &:last-child,
  560. &:nth-child(2),
  561. &:nth-child(3) {
  562. span {
  563. transform: none;
  564. transform-origin: inherit;
  565. position: static;
  566. left: auto;
  567. bottom: auto;
  568. }
  569. }
  570. }
  571. td {
  572. vertical-align: top;
  573. border-bottom: 1px solid rgba(118, 127, 134, .3);
  574. padding: 15px 0;
  575. text-align: center;
  576. &:nth-child(2) {
  577. width: 30%;
  578. }
  579. &:last-child {
  580. width: 20%;
  581. }
  582. &:last-child,
  583. &:nth-child(2),
  584. &:nth-child(3) {
  585. text-align: left;
  586. }
  587. }
  588. }
  589. }