You are here

diff.general.css in Diff 8

General stylesheet for the diff module.

File

css/diff.general.css
View source
  1. /**
  2. * @file
  3. * General stylesheet for the diff module.
  4. */
  5. .diff-button {
  6. margin-bottom: 20px;
  7. }
  8. .diff-responsive-table-wrapper {
  9. min-height: 0%;
  10. overflow-x: auto;
  11. }
  12. .diff-responsive-table {
  13. max-width: 100%;
  14. }
  15. #diffadminplugins .messages {
  16. margin-bottom: 0.5em;
  17. }
  18. .diff-navigation {
  19. display: flex;
  20. justify-content: space-between;
  21. }
  22. .diff-navigation label {
  23. display: none;
  24. }
  25. @media screen and (min-width: 920px) {
  26. .diff-navigation label {
  27. display: block;
  28. }
  29. }
  30. .diff-controls {
  31. display: flex;
  32. margin-bottom: 1em;
  33. width: 100%;
  34. }
  35. .diff-controls__item {
  36. padding-right: 1em;
  37. }
  38. .diff-revision__items-group:first-child {
  39. margin-bottom: 0.5em;
  40. }
  41. .diff-revision__item-date {
  42. float: left;
  43. padding-right: 1em;
  44. }
  45. @media screen and (min-width: 560px) {
  46. .diff-revision__items {
  47. display: table;
  48. margin-left: -1em;
  49. margin-right: -1em;
  50. }
  51. .diff-revision__items-group {
  52. display: table-row;
  53. }
  54. .diff-revision__item {
  55. display: table-cell;
  56. padding-left: 1em;
  57. padding-right: 1em;
  58. }
  59. .diff-revision__item-date {
  60. float: none;
  61. white-space: nowrap;
  62. }
  63. .diff-revision__item-author {
  64. white-space: nowrap;
  65. }
  66. }
  67. @media screen and (min-width: 920px) {
  68. .diff-header {
  69. display: flex;
  70. }
  71. .diff-navigation {
  72. flex-direction: column;
  73. justify-content: flex-start;
  74. width: 25%;
  75. }
  76. .diff-navigation__link.prev-link {
  77. order: 1;
  78. }
  79. .diff-revision {
  80. width: 75%;
  81. }
  82. }