Vendor app Client: Maiora
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

schedules.component.scss 10 KiB

5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. .container {
  2. width: 95%;
  3. margin-left: auto;
  4. display: flex;
  5. align-items: stretch;
  6. @media screen and (max-width: 1023px) {
  7. width: 100%;
  8. height: 100%;
  9. }
  10. }
  11. .calendar-holder {
  12. width: calc(100% - 400px);
  13. margin-right: auto;
  14. position: relative;
  15. height: calc(100vh - 70px);
  16. overflow: auto;
  17. @media screen and (max-width: 1023px) {
  18. display: none;
  19. }
  20. .widget-heading-holder {
  21. width: 100%;
  22. }
  23. }
  24. .add-schedule-button {
  25. position: absolute;
  26. right: 30px;
  27. bottom: 50px;
  28. width: 50px;
  29. height: 50px;
  30. border-radius: 50%;
  31. background-color: var(--brand-blue);
  32. color: white;
  33. border: 0px;
  34. font-size: 20px;
  35. transform: scale(0);
  36. transition: transform 0.3s;
  37. &.active {
  38. transform: scale(1);
  39. animation: ripple-effect 1s linear;
  40. animation-iteration-count: 3;
  41. }
  42. }
  43. @keyframes ripple-effect {
  44. 0% {
  45. box-shadow: 0 0 0 10px rgba(black, 0.3);
  46. }
  47. 30% {
  48. box-shadow: 0 0 0 20px rgba(black, 0.2);
  49. }
  50. 60% {
  51. box-shadow: 0 0 0 30px rgba(black, 0.1);
  52. }
  53. 100% {
  54. box-shadow: 0 0 0 50px rgba(black, 0);
  55. }
  56. }
  57. .schedule-list-holder {
  58. width: 350px;
  59. background-color: white;
  60. height: calc(100vh - 70px);
  61. overflow: auto;
  62. @media screen and (max-width: 1023px) {
  63. width: 100%;
  64. height: 100%;
  65. }
  66. &:hover {
  67. &::-webkit-scrollbar {
  68. display: block;
  69. @media screen and (max-width: 1023px) {
  70. display: none;
  71. }
  72. }
  73. }
  74. &::-webkit-scrollbar {
  75. width: 8px;
  76. display: none;
  77. }
  78. /* Track */
  79. &::-webkit-scrollbar-track {
  80. background-color: white;
  81. }
  82. /* Handle */
  83. &::-webkit-scrollbar-thumb {
  84. background-color: rgba(black, 0.2);
  85. }
  86. /* Handle on hover */
  87. &::-webkit-scrollbar-thumb:hover {
  88. background-color: rgba(black, 0.5);
  89. }
  90. .widget-heading-holder {
  91. display: none;
  92. @media screen and (max-width: 1023px) {
  93. display: flex;
  94. flex-direction: row;
  95. align-items: center;
  96. width: 100%;
  97. padding: 20px 5%;
  98. margin: 0;
  99. justify-content: space-between;
  100. background-color: #efefef;
  101. header {
  102. margin-bottom: 0;
  103. }
  104. button {
  105. background-color: var(--brand-blue);
  106. }
  107. }
  108. }
  109. }
  110. .calendar {
  111. padding: 15px 30px;
  112. background-color: white;
  113. width: 100%;
  114. border-radius: 10px;
  115. margin-top: 30px;
  116. .note {
  117. font-size: 14px;
  118. color: var(--grey);
  119. font-style: italic;
  120. margin-top: 10px;
  121. letter-spacing: 1px;
  122. }
  123. .month {
  124. padding: 5px 0 20px;
  125. display: flex;
  126. margin: 0 auto;
  127. width: 50%;
  128. align-items: center;
  129. text-align: center;
  130. justify-content: space-between;
  131. span {
  132. color: var(--dark-grey);
  133. text-transform: capitalize;
  134. font-size: 16px;
  135. letter-spacing: 1px;
  136. font-weight: 500;
  137. }
  138. button {
  139. width: 30px;
  140. height: 30px;
  141. font-size: 30px;
  142. color: var(--brand-blue);
  143. background-color: transparent;
  144. border: 0;
  145. }
  146. }
  147. .days {
  148. display: flex;
  149. width: 100%;
  150. span {
  151. width: calc(100% / 7);
  152. text-align: center;
  153. font-size: 12px;
  154. color: var(--grey);
  155. border-right: 1px solid #efefef;
  156. padding: 5px 0;
  157. &:nth-child(7) {
  158. border-right: 0;
  159. }
  160. }
  161. }
  162. .dates {
  163. display: flex;
  164. width: 100%;
  165. flex-wrap: wrap;
  166. .dts-select-item.selected {
  167. background-color: var(--brand-blue);
  168. color: white;
  169. }
  170. span {
  171. display: block;
  172. cursor: pointer;
  173. font-size: 14px;
  174. width: calc(100% / 7);
  175. color: var(--dark-grey);
  176. font-weight: 400;
  177. position: relative;
  178. height: 60px;
  179. padding-left: 10px;
  180. padding-top: 10px;
  181. border-top: 1px solid #efefef;
  182. border-right: 1px solid #efefef;
  183. transition: background-color 0.3s, color 0.3s;
  184. &:nth-child(7n) {
  185. border-right: 0;
  186. }
  187. &.current-date {
  188. color: var(--brand-blue);
  189. font-weight: 700;
  190. &::before {
  191. content: '';
  192. position: absolute;
  193. left: 0;
  194. top: 0;
  195. width: 100%;
  196. height: 3px;
  197. background-color: var(--brand-blue);
  198. }
  199. }
  200. &.non-current-date {
  201. color: #cecece;
  202. }
  203. }
  204. }
  205. }
  206. .mini-calendar {
  207. background-color: white;
  208. width: 280px;
  209. margin: 30px auto 20px;
  210. padding-bottom: 20px;
  211. border-bottom: 1px solid #cecece;
  212. display: none;
  213. @media screen and (max-width: 1023px) {
  214. margin: 20px auto;
  215. display: block;
  216. }
  217. .month {
  218. padding: 5px 0 20px;
  219. display: flex;
  220. margin: 0 auto;
  221. width: 90%;
  222. align-items: center;
  223. text-align: center;
  224. justify-content: space-between;
  225. span {
  226. color: var(--dark-grey);
  227. text-transform: capitalize;
  228. font-size: 16px;
  229. letter-spacing: 1px;
  230. font-weight: 500;
  231. }
  232. button {
  233. width: 30px;
  234. height: 30px;
  235. font-size: 30px;
  236. color: var(--brand-blue);
  237. background-color: transparent;
  238. border: 0;
  239. }
  240. }
  241. .days {
  242. display: flex;
  243. width: 280px;
  244. span {
  245. width: 40px;
  246. text-align: center;
  247. font-size: 12px;
  248. color: var(--grey);
  249. padding: 5px 0;
  250. }
  251. }
  252. .dates {
  253. display: flex;
  254. width: 280px;
  255. flex-wrap: wrap;
  256. pointer-events: none;
  257. @media screen and (max-width: 1023px) {
  258. pointer-events: all;
  259. }
  260. span {
  261. display: block;
  262. cursor: pointer;
  263. font-size: 12px;
  264. width: 40px;
  265. color: var(--dark-grey);
  266. font-weight: 400;
  267. position: relative;
  268. text-align: center;
  269. transition: background-color 0.3s, color 0.3s;
  270. border-radius: 50%;
  271. height: 40px;
  272. display: flex;
  273. align-items: center;
  274. justify-content: center;
  275. &.current-date {
  276. border: 2px solid var(--brand-blue);
  277. border-radius: 50%;
  278. }
  279. &.active {
  280. @media screen and (max-width: 1023px) {
  281. background-color: var(--brand-blue);
  282. color: white;
  283. }
  284. }
  285. &.non-current-date {
  286. color: #cecece;
  287. }
  288. }
  289. }
  290. }
  291. .day-details {
  292. width: 90%;
  293. margin: 35px auto 0;
  294. @media screen and (max-width: 1023px) {
  295. margin: 0 auto;
  296. }
  297. .tabs-holder {
  298. display: flex;
  299. align-items: center;
  300. justify-content: center;
  301. button {
  302. margin: 0 10px;
  303. border-radius: 20px;
  304. border: 1px solid transparent;
  305. background-color: transparent;
  306. font-size: 12px;
  307. padding: 5px 15px;
  308. letter-spacing: 1px;
  309. font-weight: 500;
  310. color: var(--grey);
  311. transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  312. &:first-child {
  313. border-color: var(--pink);
  314. color: var(--pink);
  315. &.active {
  316. background-color: var(--pink);
  317. color: white;
  318. }
  319. }
  320. &:last-child {
  321. border-color: var(--green);
  322. color: var(--green);
  323. &.active {
  324. background-color: var(--green);
  325. color: white;
  326. }
  327. }
  328. }
  329. }
  330. .tab-info {
  331. width: 100%;
  332. padding: 20px 0 0;
  333. border-bottom: 1px solid #cecece;
  334. letter-spacing: 1px;
  335. ul {
  336. width: 80%;
  337. margin: 0 auto;
  338. list-style: none;
  339. &.holiday-list {
  340. li::before {
  341. background-color: var(--pink);
  342. }
  343. }
  344. &.event-list {
  345. li::before {
  346. background-color: var(--green);
  347. }
  348. }
  349. }
  350. li {
  351. padding-left: 30px;
  352. line-height: 1.5;
  353. margin-bottom: 15px;
  354. position: relative;
  355. &::before {
  356. content: '';
  357. position: absolute;
  358. left: 0;
  359. top: 7px;
  360. width: 8px;
  361. height: 8px;
  362. background-color: var(--dark-grey);
  363. border-radius: 50%;
  364. }
  365. header {
  366. font-size: 13px;
  367. color: var(--dark-grey);
  368. font-weight: 500;
  369. }
  370. p {
  371. color: var(--grey);
  372. font-size: 12px;
  373. }
  374. }
  375. }
  376. }
  377. .timings {
  378. width: 88%;
  379. margin: 0 auto;
  380. list-style: none;
  381. li {
  382. border-bottom: 1px solid #cecece;
  383. margin: 15px 0;
  384. padding-bottom: 15px;
  385. &:last-child {
  386. border-bottom: 0;
  387. }
  388. }
  389. header {
  390. font-size: 16px;
  391. color: black;
  392. font-weight: 500;
  393. letter-spacing: 1px;
  394. display: flex;
  395. align-items: center;
  396. width: 100%;
  397. justify-content: space-between;
  398. i {
  399. font-size: 16px;
  400. color: var(--brand-blue);
  401. }
  402. button {
  403. border-radius: 20px;
  404. border: 1px solid var(--brand-blue);
  405. padding: 5px 10px;
  406. background-color: transparent;
  407. color: var(--brand-blue);
  408. font-weight: 500;
  409. }
  410. }
  411. .time {
  412. font-size: 14px;
  413. letter-spacing: 1px;
  414. margin: 5px auto;
  415. color: var(--dark-grey);
  416. font-weight: 500;
  417. padding-left: 20px;
  418. }
  419. p {
  420. color: var(--grey);
  421. font-size: 14px;
  422. padding-left: 20px;
  423. }
  424. }
  425. .overlay {
  426. background-color: rgba(black, 0.2);
  427. position: fixed;
  428. left: 0;
  429. top: 0;
  430. width: 100%;
  431. height: 100%;
  432. z-index: 1;
  433. display: flex;
  434. align-items: center;
  435. justify-content: center;
  436. transition: opacity 0.3s;
  437. opacity: 0;
  438. transform: scale(0);
  439. &.active {
  440. transform: scale(1);
  441. opacity: 1;
  442. }
  443. }
  444. .scheduling-popup {
  445. background-color: white;
  446. box-shadow: 0px 0px 5px #cecece;
  447. border-radius: 10px;
  448. padding: 15px;
  449. width: 300px;
  450. input[type="text"] {
  451. border: 0px;
  452. border-bottom: 1px solid #efefef;
  453. font-size: 14px;
  454. letter-spacing: 1px;
  455. padding: 5px;
  456. font-weight: 500;
  457. color: var(--grey);
  458. width: 100%;
  459. &::placeholder {
  460. opacity: 0.5;
  461. }
  462. }
  463. ul {
  464. list-style: none;
  465. margin: 10px 0;
  466. }
  467. .radio {
  468. width: 15px;
  469. height: 15px;
  470. border-radius: 50%;
  471. background-color: white;
  472. margin-right: 10px;
  473. border: 1px solid var(--grey);
  474. position: relative;
  475. &.active {
  476. &::before {
  477. content: "";
  478. position: absolute;
  479. display: block;
  480. width: 70%;
  481. height: 70%;
  482. left: 15%;
  483. top: 15%;
  484. border-radius: 50%;
  485. background-color: var(--brand-blue);
  486. }
  487. }
  488. }
  489. li {
  490. padding: 5px 0;
  491. display: flex;
  492. width: 100%;
  493. align-items: center;
  494. label {
  495. font-size: 15px;
  496. color: var(--grey);
  497. font-weight: 500;
  498. letter-spacing: 1px;
  499. }
  500. }
  501. .time-selector {
  502. display: flex;
  503. align-items: center;
  504. justify-content: space-between;
  505. width: 100%;
  506. margin-bottom: 15px;
  507. .input-holder {
  508. display: flex;
  509. width: 45%;
  510. border: 1px solid #efefef;
  511. align-items: center;
  512. color: var(--grey);
  513. input {
  514. width: calc((100% - 40px) / 2);
  515. height: 30px;
  516. font-size: 12px;
  517. border: 0px;
  518. text-align: center;
  519. color: var(--dark-grey);
  520. }
  521. button {
  522. width: 40px;
  523. align-self: stretch;
  524. border: 0px;
  525. background-color: var(#efefef);
  526. color: var(--dark-grey);
  527. }
  528. }
  529. }
  530. .action-buttons {
  531. display: flex;
  532. width: 100%;
  533. justify-content: space-between;
  534. @media screen and (max-width: 1023px) {
  535. justify-content: center;
  536. }
  537. button:last-child {
  538. background-color: white;
  539. color: var(--brand-blue);
  540. border: 1px solid var(--brand-blue);
  541. }
  542. button {
  543. @media screen and (max-width: 1023px) {
  544. margin: 0 10px;
  545. padding: 0 15px;
  546. }
  547. }
  548. }
  549. }