entity-meta.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. /**
  2. * Entity meta settings.
  3. */
  4. .entity-meta {
  5. background-color: #f5f5f5;
  6. margin-bottom: 20px;
  7. }
  8. .entity-meta .form-item {
  9. margin: 0 0 10px 0;
  10. }
  11. .entity-meta__header {
  12. padding: 10px 20px;
  13. }
  14. .entity-meta__title {
  15. font-size: 18px;
  16. color: #0678be;
  17. font-weight: 700;
  18. }
  19. .entity-meta__last-saved.form-item {
  20. margin-bottom: 0;
  21. }
  22. .entity-meta details {
  23. border-left: 0;
  24. border-right: 0;
  25. border-top: 1px solid #e6e4df;
  26. margin: 0;
  27. }
  28. .entity-meta details:first-child {
  29. border-top-color: #e6e4df;
  30. }
  31. .entity-meta details[open] {
  32. background-color: transparent;
  33. border-top: 1px solid #e6e4df;
  34. }
  35. .entity-meta details > summary {
  36. padding: 10px 15px;
  37. }
  38. .entity-meta details .summary {
  39. display: none; /* Hide JS summaries. @todo Rethink summaries. */
  40. }
  41. .entity-meta .details-wrapper {
  42. padding: 5px 15px;
  43. }
  44. .entity-meta .form-textarea-wrapper {
  45. display: flex;
  46. }
  47. .entity-meta .label {
  48. margin-bottom: 5px;
  49. font-size: 14px;
  50. }
  51. .entity-meta .container-inline {
  52. flex-direction: column;
  53. display: flex;
  54. }
  55. .entity-meta .container-inline label {
  56. display: block;
  57. }
  58. .entity-meta .container-inline .form-item {
  59. padding-bottom: 15px;
  60. }
  61. .entity-meta .container-inline .form-item {
  62. margin: 0;
  63. width: 100%;
  64. }
  65. @media only screen and (min-width: 460px) {
  66. .entity-meta .container-inline {
  67. flex-direction: row;
  68. }
  69. .entity-meta .container-inline .form-item {
  70. padding-bottom: 0;
  71. padding-right: 15px;
  72. }
  73. }
  74. @media only screen and (min-width: 780px) {
  75. .entity-meta .container-inline {
  76. flex-direction: column;
  77. }
  78. .entity-meta .container-inline .form-item {
  79. padding-bottom: 15px;
  80. }
  81. }
  82. @media only screen and (min-width: 1024px) {
  83. .entity-meta .container-inline {
  84. flex-direction: row;
  85. }
  86. .entity-meta .container-inline .form-item {
  87. padding-bottom: 0;
  88. }
  89. }
  90. .entity-meta .container-inline .form-item:last-child {
  91. padding-right: 0;
  92. }
  93. .entity-meta .field--type-created {
  94. margin-bottom: 10px;
  95. }
  96. .entity-meta legend {
  97. margin: 0;
  98. }
  99. .entity-meta .form-textarea,
  100. .entity-meta .form-text,
  101. .entity-meta .form-date,
  102. .entity-meta .form-time {
  103. min-width: 100%;
  104. }