Advertisement
tungSfer

dashboard css

Mar 27th, 2022
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.65 KB | None | 0 0
  1. .total {
  2.     margin-top: 60px;
  3.     display: flex;
  4.     justify-content: center;
  5.     align-items: center;
  6. }
  7. .total__item {
  8.     width: calc(100% / 3);
  9.     display: flex;
  10.     justify-content: flex-start;
  11.     align-items: center;
  12.     margin: 30px;
  13.     background-color: red;
  14.     border-radius: 10px;
  15.     padding: 30px 80px;
  16. }
  17. .total__item-icon {
  18.     font-size: 70px;
  19.     margin-right: 30px;
  20. }
  21. .total__item-content {
  22.     font-size: 20px;
  23.     font-weight: bold;
  24. }
  25. .total__item-content-number {
  26.     font-size: 16px;
  27.     font-weight: lighter;
  28.     color: #ccc;
  29. }
  30.  
  31. .table {
  32.     padding: 60px;
  33. }
  34.  
  35. .table_row {
  36.     grid-template-columns: repeat(3, 1fr) repeat(1, 2fr) 0.3fr;
  37.     position: relative;
  38.     text-align: center;
  39. }
  40.  
  41. .modal {
  42.     position: absolute;
  43.     inset: 0 0 0 0;
  44.     background-color: rgba(0, 0, 0, 0.5);
  45.     z-index: 1000;
  46.     display: flex;
  47.     justify-content: center;
  48.     align-items: center;
  49.     transform-origin: center;
  50.     visibility: hidden;
  51.     opacity: 0;
  52.     transition: visibility 0.5s ease-in-out, opacity 0.5s ease-in-out;
  53. }
  54.  
  55. .modal__content {
  56.     width: 700px;
  57.     height: 500px;
  58.     background-color: #fff;
  59.     border-radius: 10px;
  60.     padding: 30px;
  61.     font-size: 16px;
  62.     position: relative;
  63.     transform: scale(0%);
  64.     transition: transform 0.5s ease-in-out;
  65. }
  66. .modal__content--item {
  67.     /* display: inline-block; */
  68.     width: 48%;
  69.     display: -webkit-box;
  70.     -webkit-line-clamp: 5;
  71.     -webkit-box-orient: vertical;
  72.     overflow: hidden;
  73.     text-overflow: ellipsis;
  74.     word-break: break-word;
  75.     line-height: 32px;
  76. }
  77. .driver-img-container {
  78.     position: absolute;
  79.     top: 0;
  80.     right: 0;
  81.     margin-right: 30px;
  82. }
  83. .driver-img {
  84.     width: 100%;
  85.     height: 250px;
  86. }
  87. .driver-img img {
  88.     width: 100%;
  89.     height: 100%;
  90.     object-fit: contain;
  91. }
  92.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement