Angular app for CAC desktop
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

98 regels
2.0 KiB

  1. .table-actions {
  2. display: flex;
  3. align-items: center;
  4. justify-content: flex-end;
  5. margin-bottom: 10px;
  6. .input-holder {
  7. margin: 0;
  8. width: 30%;
  9. margin-right: auto;
  10. }
  11. button {
  12. border: 2px solid var(--input-border);
  13. padding: 7px 20px;
  14. border-radius: var(--common-border-radius);
  15. background-color: white;
  16. margin-left: 20px;
  17. color: var(--secondary-text);
  18. font-weight: 500;
  19. img {
  20. vertical-align: middle;
  21. width: 15px;
  22. height: 15px;
  23. }
  24. }
  25. }
  26. .table {
  27. height: 50vh;
  28. overflow: auto;
  29. line-height: 1.8;
  30. header, .row {
  31. display: flex;
  32. flex-wrap: nowrap;
  33. align-items: center;
  34. padding: 0 10px;
  35. .col {
  36. width: calc(100% / 7);
  37. font-size: 14px;
  38. p, a, &>div {
  39. display: block;
  40. white-space: nowrap;
  41. overflow: hidden;
  42. text-overflow: ellipsis;
  43. width: 100%;
  44. }
  45. &:nth-child(1) {
  46. width: 70px;
  47. }
  48. &:nth-child(3) {
  49. flex-grow: 1;
  50. }
  51. &:nth-child(5) {
  52. width: 100px;
  53. }
  54. }
  55. }
  56. header {
  57. background-color: var(--secondary-text);
  58. color: white;
  59. border-radius: var(--common-border-radius);
  60. position: sticky;
  61. z-index: 1;
  62. top: 0;
  63. height: 50px;
  64. }
  65. .row {
  66. color: var(--secondary-text);
  67. background-color: white;
  68. border-radius: var(--common-border-radius);
  69. cursor: pointer;
  70. transition: background-color 0.3s, color 0.3s;
  71. &:nth-child(even) {
  72. background-color: var(--input-background);
  73. }
  74. &:hover {
  75. background-color: var(--primary);
  76. color: white;
  77. a {
  78. color: var(--secondary);
  79. }
  80. }
  81. }
  82. }