entity-meta.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**
  2. * Entity meta settings.
  3. */
  4. .entity-meta {
  5. background-color: #ececec;
  6. border-left: 1px solid #bfbfbf;
  7. border-right: 1px solid #bfbfbf;
  8. box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.15);
  9. }
  10. .entity-meta__header,
  11. .entity-meta details {
  12. background-color: #f7f7f7;
  13. border-top: 1px solid #bfbfbf;
  14. border-bottom: 1px solid #bfbfbf;
  15. }
  16. .entity-meta__header {
  17. padding: 1em 1.5em;
  18. }
  19. .entity-meta__title {
  20. font-size: 1.231em;
  21. font-weight: bold;
  22. text-shadow: 0 1px 0 #fff;
  23. margin: 0.25em 0;
  24. }
  25. .entity-meta__header .form-item {
  26. margin: 0.25em 0;
  27. }
  28. .entity-meta__last-saved {
  29. font-style: italic; /* As-designed, but really: why is this italic? */
  30. }
  31. .entity-meta details {
  32. border-left: 0;
  33. border-right: 0;
  34. border-top: 1px solid #fff;
  35. margin: 0;
  36. }
  37. .entity-meta details:first-child {
  38. border-top-color: #bfbfbf;
  39. }
  40. .entity-meta details[open] {
  41. background-color: transparent;
  42. background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.125), transparent 4px);
  43. background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.125), transparent 4px);
  44. border-top-width: 0;
  45. padding-top: 1px;
  46. }
  47. .entity-meta details[open] + details[open] {
  48. background-image: none;
  49. border-top-width: 1px;
  50. padding-top: 0;
  51. }
  52. .entity-meta details > .details-wrapper {
  53. padding-top: 0;
  54. }
  55. .entity-meta details > summary {
  56. padding: 0.85em 1.25em;
  57. text-shadow: 0 1px 0 white;
  58. }
  59. .entity-meta details .summary {
  60. display: none; /* Hide JS summaries. @todo Rethink summaries. */
  61. }