You are here

moderation_dashboard.css in Moderation Dashboard 8

Same filename and directory in other branches
  1. 2.0.x css/moderation_dashboard.css
.moderation-dashboard {
  display: flex;
}

.moderation-dashboard-region {
  flex-grow: 1;
  width: 33%;
  margin: .5rem;
}

.moderation-dashboard-region:first-child {
  margin-left: 0;
}

.moderation-dashboard-region:last-child {
  margin-right: 0;
}

@media (max-width: 850px) {
  .moderation-dashboard {
    display: block;
  }
  .moderation-dashboard-region {
    width: 100%;
    margin-left: 0;
  }
}

.moderation-dashboard .views-field-revision-uid,
.moderation-dashboard .views-field-uid {
  float: left;
  margin-right: .5rem;
}

.moderation-dashboard canvas::selection {
  background: none;
}

.moderation-dashboard .moderation-dashboard-block {
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .25rem;
  margin-bottom: 1rem;
}

.moderation-dashboard .moderation-dashboard-block > h2 {
  background-color: #f7f7f9;
  border-bottom: 1px solid rgba(0,0,0,.125);
  margin: 0;
  font-weight: normal;
  text-align: left;
  font-size: 1.3rem;
}

.moderation-dashboard .moderation-dashboard-block > h2,
.moderation-dashboard .moderation-dashboard-block > div:not([data-contextual-id]) {
  padding: .75rem;
}

.moderation-dashboard nav ul {
  background: rgba(0, 0, 0, 0.05);
  margin-bottom: -.75rem;
  margin-left: -.75rem;
  margin-right: -.75rem;
  margin-top: 10px;
  padding: 10px;
  list-style: none;
  display: flex;
  justify-content: center;
}

.moderation-dashboard nav li {
  margin-right: 1rem;
}

.moderation-dashboard .views-row,
.moderation-dashboard-add-links li {
  padding: 10px 0 10px 0;
}

.moderation-dashboard .views-row:not(:last-child),
.moderation-dashboard-add-links li:not(:last-child) {
  border-bottom: 1px solid #d4d4d4;
}

.moderation-dashboard .views-row:first-child,
.moderation-dashboard-add-links li:first-child {
  padding-top: 0;
}

.moderation-dashboard .views-row:last-child,
.moderation-dashboard-add-links li:last-child {
  padding-bottom: 0;
}

.moderation-dashboard h5 {
  font-size: 18px;
  text-transform: none;
  margin: 0;
  letter-spacing: inherit;
}

.moderation-dashboard [class*="block-region"] {
  margin-top: 0;
}

.moderation-dashboard-add-links ul {
  list-style: none;
  margin: 0;
  padding: .75rem;
}

.moderation-dashboard-add-links li {
  font-weight: bold;
}

File

css/moderation_dashboard.css
View source
  1. .moderation-dashboard {
  2. display: flex;
  3. }
  4. .moderation-dashboard-region {
  5. flex-grow: 1;
  6. width: 33%;
  7. margin: .5rem;
  8. }
  9. .moderation-dashboard-region:first-child {
  10. margin-left: 0;
  11. }
  12. .moderation-dashboard-region:last-child {
  13. margin-right: 0;
  14. }
  15. @media (max-width: 850px) {
  16. .moderation-dashboard {
  17. display: block;
  18. }
  19. .moderation-dashboard-region {
  20. width: 100%;
  21. margin-left: 0;
  22. }
  23. }
  24. .moderation-dashboard .views-field-revision-uid,
  25. .moderation-dashboard .views-field-uid {
  26. float: left;
  27. margin-right: .5rem;
  28. }
  29. .moderation-dashboard canvas::selection {
  30. background: none;
  31. }
  32. .moderation-dashboard .moderation-dashboard-block {
  33. border: 1px solid rgba(0,0,0,.125);
  34. border-radius: .25rem;
  35. margin-bottom: 1rem;
  36. }
  37. .moderation-dashboard .moderation-dashboard-block > h2 {
  38. background-color: #f7f7f9;
  39. border-bottom: 1px solid rgba(0,0,0,.125);
  40. margin: 0;
  41. font-weight: normal;
  42. text-align: left;
  43. font-size: 1.3rem;
  44. }
  45. .moderation-dashboard .moderation-dashboard-block > h2,
  46. .moderation-dashboard .moderation-dashboard-block > div:not([data-contextual-id]) {
  47. padding: .75rem;
  48. }
  49. .moderation-dashboard nav ul {
  50. background: rgba(0, 0, 0, 0.05);
  51. margin-bottom: -.75rem;
  52. margin-left: -.75rem;
  53. margin-right: -.75rem;
  54. margin-top: 10px;
  55. padding: 10px;
  56. list-style: none;
  57. display: flex;
  58. justify-content: center;
  59. }
  60. .moderation-dashboard nav li {
  61. margin-right: 1rem;
  62. }
  63. .moderation-dashboard .views-row,
  64. .moderation-dashboard-add-links li {
  65. padding: 10px 0 10px 0;
  66. }
  67. .moderation-dashboard .views-row:not(:last-child),
  68. .moderation-dashboard-add-links li:not(:last-child) {
  69. border-bottom: 1px solid #d4d4d4;
  70. }
  71. .moderation-dashboard .views-row:first-child,
  72. .moderation-dashboard-add-links li:first-child {
  73. padding-top: 0;
  74. }
  75. .moderation-dashboard .views-row:last-child,
  76. .moderation-dashboard-add-links li:last-child {
  77. padding-bottom: 0;
  78. }
  79. .moderation-dashboard h5 {
  80. font-size: 18px;
  81. text-transform: none;
  82. margin: 0;
  83. letter-spacing: inherit;
  84. }
  85. .moderation-dashboard [class*="block-region"] {
  86. margin-top: 0;
  87. }
  88. .moderation-dashboard-add-links ul {
  89. list-style: none;
  90. margin: 0;
  91. padding: .75rem;
  92. }
  93. .moderation-dashboard-add-links li {
  94. font-weight: bold;
  95. }