tables_lists.less 966 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .grafana-options-table {
  2. width: 100%;
  3. th {
  4. padding: 5px 10px;
  5. border-bottom: 4px solid @grafanaPanelBackground;
  6. }
  7. tr td {
  8. background-color: @grafanaListBackground;
  9. padding: 5px 10px;
  10. white-space: nowrap;
  11. border-bottom: 4px solid @grafanaPanelBackground;
  12. &.nobg {
  13. background-color: transparent;
  14. }
  15. }
  16. .max-width-btns {
  17. padding-right: 0px;
  18. .btn {
  19. box-sizing: border-box;
  20. width: 100%;
  21. }
  22. }
  23. }
  24. .max-width {
  25. overflow: hidden;
  26. text-overflow: ellipsis;
  27. -o-text-overflow: ellipsis;
  28. white-space: nowrap;
  29. }
  30. .grafana-options-list {
  31. list-style: none;
  32. margin: 0;
  33. max-width: 450px;
  34. li:nth-child(odd) {
  35. background-color: @grafanaListAccent;
  36. }
  37. li {
  38. float: left;
  39. margin: 2px;
  40. padding: 5px 10px;
  41. border: 1px solid @grafanaListBorderBottom;
  42. border: 1px solid @grafanaListBorderBottom;
  43. }
  44. li:first-child {
  45. border: 1px solid @grafanaListBorderBottom;
  46. }
  47. }