_example.scss 902 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .example {
  2. background: $color-gray-dark;
  3. border-radius: $border-radius;
  4. }
  5. .example-frame {
  6. display: block;
  7. width: 100%;
  8. background: $color-gray;
  9. min-height: 12rem;
  10. border: 1px solid $color-border;
  11. margin: 2rem 0;
  12. border-radius: $border-radius;
  13. }
  14. .example-frame-resizable {
  15. resize: horizontal;
  16. max-width: 100%;
  17. min-width: 20rem;
  18. }
  19. .example-code {
  20. margin: 0;
  21. border-top-right-radius: 0;
  22. border-top-left-radius: 0;
  23. }
  24. .component {
  25. border: 1px solid $color-border;
  26. background: $color-white;
  27. display: flex;
  28. flex-direction: column;
  29. border-radius: $border-radius;
  30. //.example-frame {
  31. // flex: 1;
  32. //}
  33. }
  34. .component-fullheight {
  35. height: 100vh;
  36. border: 0;
  37. border-radius: 0;
  38. }
  39. .component-fullscreen {
  40. border: 0;
  41. border-radius: 0;
  42. }
  43. .component-title {
  44. margin: 0;
  45. }
  46. .component-header {
  47. border-bottom: 1px solid $color-border;
  48. padding: 1rem;
  49. }