hero.scss 1.52 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
.hero {
	padding: 20px;
	background-color: mc('grey', '50');
	border-bottom: 1px solid mc('grey', '200');
	position: relative;

	h1 {
		font-size: 28px;
		color: mc($primary, '500');
		font-weight: 300;
	}

	h2 {
		font-size: 18px;
		color: mc('grey', '500');
		font-weight: 400;
	}

19 20 21 22 23 24 25 26
  .pageicon {
    position:absolute;
    right: 20px;
    top: 28px;
    font-size: 48px;
    color: mc('blue-grey', '500');
  }

27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
	.hero-menu {
		position: absolute;
		right: 20px;
		bottom: -1px;
		z-index: 1;
		display: flex;

		li {
			display: flex;
			margin-left: 1px;

			a, button {
				background-color: mc('light-blue', '500');
				color: #FFF;
				display: inline-flex;
				align-items: center;
43
				justify-content: center;
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
				padding: 0 15px;
				height: 32px;
				border: 1px solid mc('light-blue', '600');
				font-family: $core-font-standard;
				font-size: 13px;
				transition: all 0.4s ease;
				cursor: pointer;
				text-decoration: none;
				text-transform: uppercase;

				i {
					margin-right: 10px;
				}

				@each $color, $colorvalue in $material-colors {
					&.is-#{$color} {
						background-color: mc($color, '600');
						border-color: mc($color, '600');

						&:hover {
							background-color: mc($color, '800');
						}

					}
				}

			}

		}

	}

}
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93

/* THEME OVERRIDE - START */

@each $color, $colorvalue in $material-colors {
  .is-primary-#{$color} .hero {
    h1 {
      color: mc($color, '500');
    }
  }
  .is-alternate-#{$color} .hero {
    .pageicon {
      color: mc($color, '500');
    }
  }
}

/* THEME OVERRIDE - END */