You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
1.5 KiB

  1. .hero {
  2. padding: 20px;
  3. background-color: mc('grey', '50');
  4. border-bottom: 1px solid mc('grey', '200');
  5. position: relative;
  6. h1 {
  7. font-size: 28px;
  8. color: mc($primary, '500');
  9. font-weight: 300;
  10. }
  11. h2 {
  12. font-size: 18px;
  13. color: mc('grey', '500');
  14. font-weight: 400;
  15. }
  16. .pageicon {
  17. position:absolute;
  18. right: 20px;
  19. top: 28px;
  20. font-size: 48px;
  21. color: mc('blue-grey', '500');
  22. }
  23. .hero-menu {
  24. position: absolute;
  25. right: 20px;
  26. bottom: -1px;
  27. z-index: 1;
  28. display: flex;
  29. li {
  30. display: flex;
  31. margin-left: 1px;
  32. a, button {
  33. background-color: mc('light-blue', '500');
  34. color: #FFF;
  35. display: inline-flex;
  36. align-items: center;
  37. justify-content: center;
  38. padding: 0 15px;
  39. height: 32px;
  40. border: 1px solid mc('light-blue', '600');
  41. font-family: $core-font-standard;
  42. font-size: 13px;
  43. transition: all 0.4s ease;
  44. cursor: pointer;
  45. text-decoration: none;
  46. text-transform: uppercase;
  47. i {
  48. margin-right: 10px;
  49. }
  50. @each $color, $colorvalue in $material-colors {
  51. &.is-#{$color} {
  52. background-color: mc($color, '600');
  53. border-color: mc($color, '600');
  54. &:hover {
  55. background-color: mc($color, '800');
  56. }
  57. }
  58. }
  59. }
  60. }
  61. }
  62. }
  63. /* THEME OVERRIDE - START */
  64. @each $color, $colorvalue in $material-colors {
  65. .is-primary-#{$color} .hero {
  66. h1 {
  67. color: mc($color, '500');
  68. }
  69. }
  70. .is-alternate-#{$color} .hero {
  71. .pageicon {
  72. color: mc($color, '500');
  73. }
  74. }
  75. }
  76. /* THEME OVERRIDE - END */