Vendor app Client: Maiora
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

_commonCard.scss 2.2 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. .common_card{
  2. position: relative;
  3. width: 25vw;
  4. height: 100%;
  5. border-radius: 10px;
  6. margin: 10px;
  7. z-index: 1;
  8. &:before{
  9. content: '';
  10. width: 100%;
  11. height: 100%;
  12. position: absolute;
  13. box-shadow: 0 0 10px 1px var(--dark-grey);
  14. filter: brightness(200%);
  15. z-index: -1;
  16. border-radius: 10px;
  17. }
  18. }
  19. .card_header{
  20. position: relative;
  21. width: 100%;
  22. height: 50px;
  23. display: flex;
  24. justify-content: space-between;
  25. align-items: center;
  26. z-index: 1;
  27. &:before{
  28. content: '';
  29. position: absolute;
  30. width: 100%;
  31. height: 100%;
  32. background-color: var(--grey);
  33. filter: brightness(150%);
  34. z-index: -1;
  35. border-radius: 10px 10px 0 0;
  36. }
  37. h4{
  38. font-size: 18px;
  39. color: var(--dark-grey);
  40. margin: 0 20px;
  41. }
  42. button{
  43. width: 30px;
  44. height: 30px;
  45. padding: 0;
  46. border-radius: 30px;
  47. font-weight: 800;
  48. font-size: 20px;
  49. margin: 0 20px;
  50. }
  51. }
  52. .card_upfold{
  53. overflow: auto;
  54. list-style: none;
  55. height: 300px;
  56. h5{
  57. font-size: 16px;
  58. color: var(--dark-grey);
  59. padding: 5px 0;
  60. }
  61. p{
  62. font-size: 14px;
  63. color: var(--grey);
  64. padding: 5px 0;
  65. }
  66. .cardList{
  67. position: relative;
  68. margin: 20px;
  69. cursor: pointer;
  70. z-index: 0;
  71. &:before{
  72. content: '';
  73. position: absolute;
  74. width: 100%;
  75. height: 100%;
  76. background-color: var(--grey);
  77. filter: brightness(160%);
  78. z-index: -1;
  79. transform: scale(105%);
  80. border-radius: 10px;
  81. border: 1px solid var(--grey);
  82. }
  83. }
  84. }
  85. ::-webkit-scrollbar {
  86. width: 5px;
  87. border-radius: 10px;
  88. background: var(--dark-grey);
  89. }
  90. ::-webkit-scrollbar-track {
  91. background: white;
  92. border-radius: 10px;
  93. }
  94. ::-webkit-scrollbar-thumb {
  95. border-radius: 10px;
  96. background: var(--grey);
  97. }
  98. ::-webkit-scrollbar-thumb:hover {
  99. border-radius: 10px;
  100. background: var(--dark-grey);
  101. }