ListView.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. @import './node_modules/@waca/ca-ui-toolkit/essentials/essentials';
  2. #TableCaHome{
  3. & .ba-common-simpletable-thead{
  4. border-bottom: 1px solid;
  5. @include theming(border-color, ui-03, 1, !important);
  6. }
  7. & .ba-common-simpletable-tbody{
  8. border-bottom: 0px !important;
  9. }
  10. & div.iconWrapper{
  11. //display: none;
  12. opacity: 0;
  13. height: auto;
  14. width: auto;
  15. margin: '0 16px 0 16px';
  16. padding-left: 24px;
  17. padding-right: 16px;
  18. position: absolute;
  19. right: 0;
  20. }
  21. & .ba-common-simpletable-tbody-row td{
  22. height:60px !important;
  23. }
  24. & .ba-common-simpletable-tbody-row td > div.ba-common-container{
  25. padding: 16px 0px 24px 16px !important;
  26. font-size: 14px;
  27. color: $gray4;
  28. margin-left: 0px !important;
  29. & > div.cell_assetName {
  30. @include theming(color, text-01);
  31. }
  32. & > div.cell_lastModified {
  33. @include theming(color, text-02);
  34. }
  35. }
  36. & .ba-common-simpletable-thead-row th > div.ba-common-container{
  37. padding: 8px 0px 10px 16px !important;
  38. font-size: 14px;
  39. margin-left: 0px !important;
  40. }
  41. & .ba-common-simpletable-tbody-row{
  42. cursor: pointer;
  43. & > td:nth-of-type(4)>div.ba-common-container div.iconWrapper:focus{
  44. display: block;
  45. opacity: 1;
  46. }
  47. & > td:nth-of-type(4)>div.ba-common-container div.iconWrapper:active{
  48. display: block;
  49. opacity: 1;
  50. }
  51. }
  52. & .ba-common-simpletable-tbody-row:hover{
  53. @include theming(background-color, hover-ui);
  54. @include theming(color, ui-05);
  55. font-size: 14px;
  56. & > td:nth-of-type(4)>div.ba-common-container div.iconWrapper{
  57. display: block;
  58. opacity: 1;
  59. }
  60. }
  61. & .ba-common-simpletable-tbody-row:focus{
  62. border: 1px solid;
  63. @include theming(background-color, focus);
  64. color:$gray4;
  65. font-size: 14px;
  66. }
  67. & .ba-common-simpletable-tbody-row:active{
  68. @include theming(background-color, ui-02);
  69. @include theming(color, text-02);
  70. font-size: 14px;
  71. & > td:nth-of-type(4)>div.ba-common-container div.iconWrapper{
  72. display: block;
  73. opacity: 1;
  74. }
  75. }
  76. & .menuIcon{
  77. @include theming(fill, icon-01);
  78. @include theming(background-color, hover-ui);
  79. &:hover {
  80. @include theming(background-color, hover-ui);
  81. }
  82. }
  83. & .ba-common-tags__listItem{
  84. margin: 0px !important;
  85. display: inline-block !important;
  86. /**
  87. * There's an unknown issue about the padding spacing in windows & mac (probably due to the text rendering)
  88. * Suggested specs of vertical-padding: 2px in mac, 4px in windows
  89. */
  90. padding: 3px 12px !important;
  91. height: 22.5px !important;
  92. }
  93. }