lldpd.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /*
  2. * Copyright (c) 2020, Tano Systems LLC. All Rights Reserved.
  3. * Author: Anton Kikin <a.kikin@tano-systems.com>
  4. * Copyright (c) 2023-2024. All Rights Reserved.
  5. * Paul Donald <newtwen+github@gmail.com>
  6. */
  7. /*
  8. * Filter select widget
  9. */
  10. table.lldpd-filter td,
  11. table.lldpd-filter th {
  12. border: 1px solid #ccc !important;
  13. padding: 2px 10px;
  14. text-align: center;
  15. }
  16. table.lldpd-filter td,
  17. table.lldpd-filter td input[type="radio"] {
  18. vertical-align: middle;
  19. }
  20. table.lldpd-filter th { font-weight: bold; }
  21. table.lldpd-filter tbody tr {
  22. cursor: pointer;
  23. }
  24. table.lldpd-filter tr.lldpd-filter-selected td {
  25. background-color: #EEE;
  26. }
  27. /*
  28. * Parameters
  29. */
  30. .lldpd-params {
  31. column-count: 2;
  32. column-gap: 24px;
  33. }
  34. @media only screen and (max-width: 850px) {
  35. .lldpd-params {
  36. column-count: 1;
  37. }
  38. }
  39. .lldpd-params > div {
  40. display: grid;
  41. grid-template-columns: 1fr auto;
  42. border-bottom: 1px solid #e6e6e6;
  43. padding: 0 8px;
  44. /* column-break-inside: avoid;*/
  45. }
  46. .td .lldpd-params > div:last-of-type {
  47. border-bottom: none;
  48. }
  49. .lldpd-params .lldpd-param {
  50. margin-right: 10px;
  51. font-weight: bold;
  52. }
  53. .lldpd-params .lldpd-param::after {
  54. content: ':';
  55. }
  56. .lldpd-params .lldpd-param-value {
  57. white-space: normal;
  58. font-weight: normal;
  59. text-align: right;
  60. }
  61. .td .lldpd-params {
  62. column-count: 1;
  63. }
  64. .td .lldpd-params > div {
  65. padding: 0;
  66. }
  67. /*
  68. * Status table
  69. */
  70. .lldpd-folded,
  71. .lldpd-unfolded {
  72. width: 100%;
  73. }
  74. .lldpd-table .tr .td { cursor: pointer; }
  75. .lldpd-protocol-badge {
  76. display: inline-block;
  77. width: auto !important;
  78. width: fit-content !important;
  79. box-shadow: 0 1px 3px 0 grey;
  80. padding: 0px 8px;
  81. border-radius: 5px;
  82. width: 100%;
  83. background-color: #e6e6e6;
  84. border: 0;
  85. margin-right: 5px;
  86. margin-bottom: 5px;
  87. color: #595959;
  88. }
  89. .lldpd-protocol-badge.lldpd-protocol-lldp { background-color: #b7efcf; border-color: #2abd69; color: #165e34; }
  90. .lldpd-protocol-badge.lldpd-protocol-cdp { background-color: #b2daf3; border-color: #46a6e2; color: #1a74ac; }
  91. .lldpd-protocol-badge.lldpd-protocol-fdp { background-color: #f9e3b3; border-color: #b7820f; color: #b7820f; }
  92. .lldpd-protocol-badge.lldpd-protocol-edp { background-color: #f9e3f9; border-color: #e380e3; color: #b70f82; }
  93. .lldpd-protocol-badge.lldpd-protocol-sonmp { background-color: #f4ffc4; border-color: #a7ce00; color: #7e9b00; }