Angular Web App
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

568 lignes
12 KiB

  1. .search-input-container {
  2. width: 60%;
  3. margin: 0 auto;
  4. text-align: center;
  5. .search-input {
  6. display: flex;
  7. align-items: center;
  8. justify-content: flex-start;
  9. background-color: white;
  10. border-radius: 4rem;
  11. height: 5.5rem;
  12. border: 1px solid var(--border-grey);
  13. width: 80%;
  14. margin: 4rem auto 3rem;
  15. overflow: hidden;
  16. input {
  17. border: none;
  18. background-color: transparent;
  19. padding: 0 3rem;
  20. font-size: 1.5rem;
  21. color: var(--dark-grey);
  22. letter-spacing: 0.5px;
  23. flex-grow: 1;
  24. &::placeholder {
  25. font-weight: 300;
  26. }
  27. }
  28. button {
  29. height: 100%;
  30. border: none;
  31. background-color: var(--highlight);
  32. padding: 0 4rem;
  33. color: white;
  34. font-size: 1.6rem;
  35. letter-spacing: 0.5px;
  36. border-radius: 4rem;
  37. transition: opacity 0.3s;
  38. &:disabled {
  39. opacity: 0.5;
  40. }
  41. }
  42. }
  43. .description {
  44. width: 75%;
  45. margin: 4rem auto 3rem;
  46. text-align: left;
  47. font-size: 1.4rem;
  48. opacity: 0.9;
  49. color: var(--dark-grey);
  50. letter-spacing: 0.5px;
  51. line-height: 1.4;
  52. font-weight: 300;
  53. display: flex;
  54. align-items: flex-start;
  55. justify-content: flex-start;
  56. label {
  57. cursor: pointer;
  58. }
  59. input {
  60. margin: 5px 10px;
  61. }
  62. }
  63. .form-message {
  64. margin: 6rem auto 2rem;
  65. line-height: 1.6;
  66. &.error {
  67. p {
  68. color: var(--error);
  69. }
  70. }
  71. h5 {
  72. font-size: 1.8rem;
  73. color: var(--dark-grey);
  74. filter: brightness(80%);
  75. font-weight: 500;
  76. margin-bottom: 2rem;
  77. }
  78. p {
  79. font-size: 1.8rem;
  80. font-weight: 400;
  81. color: var(--success);
  82. }
  83. }
  84. }
  85. .form-action-buttons {
  86. text-align: center;
  87. margin-bottom: 2rem;
  88. button {
  89. &:first-child {
  90. margin-right: 2rem;
  91. }
  92. }
  93. }
  94. .form {
  95. display: grid;
  96. grid-template-columns: 1fr 1fr;
  97. width: calc(70% - 2rem);
  98. padding: 4rem;
  99. margin: 0 auto;
  100. .input-holder {
  101. width: calc(100% - 2rem);
  102. margin: 3.5rem 0;
  103. position: relative;
  104. display: flex;
  105. align-items: center;
  106. justify-content: flex-start;
  107. label {
  108. font-size: 1.6rem;
  109. color: var(--primary);
  110. font-weight: 500;
  111. position: absolute;
  112. top: 0;
  113. left: 0;
  114. font-weight: 400;
  115. letter-spacing: 0.5px;
  116. transform: translate(2.5rem, -3rem);
  117. }
  118. input, select {
  119. display: block;
  120. width: 100%;
  121. border-radius: 4rem;
  122. height: 5.5rem;
  123. border: 1px solid var(--border-grey);
  124. padding: 0 2rem;
  125. font-size: 1.5rem;
  126. letter-spacing: 0.5px;
  127. color: var(--dark-grey);
  128. background-color: white;
  129. }
  130. select {
  131. -webkit-appearance: none;
  132. -moz-appearance: none;
  133. text-indent: 1px;
  134. text-overflow: '';
  135. }
  136. img {
  137. position: relative;
  138. transform: translateX(-4rem);
  139. pointer-events: none;
  140. background-color: white;
  141. }
  142. }
  143. }
  144. .payment-container {
  145. padding: 1rem;
  146. .payment-block {
  147. padding: 3rem 4rem;
  148. width: calc(40% - 2rem);
  149. box-shadow: 0 0 10px var(--shadow-grey);
  150. border-radius: 1rem;
  151. margin: 0 auto 5rem;
  152. .payment-title {
  153. font-size: 2.2rem;
  154. color: var(--dark-grey);
  155. filter: brightness(50%);
  156. font-weight: 500;
  157. margin-bottom: 0.3rem;
  158. }
  159. .business-name {
  160. font-size: 1.6rem;
  161. color: var(--dark-grey);
  162. font-weight: normal;
  163. margin-bottom: 2rem;
  164. }
  165. .tabs {
  166. display: flex;
  167. font-size: 1.4rem;
  168. border-bottom: 2px solid var(--border-grey);
  169. .tab {
  170. padding: 0.7rem 2rem;
  171. margin-bottom: -2px;
  172. cursor: pointer;
  173. &.active {
  174. margin-bottom: -4px;
  175. color: var(--highlight);
  176. border-bottom: 4px solid var(--highlight);
  177. }
  178. }
  179. }
  180. .tab-content {
  181. color: var(--dark-grey);
  182. font-size: 1.2rem;
  183. line-height: 1.5;
  184. padding: 0.8rem 0 0;
  185. height: 7rem;
  186. border-top: none;
  187. margin-bottom: 2rem;
  188. p {
  189. margin-bottom: 1.5rem;
  190. }
  191. }
  192. .no-of-years-label {
  193. font-size: 1.7rem;
  194. color: var(--dark-grey);
  195. filter: brightness(70%);
  196. margin-bottom: 1rem;
  197. }
  198. .select-holder {
  199. margin-bottom: 3rem;
  200. select {
  201. -webkit-appearance: none;
  202. -moz-appearance: none;
  203. text-indent: 1px;
  204. text-overflow: "";
  205. padding: 0.7rem 1rem;
  206. width: 5rem;
  207. border: 1px solid var(--border-grey);
  208. }
  209. img {
  210. position: relative;
  211. transform: translateX(-2rem);
  212. pointer-events: none;
  213. }
  214. }
  215. .total-price-container {
  216. padding: 0.5rem;
  217. font-weight: bold;
  218. font-size: 3.5rem;
  219. border-top: 1px solid var(--border-grey);
  220. }
  221. .form-action-buttons {
  222. margin-bottom: 0;
  223. }
  224. }
  225. }
  226. .acknowledgement {
  227. width: 100%;
  228. margin: 0 auto;
  229. h2 {
  230. font-size: 2rem;
  231. color: var(--dark-grey);
  232. filter: brightness(80%);
  233. font-weight: 500;
  234. margin: 2rem 2rem 3rem;
  235. }
  236. .container {
  237. width: calc(70% - 2rem);
  238. margin: 2rem auto;
  239. @media print {
  240. width: calc(100% - 2rem);
  241. }
  242. }
  243. .bill-container {
  244. width: 70%;
  245. box-shadow: 0 0 10px var(--shadow-grey);
  246. border-radius: 1rem;
  247. overflow: hidden;
  248. margin: 0 auto 5rem;
  249. @media print {
  250. width: 100%;
  251. }
  252. }
  253. .check-icon {
  254. display: block;
  255. width: 58px;
  256. height: auto;
  257. margin: 3rem auto 2rem;
  258. }
  259. h3 {
  260. font-size: 3rem;
  261. font-weight: normal;
  262. text-align: center;
  263. color: var(--success);
  264. }
  265. .bill-breakup {
  266. margin-top: 3rem;
  267. display: grid;
  268. grid-template-columns: 1fr 1fr;
  269. list-style: none;
  270. li {
  271. margin: 1.8rem;
  272. width: 100%;
  273. }
  274. label {
  275. display: block;
  276. color: var(--dark-grey);
  277. font-size: 1.6rem;
  278. filter: brightness(80%);
  279. }
  280. .value {
  281. display: block;
  282. color: var(--dark-grey);
  283. opacity: 0.8;
  284. font-size: 1.6rem;
  285. letter-spacing: 0.5px;
  286. line-height: 1.6;
  287. margin-top: 1rem;
  288. &.active {
  289. color: var(--highlight);
  290. font-weight: normal;
  291. }
  292. }
  293. }
  294. .form-action-buttons {
  295. margin: 2rem 1.5rem;
  296. @media print {
  297. display: none;
  298. }
  299. }
  300. .total-amount {
  301. text-align: center;
  302. overflow: hidden;
  303. padding: 1rem;
  304. position: relative;
  305. &::before {
  306. content: '';
  307. position: absolute;
  308. left: 0;
  309. top: 0;
  310. width: 100%;
  311. height: 100%;
  312. background-color: var(--footer-grey);
  313. opacity: 0.4;
  314. }
  315. & > * {
  316. position: relative;
  317. }
  318. label {
  319. font-size: 2rem;
  320. color: var(--dark-grey);
  321. }
  322. span {
  323. margin-left: 1rem;
  324. font-size: 2.4rem;
  325. color: var(--highlight);
  326. }
  327. }
  328. .message-board {
  329. padding: 0 2rem;
  330. list-style: none;
  331. @media print {
  332. display: none;
  333. }
  334. h5 {
  335. font-size: 1.6rem;
  336. color: var(--dark-grey);
  337. filter: brightness(80%);
  338. font-weight: 500;
  339. }
  340. li {
  341. margin: 1.5rem 0;
  342. line-height: 1.7;
  343. letter-spacing: 0.5px;
  344. font-size: 1.4rem;
  345. color: var(--dark-grey);
  346. opacity: 0.8;
  347. a {
  348. color: var(--highlight);
  349. font-weight: 500;
  350. }
  351. }
  352. }
  353. }
  354. .receipt {
  355. width: calc(100% - 4rem);
  356. margin: 0 auto;
  357. h2 {
  358. font-size: 2rem;
  359. color: var(--dark-grey);
  360. filter: brightness(80%);
  361. font-weight: 500;
  362. margin: 2rem 0;
  363. }
  364. .bill-breakup {
  365. display: grid;
  366. grid-template-columns: 1fr 1fr;
  367. list-style: none;
  368. li {
  369. margin-bottom: 1rem;
  370. width: 100%;
  371. display: flex;
  372. align-items: center;
  373. justify-content: flex-start;
  374. }
  375. label {
  376. display: block;
  377. color: var(--dark-grey);
  378. font-size: 1.4rem;
  379. }
  380. .value {
  381. display: block;
  382. color: var(--dark-grey);
  383. opacity: 0.8;
  384. font-size: 1.6rem;
  385. letter-spacing: 0.5px;
  386. line-height: 1.6;
  387. margin-left: 1rem;
  388. }
  389. }
  390. .table {
  391. margin: 2rem auto;
  392. width: 100%;
  393. border-radius: 1rem;
  394. overflow: auto;
  395. border: 2px solid var(--border-grey);
  396. min-height: 10rem;
  397. header {
  398. background: linear-gradient(90deg, var(--secondary) 0%, var(--primary));
  399. color: white;
  400. font-size: 1.6rem;
  401. display: flex;
  402. align-items: center;
  403. justify-content: flex-start;
  404. height: 5.5rem;
  405. font-weight: 300;
  406. letter-spacing: 0.5px;
  407. }
  408. .cell {
  409. width: calc(100% / 6);
  410. @media print {
  411. word-break: break-all;
  412. }
  413. &:nth-child(1) {
  414. text-align: center;
  415. width: 10rem;
  416. }
  417. &:nth-child(2) {
  418. width: calc(20% + (10% - 10rem));
  419. }
  420. &:nth-child(3) {
  421. width: 20%;
  422. }
  423. &:nth-child(4) {
  424. width: 20%;
  425. }
  426. &:nth-child(5) {
  427. width: 10%;
  428. }
  429. &:nth-child(3) {
  430. width: 20%;
  431. }
  432. }
  433. ul {
  434. list-style: none;
  435. }
  436. li {
  437. display: flex;
  438. align-items: flex-start;
  439. justify-content: flex-start;
  440. padding: 2rem 0;
  441. &:nth-child(even) {
  442. background-color: var(--border-grey);
  443. }
  444. .cell {
  445. font-size: 1.4rem;
  446. color: var(--dark-grey);
  447. line-height: 1.7;
  448. }
  449. }
  450. }
  451. .message-board {
  452. width: 100%;
  453. margin: 4rem 0;
  454. list-style: none;
  455. h5 {
  456. font-size: 1.6rem;
  457. color: var(--dark-grey);
  458. filter: brightness(80%);
  459. font-weight: 500;
  460. margin-bottom: 1rem;
  461. }
  462. li {
  463. margin: 0.5rem 0;
  464. line-height: 1.7;
  465. letter-spacing: 0.5px;
  466. font-size: 1.4rem;
  467. color: var(--dark-grey);
  468. opacity: 0.8;
  469. a {
  470. color: var(--highlight);
  471. font-weight: 500;
  472. }
  473. }
  474. }
  475. .form-action-buttons {
  476. text-align: left;
  477. @media print {
  478. display: none;
  479. }
  480. }
  481. }