tables.less 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. //
  2. // Tables
  3. // --------------------------------------------------
  4. // Shared table styles
  5. .panel.panel-table {
  6. border: none;
  7. border-radius: @border-radius-base;
  8. .shadow-2dp();
  9. &>table {
  10. thead tr th {
  11. border-bottom-width: 1px;
  12. font-size: @font-size-small;
  13. }
  14. &, tr, td {
  15. background: none;
  16. }
  17. tr:last-child td {
  18. border-bottom: none;
  19. }
  20. &.vertically-aligned {
  21. thead, tbody {
  22. & tr>* {
  23. vertical-align: middle;
  24. }
  25. }
  26. }
  27. }
  28. }
  29. // Users table
  30. .panel.panel-table.users-table {
  31. &>table {
  32. tbody tr {
  33. td {
  34. font-size: @font-size-large;
  35. font-weight: @weight-light;
  36. }
  37. .col-avatar {
  38. width: 1%;
  39. img {
  40. border-radius: @avatar-radius;
  41. // Make avatar less dominating on larger displays
  42. @media (min-width: @screen-md-min) {
  43. border-radius: @avatar-radius-small;
  44. padding-right: 0px;
  45. width: 32px;
  46. height: 32px;
  47. }
  48. }
  49. }
  50. .col-username {
  51. a, a:link, a:visited, a:focus, a:hover {
  52. color: @site-link-active-color;
  53. font-weight: normal;
  54. }
  55. p {
  56. margin: 0px;
  57. font-size: @font-size-small;
  58. }
  59. }
  60. }
  61. }
  62. }