_shortcodes.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @import "variables";
  2. /**
  3. Alert
  4. */
  5. .alert {
  6. border: 1px solid;
  7. border-radius: 2px;
  8. padding: 0 12px;
  9. &.primary { border-color: $color-default; background: transparentize($color-default, 0.9); }
  10. &.danger { border-color: $color-danger; background: transparentize($color-danger, 0.9); }
  11. &.warning { border-color: $color-warning; background: transparentize($color-warning, 0.9); }
  12. &.success { border-color: $color-success; background: transparentize($color-success, 0.9); }
  13. }
  14. /**
  15. Member info for generated docs
  16. */
  17. .member-info {
  18. display: flex;
  19. align-items: center;
  20. margin-top: -16px;
  21. .kind-label {
  22. font-size: $font-size-12;
  23. background-color: #d3f2eb;
  24. border-radius: 4px;
  25. padding: 0 6px;
  26. margin-right: 6px;
  27. }
  28. .type, .default {
  29. margin-right: 12px;
  30. }
  31. .label{
  32. display: inline-block;
  33. color: $gray-700;
  34. }
  35. .type-code {
  36. display: inline-block;
  37. font-family: 'Oxygen Mono', monospace;
  38. padding: 0 $padding-4;
  39. background: $gray-100;
  40. color: $gray-700;
  41. border-radius: 4px;
  42. a:link, a:visited {
  43. color: darken($brand-color, 20%);
  44. }
  45. }
  46. }
  47. /**
  48. Info on the generated document
  49. */
  50. .generation-info {
  51. font-size: $font-size-12;
  52. border-bottom: 1px dashed $gray-400;
  53. }